Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-22 23:59:03.520766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/22/image_21012025_17_22_02_779729_0003.jpg', '/home/pi/Desktop/images/21012025/17/23/image_21012025_17_23_02_986490_0000.jpg', '/home/pi/Desktop/images/21012025/17/23/image_21012025_17_23_02_986490_0001.jpg', '/home/pi/Desktop/images/21012025/17/23/image_21012025_17_23_02_986490_0002.jpg', '/home/pi/Desktop/images/21012025/17/24/image_21012025_17_24_03_157275_0000.jpg', '/home/pi/Desktop/images/21012025/17/24/image_21012025_17_24_03_157275_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/22/image_21012025_17_22_02_779729_0003.jpg
/home/pi/Desktop/images/21012025/17/23/image_21012025_17_23_02_986490_0000.jpg
/home/pi/Desktop/images/21012025/17/23/image_21012025_17_23_02_986490_0001.jpg
/home/pi/Desktop/images/21012025/17/23/image_21012025_17_23_02_986490_0002.jpg
/home/pi/Desktop/images/21012025/17/24/image_21012025_17_24_03_157275_0000.jpg
/home/pi/Desktop/images/21012025/17/24/image_21012025_17_24_03_157275_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: 18.416757583618164 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-22 23:59:52.574304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/22/image_21012025_17_22_02_779729_0003.jpg', '/home/pi/Desktop/images/21012025/17/23/image_21012025_17_23_02_986490_0000.jpg', '/home/pi/Desktop/images/21012025/17/23/image_21012025_17_23_02_986490_0001.jpg', '/home/pi/Desktop/images/21012025/17/23/image_21012025_17_23_02_986490_0002.jpg', '/home/pi/Desktop/images/21012025/17/24/image_21012025_17_24_03_157275_0000.jpg', '/home/pi/Desktop/images/21012025/17/24/image_21012025_17_24_03_157275_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/22/image_21012025_17_22_02_779729_0003.jpg
/home/pi/Desktop/images/21012025/17/23/image_21012025_17_23_02_986490_0000.jpg
/home/pi/Desktop/images/21012025/17/23/image_21012025_17_23_02_986490_0001.jpg
/home/pi/Desktop/images/21012025/17/23/image_21012025_17_23_02_986490_0002.jpg
/home/pi/Desktop/images/21012025/17/24/image_21012025_17_24_03_157275_0000.jpg
/home/pi/Desktop/images/21012025/17/24/image_21012025_17_24_03_157275_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":["1330694270","1330694252","1330694275","1330694260","1330694263","1330694283"],"photo_ids_order":["1330694252","1330694260","1330694263","1330694270","1330694275","1330694283"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bec536df251817ffc6968703c27904f8.jpg","text":"TemporaryFile(/tmp/multipartBody1605449208226176520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586870839,"filename":"image_21012025_17_23_02_986490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5452eb308f4a05d9ba588ec61a27cbd6.jpg","text":"TemporaryFile(/tmp/multipartBody674315864704640007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586870839,"filename":"image_21012025_17_22_02_779729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1a59521f459100959760fea709c1b1d.jpg","text":"TemporaryFile(/tmp/multipartBody8611183356384294797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586870839,"filename":"image_21012025_17_24_03_157275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85070ca83b5af591a2318bae1207f3fb.jpg","text":"TemporaryFile(/tmp/multipartBody4524221096554942873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586870839,"filename":"image_21012025_17_23_02_986490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37264f1995d2ab3b6331803b18eb8828.jpg","text":"TemporaryFile(/tmp/multipartBody748705348219156434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586870839,"filename":"image_21012025_17_23_02_986490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f081875451da00f4cfc73f638a4cb18f.jpg","text":"TemporaryFile(/tmp/multipartBody4960623553194929534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586870839,"filename":"image_21012025_17_24_03_157275_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330694263","file1":"1330694260","file0":"1330694252","file4":"1330694275","file5":"1330694283","file3":"1330694270"},"map_files_photo_id_array":[{"photo_id":"1330694283","filename":"file5"},{"photo_id":"1330694263","filename":"file2"},{"photo_id":"1330694275","filename":"file4"},{"photo_id":"1330694260","filename":"file1"},{"photo_id":"1330694252","filename":"file0"},{"photo_id":"1330694270","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330694270":["hashtag1","hashtag2"]},{"1330694252":["hashtag1","hashtag2"]},{"1330694275":["hashtag1","hashtag2"]},{"1330694260":["hashtag1","hashtag2"]},{"1330694263":["hashtag1","hashtag2"]},{"1330694283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330694270, 1330694252, 1330694275, 1330694260, 1330694263, 1330694283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.069607973098755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:00:51.824593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/24/image_21012025_17_24_03_157275_0002.jpg', '/home/pi/Desktop/images/21012025/17/24/image_21012025_17_24_03_157275_0003.jpg', '/home/pi/Desktop/images/21012025/17/25/image_21012025_17_25_02_260072_0000.jpg', '/home/pi/Desktop/images/21012025/17/25/image_21012025_17_25_02_260072_0001.jpg', '/home/pi/Desktop/images/21012025/17/25/image_21012025_17_25_02_260072_0003.jpg', '/home/pi/Desktop/images/21012025/17/26/image_21012025_17_26_02_464638_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/24/image_21012025_17_24_03_157275_0002.jpg
/home/pi/Desktop/images/21012025/17/24/image_21012025_17_24_03_157275_0003.jpg
/home/pi/Desktop/images/21012025/17/25/image_21012025_17_25_02_260072_0000.jpg
/home/pi/Desktop/images/21012025/17/25/image_21012025_17_25_02_260072_0001.jpg
/home/pi/Desktop/images/21012025/17/25/image_21012025_17_25_02_260072_0003.jpg
/home/pi/Desktop/images/21012025/17/26/image_21012025_17_26_02_464638_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":["1330694336","1330694386","1330694341","1330694394","1330694396","1330694375"],"photo_ids_order":["1330694336","1330694341","1330694375","1330694386","1330694394","1330694396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/864ce269c06999eb8f2812a5085cbac4.jpg","text":"TemporaryFile(/tmp/multipartBody4928712354162965762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586930271,"filename":"image_21012025_17_24_03_157275_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/186888d54b4eaefd24d8b083c8f2d7e0.jpg","text":"TemporaryFile(/tmp/multipartBody2967206566268309686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586930271,"filename":"image_21012025_17_25_02_260072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f77ad0c221e86bbece81e4a7b9aa07fe.jpg","text":"TemporaryFile(/tmp/multipartBody6489190501021017369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586930271,"filename":"image_21012025_17_24_03_157275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c74450b268bc42a235e94a75c41516d7.jpg","text":"TemporaryFile(/tmp/multipartBody1038028283158171682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586930271,"filename":"image_21012025_17_25_02_260072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/240af0b67e01838d8a4abbfb63f6f402.jpg","text":"TemporaryFile(/tmp/multipartBody8760882629695267441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586930271,"filename":"image_21012025_17_26_02_464638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad0efb64a3b5822b75d877f9ac9b7b42.jpg","text":"TemporaryFile(/tmp/multipartBody2386330773032299594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586930271,"filename":"image_21012025_17_25_02_260072_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330694375","file1":"1330694341","file0":"1330694336","file4":"1330694394","file5":"1330694396","file3":"1330694386"},"map_files_photo_id_array":[{"photo_id":"1330694396","filename":"file5"},{"photo_id":"1330694375","filename":"file2"},{"photo_id":"1330694394","filename":"file4"},{"photo_id":"1330694341","filename":"file1"},{"photo_id":"1330694336","filename":"file0"},{"photo_id":"1330694386","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330694336":["hashtag1","hashtag2"]},{"1330694386":["hashtag1","hashtag2"]},{"1330694341":["hashtag1","hashtag2"]},{"1330694394":["hashtag1","hashtag2"]},{"1330694396":["hashtag1","hashtag2"]},{"1330694375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330694336, 1330694386, 1330694341, 1330694394, 1330694396, 1330694375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.52680492401123 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 00:02:02.575690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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_23012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19839052, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1737586983000}
533
2505708
533
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/00/image_23012025_00_00_03_057660_0000.jpg', '/home/pi/Desktop/images/23012025/00/00/image_23012025_00_00_03_057660_0001.jpg', '/home/pi/Desktop/images/23012025/00/00/image_23012025_00_00_03_057660_0002.jpg', '/home/pi/Desktop/images/23012025/00/00/image_23012025_00_00_03_057660_0003.jpg', '/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_02_240683_0000.jpg', '/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_02_240683_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/00/image_23012025_00_00_03_057660_0000.jpg
/home/pi/Desktop/images/23012025/00/00/image_23012025_00_00_03_057660_0001.jpg
/home/pi/Desktop/images/23012025/00/00/image_23012025_00_00_03_057660_0002.jpg
/home/pi/Desktop/images/23012025/00/00/image_23012025_00_00_03_057660_0003.jpg
/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_02_240683_0000.jpg
/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_02_240683_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":["1330694452","1330694503","1330694454","1330694448","1330694492","1330694453"],"photo_ids_order":["1330694448","1330694452","1330694453","1330694454","1330694492","1330694503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0acf97d0925a2f81bf617ef049a9ac32.jpg","text":"TemporaryFile(/tmp/multipartBody8376131195784359825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587002698,"filename":"image_23012025_00_00_03_057660_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55fefacfc84f39d1406a0ac35c8c251c.jpg","text":"TemporaryFile(/tmp/multipartBody7979797335076488244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587002698,"filename":"image_23012025_00_01_02_240683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4acb7a830effa5f709a24b6e6bb0b03f.jpg","text":"TemporaryFile(/tmp/multipartBody4901453604721325254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587002698,"filename":"image_23012025_00_00_03_057660_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1648d87c3a152ebbd600303b6201c7a8.jpg","text":"TemporaryFile(/tmp/multipartBody4428472427396783184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587002698,"filename":"image_23012025_00_00_03_057660_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28291dfaecceb86b2ea5331b853a135b.jpg","text":"TemporaryFile(/tmp/multipartBody3949428828810148480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587002698,"filename":"image_23012025_00_01_02_240683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0450ec2c993b504b2c15451aa0f4bade.jpg","text":"TemporaryFile(/tmp/multipartBody2054111159499088955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587002698,"filename":"image_23012025_00_00_03_057660_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330694453","file1":"1330694452","file0":"1330694448","file4":"1330694492","file5":"1330694503","file3":"1330694454"},"map_files_photo_id_array":[{"photo_id":"1330694503","filename":"file5"},{"photo_id":"1330694453","filename":"file2"},{"photo_id":"1330694492","filename":"file4"},{"photo_id":"1330694452","filename":"file1"},{"photo_id":"1330694448","filename":"file0"},{"photo_id":"1330694454","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330694452":["hashtag1","hashtag2"]},{"1330694503":["hashtag1","hashtag2"]},{"1330694454":["hashtag1","hashtag2"]},{"1330694448":["hashtag1","hashtag2"]},{"1330694492":["hashtag1","hashtag2"]},{"1330694453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330694452, 1330694503, 1330694454, 1330694448, 1330694492, 1330694453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.39320683479309 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:03:22.284862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_02_240683_0002.jpg', '/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_02_240683_0003.jpg', '/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_02_442907_0000.jpg', '/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_02_442907_0001.jpg', '/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_02_442907_0002.jpg', '/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_02_442907_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_02_240683_0002.jpg
/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_02_240683_0003.jpg
/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_02_442907_0000.jpg
/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_02_442907_0001.jpg
/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_02_442907_0002.jpg
/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_02_442907_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":["1330694569","1330694592","1330694580","1330694562","1330694565","1330694585"],"photo_ids_order":["1330694562","1330694565","1330694569","1330694580","1330694585","1330694592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28960012ec8395a62a519b62b93fb4e0.jpg","text":"TemporaryFile(/tmp/multipartBody564417819345821700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587079259,"filename":"image_23012025_00_02_02_442907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30a93d5c1b3c98bf6c018b2f9dd55d07.jpg","text":"TemporaryFile(/tmp/multipartBody2884570742129807675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587079259,"filename":"image_23012025_00_02_02_442907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b3f7fa8180b98999a63c75dfb333d62.jpg","text":"TemporaryFile(/tmp/multipartBody9045961304310714331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587079259,"filename":"image_23012025_00_02_02_442907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfadec75c5f0b4eabeac6a501f137f74.jpg","text":"TemporaryFile(/tmp/multipartBody7432044033542999734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587079259,"filename":"image_23012025_00_01_02_240683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/264100bd840295827f3dcd9d08e5ccaa.jpg","text":"TemporaryFile(/tmp/multipartBody7624391791399893826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587079259,"filename":"image_23012025_00_01_02_240683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4e1dfeb89bd390bfacef52bdf7e3919.jpg","text":"TemporaryFile(/tmp/multipartBody5858255593980661952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587079259,"filename":"image_23012025_00_02_02_442907_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330694569","file1":"1330694565","file0":"1330694562","file4":"1330694585","file5":"1330694592","file3":"1330694580"},"map_files_photo_id_array":[{"photo_id":"1330694592","filename":"file5"},{"photo_id":"1330694569","filename":"file2"},{"photo_id":"1330694585","filename":"file4"},{"photo_id":"1330694565","filename":"file1"},{"photo_id":"1330694562","filename":"file0"},{"photo_id":"1330694580","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330694569":["hashtag1","hashtag2"]},{"1330694592":["hashtag1","hashtag2"]},{"1330694580":["hashtag1","hashtag2"]},{"1330694562":["hashtag1","hashtag2"]},{"1330694565":["hashtag1","hashtag2"]},{"1330694585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330694569, 1330694592, 1330694580, 1330694562, 1330694565, 1330694585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.840147256851196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:04:22.511893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_02_519634_0000.jpg', '/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_02_519634_0001.jpg', '/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_02_519634_0002.jpg', '/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_02_519634_0003.jpg', '/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_02_666357_0000.jpg', '/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_02_666357_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_02_519634_0000.jpg
/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_02_519634_0001.jpg
/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_02_519634_0002.jpg
/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_02_519634_0003.jpg
/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_02_666357_0000.jpg
/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_02_666357_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":["1330694612","1330694632","1330694622","1330694616","1330694619","1330694613"],"photo_ids_order":["1330694612","1330694613","1330694616","1330694619","1330694622","1330694632"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d95758e7dcee4ed35cb3bee3a774094e.jpg","text":"TemporaryFile(/tmp/multipartBody8235390794066811275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587139728,"filename":"image_23012025_00_03_02_519634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4caea931c8f28811e749d3dd8e46c4f4.jpg","text":"TemporaryFile(/tmp/multipartBody4480538996072674553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587139728,"filename":"image_23012025_00_04_02_666357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86e71a1a7251895efab26ef27f17a1ad.jpg","text":"TemporaryFile(/tmp/multipartBody4383337641183429238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587139728,"filename":"image_23012025_00_04_02_666357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7adb3467eb3f8d933295f4c64eadf84d.jpg","text":"TemporaryFile(/tmp/multipartBody2309451941092753486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587139728,"filename":"image_23012025_00_03_02_519634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d18193a4797d0b55c4d0779835a7db8.jpg","text":"TemporaryFile(/tmp/multipartBody6765109773517315154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587139728,"filename":"image_23012025_00_03_02_519634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bd20293a351662af26d0ce3498436eb.jpg","text":"TemporaryFile(/tmp/multipartBody6554412617259442552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587139728,"filename":"image_23012025_00_03_02_519634_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330694616","file1":"1330694613","file0":"1330694612","file4":"1330694622","file5":"1330694632","file3":"1330694619"},"map_files_photo_id_array":[{"photo_id":"1330694632","filename":"file5"},{"photo_id":"1330694616","filename":"file2"},{"photo_id":"1330694622","filename":"file4"},{"photo_id":"1330694613","filename":"file1"},{"photo_id":"1330694612","filename":"file0"},{"photo_id":"1330694619","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330694612":["hashtag1","hashtag2"]},{"1330694632":["hashtag1","hashtag2"]},{"1330694622":["hashtag1","hashtag2"]},{"1330694616":["hashtag1","hashtag2"]},{"1330694619":["hashtag1","hashtag2"]},{"1330694613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330694612, 1330694632, 1330694622, 1330694616, 1330694619, 1330694613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.598759174346924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:05:22.597714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_02_666357_0002.jpg', '/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_02_666357_0003.jpg', '/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_02_880609_0000.jpg', '/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_02_880609_0001.jpg', '/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_02_880609_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_02_666357_0002.jpg
/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_02_666357_0003.jpg
/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_02_880609_0000.jpg
/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_02_880609_0001.jpg
/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_02_880609_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330695388","1330695553","1330695058","1330695569","1330695578"],"photo_ids_order":["1330695058","1330695388","1330695553","1330695569","1330695578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0cf101dbb8e7cac69ef694576fb70176.jpg","text":"TemporaryFile(/tmp/multipartBody7517716677802555458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587196822,"filename":"image_23012025_00_04_02_666357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad701a428f0b9d5d1625de4a9367e452.jpg","text":"TemporaryFile(/tmp/multipartBody5870616794740159843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587196822,"filename":"image_23012025_00_05_02_880609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e06177322a35c7d20365a86e3cf6216a.jpg","text":"TemporaryFile(/tmp/multipartBody3932679584430624488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587196822,"filename":"image_23012025_00_04_02_666357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fbc8de79dad70dca19100dead63b1ea.jpg","text":"TemporaryFile(/tmp/multipartBody991780174077834676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587196822,"filename":"image_23012025_00_05_02_880609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd0e8040a3cd6e581a62da0035230b4d.jpg","text":"TemporaryFile(/tmp/multipartBody8571797567176465514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587196822,"filename":"image_23012025_00_05_02_880609_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330695553","file1":"1330695388","file0":"1330695058","file4":"1330695578","file3":"1330695569"},"map_files_photo_id_array":[{"photo_id":"1330695553","filename":"file2"},{"photo_id":"1330695578","filename":"file4"},{"photo_id":"1330695388","filename":"file1"},{"photo_id":"1330695058","filename":"file0"},{"photo_id":"1330695569","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330695388":["hashtag1","hashtag2"]},{"1330695553":["hashtag1","hashtag2"]},{"1330695058":["hashtag1","hashtag2"]},{"1330695569":["hashtag1","hashtag2"]},{"1330695578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330695388, 1330695553, 1330695058, 1330695569, 1330695578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 50.39719080924988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:06:21.803059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_02_880609_0003.jpg', '/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_03_047285_0000.jpg', '/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_03_047285_0001.jpg', '/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_03_047285_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_02_880609_0003.jpg
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_03_047285_0000.jpg
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_03_047285_0001.jpg
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_03_047285_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.080265283584595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:06:51.835651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/26/image_21012025_17_26_02_464638_0002.jpg', '/home/pi/Desktop/images/21012025/17/27/image_21012025_17_27_02_637487_0000.jpg', '/home/pi/Desktop/images/21012025/17/27/image_21012025_17_27_02_637487_0001.jpg', '/home/pi/Desktop/images/21012025/17/27/image_21012025_17_27_02_637487_0003.jpg', '/home/pi/Desktop/images/21012025/17/28/image_21012025_17_28_02_792926_0000.jpg', '/home/pi/Desktop/images/21012025/17/28/image_21012025_17_28_02_792926_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/26/image_21012025_17_26_02_464638_0002.jpg
/home/pi/Desktop/images/21012025/17/27/image_21012025_17_27_02_637487_0000.jpg
/home/pi/Desktop/images/21012025/17/27/image_21012025_17_27_02_637487_0001.jpg
/home/pi/Desktop/images/21012025/17/27/image_21012025_17_27_02_637487_0003.jpg
/home/pi/Desktop/images/21012025/17/28/image_21012025_17_28_02_792926_0000.jpg
/home/pi/Desktop/images/21012025/17/28/image_21012025_17_28_02_792926_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":["1330695997","1330696023","1330696020","1330696014","1330696025","1330696007"],"photo_ids_order":["1330695997","1330696007","1330696014","1330696020","1330696023","1330696025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/677def80cab18e8f94b0b2f34b6fcd90.jpg","text":"TemporaryFile(/tmp/multipartBody2486532767686096503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587289828,"filename":"image_21012025_17_26_02_464638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f92c3290be72d7be6dd9abf999feb4cb.jpg","text":"TemporaryFile(/tmp/multipartBody6225835256651837310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587289828,"filename":"image_21012025_17_28_02_792926_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f13c370ccc98a534919d0ef1062e152.jpg","text":"TemporaryFile(/tmp/multipartBody5012359117086616766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587289828,"filename":"image_21012025_17_27_02_637487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8bbd0dda67229fcb38e77ecb091b0f84.jpg","text":"TemporaryFile(/tmp/multipartBody2267699513044882321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587289828,"filename":"image_21012025_17_27_02_637487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b703f8b82034ba533b82d5692e9a9bf0.jpg","text":"TemporaryFile(/tmp/multipartBody7952464657702860259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587289828,"filename":"image_21012025_17_28_02_792926_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a9893549b9af724b163fcd347f98174.jpg","text":"TemporaryFile(/tmp/multipartBody7818453789459137600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587289828,"filename":"image_21012025_17_27_02_637487_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330696014","file1":"1330696007","file0":"1330695997","file4":"1330696023","file5":"1330696025","file3":"1330696020"},"map_files_photo_id_array":[{"photo_id":"1330696025","filename":"file5"},{"photo_id":"1330696014","filename":"file2"},{"photo_id":"1330696023","filename":"file4"},{"photo_id":"1330696007","filename":"file1"},{"photo_id":"1330695997","filename":"file0"},{"photo_id":"1330696020","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330695997":["hashtag1","hashtag2"]},{"1330696023":["hashtag1","hashtag2"]},{"1330696020":["hashtag1","hashtag2"]},{"1330696014":["hashtag1","hashtag2"]},{"1330696025":["hashtag1","hashtag2"]},{"1330696007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330695997, 1330696023, 1330696020, 1330696014, 1330696025, 1330696007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.93982791900635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:07:51.979202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/28/image_21012025_17_28_02_792926_0002.jpg', '/home/pi/Desktop/images/21012025/17/28/image_21012025_17_28_02_792926_0003.jpg', '/home/pi/Desktop/images/21012025/17/29/image_21012025_17_29_02_989229_0000.jpg', '/home/pi/Desktop/images/21012025/17/29/image_21012025_17_29_02_989229_0001.jpg', '/home/pi/Desktop/images/21012025/17/30/image_21012025_17_30_02_204227_0000.jpg', '/home/pi/Desktop/images/21012025/17/30/image_21012025_17_30_02_204227_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/28/image_21012025_17_28_02_792926_0002.jpg
/home/pi/Desktop/images/21012025/17/28/image_21012025_17_28_02_792926_0003.jpg
/home/pi/Desktop/images/21012025/17/29/image_21012025_17_29_02_989229_0000.jpg
/home/pi/Desktop/images/21012025/17/29/image_21012025_17_29_02_989229_0001.jpg
/home/pi/Desktop/images/21012025/17/30/image_21012025_17_30_02_204227_0000.jpg
/home/pi/Desktop/images/21012025/17/30/image_21012025_17_30_02_204227_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: 16.496941566467285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:08:22.176888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_02_880609_0003.jpg', '/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_03_047285_0000.jpg', '/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_03_047285_0001.jpg', '/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_03_047285_0002.jpg', '/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_03_047285_0003.jpg', '/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_02_212715_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_02_880609_0003.jpg
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_03_047285_0000.jpg
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_03_047285_0001.jpg
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_03_047285_0002.jpg
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_03_047285_0003.jpg
/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_02_212715_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":["1330696059","1330696064","1330696061","1330696055","1330696069","1330696063"],"photo_ids_order":["1330696055","1330696059","1330696061","1330696063","1330696064","1330696069"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f8e86d6d506be5eeeddebede20037f0.jpg","text":"TemporaryFile(/tmp/multipartBody1242013603566404815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587379022,"filename":"image_23012025_00_06_03_047285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b79004618cfe6cbcdc97efe3dae2bf73.jpg","text":"TemporaryFile(/tmp/multipartBody2071166693520544662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587379022,"filename":"image_23012025_00_06_03_047285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8543f9027c69fd8b2e842177cb78a392.jpg","text":"TemporaryFile(/tmp/multipartBody3283068405469794652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587379022,"filename":"image_23012025_00_06_03_047285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ba8cc0217eb4f7469d8b5f15d0427c4.jpg","text":"TemporaryFile(/tmp/multipartBody2178112520054604168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587379022,"filename":"image_23012025_00_05_02_880609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af1f06d25ffe7c3ff24d2d1e7025e0fb.jpg","text":"TemporaryFile(/tmp/multipartBody6193718640277704097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587379022,"filename":"image_23012025_00_07_02_212715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82a1c1d492b8ec9de2b7540dc32d2803.jpg","text":"TemporaryFile(/tmp/multipartBody7741008120784522339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587379022,"filename":"image_23012025_00_06_03_047285_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330696061","file1":"1330696059","file0":"1330696055","file4":"1330696064","file5":"1330696069","file3":"1330696063"},"map_files_photo_id_array":[{"photo_id":"1330696069","filename":"file5"},{"photo_id":"1330696061","filename":"file2"},{"photo_id":"1330696064","filename":"file4"},{"photo_id":"1330696059","filename":"file1"},{"photo_id":"1330696055","filename":"file0"},{"photo_id":"1330696063","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330696059":["hashtag1","hashtag2"]},{"1330696064":["hashtag1","hashtag2"]},{"1330696061":["hashtag1","hashtag2"]},{"1330696055":["hashtag1","hashtag2"]},{"1330696069":["hashtag1","hashtag2"]},{"1330696063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330696059, 1330696064, 1330696061, 1330696055, 1330696069, 1330696063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.73691248893738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:09:22.317398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_02_212715_0001.jpg', '/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_02_212715_0002.jpg', '/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_02_212715_0003.jpg', '/home/pi/Desktop/images/23012025/00/08/image_23012025_00_08_02_431788_0000.jpg', '/home/pi/Desktop/images/23012025/00/08/image_23012025_00_08_02_431788_0001.jpg', '/home/pi/Desktop/images/23012025/00/08/image_23012025_00_08_02_431788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_02_212715_0001.jpg
/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_02_212715_0002.jpg
/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_02_212715_0003.jpg
/home/pi/Desktop/images/23012025/00/08/image_23012025_00_08_02_431788_0000.jpg
/home/pi/Desktop/images/23012025/00/08/image_23012025_00_08_02_431788_0001.jpg
/home/pi/Desktop/images/23012025/00/08/image_23012025_00_08_02_431788_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330696123","1330696095","1330696094","1330696091","1330696088","1330696093"],"photo_ids_order":["1330696088","1330696091","1330696093","1330696094","1330696095","1330696123"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47147789a3a11512f71664374690ce65.jpg","text":"TemporaryFile(/tmp/multipartBody4515108845838486416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587438805,"filename":"image_23012025_00_08_02_431788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e16363fc34f63801dd1b088587d63c0.jpg","text":"TemporaryFile(/tmp/multipartBody4418352839105462551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587438805,"filename":"image_23012025_00_08_02_431788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d7294f0ade8b5ef3805a936adf79040.jpg","text":"TemporaryFile(/tmp/multipartBody5083221257161827749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587438805,"filename":"image_23012025_00_08_02_431788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8694dec89c923e870d7f4cabbc511db0.jpg","text":"TemporaryFile(/tmp/multipartBody2657151046589576332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587438805,"filename":"image_23012025_00_07_02_212715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8534bfd956d42d08767eb9b936cae22.jpg","text":"TemporaryFile(/tmp/multipartBody6158289991624819846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587438805,"filename":"image_23012025_00_07_02_212715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5d430ec87c4c5794e20b71012b4b976.jpg","text":"TemporaryFile(/tmp/multipartBody2551521025409954020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587438805,"filename":"image_23012025_00_07_02_212715_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330696093","file1":"1330696091","file0":"1330696088","file4":"1330696095","file5":"1330696123","file3":"1330696094"},"map_files_photo_id_array":[{"photo_id":"1330696123","filename":"file5"},{"photo_id":"1330696093","filename":"file2"},{"photo_id":"1330696095","filename":"file4"},{"photo_id":"1330696091","filename":"file1"},{"photo_id":"1330696088","filename":"file0"},{"photo_id":"1330696094","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330696123":["hashtag1","hashtag2"]},{"1330696095":["hashtag1","hashtag2"]},{"1330696094":["hashtag1","hashtag2"]},{"1330696091":["hashtag1","hashtag2"]},{"1330696088":["hashtag1","hashtag2"]},{"1330696093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330696123, 1330696095, 1330696094, 1330696091, 1330696088, 1330696093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.95335388183594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:10:22.468333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/08/image_23012025_00_08_02_431788_0003.jpg', '/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_02_552246_0000.jpg', '/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_02_552246_0001.jpg', '/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_02_552246_0002.jpg', '/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_02_552246_0003.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_02_677903_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/08/image_23012025_00_08_02_431788_0003.jpg
/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_02_552246_0000.jpg
/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_02_552246_0001.jpg
/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_02_552246_0002.jpg
/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_02_552246_0003.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_02_677903_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":["1330696158","1330696143","1330696190","1330696160","1330696180","1330696177"],"photo_ids_order":["1330696143","1330696158","1330696160","1330696177","1330696180","1330696190"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c587ed98af2392d566b489b8537cd631.jpg","text":"TemporaryFile(/tmp/multipartBody2869940345957046484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587499119,"filename":"image_23012025_00_09_02_552246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0727c948b0ce80f4f4dcc64a997527a5.jpg","text":"TemporaryFile(/tmp/multipartBody123779150575289589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587499119,"filename":"image_23012025_00_08_02_431788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/536d292189c9c7ac3ec778f4e895a0b4.jpg","text":"TemporaryFile(/tmp/multipartBody434674157556028388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587499119,"filename":"image_23012025_00_10_02_677903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f3d0708776f16c61892c47ee5f61892.jpg","text":"TemporaryFile(/tmp/multipartBody5778132067103311850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587499119,"filename":"image_23012025_00_09_02_552246_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa63e60a744cda144728a71243eeb822.jpg","text":"TemporaryFile(/tmp/multipartBody6478904283186856940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587499119,"filename":"image_23012025_00_09_02_552246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2438259b7e1da23e84511b8271f0a3b2.jpg","text":"TemporaryFile(/tmp/multipartBody9117097559637202907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587499119,"filename":"image_23012025_00_09_02_552246_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330696160","file1":"1330696158","file0":"1330696143","file4":"1330696180","file5":"1330696190","file3":"1330696177"},"map_files_photo_id_array":[{"photo_id":"1330696190","filename":"file5"},{"photo_id":"1330696160","filename":"file2"},{"photo_id":"1330696180","filename":"file4"},{"photo_id":"1330696158","filename":"file1"},{"photo_id":"1330696143","filename":"file0"},{"photo_id":"1330696177","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330696158":["hashtag1","hashtag2"]},{"1330696143":["hashtag1","hashtag2"]},{"1330696190":["hashtag1","hashtag2"]},{"1330696160":["hashtag1","hashtag2"]},{"1330696180":["hashtag1","hashtag2"]},{"1330696177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330696158, 1330696143, 1330696190, 1330696160, 1330696180, 1330696177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.30610656738281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:11:22.704789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_02_677903_0001.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_02_677903_0002.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_02_677903_0003.jpg', '/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_02_849840_0000.jpg', '/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_02_849840_0001.jpg', '/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_02_849840_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_02_677903_0001.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_02_677903_0002.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_02_677903_0003.jpg
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_02_849840_0000.jpg
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_02_849840_0001.jpg
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_02_849840_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330696258","1330696311","1330696295","1330696256","1330696316","1330696282"],"photo_ids_order":["1330696256","1330696258","1330696282","1330696295","1330696311","1330696316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c149a5fc216f9f11628b1f2af6af3923.jpg","text":"TemporaryFile(/tmp/multipartBody5852677479769816536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587559485,"filename":"image_23012025_00_10_02_677903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1a29b525eb0ae78562152c0c0f9a0c7.jpg","text":"TemporaryFile(/tmp/multipartBody1249262985865122930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587559485,"filename":"image_23012025_00_11_02_849840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6cfadadbaed8a5d60cc0b38424c36c47.jpg","text":"TemporaryFile(/tmp/multipartBody66548205506075600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587559485,"filename":"image_23012025_00_11_02_849840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6881b1b55812f3000ce35b204af1949.jpg","text":"TemporaryFile(/tmp/multipartBody6809181263008557431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587559485,"filename":"image_23012025_00_10_02_677903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a23cd48c21af6bef6d55898c124dfcf5.jpg","text":"TemporaryFile(/tmp/multipartBody8914648024711880989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587559485,"filename":"image_23012025_00_11_02_849840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/571c00d05780c125769d45a443ce5502.jpg","text":"TemporaryFile(/tmp/multipartBody8842676009159387512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587559485,"filename":"image_23012025_00_10_02_677903_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330696282","file1":"1330696258","file0":"1330696256","file4":"1330696311","file5":"1330696316","file3":"1330696295"},"map_files_photo_id_array":[{"photo_id":"1330696316","filename":"file5"},{"photo_id":"1330696282","filename":"file2"},{"photo_id":"1330696311","filename":"file4"},{"photo_id":"1330696258","filename":"file1"},{"photo_id":"1330696256","filename":"file0"},{"photo_id":"1330696295","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330696258":["hashtag1","hashtag2"]},{"1330696311":["hashtag1","hashtag2"]},{"1330696295":["hashtag1","hashtag2"]},{"1330696256":["hashtag1","hashtag2"]},{"1330696316":["hashtag1","hashtag2"]},{"1330696282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330696258, 1330696311, 1330696295, 1330696256, 1330696316, 1330696282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.29354214668274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:12:51.831630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/28/image_21012025_17_28_02_792926_0002.jpg', '/home/pi/Desktop/images/21012025/17/28/image_21012025_17_28_02_792926_0003.jpg', '/home/pi/Desktop/images/21012025/17/29/image_21012025_17_29_02_989229_0000.jpg', '/home/pi/Desktop/images/21012025/17/29/image_21012025_17_29_02_989229_0001.jpg', '/home/pi/Desktop/images/21012025/17/30/image_21012025_17_30_02_204227_0000.jpg', '/home/pi/Desktop/images/21012025/17/30/image_21012025_17_30_02_204227_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/28/image_21012025_17_28_02_792926_0002.jpg
/home/pi/Desktop/images/21012025/17/28/image_21012025_17_28_02_792926_0003.jpg
/home/pi/Desktop/images/21012025/17/29/image_21012025_17_29_02_989229_0000.jpg
/home/pi/Desktop/images/21012025/17/29/image_21012025_17_29_02_989229_0001.jpg
/home/pi/Desktop/images/21012025/17/30/image_21012025_17_30_02_204227_0000.jpg
/home/pi/Desktop/images/21012025/17/30/image_21012025_17_30_02_204227_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":["1330696488","1330696481","1330696475","1330696460","1330696466","1330696492"],"photo_ids_order":["1330696460","1330696466","1330696475","1330696481","1330696488","1330696492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c52cfc2468b0b2ae00b0fea189a6270.jpg","text":"TemporaryFile(/tmp/multipartBody8053524171559721495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587648584,"filename":"image_21012025_17_30_02_204227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80a627ab2bc7f7b0f05ee544f8c33bb7.jpg","text":"TemporaryFile(/tmp/multipartBody2788003686536465241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587648584,"filename":"image_21012025_17_29_02_989229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c9c4e30b6e9da34668405d9f98af13d.jpg","text":"TemporaryFile(/tmp/multipartBody5466680306350822471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587648584,"filename":"image_21012025_17_29_02_989229_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97cacb26f12a9f5b9c3dd6ffcaaaa16b.jpg","text":"TemporaryFile(/tmp/multipartBody2952418957809973517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587648584,"filename":"image_21012025_17_28_02_792926_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c59402d17ecf335bbdbc159fe3293082.jpg","text":"TemporaryFile(/tmp/multipartBody3239581035505029162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587648584,"filename":"image_21012025_17_28_02_792926_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/647e791269aa78706aac4d1d631ed7f6.jpg","text":"TemporaryFile(/tmp/multipartBody7634675208687719394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587648584,"filename":"image_21012025_17_30_02_204227_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330696475","file1":"1330696466","file0":"1330696460","file4":"1330696488","file5":"1330696492","file3":"1330696481"},"map_files_photo_id_array":[{"photo_id":"1330696492","filename":"file5"},{"photo_id":"1330696475","filename":"file2"},{"photo_id":"1330696488","filename":"file4"},{"photo_id":"1330696466","filename":"file1"},{"photo_id":"1330696460","filename":"file0"},{"photo_id":"1330696481","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330696488":["hashtag1","hashtag2"]},{"1330696481":["hashtag1","hashtag2"]},{"1330696475":["hashtag1","hashtag2"]},{"1330696460":["hashtag1","hashtag2"]},{"1330696466":["hashtag1","hashtag2"]},{"1330696492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330696488, 1330696481, 1330696475, 1330696460, 1330696466, 1330696492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.29056787490845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:13:51.993192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/30/image_21012025_17_30_02_204227_0002.jpg', '/home/pi/Desktop/images/21012025/17/30/image_21012025_17_30_02_204227_0003.jpg', '/home/pi/Desktop/images/21012025/17/31/image_21012025_17_31_02_338088_0000.jpg', '/home/pi/Desktop/images/21012025/17/31/image_21012025_17_31_02_338088_0001.jpg', '/home/pi/Desktop/images/21012025/17/31/image_21012025_17_31_02_338088_0002.jpg', '/home/pi/Desktop/images/21012025/17/31/image_21012025_17_31_02_338088_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/30/image_21012025_17_30_02_204227_0002.jpg
/home/pi/Desktop/images/21012025/17/30/image_21012025_17_30_02_204227_0003.jpg
/home/pi/Desktop/images/21012025/17/31/image_21012025_17_31_02_338088_0000.jpg
/home/pi/Desktop/images/21012025/17/31/image_21012025_17_31_02_338088_0001.jpg
/home/pi/Desktop/images/21012025/17/31/image_21012025_17_31_02_338088_0002.jpg
/home/pi/Desktop/images/21012025/17/31/image_21012025_17_31_02_338088_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":["1330696540","1330696525","1330696519","1330696533","1330696550","1330696546"],"photo_ids_order":["1330696519","1330696525","1330696533","1330696540","1330696546","1330696550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7a8c911f70f73edb1e25468a80e9132.jpg","text":"TemporaryFile(/tmp/multipartBody5745899923777725631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587708433,"filename":"image_21012025_17_31_02_338088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7dcd6a637191638649fe66d8ad48dd7.jpg","text":"TemporaryFile(/tmp/multipartBody525390973544150405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587708433,"filename":"image_21012025_17_30_02_204227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35ff2d76578861dc80ec2859df37ac9d.jpg","text":"TemporaryFile(/tmp/multipartBody824810990917150009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587708433,"filename":"image_21012025_17_30_02_204227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81334f62c69fb3bb0768a5fd3ca5e18a.jpg","text":"TemporaryFile(/tmp/multipartBody2121270127707690715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587708433,"filename":"image_21012025_17_31_02_338088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b72bdeff94f79e0452528baea70df98.jpg","text":"TemporaryFile(/tmp/multipartBody971877382835025639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587708433,"filename":"image_21012025_17_31_02_338088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93ed04696f535b4d964926ffeab3968f.jpg","text":"TemporaryFile(/tmp/multipartBody8380612815359677285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587708433,"filename":"image_21012025_17_31_02_338088_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330696533","file1":"1330696525","file0":"1330696519","file4":"1330696546","file5":"1330696550","file3":"1330696540"},"map_files_photo_id_array":[{"photo_id":"1330696550","filename":"file5"},{"photo_id":"1330696533","filename":"file2"},{"photo_id":"1330696546","filename":"file4"},{"photo_id":"1330696525","filename":"file1"},{"photo_id":"1330696519","filename":"file0"},{"photo_id":"1330696540","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330696540":["hashtag1","hashtag2"]},{"1330696525":["hashtag1","hashtag2"]},{"1330696519":["hashtag1","hashtag2"]},{"1330696533":["hashtag1","hashtag2"]},{"1330696550":["hashtag1","hashtag2"]},{"1330696546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330696540, 1330696525, 1330696519, 1330696533, 1330696550, 1330696546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.19650912284851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:14:52.193003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/32/image_21012025_17_32_02_552503_0000.jpg', '/home/pi/Desktop/images/21012025/17/32/image_21012025_17_32_02_552503_0001.jpg', '/home/pi/Desktop/images/21012025/17/32/image_21012025_17_32_02_552503_0002.jpg', '/home/pi/Desktop/images/21012025/17/32/image_21012025_17_32_02_552503_0003.jpg', '/home/pi/Desktop/images/21012025/17/33/image_21012025_17_33_02_767678_0000.jpg', '/home/pi/Desktop/images/21012025/17/33/image_21012025_17_33_02_767678_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/32/image_21012025_17_32_02_552503_0000.jpg
/home/pi/Desktop/images/21012025/17/32/image_21012025_17_32_02_552503_0001.jpg
/home/pi/Desktop/images/21012025/17/32/image_21012025_17_32_02_552503_0002.jpg
/home/pi/Desktop/images/21012025/17/32/image_21012025_17_32_02_552503_0003.jpg
/home/pi/Desktop/images/21012025/17/33/image_21012025_17_33_02_767678_0000.jpg
/home/pi/Desktop/images/21012025/17/33/image_21012025_17_33_02_767678_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":["1330696854","1330696752","1330696592","1330696841","1330696709","1330696597"],"photo_ids_order":["1330696592","1330696597","1330696709","1330696752","1330696841","1330696854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6bd96064c3928674e29879b0995e1f6f.jpg","text":"TemporaryFile(/tmp/multipartBody2562676974349430235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587769991,"filename":"image_21012025_17_33_02_767678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6e05283a9818c68fbe5fd5258b3d975.jpg","text":"TemporaryFile(/tmp/multipartBody6307420711253289286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587769991,"filename":"image_21012025_17_32_02_552503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf0cb4db95b671d43e0fc47e7909ad79.jpg","text":"TemporaryFile(/tmp/multipartBody8780287928093698167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587769991,"filename":"image_21012025_17_32_02_552503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a225d88b147b2c7fbee2a706f137acb.jpg","text":"TemporaryFile(/tmp/multipartBody2419025058956016223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587769991,"filename":"image_21012025_17_33_02_767678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0bf65ddcb728ab35d9ec76d14959c7d2.jpg","text":"TemporaryFile(/tmp/multipartBody3749028224525366455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587769991,"filename":"image_21012025_17_32_02_552503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ebc813930d0eec4fbe7bc1950912960.jpg","text":"TemporaryFile(/tmp/multipartBody7235651759785085316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587769991,"filename":"image_21012025_17_32_02_552503_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330696709","file1":"1330696597","file0":"1330696592","file4":"1330696841","file5":"1330696854","file3":"1330696752"},"map_files_photo_id_array":[{"photo_id":"1330696854","filename":"file5"},{"photo_id":"1330696709","filename":"file2"},{"photo_id":"1330696841","filename":"file4"},{"photo_id":"1330696597","filename":"file1"},{"photo_id":"1330696592","filename":"file0"},{"photo_id":"1330696752","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330696854":["hashtag1","hashtag2"]},{"1330696752":["hashtag1","hashtag2"]},{"1330696592":["hashtag1","hashtag2"]},{"1330696841":["hashtag1","hashtag2"]},{"1330696709":["hashtag1","hashtag2"]},{"1330696597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330696854, 1330696752, 1330696592, 1330696841, 1330696709, 1330696597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.434322118759155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:15:52.356531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/33/image_21012025_17_33_02_767678_0002.jpg', '/home/pi/Desktop/images/21012025/17/33/image_21012025_17_33_02_767678_0003.jpg', '/home/pi/Desktop/images/21012025/17/34/image_21012025_17_34_02_987316_0000.jpg', '/home/pi/Desktop/images/21012025/17/34/image_21012025_17_34_02_987316_0001.jpg', '/home/pi/Desktop/images/21012025/17/34/image_21012025_17_34_02_987316_0002.jpg', '/home/pi/Desktop/images/21012025/17/34/image_21012025_17_34_02_987316_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/33/image_21012025_17_33_02_767678_0002.jpg
/home/pi/Desktop/images/21012025/17/33/image_21012025_17_33_02_767678_0003.jpg
/home/pi/Desktop/images/21012025/17/34/image_21012025_17_34_02_987316_0000.jpg
/home/pi/Desktop/images/21012025/17/34/image_21012025_17_34_02_987316_0001.jpg
/home/pi/Desktop/images/21012025/17/34/image_21012025_17_34_02_987316_0002.jpg
/home/pi/Desktop/images/21012025/17/34/image_21012025_17_34_02_987316_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":["1330697097","1330697101","1330697079","1330697090","1330697084","1330697104"],"photo_ids_order":["1330697079","1330697084","1330697090","1330697097","1330697101","1330697104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa31566c9d00d1acca4f37e480759e8e.jpg","text":"TemporaryFile(/tmp/multipartBody955591606793045201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587829756,"filename":"image_21012025_17_34_02_987316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff1fe379b1bef92fc83afeb696b0206e.jpg","text":"TemporaryFile(/tmp/multipartBody8545781250654350506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587829756,"filename":"image_21012025_17_34_02_987316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed3a0dee1a12ec4b0f48048b84ec9b0f.jpg","text":"TemporaryFile(/tmp/multipartBody5989194169056284835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587829756,"filename":"image_21012025_17_33_02_767678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19c40be0b33b228facd9f1394e12beaa.jpg","text":"TemporaryFile(/tmp/multipartBody3923204188820367287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587829756,"filename":"image_21012025_17_34_02_987316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c23b59b613ddd001503ae132dfd9cd30.jpg","text":"TemporaryFile(/tmp/multipartBody4101315658203048736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587829756,"filename":"image_21012025_17_33_02_767678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/caea6dab1ab7cc98038821523d1ea422.jpg","text":"TemporaryFile(/tmp/multipartBody792672675858174278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587829756,"filename":"image_21012025_17_34_02_987316_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330697090","file1":"1330697084","file0":"1330697079","file4":"1330697101","file5":"1330697104","file3":"1330697097"},"map_files_photo_id_array":[{"photo_id":"1330697104","filename":"file5"},{"photo_id":"1330697090","filename":"file2"},{"photo_id":"1330697101","filename":"file4"},{"photo_id":"1330697084","filename":"file1"},{"photo_id":"1330697079","filename":"file0"},{"photo_id":"1330697097","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330697097":["hashtag1","hashtag2"]},{"1330697101":["hashtag1","hashtag2"]},{"1330697079":["hashtag1","hashtag2"]},{"1330697090":["hashtag1","hashtag2"]},{"1330697084":["hashtag1","hashtag2"]},{"1330697104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330697097, 1330697101, 1330697079, 1330697090, 1330697084, 1330697104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.803743839263916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:16:52.645312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/35/image_21012025_17_35_03_152136_0000.jpg', '/home/pi/Desktop/images/21012025/17/35/image_21012025_17_35_03_152136_0001.jpg', '/home/pi/Desktop/images/21012025/17/35/image_21012025_17_35_03_152136_0002.jpg', '/home/pi/Desktop/images/21012025/17/35/image_21012025_17_35_03_152136_0003.jpg', '/home/pi/Desktop/images/21012025/17/36/image_21012025_17_36_02_264643_0000.jpg', '/home/pi/Desktop/images/21012025/17/36/image_21012025_17_36_02_264643_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/35/image_21012025_17_35_03_152136_0000.jpg
/home/pi/Desktop/images/21012025/17/35/image_21012025_17_35_03_152136_0001.jpg
/home/pi/Desktop/images/21012025/17/35/image_21012025_17_35_03_152136_0002.jpg
/home/pi/Desktop/images/21012025/17/35/image_21012025_17_35_03_152136_0003.jpg
/home/pi/Desktop/images/21012025/17/36/image_21012025_17_36_02_264643_0000.jpg
/home/pi/Desktop/images/21012025/17/36/image_21012025_17_36_02_264643_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":["1330697139","1330697148","1330697115","1330697118","1330697123","1330697134"],"photo_ids_order":["1330697115","1330697118","1330697123","1330697134","1330697139","1330697148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/630b71888d4d5f71d083b675f21e59d7.jpg","text":"TemporaryFile(/tmp/multipartBody5095499537541277294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587889896,"filename":"image_21012025_17_36_02_264643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5500e4518a2b46c7089e2259d45da877.jpg","text":"TemporaryFile(/tmp/multipartBody2948204586736552669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587889896,"filename":"image_21012025_17_36_02_264643_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94a3130036eba294727592a3660d2d40.jpg","text":"TemporaryFile(/tmp/multipartBody1071698061807282571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587889896,"filename":"image_21012025_17_35_03_152136_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5cb782c5f4f0fc3c5c9258ef94389f7.jpg","text":"TemporaryFile(/tmp/multipartBody2684066544906597644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587889896,"filename":"image_21012025_17_35_03_152136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/485a17d3cb5c1aa9b1133802ce6e4978.jpg","text":"TemporaryFile(/tmp/multipartBody245339466541321100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587889896,"filename":"image_21012025_17_35_03_152136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71fa11f3d12ea16813a8a5cbc5a4d37b.jpg","text":"TemporaryFile(/tmp/multipartBody7021187072488398856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587889896,"filename":"image_21012025_17_35_03_152136_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330697123","file1":"1330697118","file0":"1330697115","file4":"1330697139","file5":"1330697148","file3":"1330697134"},"map_files_photo_id_array":[{"photo_id":"1330697148","filename":"file5"},{"photo_id":"1330697123","filename":"file2"},{"photo_id":"1330697139","filename":"file4"},{"photo_id":"1330697118","filename":"file1"},{"photo_id":"1330697115","filename":"file0"},{"photo_id":"1330697134","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330697139":["hashtag1","hashtag2"]},{"1330697148":["hashtag1","hashtag2"]},{"1330697115":["hashtag1","hashtag2"]},{"1330697118":["hashtag1","hashtag2"]},{"1330697123":["hashtag1","hashtag2"]},{"1330697134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330697139, 1330697148, 1330697115, 1330697118, 1330697123, 1330697134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.58888506889343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:17:51.845341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/36/image_21012025_17_36_02_264643_0002.jpg', '/home/pi/Desktop/images/21012025/17/36/image_21012025_17_36_02_264643_0003.jpg', '/home/pi/Desktop/images/21012025/17/37/image_21012025_17_37_02_473050_0000.jpg', '/home/pi/Desktop/images/21012025/17/37/image_21012025_17_37_02_473050_0001.jpg', '/home/pi/Desktop/images/21012025/17/37/image_21012025_17_37_02_473050_0002.jpg', '/home/pi/Desktop/images/21012025/17/37/image_21012025_17_37_02_473050_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/36/image_21012025_17_36_02_264643_0002.jpg
/home/pi/Desktop/images/21012025/17/36/image_21012025_17_36_02_264643_0003.jpg
/home/pi/Desktop/images/21012025/17/37/image_21012025_17_37_02_473050_0000.jpg
/home/pi/Desktop/images/21012025/17/37/image_21012025_17_37_02_473050_0001.jpg
/home/pi/Desktop/images/21012025/17/37/image_21012025_17_37_02_473050_0002.jpg
/home/pi/Desktop/images/21012025/17/37/image_21012025_17_37_02_473050_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":["1330697181","1330697166","1330697183","1330697177","1330697170","1330697173"],"photo_ids_order":["1330697166","1330697170","1330697173","1330697177","1330697181","1330697183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c80e2dfd23f69f156ddf406930fe160e.jpg","text":"TemporaryFile(/tmp/multipartBody4732218816465593008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587949407,"filename":"image_21012025_17_37_02_473050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/185140530b123cddca4ea7279b9ce67b.jpg","text":"TemporaryFile(/tmp/multipartBody6230027941491523983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587949407,"filename":"image_21012025_17_36_02_264643_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a47553cf241ff92aef2f28fa6fb22aad.jpg","text":"TemporaryFile(/tmp/multipartBody5797063356982489536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587949407,"filename":"image_21012025_17_37_02_473050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/265ed4854dafe4302ab49ccd09f8ba23.jpg","text":"TemporaryFile(/tmp/multipartBody8109573618164550314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587949407,"filename":"image_21012025_17_37_02_473050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2909de51dfc927ffce961e7bbf3e5ce.jpg","text":"TemporaryFile(/tmp/multipartBody6074652978310891277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587949407,"filename":"image_21012025_17_36_02_264643_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41f128d0faa7067b834f36e6f071b13b.jpg","text":"TemporaryFile(/tmp/multipartBody3598847485036442595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587949407,"filename":"image_21012025_17_37_02_473050_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330697173","file1":"1330697170","file0":"1330697166","file4":"1330697181","file5":"1330697183","file3":"1330697177"},"map_files_photo_id_array":[{"photo_id":"1330697183","filename":"file5"},{"photo_id":"1330697173","filename":"file2"},{"photo_id":"1330697181","filename":"file4"},{"photo_id":"1330697170","filename":"file1"},{"photo_id":"1330697166","filename":"file0"},{"photo_id":"1330697177","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330697181":["hashtag1","hashtag2"]},{"1330697166":["hashtag1","hashtag2"]},{"1330697183":["hashtag1","hashtag2"]},{"1330697177":["hashtag1","hashtag2"]},{"1330697170":["hashtag1","hashtag2"]},{"1330697173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330697181, 1330697166, 1330697183, 1330697177, 1330697170, 1330697173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.54060220718384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:18:52.062667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0000.jpg', '/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0001.jpg', '/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0002.jpg', '/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0003.jpg', '/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0000.jpg', '/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0000.jpg
/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0001.jpg
/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0002.jpg
/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0003.jpg
/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0000.jpg
/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.69431233406067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:19:22.266263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_02_849840_0003.jpg', '/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_02_993417_0000.jpg', '/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_02_993417_0001.jpg', '/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_02_993417_0002.jpg', '/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_02_993417_0003.jpg', '/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_02_270087_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_02_849840_0003.jpg
/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_02_993417_0000.jpg
/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_02_993417_0001.jpg
/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_02_993417_0002.jpg
/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_02_993417_0003.jpg
/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_02_270087_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330697256","1330697271","1330697253","1330697281","1330697251","1330697248"],"photo_ids_order":["1330697248","1330697251","1330697253","1330697256","1330697271","1330697281"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b50ec62b34c8d09002b9c991f7fb99d.jpg","text":"TemporaryFile(/tmp/multipartBody5236495505948141358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588039887,"filename":"image_23012025_00_12_02_993417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c0e66060d14e8a64e40b118afd98d25.jpg","text":"TemporaryFile(/tmp/multipartBody7609529643859647076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588039887,"filename":"image_23012025_00_12_02_993417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca26ea32ccd133e8d65e4a49538f4e2c.jpg","text":"TemporaryFile(/tmp/multipartBody340839760809486665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588039887,"filename":"image_23012025_00_12_02_993417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7e48aacf7ca2fd9a6e4f3e5e2fbbb5f.jpg","text":"TemporaryFile(/tmp/multipartBody7202092346934820613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588039887,"filename":"image_23012025_00_13_02_270087_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f3cac08b5eb54a35e8d03ca4ecbc509.jpg","text":"TemporaryFile(/tmp/multipartBody5543360070037277065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588039887,"filename":"image_23012025_00_12_02_993417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad3601a6fa0e4637aface08e42662dc0.jpg","text":"TemporaryFile(/tmp/multipartBody5943538903003720145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588039887,"filename":"image_23012025_00_11_02_849840_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330697253","file1":"1330697251","file0":"1330697248","file4":"1330697271","file5":"1330697281","file3":"1330697256"},"map_files_photo_id_array":[{"photo_id":"1330697281","filename":"file5"},{"photo_id":"1330697253","filename":"file2"},{"photo_id":"1330697271","filename":"file4"},{"photo_id":"1330697251","filename":"file1"},{"photo_id":"1330697248","filename":"file0"},{"photo_id":"1330697256","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330697256":["hashtag1","hashtag2"]},{"1330697271":["hashtag1","hashtag2"]},{"1330697253":["hashtag1","hashtag2"]},{"1330697281":["hashtag1","hashtag2"]},{"1330697251":["hashtag1","hashtag2"]},{"1330697248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330697256, 1330697271, 1330697253, 1330697281, 1330697251, 1330697248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.008198261260986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:20:52.475407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0000.jpg', '/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0001.jpg', '/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0002.jpg', '/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0003.jpg', '/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0000.jpg', '/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0000.jpg
/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0001.jpg
/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0002.jpg
/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0003.jpg
/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0000.jpg
/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.50683045387268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:21:22.619805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_02_270087_0001.jpg', '/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_02_270087_0002.jpg', '/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_02_270087_0003.jpg', '/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_02_390857_0000.jpg', '/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_02_390857_0001.jpg', '/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_02_390857_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_02_270087_0001.jpg
/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_02_270087_0002.jpg
/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_02_270087_0003.jpg
/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_02_390857_0000.jpg
/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_02_390857_0001.jpg
/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_02_390857_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330697450","1330697468","1330697461","1330697458","1330697452","1330697455"],"photo_ids_order":["1330697450","1330697452","1330697455","1330697458","1330697461","1330697468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7a628f17cc70a0c17bd5d8756d12283.jpg","text":"TemporaryFile(/tmp/multipartBody2357502956452819332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588159940,"filename":"image_23012025_00_13_02_270087_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85860491f612e5709de5745aadff81ec.jpg","text":"TemporaryFile(/tmp/multipartBody4560075522932599146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588159940,"filename":"image_23012025_00_14_02_390857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b31659ebb847f3a9807fccc255fa018e.jpg","text":"TemporaryFile(/tmp/multipartBody2465960210544103134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588159940,"filename":"image_23012025_00_14_02_390857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2dd80fb662007cd453447a5d10543f72.jpg","text":"TemporaryFile(/tmp/multipartBody6758927676616321721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588159940,"filename":"image_23012025_00_14_02_390857_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb53a613b4a4e431070488dbf113a604.jpg","text":"TemporaryFile(/tmp/multipartBody8538568706279191677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588159940,"filename":"image_23012025_00_13_02_270087_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6c22e102723b46a357a784ebe73612a.jpg","text":"TemporaryFile(/tmp/multipartBody5871310562288412826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588159940,"filename":"image_23012025_00_13_02_270087_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330697455","file1":"1330697452","file0":"1330697450","file4":"1330697461","file5":"1330697468","file3":"1330697458"},"map_files_photo_id_array":[{"photo_id":"1330697468","filename":"file5"},{"photo_id":"1330697455","filename":"file2"},{"photo_id":"1330697461","filename":"file4"},{"photo_id":"1330697452","filename":"file1"},{"photo_id":"1330697450","filename":"file0"},{"photo_id":"1330697458","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330697450":["hashtag1","hashtag2"]},{"1330697468":["hashtag1","hashtag2"]},{"1330697461":["hashtag1","hashtag2"]},{"1330697458":["hashtag1","hashtag2"]},{"1330697452":["hashtag1","hashtag2"]},{"1330697455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330697450, 1330697468, 1330697461, 1330697458, 1330697452, 1330697455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.545329093933105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:22:21.760165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_02_390857_0003.jpg', '/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_02_586784_0000.jpg', '/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_02_586784_0001.jpg', '/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_02_586784_0002.jpg', '/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_02_586784_0003.jpg', '/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_02_778556_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_02_390857_0003.jpg
/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_02_586784_0000.jpg
/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_02_586784_0001.jpg
/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_02_586784_0002.jpg
/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_02_586784_0003.jpg
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_02_778556_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":["1330697487","1330697489","1330697504","1330697494","1330697497","1330697491"],"photo_ids_order":["1330697487","1330697489","1330697491","1330697494","1330697497","1330697504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d18212e27c251802c925733c780b3d5.jpg","text":"TemporaryFile(/tmp/multipartBody5305474560004392379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588218504,"filename":"image_23012025_00_14_02_390857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c85913fe18bb9245d692fd6535061b55.jpg","text":"TemporaryFile(/tmp/multipartBody2373422323591266525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588218504,"filename":"image_23012025_00_15_02_586784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c7b9c98594ca41bfdebe6e4770ddde1.jpg","text":"TemporaryFile(/tmp/multipartBody3463019508035374454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588218504,"filename":"image_23012025_00_16_02_778556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb3599b82fa0d18592274f58066f729d.jpg","text":"TemporaryFile(/tmp/multipartBody1790060356836327731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588218504,"filename":"image_23012025_00_15_02_586784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbae2ce8d299c6d439b2c5fa15afed9b.jpg","text":"TemporaryFile(/tmp/multipartBody4497079117647168171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588218504,"filename":"image_23012025_00_15_02_586784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43a2a9210e5ead169299c64bc0ab0ce4.jpg","text":"TemporaryFile(/tmp/multipartBody4385334665424040180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588218504,"filename":"image_23012025_00_15_02_586784_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330697491","file1":"1330697489","file0":"1330697487","file4":"1330697497","file5":"1330697504","file3":"1330697494"},"map_files_photo_id_array":[{"photo_id":"1330697504","filename":"file5"},{"photo_id":"1330697491","filename":"file2"},{"photo_id":"1330697497","filename":"file4"},{"photo_id":"1330697489","filename":"file1"},{"photo_id":"1330697487","filename":"file0"},{"photo_id":"1330697494","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330697487":["hashtag1","hashtag2"]},{"1330697489":["hashtag1","hashtag2"]},{"1330697504":["hashtag1","hashtag2"]},{"1330697494":["hashtag1","hashtag2"]},{"1330697497":["hashtag1","hashtag2"]},{"1330697491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330697487, 1330697489, 1330697504, 1330697494, 1330697497, 1330697491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.6214964389801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:23:21.934700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_02_778556_0001.jpg', '/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_02_778556_0002.jpg', '/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_02_778556_0003.jpg', '/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_02_886623_0000.jpg', '/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_02_886623_0001.jpg', '/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_02_886623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_02_778556_0001.jpg
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_02_778556_0002.jpg
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_02_778556_0003.jpg
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_02_886623_0000.jpg
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_02_886623_0001.jpg
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_02_886623_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330697541","1330697535","1330697528","1330697569","1330697530","1330697533"],"photo_ids_order":["1330697528","1330697530","1330697533","1330697535","1330697541","1330697569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55f154073d96cb052208769e84c6f849.jpg","text":"TemporaryFile(/tmp/multipartBody3606928349281499981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588278423,"filename":"image_23012025_00_17_02_886623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a772cb5e99111ae6f43942313da6cadf.jpg","text":"TemporaryFile(/tmp/multipartBody550555387909524901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588278423,"filename":"image_23012025_00_17_02_886623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31f65cee4ca0a10ff28e87d19559413f.jpg","text":"TemporaryFile(/tmp/multipartBody7700690707074946044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588278423,"filename":"image_23012025_00_16_02_778556_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c029a1c4c2aa7a04fe1db1f48d011c3.jpg","text":"TemporaryFile(/tmp/multipartBody4291881044691862233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588278423,"filename":"image_23012025_00_17_02_886623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9f8efffe56c5bca79dd8539eabfe97d.jpg","text":"TemporaryFile(/tmp/multipartBody1591532933092027963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588278423,"filename":"image_23012025_00_16_02_778556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5524789ac3c815ae4596e0b689f5c51a.jpg","text":"TemporaryFile(/tmp/multipartBody7248086947750636290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588278423,"filename":"image_23012025_00_16_02_778556_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330697533","file1":"1330697530","file0":"1330697528","file4":"1330697541","file5":"1330697569","file3":"1330697535"},"map_files_photo_id_array":[{"photo_id":"1330697569","filename":"file5"},{"photo_id":"1330697533","filename":"file2"},{"photo_id":"1330697541","filename":"file4"},{"photo_id":"1330697530","filename":"file1"},{"photo_id":"1330697528","filename":"file0"},{"photo_id":"1330697535","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330697541":["hashtag1","hashtag2"]},{"1330697535":["hashtag1","hashtag2"]},{"1330697528":["hashtag1","hashtag2"]},{"1330697569":["hashtag1","hashtag2"]},{"1330697530":["hashtag1","hashtag2"]},{"1330697533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330697541, 1330697535, 1330697528, 1330697569, 1330697530, 1330697533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.74877142906189 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:24:22.169914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_02_886623_0003.jpg', '/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0000.jpg', '/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0001.jpg', '/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0002.jpg', '/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0003.jpg', '/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_02_434761_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_02_886623_0003.jpg
/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0000.jpg
/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0001.jpg
/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0002.jpg
/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0003.jpg
/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_02_434761_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.136271476745605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:24:52.156325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0000.jpg', '/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0001.jpg', '/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0002.jpg', '/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0003.jpg', '/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0000.jpg', '/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0000.jpg
/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0001.jpg
/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0002.jpg
/home/pi/Desktop/images/21012025/17/38/image_21012025_17_38_02_628543_0003.jpg
/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0000.jpg
/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_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":["1330697732","1330697770","1330697702","1330697668","1330697746","1330697710"],"photo_ids_order":["1330697668","1330697702","1330697710","1330697732","1330697746","1330697770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22518f10e85917aab890ab18abbc0187.jpg","text":"TemporaryFile(/tmp/multipartBody8678147151274969252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588370102,"filename":"image_21012025_17_38_02_628543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6d82d09b928f682f8af0ad1a36a31ff.jpg","text":"TemporaryFile(/tmp/multipartBody6862282203505534053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588370102,"filename":"image_21012025_17_39_02_815458_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54af993c13769c6e6a50b8e6e65f0335.jpg","text":"TemporaryFile(/tmp/multipartBody3263026085750081878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588370102,"filename":"image_21012025_17_38_02_628543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/449195133a0e89cf93d99d9c03c90417.jpg","text":"TemporaryFile(/tmp/multipartBody107916872307314975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588370102,"filename":"image_21012025_17_38_02_628543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5bf96c3db5ea08e010a39b77f968e70.jpg","text":"TemporaryFile(/tmp/multipartBody5021339969308339850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588370102,"filename":"image_21012025_17_39_02_815458_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5852d3e7a022d8e6ee896719a261497f.jpg","text":"TemporaryFile(/tmp/multipartBody5464546764660378181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588370102,"filename":"image_21012025_17_38_02_628543_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330697710","file1":"1330697702","file0":"1330697668","file4":"1330697746","file5":"1330697770","file3":"1330697732"},"map_files_photo_id_array":[{"photo_id":"1330697770","filename":"file5"},{"photo_id":"1330697710","filename":"file2"},{"photo_id":"1330697746","filename":"file4"},{"photo_id":"1330697702","filename":"file1"},{"photo_id":"1330697668","filename":"file0"},{"photo_id":"1330697732","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330697732":["hashtag1","hashtag2"]},{"1330697770":["hashtag1","hashtag2"]},{"1330697702":["hashtag1","hashtag2"]},{"1330697668":["hashtag1","hashtag2"]},{"1330697746":["hashtag1","hashtag2"]},{"1330697710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330697732, 1330697770, 1330697702, 1330697668, 1330697746, 1330697710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.96435570716858 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:25:52.303185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0002.jpg', '/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0003.jpg', '/home/pi/Desktop/images/21012025/17/40/image_21012025_17_40_03_010173_0000.jpg', '/home/pi/Desktop/images/21012025/17/40/image_21012025_17_40_03_010173_0001.jpg', '/home/pi/Desktop/images/21012025/17/40/image_21012025_17_40_03_010173_0002.jpg', '/home/pi/Desktop/images/21012025/17/40/image_21012025_17_40_03_010173_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0002.jpg
/home/pi/Desktop/images/21012025/17/39/image_21012025_17_39_02_815458_0003.jpg
/home/pi/Desktop/images/21012025/17/40/image_21012025_17_40_03_010173_0000.jpg
/home/pi/Desktop/images/21012025/17/40/image_21012025_17_40_03_010173_0001.jpg
/home/pi/Desktop/images/21012025/17/40/image_21012025_17_40_03_010173_0002.jpg
/home/pi/Desktop/images/21012025/17/40/image_21012025_17_40_03_010173_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":["1330697958","1330697952","1330697937","1330697969","1330697912","1330697880"],"photo_ids_order":["1330697880","1330697912","1330697937","1330697952","1330697958","1330697969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42856a3e306018234358bc5baa60be89.jpg","text":"TemporaryFile(/tmp/multipartBody863862686717584741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588430056,"filename":"image_21012025_17_40_03_010173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/446eab1730d658b6d79019ba8f6b998b.jpg","text":"TemporaryFile(/tmp/multipartBody8621052513086288763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588430056,"filename":"image_21012025_17_40_03_010173_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab635469045ad1cde1c948977c5e70c5.jpg","text":"TemporaryFile(/tmp/multipartBody8468190319438472112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588430056,"filename":"image_21012025_17_40_03_010173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e62e24ead6fd3b1cf53311920b871f25.jpg","text":"TemporaryFile(/tmp/multipartBody5160427975520150093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588430056,"filename":"image_21012025_17_40_03_010173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62da241e66b6ca138eec91b9ce17efa7.jpg","text":"TemporaryFile(/tmp/multipartBody7973436663545719278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588430056,"filename":"image_21012025_17_39_02_815458_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43af4761acb5f2755af83b6ccec01b3c.jpg","text":"TemporaryFile(/tmp/multipartBody20554882134731978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588430056,"filename":"image_21012025_17_39_02_815458_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330697937","file1":"1330697912","file0":"1330697880","file4":"1330697958","file5":"1330697969","file3":"1330697952"},"map_files_photo_id_array":[{"photo_id":"1330697969","filename":"file5"},{"photo_id":"1330697937","filename":"file2"},{"photo_id":"1330697958","filename":"file4"},{"photo_id":"1330697912","filename":"file1"},{"photo_id":"1330697880","filename":"file0"},{"photo_id":"1330697952","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330697958":["hashtag1","hashtag2"]},{"1330697952":["hashtag1","hashtag2"]},{"1330697937":["hashtag1","hashtag2"]},{"1330697969":["hashtag1","hashtag2"]},{"1330697912":["hashtag1","hashtag2"]},{"1330697880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330697958, 1330697952, 1330697937, 1330697969, 1330697912, 1330697880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.541850328445435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:26:52.487978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/41/image_21012025_17_41_02_130477_0000.jpg', '/home/pi/Desktop/images/21012025/17/41/image_21012025_17_41_02_130477_0001.jpg', '/home/pi/Desktop/images/21012025/17/41/image_21012025_17_41_02_130477_0002.jpg', '/home/pi/Desktop/images/21012025/17/41/image_21012025_17_41_02_130477_0003.jpg', '/home/pi/Desktop/images/21012025/17/42/image_21012025_17_42_02_322277_0000.jpg', '/home/pi/Desktop/images/21012025/17/42/image_21012025_17_42_02_322277_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/41/image_21012025_17_41_02_130477_0000.jpg
/home/pi/Desktop/images/21012025/17/41/image_21012025_17_41_02_130477_0001.jpg
/home/pi/Desktop/images/21012025/17/41/image_21012025_17_41_02_130477_0002.jpg
/home/pi/Desktop/images/21012025/17/41/image_21012025_17_41_02_130477_0003.jpg
/home/pi/Desktop/images/21012025/17/42/image_21012025_17_42_02_322277_0000.jpg
/home/pi/Desktop/images/21012025/17/42/image_21012025_17_42_02_322277_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":["1330697997","1330698012","1330698021","1330697990","1330698023","1330698017"],"photo_ids_order":["1330697990","1330697997","1330698012","1330698017","1330698021","1330698023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2933dcd165a50a269b84e41d0255d55.jpg","text":"TemporaryFile(/tmp/multipartBody4029581592369003838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588490275,"filename":"image_21012025_17_41_02_130477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ff8f714d7aa6a1f76780ef0f5befdbe.jpg","text":"TemporaryFile(/tmp/multipartBody5982331793902682623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588490275,"filename":"image_21012025_17_41_02_130477_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21029ee5cf8c506b9bd260ef77ba4c87.jpg","text":"TemporaryFile(/tmp/multipartBody3834868042557881896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588490275,"filename":"image_21012025_17_42_02_322277_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01d5832c1de055d32a9b61be76ac5b3a.jpg","text":"TemporaryFile(/tmp/multipartBody99685220893541597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588490275,"filename":"image_21012025_17_41_02_130477_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a935a777bfd85d9282218275e9580d44.jpg","text":"TemporaryFile(/tmp/multipartBody7047130423085305700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588490275,"filename":"image_21012025_17_42_02_322277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2d2f39b2602d57cf424589828f027be.jpg","text":"TemporaryFile(/tmp/multipartBody3051869391953013075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588490275,"filename":"image_21012025_17_41_02_130477_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330698012","file1":"1330697997","file0":"1330697990","file4":"1330698021","file5":"1330698023","file3":"1330698017"},"map_files_photo_id_array":[{"photo_id":"1330698023","filename":"file5"},{"photo_id":"1330698012","filename":"file2"},{"photo_id":"1330698021","filename":"file4"},{"photo_id":"1330697997","filename":"file1"},{"photo_id":"1330697990","filename":"file0"},{"photo_id":"1330698017","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330697997":["hashtag1","hashtag2"]},{"1330698012":["hashtag1","hashtag2"]},{"1330698021":["hashtag1","hashtag2"]},{"1330697990":["hashtag1","hashtag2"]},{"1330698023":["hashtag1","hashtag2"]},{"1330698017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330697997, 1330698012, 1330698021, 1330697990, 1330698023, 1330698017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.10357117652893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:27:52.682393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/42/image_21012025_17_42_02_322277_0002.jpg', '/home/pi/Desktop/images/21012025/17/42/image_21012025_17_42_02_322277_0003.jpg', '/home/pi/Desktop/images/21012025/17/43/image_21012025_17_43_02_522190_0000.jpg', '/home/pi/Desktop/images/21012025/17/43/image_21012025_17_43_02_522190_0001.jpg', '/home/pi/Desktop/images/21012025/17/43/image_21012025_17_43_02_522190_0002.jpg', '/home/pi/Desktop/images/21012025/17/43/image_21012025_17_43_02_522190_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/42/image_21012025_17_42_02_322277_0002.jpg
/home/pi/Desktop/images/21012025/17/42/image_21012025_17_42_02_322277_0003.jpg
/home/pi/Desktop/images/21012025/17/43/image_21012025_17_43_02_522190_0000.jpg
/home/pi/Desktop/images/21012025/17/43/image_21012025_17_43_02_522190_0001.jpg
/home/pi/Desktop/images/21012025/17/43/image_21012025_17_43_02_522190_0002.jpg
/home/pi/Desktop/images/21012025/17/43/image_21012025_17_43_02_522190_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":["1330698123","1330698126","1330698102","1330698096","1330698090","1330698084"],"photo_ids_order":["1330698084","1330698090","1330698096","1330698102","1330698123","1330698126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/faadb823944da8ef87c1209c945d3a2f.jpg","text":"TemporaryFile(/tmp/multipartBody4084211179200171634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588550587,"filename":"image_21012025_17_43_02_522190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e308a31abc08735f1e4ebf59ee6994a2.jpg","text":"TemporaryFile(/tmp/multipartBody1655723779977458015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588550587,"filename":"image_21012025_17_43_02_522190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6aabd6b8cfc213a731a470f092697256.jpg","text":"TemporaryFile(/tmp/multipartBody489578937159196818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588550587,"filename":"image_21012025_17_43_02_522190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd0062a2f07f9a88f7f6b0e9e5eee5ef.jpg","text":"TemporaryFile(/tmp/multipartBody3120543475662025091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588550587,"filename":"image_21012025_17_43_02_522190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df17515daa5e46274b9ed062ee4e4dcd.jpg","text":"TemporaryFile(/tmp/multipartBody1921433138137196016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588550587,"filename":"image_21012025_17_42_02_322277_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0868331b57473b9b465efee3e5ef7b2d.jpg","text":"TemporaryFile(/tmp/multipartBody8819566248461867170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588550587,"filename":"image_21012025_17_42_02_322277_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330698096","file1":"1330698090","file0":"1330698084","file4":"1330698123","file5":"1330698126","file3":"1330698102"},"map_files_photo_id_array":[{"photo_id":"1330698126","filename":"file5"},{"photo_id":"1330698096","filename":"file2"},{"photo_id":"1330698123","filename":"file4"},{"photo_id":"1330698090","filename":"file1"},{"photo_id":"1330698084","filename":"file0"},{"photo_id":"1330698102","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330698123":["hashtag1","hashtag2"]},{"1330698126":["hashtag1","hashtag2"]},{"1330698102":["hashtag1","hashtag2"]},{"1330698096":["hashtag1","hashtag2"]},{"1330698090":["hashtag1","hashtag2"]},{"1330698084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330698123, 1330698126, 1330698102, 1330698096, 1330698090, 1330698084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.427029848098755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:28:51.849594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/44/image_21012025_17_44_02_704375_0000.jpg', '/home/pi/Desktop/images/21012025/17/44/image_21012025_17_44_02_704375_0001.jpg', '/home/pi/Desktop/images/21012025/17/44/image_21012025_17_44_02_704375_0002.jpg', '/home/pi/Desktop/images/21012025/17/44/image_21012025_17_44_02_704375_0003.jpg', '/home/pi/Desktop/images/21012025/17/45/image_21012025_17_45_02_871224_0000.jpg', '/home/pi/Desktop/images/21012025/17/45/image_21012025_17_45_02_871224_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/44/image_21012025_17_44_02_704375_0000.jpg
/home/pi/Desktop/images/21012025/17/44/image_21012025_17_44_02_704375_0001.jpg
/home/pi/Desktop/images/21012025/17/44/image_21012025_17_44_02_704375_0002.jpg
/home/pi/Desktop/images/21012025/17/44/image_21012025_17_44_02_704375_0003.jpg
/home/pi/Desktop/images/21012025/17/45/image_21012025_17_45_02_871224_0000.jpg
/home/pi/Desktop/images/21012025/17/45/image_21012025_17_45_02_871224_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":["1330698170","1330698164","1330698176","1330698181","1330698157","1330698187"],"photo_ids_order":["1330698157","1330698164","1330698170","1330698176","1330698181","1330698187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc590a7ef82373a70fe7009c50f3dd16.jpg","text":"TemporaryFile(/tmp/multipartBody177708732540504952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588609912,"filename":"image_21012025_17_44_02_704375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd9091fcbaffbf9613c8250cd19a0300.jpg","text":"TemporaryFile(/tmp/multipartBody6697892360918584710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588609912,"filename":"image_21012025_17_44_02_704375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/024c39809939aed088002aa9fee5829f.jpg","text":"TemporaryFile(/tmp/multipartBody608302317618638493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588609912,"filename":"image_21012025_17_44_02_704375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/431c072c4bb9f8775fb0805f117b9f76.jpg","text":"TemporaryFile(/tmp/multipartBody1052422838471206721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588609912,"filename":"image_21012025_17_45_02_871224_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc91c554bc5584446d4c671eb7d6be49.jpg","text":"TemporaryFile(/tmp/multipartBody3056826733919534261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588609912,"filename":"image_21012025_17_44_02_704375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a90ea98ee30f35089b33126589e011d.jpg","text":"TemporaryFile(/tmp/multipartBody3627353752800585204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588609912,"filename":"image_21012025_17_45_02_871224_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330698170","file1":"1330698164","file0":"1330698157","file4":"1330698181","file5":"1330698187","file3":"1330698176"},"map_files_photo_id_array":[{"photo_id":"1330698187","filename":"file5"},{"photo_id":"1330698170","filename":"file2"},{"photo_id":"1330698181","filename":"file4"},{"photo_id":"1330698164","filename":"file1"},{"photo_id":"1330698157","filename":"file0"},{"photo_id":"1330698176","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330698170":["hashtag1","hashtag2"]},{"1330698164":["hashtag1","hashtag2"]},{"1330698176":["hashtag1","hashtag2"]},{"1330698181":["hashtag1","hashtag2"]},{"1330698157":["hashtag1","hashtag2"]},{"1330698187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330698170, 1330698164, 1330698176, 1330698181, 1330698157, 1330698187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.412840843200684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:29:52.040658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/45/image_21012025_17_45_02_871224_0002.jpg', '/home/pi/Desktop/images/21012025/17/45/image_21012025_17_45_02_871224_0003.jpg', '/home/pi/Desktop/images/21012025/17/46/image_21012025_17_46_03_007272_0000.jpg', '/home/pi/Desktop/images/21012025/17/46/image_21012025_17_46_03_007272_0001.jpg', '/home/pi/Desktop/images/21012025/17/46/image_21012025_17_46_03_007272_0002.jpg', '/home/pi/Desktop/images/21012025/17/46/image_21012025_17_46_03_007272_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/45/image_21012025_17_45_02_871224_0002.jpg
/home/pi/Desktop/images/21012025/17/45/image_21012025_17_45_02_871224_0003.jpg
/home/pi/Desktop/images/21012025/17/46/image_21012025_17_46_03_007272_0000.jpg
/home/pi/Desktop/images/21012025/17/46/image_21012025_17_46_03_007272_0001.jpg
/home/pi/Desktop/images/21012025/17/46/image_21012025_17_46_03_007272_0002.jpg
/home/pi/Desktop/images/21012025/17/46/image_21012025_17_46_03_007272_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":["1330698231","1330698293","1330698305","1330698238","1330698301","1330698393"],"photo_ids_order":["1330698231","1330698238","1330698293","1330698301","1330698305","1330698393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a72237a362c1a965a7012d623f1012d8.jpg","text":"TemporaryFile(/tmp/multipartBody3429726939953350497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588669978,"filename":"image_21012025_17_45_02_871224_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f738ec2316e5e2752163a00c4d952220.jpg","text":"TemporaryFile(/tmp/multipartBody4627132594505189119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588669978,"filename":"image_21012025_17_46_03_007272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa5e12064f8e69794c478bb497848c8b.jpg","text":"TemporaryFile(/tmp/multipartBody6547125405304715779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588669978,"filename":"image_21012025_17_46_03_007272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e3d666f9d489de1871c3c5e784497d3.jpg","text":"TemporaryFile(/tmp/multipartBody5641562833677183263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588669978,"filename":"image_21012025_17_45_02_871224_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c898e764ad9d6130c0b2e38dbe6598c.jpg","text":"TemporaryFile(/tmp/multipartBody8845606665325145991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588669978,"filename":"image_21012025_17_46_03_007272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0de6f3c280f9d8e565394ceed549d1eb.jpg","text":"TemporaryFile(/tmp/multipartBody4503866918887891298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588669978,"filename":"image_21012025_17_46_03_007272_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330698293","file1":"1330698238","file0":"1330698231","file4":"1330698305","file5":"1330698393","file3":"1330698301"},"map_files_photo_id_array":[{"photo_id":"1330698393","filename":"file5"},{"photo_id":"1330698293","filename":"file2"},{"photo_id":"1330698305","filename":"file4"},{"photo_id":"1330698238","filename":"file1"},{"photo_id":"1330698231","filename":"file0"},{"photo_id":"1330698301","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330698231":["hashtag1","hashtag2"]},{"1330698293":["hashtag1","hashtag2"]},{"1330698305":["hashtag1","hashtag2"]},{"1330698238":["hashtag1","hashtag2"]},{"1330698301":["hashtag1","hashtag2"]},{"1330698393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330698231, 1330698293, 1330698305, 1330698238, 1330698301, 1330698393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.87564516067505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:30:52.264372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/47/image_21012025_17_47_02_216733_0000.jpg', '/home/pi/Desktop/images/21012025/17/47/image_21012025_17_47_02_216733_0001.jpg', '/home/pi/Desktop/images/21012025/17/47/image_21012025_17_47_02_216733_0002.jpg', '/home/pi/Desktop/images/21012025/17/47/image_21012025_17_47_02_216733_0003.jpg', '/home/pi/Desktop/images/21012025/17/48/image_21012025_17_48_02_486475_0000.jpg', '/home/pi/Desktop/images/21012025/17/48/image_21012025_17_48_02_486475_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/47/image_21012025_17_47_02_216733_0000.jpg
/home/pi/Desktop/images/21012025/17/47/image_21012025_17_47_02_216733_0001.jpg
/home/pi/Desktop/images/21012025/17/47/image_21012025_17_47_02_216733_0002.jpg
/home/pi/Desktop/images/21012025/17/47/image_21012025_17_47_02_216733_0003.jpg
/home/pi/Desktop/images/21012025/17/48/image_21012025_17_48_02_486475_0000.jpg
/home/pi/Desktop/images/21012025/17/48/image_21012025_17_48_02_486475_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":["1330698549","1330698542","1330698536","1330698538","1330698505","1330698546"],"photo_ids_order":["1330698505","1330698536","1330698538","1330698542","1330698546","1330698549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26b52b3420294afa9477dc851fc91d02.jpg","text":"TemporaryFile(/tmp/multipartBody5877523106339433861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588730270,"filename":"image_21012025_17_48_02_486475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/311bef5ad7561a85bd37e6be60f367ff.jpg","text":"TemporaryFile(/tmp/multipartBody1078313489432346263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588730270,"filename":"image_21012025_17_47_02_216733_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0c60e8bbbca9944f3e431388b188288.jpg","text":"TemporaryFile(/tmp/multipartBody2579485438988303359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588730270,"filename":"image_21012025_17_47_02_216733_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/808d39fa6fec398728b61da0564b23aa.jpg","text":"TemporaryFile(/tmp/multipartBody5240889735058543405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588730270,"filename":"image_21012025_17_47_02_216733_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d75a5443ac9ad7151695218916f6a2e6.jpg","text":"TemporaryFile(/tmp/multipartBody1043375380894840838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588730270,"filename":"image_21012025_17_47_02_216733_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bb37e4ede95e707c7c96a8df7951a9c.jpg","text":"TemporaryFile(/tmp/multipartBody7524437955542400514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588730270,"filename":"image_21012025_17_48_02_486475_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330698538","file1":"1330698536","file0":"1330698505","file4":"1330698546","file5":"1330698549","file3":"1330698542"},"map_files_photo_id_array":[{"photo_id":"1330698549","filename":"file5"},{"photo_id":"1330698538","filename":"file2"},{"photo_id":"1330698546","filename":"file4"},{"photo_id":"1330698536","filename":"file1"},{"photo_id":"1330698505","filename":"file0"},{"photo_id":"1330698542","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330698549":["hashtag1","hashtag2"]},{"1330698542":["hashtag1","hashtag2"]},{"1330698536":["hashtag1","hashtag2"]},{"1330698538":["hashtag1","hashtag2"]},{"1330698505":["hashtag1","hashtag2"]},{"1330698546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330698549, 1330698542, 1330698536, 1330698538, 1330698505, 1330698546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.8814480304718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:31:52.430142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/48/image_21012025_17_48_02_486475_0002.jpg', '/home/pi/Desktop/images/21012025/17/48/image_21012025_17_48_02_486475_0003.jpg', '/home/pi/Desktop/images/21012025/17/49/image_21012025_17_49_02_656178_0000.jpg', '/home/pi/Desktop/images/21012025/17/49/image_21012025_17_49_02_656178_0001.jpg', '/home/pi/Desktop/images/21012025/17/49/image_21012025_17_49_02_656178_0002.jpg', '/home/pi/Desktop/images/21012025/17/49/image_21012025_17_49_02_656178_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/48/image_21012025_17_48_02_486475_0002.jpg
/home/pi/Desktop/images/21012025/17/48/image_21012025_17_48_02_486475_0003.jpg
/home/pi/Desktop/images/21012025/17/49/image_21012025_17_49_02_656178_0000.jpg
/home/pi/Desktop/images/21012025/17/49/image_21012025_17_49_02_656178_0001.jpg
/home/pi/Desktop/images/21012025/17/49/image_21012025_17_49_02_656178_0002.jpg
/home/pi/Desktop/images/21012025/17/49/image_21012025_17_49_02_656178_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330698624","1330698603","1330698608","1330698673","1330698658","1330698591"],"photo_ids_order":["1330698591","1330698603","1330698608","1330698624","1330698658","1330698673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/140e1eba3aa9bbbbf7d536e205390cd3.jpg","text":"TemporaryFile(/tmp/multipartBody2139183132736680002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588790318,"filename":"image_21012025_17_49_02_656178_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f60a8d3f2484150c36dba39c2ed2a5ee.jpg","text":"TemporaryFile(/tmp/multipartBody5402169598998201028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588790318,"filename":"image_21012025_17_48_02_486475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28094d873a8996febfb7b11ea5f71d3b.jpg","text":"TemporaryFile(/tmp/multipartBody126199535465432216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588790318,"filename":"image_21012025_17_49_02_656178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40e80dbfe8a83c54380ca22d7ebbb695.jpg","text":"TemporaryFile(/tmp/multipartBody1422201601789886696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588790318,"filename":"image_21012025_17_49_02_656178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c742b5fc39e5ddd7e958a29e971ded4c.jpg","text":"TemporaryFile(/tmp/multipartBody6009423309007657886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588790318,"filename":"image_21012025_17_49_02_656178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f848e27c44023c8e63eb2a6c22f393d.jpg","text":"TemporaryFile(/tmp/multipartBody8789477546346086268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588790318,"filename":"image_21012025_17_48_02_486475_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330698608","file1":"1330698603","file0":"1330698591","file4":"1330698658","file5":"1330698673","file3":"1330698624"},"map_files_photo_id_array":[{"photo_id":"1330698673","filename":"file5"},{"photo_id":"1330698608","filename":"file2"},{"photo_id":"1330698658","filename":"file4"},{"photo_id":"1330698603","filename":"file1"},{"photo_id":"1330698591","filename":"file0"},{"photo_id":"1330698624","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330698624":["hashtag1","hashtag2"]},{"1330698603":["hashtag1","hashtag2"]},{"1330698608":["hashtag1","hashtag2"]},{"1330698673":["hashtag1","hashtag2"]},{"1330698658":["hashtag1","hashtag2"]},{"1330698591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330698624, 1330698603, 1330698608, 1330698673, 1330698658, 1330698591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.2582061290741 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 00:33:02.453265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_02_886623_0003.jpg', '/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0000.jpg', '/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0001.jpg', '/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0002.jpg', '/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0003.jpg', '/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_02_434761_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_02_886623_0003.jpg
/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0000.jpg
/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0001.jpg
/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0002.jpg
/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_02_289966_0003.jpg
/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_02_434761_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330698785","1330698773","1330698740","1330698784","1330698766","1330698786"],"photo_ids_order":["1330698740","1330698766","1330698773","1330698784","1330698785","1330698786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efe4f2f19dc1e52b0ed8740de66d1d3d.jpg","text":"TemporaryFile(/tmp/multipartBody3988356577533648454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588859010,"filename":"image_23012025_00_18_02_289966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/635d5d98dd0468c028709f6170d39be5.jpg","text":"TemporaryFile(/tmp/multipartBody7027130636913905844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588859010,"filename":"image_23012025_00_18_02_289966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e7a3be87319a2027ccf632f3038efe3.jpg","text":"TemporaryFile(/tmp/multipartBody9024355111927267729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588859010,"filename":"image_23012025_00_17_02_886623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6aada8a8e6a379ad29ae2e53d2aa661.jpg","text":"TemporaryFile(/tmp/multipartBody8346866903724048367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588859010,"filename":"image_23012025_00_18_02_289966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9fb865b7ded8e98b0f677af00ebe3bc.jpg","text":"TemporaryFile(/tmp/multipartBody6360534927864263216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588859010,"filename":"image_23012025_00_18_02_289966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68aa636523fdb6c40d44d3bbee1fc0a9.jpg","text":"TemporaryFile(/tmp/multipartBody760976722690145388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588859010,"filename":"image_23012025_00_19_02_434761_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330698773","file1":"1330698766","file0":"1330698740","file4":"1330698785","file5":"1330698786","file3":"1330698784"},"map_files_photo_id_array":[{"photo_id":"1330698786","filename":"file5"},{"photo_id":"1330698773","filename":"file2"},{"photo_id":"1330698785","filename":"file4"},{"photo_id":"1330698766","filename":"file1"},{"photo_id":"1330698740","filename":"file0"},{"photo_id":"1330698784","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330698785":["hashtag1","hashtag2"]},{"1330698773":["hashtag1","hashtag2"]},{"1330698740":["hashtag1","hashtag2"]},{"1330698784":["hashtag1","hashtag2"]},{"1330698766":["hashtag1","hashtag2"]},{"1330698786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330698785, 1330698773, 1330698740, 1330698784, 1330698766, 1330698786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.41483020782471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:34:21.943954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_02_434761_0001.jpg', '/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_02_434761_0002.jpg', '/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_02_434761_0003.jpg', '/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_02_710851_0000.jpg', '/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_02_710851_0001.jpg', '/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_02_710851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_02_434761_0001.jpg
/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_02_434761_0002.jpg
/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_02_434761_0003.jpg
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_02_710851_0000.jpg
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_02_710851_0001.jpg
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_02_710851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330698804","1330698821","1330698815","1330698824","1330698808","1330698811"],"photo_ids_order":["1330698804","1330698808","1330698811","1330698815","1330698821","1330698824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e304ffb5a4e6b2e9a3fbb47a1a97e68.jpg","text":"TemporaryFile(/tmp/multipartBody949331237806181654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588938253,"filename":"image_23012025_00_19_02_434761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67108cae0e12c571ff815a4daae8d570.jpg","text":"TemporaryFile(/tmp/multipartBody1238285439608109746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588938253,"filename":"image_23012025_00_20_02_710851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc9880dde142b5b1b857edf85e50ba4e.jpg","text":"TemporaryFile(/tmp/multipartBody4576889309883097142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588938253,"filename":"image_23012025_00_20_02_710851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13f2bde53e4f79f086f972dc75299d38.jpg","text":"TemporaryFile(/tmp/multipartBody4002192159549056470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588938253,"filename":"image_23012025_00_20_02_710851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22d520afc9f68a6851d06301f4694b16.jpg","text":"TemporaryFile(/tmp/multipartBody8546902388460871972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588938253,"filename":"image_23012025_00_19_02_434761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/305dba575cd01a612f5537f47fb32afc.jpg","text":"TemporaryFile(/tmp/multipartBody3924955223575841657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588938253,"filename":"image_23012025_00_19_02_434761_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330698811","file1":"1330698808","file0":"1330698804","file4":"1330698821","file5":"1330698824","file3":"1330698815"},"map_files_photo_id_array":[{"photo_id":"1330698824","filename":"file5"},{"photo_id":"1330698811","filename":"file2"},{"photo_id":"1330698821","filename":"file4"},{"photo_id":"1330698808","filename":"file1"},{"photo_id":"1330698804","filename":"file0"},{"photo_id":"1330698815","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330698804":["hashtag1","hashtag2"]},{"1330698821":["hashtag1","hashtag2"]},{"1330698815":["hashtag1","hashtag2"]},{"1330698824":["hashtag1","hashtag2"]},{"1330698808":["hashtag1","hashtag2"]},{"1330698811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330698804, 1330698821, 1330698815, 1330698824, 1330698808, 1330698811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.27963590621948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:35:22.188121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_02_710851_0003.jpg', '/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_02_845487_0000.jpg', '/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_02_845487_0001.jpg', '/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_02_845487_0002.jpg', '/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_02_845487_0003.jpg', '/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_02_990703_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_02_710851_0003.jpg
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_02_845487_0000.jpg
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_02_845487_0001.jpg
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_02_845487_0002.jpg
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_02_845487_0003.jpg
/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_02_990703_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":["1330698846","1330698844","1330698847","1330698849","1330698840","1330698837"],"photo_ids_order":["1330698837","1330698840","1330698844","1330698846","1330698847","1330698849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/468785435e984823720f5a7f178abf8d.jpg","text":"TemporaryFile(/tmp/multipartBody3685517849644118053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588998814,"filename":"image_23012025_00_21_02_845487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3fbe34a1571b7a1b76c85c9c84205466.jpg","text":"TemporaryFile(/tmp/multipartBody5061977366102951387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588998814,"filename":"image_23012025_00_21_02_845487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61793c8987825b234562452f4a8abe7d.jpg","text":"TemporaryFile(/tmp/multipartBody3618241916314301408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588998814,"filename":"image_23012025_00_21_02_845487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36500198af257a10d83d6bc57ebafc8f.jpg","text":"TemporaryFile(/tmp/multipartBody2048249810515914668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588998814,"filename":"image_23012025_00_22_02_990703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/005bc7b0025dcd50018d5a853e6c1b11.jpg","text":"TemporaryFile(/tmp/multipartBody514685051908630291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588998814,"filename":"image_23012025_00_21_02_845487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/584b776c16da886c01f7dd3cf7f777e7.jpg","text":"TemporaryFile(/tmp/multipartBody1121833293794725275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588998814,"filename":"image_23012025_00_20_02_710851_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330698844","file1":"1330698840","file0":"1330698837","file4":"1330698847","file5":"1330698849","file3":"1330698846"},"map_files_photo_id_array":[{"photo_id":"1330698849","filename":"file5"},{"photo_id":"1330698844","filename":"file2"},{"photo_id":"1330698847","filename":"file4"},{"photo_id":"1330698840","filename":"file1"},{"photo_id":"1330698837","filename":"file0"},{"photo_id":"1330698846","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330698846":["hashtag1","hashtag2"]},{"1330698844":["hashtag1","hashtag2"]},{"1330698847":["hashtag1","hashtag2"]},{"1330698849":["hashtag1","hashtag2"]},{"1330698840":["hashtag1","hashtag2"]},{"1330698837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330698846, 1330698844, 1330698847, 1330698849, 1330698840, 1330698837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.3237407207489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:36:22.382321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_02_990703_0001.jpg', '/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_02_990703_0002.jpg', '/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_02_990703_0003.jpg', '/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0000.jpg', '/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0001.jpg', '/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_02_990703_0001.jpg
/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_02_990703_0002.jpg
/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_02_990703_0003.jpg
/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0000.jpg
/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0001.jpg
/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.957849502563477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:36:52.364408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/50/image_21012025_17_50_02_913943_0000.jpg', '/home/pi/Desktop/images/21012025/17/50/image_21012025_17_50_02_913943_0001.jpg', '/home/pi/Desktop/images/21012025/17/50/image_21012025_17_50_02_913943_0002.jpg', '/home/pi/Desktop/images/21012025/17/50/image_21012025_17_50_02_913943_0003.jpg', '/home/pi/Desktop/images/21012025/17/51/image_21012025_17_51_02_958958_0000.jpg', '/home/pi/Desktop/images/21012025/17/51/image_21012025_17_51_02_958958_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/50/image_21012025_17_50_02_913943_0000.jpg
/home/pi/Desktop/images/21012025/17/50/image_21012025_17_50_02_913943_0001.jpg
/home/pi/Desktop/images/21012025/17/50/image_21012025_17_50_02_913943_0002.jpg
/home/pi/Desktop/images/21012025/17/50/image_21012025_17_50_02_913943_0003.jpg
/home/pi/Desktop/images/21012025/17/51/image_21012025_17_51_02_958958_0000.jpg
/home/pi/Desktop/images/21012025/17/51/image_21012025_17_51_02_958958_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":["1330698872","1330698881","1330698889","1330698877","1330698886","1330698891"],"photo_ids_order":["1330698872","1330698877","1330698881","1330698886","1330698889","1330698891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4ca3ea666cac3bd4f578bec6ab5064e.jpg","text":"TemporaryFile(/tmp/multipartBody2567906739859125551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589090387,"filename":"image_21012025_17_50_02_913943_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65bf6a5d81b6a67e53822f818015619b.jpg","text":"TemporaryFile(/tmp/multipartBody6104843888893331539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589090387,"filename":"image_21012025_17_50_02_913943_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/890a53bbcc52ef58ca17aec5a3a7d875.jpg","text":"TemporaryFile(/tmp/multipartBody6256636222137877862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589090387,"filename":"image_21012025_17_51_02_958958_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/468e71b8dee0bc750bdead02cc7ce62d.jpg","text":"TemporaryFile(/tmp/multipartBody4916800455965833182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589090387,"filename":"image_21012025_17_50_02_913943_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1590b02189d373e40ed469e06e24e9bb.jpg","text":"TemporaryFile(/tmp/multipartBody1832895215219062847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589090387,"filename":"image_21012025_17_50_02_913943_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c182290ec82688be225e01bcb1f178ce.jpg","text":"TemporaryFile(/tmp/multipartBody6982501326519370195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589090387,"filename":"image_21012025_17_51_02_958958_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330698881","file1":"1330698877","file0":"1330698872","file4":"1330698889","file5":"1330698891","file3":"1330698886"},"map_files_photo_id_array":[{"photo_id":"1330698891","filename":"file5"},{"photo_id":"1330698881","filename":"file2"},{"photo_id":"1330698889","filename":"file4"},{"photo_id":"1330698877","filename":"file1"},{"photo_id":"1330698872","filename":"file0"},{"photo_id":"1330698886","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330698872":["hashtag1","hashtag2"]},{"1330698881":["hashtag1","hashtag2"]},{"1330698889":["hashtag1","hashtag2"]},{"1330698877":["hashtag1","hashtag2"]},{"1330698886":["hashtag1","hashtag2"]},{"1330698891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330698872, 1330698881, 1330698889, 1330698877, 1330698886, 1330698891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.87736439704895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:37:52.509815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/51/image_21012025_17_51_02_958958_0002.jpg', '/home/pi/Desktop/images/21012025/17/51/image_21012025_17_51_02_958958_0003.jpg', '/home/pi/Desktop/images/21012025/17/52/image_21012025_17_52_02_121258_0000.jpg', '/home/pi/Desktop/images/21012025/17/52/image_21012025_17_52_02_121258_0001.jpg', '/home/pi/Desktop/images/21012025/17/52/image_21012025_17_52_02_121258_0002.jpg', '/home/pi/Desktop/images/21012025/17/52/image_21012025_17_52_02_121258_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/51/image_21012025_17_51_02_958958_0002.jpg
/home/pi/Desktop/images/21012025/17/51/image_21012025_17_51_02_958958_0003.jpg
/home/pi/Desktop/images/21012025/17/52/image_21012025_17_52_02_121258_0000.jpg
/home/pi/Desktop/images/21012025/17/52/image_21012025_17_52_02_121258_0001.jpg
/home/pi/Desktop/images/21012025/17/52/image_21012025_17_52_02_121258_0002.jpg
/home/pi/Desktop/images/21012025/17/52/image_21012025_17_52_02_121258_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":["1330698927","1330698932","1330698941","1330698937","1330698922","1330698942"],"photo_ids_order":["1330698922","1330698927","1330698932","1330698937","1330698941","1330698942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c95b123e768876f0a227b031fc84a6d0.jpg","text":"TemporaryFile(/tmp/multipartBody8950033217395996867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589150496,"filename":"image_21012025_17_51_02_958958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8e4048b28ca140351b3e80693fcc29e.jpg","text":"TemporaryFile(/tmp/multipartBody3526814905639568806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589150496,"filename":"image_21012025_17_52_02_121258_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62ce3d92af11e341c9ccf6e017be07a1.jpg","text":"TemporaryFile(/tmp/multipartBody1147528194837330378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589150496,"filename":"image_21012025_17_52_02_121258_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a72a7e1bff709eb75b3d27ac729f6f8.jpg","text":"TemporaryFile(/tmp/multipartBody4109173739851760606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589150496,"filename":"image_21012025_17_52_02_121258_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e7a86505e4436cbee51756d6486b163.jpg","text":"TemporaryFile(/tmp/multipartBody8455508141583638027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589150496,"filename":"image_21012025_17_51_02_958958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d927fa233c6323e2a6fb178f6122df9d.jpg","text":"TemporaryFile(/tmp/multipartBody2573473979901322186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589150496,"filename":"image_21012025_17_52_02_121258_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330698932","file1":"1330698927","file0":"1330698922","file4":"1330698941","file5":"1330698942","file3":"1330698937"},"map_files_photo_id_array":[{"photo_id":"1330698942","filename":"file5"},{"photo_id":"1330698932","filename":"file2"},{"photo_id":"1330698941","filename":"file4"},{"photo_id":"1330698927","filename":"file1"},{"photo_id":"1330698922","filename":"file0"},{"photo_id":"1330698937","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330698927":["hashtag1","hashtag2"]},{"1330698932":["hashtag1","hashtag2"]},{"1330698941":["hashtag1","hashtag2"]},{"1330698937":["hashtag1","hashtag2"]},{"1330698922":["hashtag1","hashtag2"]},{"1330698942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330698927, 1330698932, 1330698941, 1330698937, 1330698922, 1330698942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.95541477203369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:38:52.671713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/53/image_21012025_17_53_02_419149_0000.jpg', '/home/pi/Desktop/images/21012025/17/53/image_21012025_17_53_02_419149_0001.jpg', '/home/pi/Desktop/images/21012025/17/53/image_21012025_17_53_02_419149_0002.jpg', '/home/pi/Desktop/images/21012025/17/53/image_21012025_17_53_02_419149_0003.jpg', '/home/pi/Desktop/images/21012025/17/54/image_21012025_17_54_02_593053_0000.jpg', '/home/pi/Desktop/images/21012025/17/54/image_21012025_17_54_02_593053_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/53/image_21012025_17_53_02_419149_0000.jpg
/home/pi/Desktop/images/21012025/17/53/image_21012025_17_53_02_419149_0001.jpg
/home/pi/Desktop/images/21012025/17/53/image_21012025_17_53_02_419149_0002.jpg
/home/pi/Desktop/images/21012025/17/53/image_21012025_17_53_02_419149_0003.jpg
/home/pi/Desktop/images/21012025/17/54/image_21012025_17_54_02_593053_0000.jpg
/home/pi/Desktop/images/21012025/17/54/image_21012025_17_54_02_593053_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":["1330698995","1330698997","1330699006","1330699009","1330699003","1330698999"],"photo_ids_order":["1330698995","1330698997","1330698999","1330699003","1330699006","1330699009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/605961976d2183d10121e3b167ddd22a.jpg","text":"TemporaryFile(/tmp/multipartBody2932652228178136848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589210595,"filename":"image_21012025_17_53_02_419149_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93c228879fa490c21bc16fd1716707e0.jpg","text":"TemporaryFile(/tmp/multipartBody8151988427922220949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589210595,"filename":"image_21012025_17_53_02_419149_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0849a4094972df00ce06bc67f6f0729.jpg","text":"TemporaryFile(/tmp/multipartBody2445817824794960643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589210595,"filename":"image_21012025_17_54_02_593053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1e5cf722876f1c9dd6b835878b6d9f8.jpg","text":"TemporaryFile(/tmp/multipartBody8724706270045117828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589210595,"filename":"image_21012025_17_54_02_593053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ec219305332247bcbfe8cedf0d12815.jpg","text":"TemporaryFile(/tmp/multipartBody4182891733131755044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589210595,"filename":"image_21012025_17_53_02_419149_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1ed18997f205ede7aff2efcdc04dc56.jpg","text":"TemporaryFile(/tmp/multipartBody8549452446367814115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589210595,"filename":"image_21012025_17_53_02_419149_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330698999","file1":"1330698997","file0":"1330698995","file4":"1330699006","file5":"1330699009","file3":"1330699003"},"map_files_photo_id_array":[{"photo_id":"1330699009","filename":"file5"},{"photo_id":"1330698999","filename":"file2"},{"photo_id":"1330699006","filename":"file4"},{"photo_id":"1330698997","filename":"file1"},{"photo_id":"1330698995","filename":"file0"},{"photo_id":"1330699003","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330698995":["hashtag1","hashtag2"]},{"1330698997":["hashtag1","hashtag2"]},{"1330699006":["hashtag1","hashtag2"]},{"1330699009":["hashtag1","hashtag2"]},{"1330699003":["hashtag1","hashtag2"]},{"1330698999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330698995, 1330698997, 1330699006, 1330699009, 1330699003, 1330698999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.2064425945282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:39:51.832905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/54/image_21012025_17_54_02_593053_0002.jpg', '/home/pi/Desktop/images/21012025/17/54/image_21012025_17_54_02_593053_0003.jpg', '/home/pi/Desktop/images/21012025/17/55/image_21012025_17_55_02_831638_0000.jpg', '/home/pi/Desktop/images/21012025/17/55/image_21012025_17_55_02_831638_0001.jpg', '/home/pi/Desktop/images/21012025/17/55/image_21012025_17_55_02_831638_0002.jpg', '/home/pi/Desktop/images/21012025/17/55/image_21012025_17_55_02_831638_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/54/image_21012025_17_54_02_593053_0002.jpg
/home/pi/Desktop/images/21012025/17/54/image_21012025_17_54_02_593053_0003.jpg
/home/pi/Desktop/images/21012025/17/55/image_21012025_17_55_02_831638_0000.jpg
/home/pi/Desktop/images/21012025/17/55/image_21012025_17_55_02_831638_0001.jpg
/home/pi/Desktop/images/21012025/17/55/image_21012025_17_55_02_831638_0002.jpg
/home/pi/Desktop/images/21012025/17/55/image_21012025_17_55_02_831638_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":["1330699121","1330699124","1330699118","1330699103","1330699126","1330699094"],"photo_ids_order":["1330699094","1330699103","1330699118","1330699121","1330699124","1330699126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfbdc0636b064348b11672f870659b69.jpg","text":"TemporaryFile(/tmp/multipartBody1040442779191689944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589269984,"filename":"image_21012025_17_55_02_831638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f787fa5038cd81db21dad134d6c1f682.jpg","text":"TemporaryFile(/tmp/multipartBody3990505287460638101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589269984,"filename":"image_21012025_17_55_02_831638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f25fbac4b0d88bebdc0ab8dcf532e6da.jpg","text":"TemporaryFile(/tmp/multipartBody9084716712676211464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589269984,"filename":"image_21012025_17_55_02_831638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/584eabdc775d12f91fd61357c7a1aa24.jpg","text":"TemporaryFile(/tmp/multipartBody7291356622682966666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589269984,"filename":"image_21012025_17_54_02_593053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54ba2474ac99d75acf4c11c6bf04a8b3.jpg","text":"TemporaryFile(/tmp/multipartBody5735878962626762666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589269984,"filename":"image_21012025_17_55_02_831638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/abf42d7c465d0ee996642c6a583aaa82.jpg","text":"TemporaryFile(/tmp/multipartBody5996338713249993745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589269984,"filename":"image_21012025_17_54_02_593053_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330699118","file1":"1330699103","file0":"1330699094","file4":"1330699124","file5":"1330699126","file3":"1330699121"},"map_files_photo_id_array":[{"photo_id":"1330699126","filename":"file5"},{"photo_id":"1330699118","filename":"file2"},{"photo_id":"1330699124","filename":"file4"},{"photo_id":"1330699103","filename":"file1"},{"photo_id":"1330699094","filename":"file0"},{"photo_id":"1330699121","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330699121":["hashtag1","hashtag2"]},{"1330699124":["hashtag1","hashtag2"]},{"1330699118":["hashtag1","hashtag2"]},{"1330699103":["hashtag1","hashtag2"]},{"1330699126":["hashtag1","hashtag2"]},{"1330699094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330699121, 1330699124, 1330699118, 1330699103, 1330699126, 1330699094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.573174715042114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:40:52.037680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0000.jpg', '/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0001.jpg', '/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0002.jpg', '/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0003.jpg', '/home/pi/Desktop/images/21012025/17/57/image_21012025_17_57_02_156500_0000.jpg', '/home/pi/Desktop/images/21012025/17/57/image_21012025_17_57_02_156500_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0000.jpg
/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0001.jpg
/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0002.jpg
/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0003.jpg
/home/pi/Desktop/images/21012025/17/57/image_21012025_17_57_02_156500_0000.jpg
/home/pi/Desktop/images/21012025/17/57/image_21012025_17_57_02_156500_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.8464674949646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:41:22.241126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_02_990703_0001.jpg', '/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_02_990703_0002.jpg', '/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_02_990703_0003.jpg', '/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0000.jpg', '/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0001.jpg', '/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_02_990703_0001.jpg
/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_02_990703_0002.jpg
/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_02_990703_0003.jpg
/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0000.jpg
/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0001.jpg
/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330699190","1330699223","1330699186","1330699180","1330699183","1330699219"],"photo_ids_order":["1330699180","1330699183","1330699186","1330699190","1330699219","1330699223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7615f5fb649e419a01b08a79eae5bade.jpg","text":"TemporaryFile(/tmp/multipartBody6697952918441249509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589358582,"filename":"image_23012025_00_23_02_223768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa5a263710e328e082d5c44adcbb190b.jpg","text":"TemporaryFile(/tmp/multipartBody5266669585306313930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589358582,"filename":"image_23012025_00_23_02_223768_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94d11795d54e9841496b5f77ccdeab7b.jpg","text":"TemporaryFile(/tmp/multipartBody2395907385606067129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589358582,"filename":"image_23012025_00_22_02_990703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bcb5cf812eba56274b8c52221ead4a0c.jpg","text":"TemporaryFile(/tmp/multipartBody2731037432291183212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589358582,"filename":"image_23012025_00_22_02_990703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d72ca039517a9f102b2d4647e527948.jpg","text":"TemporaryFile(/tmp/multipartBody4158794546764845848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589358582,"filename":"image_23012025_00_22_02_990703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6576faedb28f6d13172ee7106ff6dc75.jpg","text":"TemporaryFile(/tmp/multipartBody8246265347328940260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589358582,"filename":"image_23012025_00_23_02_223768_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330699186","file1":"1330699183","file0":"1330699180","file4":"1330699219","file5":"1330699223","file3":"1330699190"},"map_files_photo_id_array":[{"photo_id":"1330699223","filename":"file5"},{"photo_id":"1330699186","filename":"file2"},{"photo_id":"1330699219","filename":"file4"},{"photo_id":"1330699183","filename":"file1"},{"photo_id":"1330699180","filename":"file0"},{"photo_id":"1330699190","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330699190":["hashtag1","hashtag2"]},{"1330699223":["hashtag1","hashtag2"]},{"1330699186":["hashtag1","hashtag2"]},{"1330699180":["hashtag1","hashtag2"]},{"1330699183":["hashtag1","hashtag2"]},{"1330699219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330699190, 1330699223, 1330699186, 1330699180, 1330699183, 1330699219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.99777793884277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:42:22.394272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0003.jpg', '/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0000.jpg', '/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0001.jpg', '/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0002.jpg', '/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0003.jpg', '/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_02_550636_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0003.jpg
/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0000.jpg
/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0001.jpg
/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0002.jpg
/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0003.jpg
/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_02_550636_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.925558805465698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:42:52.356662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0000.jpg', '/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0001.jpg', '/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0002.jpg', '/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0003.jpg', '/home/pi/Desktop/images/21012025/17/57/image_21012025_17_57_02_156500_0000.jpg', '/home/pi/Desktop/images/21012025/17/57/image_21012025_17_57_02_156500_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0000.jpg
/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0001.jpg
/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0002.jpg
/home/pi/Desktop/images/21012025/17/56/image_21012025_17_56_02_962705_0003.jpg
/home/pi/Desktop/images/21012025/17/57/image_21012025_17_57_02_156500_0000.jpg
/home/pi/Desktop/images/21012025/17/57/image_21012025_17_57_02_156500_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":["1330699279","1330699273","1330699264","1330699258","1330699281","1330699269"],"photo_ids_order":["1330699258","1330699264","1330699269","1330699273","1330699279","1330699281"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f7bdfd1eae1c904ffd391922772af25.jpg","text":"TemporaryFile(/tmp/multipartBody6454074058800944795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589451323,"filename":"image_21012025_17_57_02_156500_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d4369dff164a00445dc15a4d18ac1b4.jpg","text":"TemporaryFile(/tmp/multipartBody8498732934248584747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589451323,"filename":"image_21012025_17_56_02_962705_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31017dcb14068f8ea20db260ff3eb5c8.jpg","text":"TemporaryFile(/tmp/multipartBody5419517539295690801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589451323,"filename":"image_21012025_17_56_02_962705_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd0f8e8947e23d9996ad70c50ce6f36c.jpg","text":"TemporaryFile(/tmp/multipartBody4883770973426726747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589451323,"filename":"image_21012025_17_56_02_962705_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0014b4df421636281c3f42419ad7993.jpg","text":"TemporaryFile(/tmp/multipartBody5547590922813524214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589451323,"filename":"image_21012025_17_57_02_156500_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e34a553b876add5f173d0df2904af2b6.jpg","text":"TemporaryFile(/tmp/multipartBody7645138795538455858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589451323,"filename":"image_21012025_17_56_02_962705_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330699269","file1":"1330699264","file0":"1330699258","file4":"1330699279","file5":"1330699281","file3":"1330699273"},"map_files_photo_id_array":[{"photo_id":"1330699281","filename":"file5"},{"photo_id":"1330699269","filename":"file2"},{"photo_id":"1330699279","filename":"file4"},{"photo_id":"1330699264","filename":"file1"},{"photo_id":"1330699258","filename":"file0"},{"photo_id":"1330699273","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330699279":["hashtag1","hashtag2"]},{"1330699273":["hashtag1","hashtag2"]},{"1330699264":["hashtag1","hashtag2"]},{"1330699258":["hashtag1","hashtag2"]},{"1330699281":["hashtag1","hashtag2"]},{"1330699269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330699279, 1330699273, 1330699264, 1330699258, 1330699281, 1330699269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.1153826713562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:43:52.531670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/17/57/image_21012025_17_57_02_156500_0002.jpg', '/home/pi/Desktop/images/21012025/17/57/image_21012025_17_57_02_156500_0003.jpg', '/home/pi/Desktop/images/21012025/18/00/image_21012025_18_00_02_878738_0000.jpg', '/home/pi/Desktop/images/21012025/18/00/image_21012025_18_00_02_878738_0001.jpg', '/home/pi/Desktop/images/21012025/18/00/image_21012025_18_00_02_878738_0002.jpg', '/home/pi/Desktop/images/21012025/18/00/image_21012025_18_00_02_878738_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/17/57/image_21012025_17_57_02_156500_0002.jpg
/home/pi/Desktop/images/21012025/17/57/image_21012025_17_57_02_156500_0003.jpg
/home/pi/Desktop/images/21012025/18/00/image_21012025_18_00_02_878738_0000.jpg
/home/pi/Desktop/images/21012025/18/00/image_21012025_18_00_02_878738_0001.jpg
/home/pi/Desktop/images/21012025/18/00/image_21012025_18_00_02_878738_0002.jpg
/home/pi/Desktop/images/21012025/18/00/image_21012025_18_00_02_878738_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":["1330699305","1330699298","1330699310","1330699301","1330699294","1330699308"],"photo_ids_order":["1330699294","1330699298","1330699301","1330699305","1330699308","1330699310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df9601753808744a1e285b6e2800efb1.jpg","text":"TemporaryFile(/tmp/multipartBody3678973626413255258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589510146,"filename":"image_21012025_18_00_02_878738_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a98d3459ad96ed3a0b93c55abddecf58.jpg","text":"TemporaryFile(/tmp/multipartBody4194303368170837722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589510146,"filename":"image_21012025_17_57_02_156500_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a0a10c1aeb0a47490d601ad9e680e9d.jpg","text":"TemporaryFile(/tmp/multipartBody5361081470364733511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589510146,"filename":"image_21012025_18_00_02_878738_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2cf8e06808e47f934e2a430036aa205.jpg","text":"TemporaryFile(/tmp/multipartBody1576132621152910262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589510146,"filename":"image_21012025_18_00_02_878738_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2bb8f45c519ff5f292feb3b3b95a32c.jpg","text":"TemporaryFile(/tmp/multipartBody184114553834925920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589510146,"filename":"image_21012025_17_57_02_156500_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1411d30d8f7ea0f7a460c0deec91243d.jpg","text":"TemporaryFile(/tmp/multipartBody4467568676177180883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589510146,"filename":"image_21012025_18_00_02_878738_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330699301","file1":"1330699298","file0":"1330699294","file4":"1330699308","file5":"1330699310","file3":"1330699305"},"map_files_photo_id_array":[{"photo_id":"1330699310","filename":"file5"},{"photo_id":"1330699301","filename":"file2"},{"photo_id":"1330699308","filename":"file4"},{"photo_id":"1330699298","filename":"file1"},{"photo_id":"1330699294","filename":"file0"},{"photo_id":"1330699305","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330699305":["hashtag1","hashtag2"]},{"1330699298":["hashtag1","hashtag2"]},{"1330699310":["hashtag1","hashtag2"]},{"1330699301":["hashtag1","hashtag2"]},{"1330699294":["hashtag1","hashtag2"]},{"1330699308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330699305, 1330699298, 1330699310, 1330699301, 1330699294, 1330699308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.07148623466492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:44:52.713760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/01/image_21012025_18_01_03_027412_0000.jpg', '/home/pi/Desktop/images/21012025/18/01/image_21012025_18_01_03_027412_0001.jpg', '/home/pi/Desktop/images/21012025/18/01/image_21012025_18_01_03_027412_0002.jpg', '/home/pi/Desktop/images/21012025/18/01/image_21012025_18_01_03_027412_0003.jpg', '/home/pi/Desktop/images/21012025/18/02/image_21012025_18_02_02_243976_0000.jpg', '/home/pi/Desktop/images/21012025/18/02/image_21012025_18_02_02_243976_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/01/image_21012025_18_01_03_027412_0000.jpg
/home/pi/Desktop/images/21012025/18/01/image_21012025_18_01_03_027412_0001.jpg
/home/pi/Desktop/images/21012025/18/01/image_21012025_18_01_03_027412_0002.jpg
/home/pi/Desktop/images/21012025/18/01/image_21012025_18_01_03_027412_0003.jpg
/home/pi/Desktop/images/21012025/18/02/image_21012025_18_02_02_243976_0000.jpg
/home/pi/Desktop/images/21012025/18/02/image_21012025_18_02_02_243976_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":["1330699393","1330699375","1330699348","1330699405","1330699398","1330699401"],"photo_ids_order":["1330699348","1330699375","1330699393","1330699398","1330699401","1330699405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b90e8cbf723644f2fe0886bb88aa1b4d.jpg","text":"TemporaryFile(/tmp/multipartBody887586546197782645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589570246,"filename":"image_21012025_18_01_03_027412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afac9b0a8e42334498726d0588cf062c.jpg","text":"TemporaryFile(/tmp/multipartBody1614458065600160951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589570246,"filename":"image_21012025_18_01_03_027412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/031c0c1bece9e6aa7c688bd3ea5a2651.jpg","text":"TemporaryFile(/tmp/multipartBody9136246784042972096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589570246,"filename":"image_21012025_18_01_03_027412_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2e57ddda0aa720b7953b2c46e5a62e6.jpg","text":"TemporaryFile(/tmp/multipartBody7556334258362868446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589570246,"filename":"image_21012025_18_02_02_243976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e45cd5b3459f9ae9fdb61f9c44e32a7d.jpg","text":"TemporaryFile(/tmp/multipartBody6997817438772276249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589570246,"filename":"image_21012025_18_01_03_027412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/524f3b89d8ab316a4e9511bcd8ac8d6d.jpg","text":"TemporaryFile(/tmp/multipartBody4719826434857068158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589570246,"filename":"image_21012025_18_02_02_243976_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330699393","file1":"1330699375","file0":"1330699348","file4":"1330699401","file5":"1330699405","file3":"1330699398"},"map_files_photo_id_array":[{"photo_id":"1330699405","filename":"file5"},{"photo_id":"1330699393","filename":"file2"},{"photo_id":"1330699401","filename":"file4"},{"photo_id":"1330699375","filename":"file1"},{"photo_id":"1330699348","filename":"file0"},{"photo_id":"1330699398","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330699393":["hashtag1","hashtag2"]},{"1330699375":["hashtag1","hashtag2"]},{"1330699348":["hashtag1","hashtag2"]},{"1330699405":["hashtag1","hashtag2"]},{"1330699398":["hashtag1","hashtag2"]},{"1330699401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330699393, 1330699375, 1330699348, 1330699405, 1330699398, 1330699401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.82188630104065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 00:46:02.461109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0003.jpg', '/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0000.jpg', '/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0001.jpg', '/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0002.jpg', '/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0003.jpg', '/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_02_550636_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_02_223768_0003.jpg
/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0000.jpg
/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0001.jpg
/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0002.jpg
/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_02_413334_0003.jpg
/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_02_550636_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":["1330699472","1330699529","1330699526","1330699492","1330699461","1330699416"],"photo_ids_order":["1330699416","1330699461","1330699472","1330699492","1330699526","1330699529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83a368628b90934317ca68a9cd9b7bdc.jpg","text":"TemporaryFile(/tmp/multipartBody268524261498422223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589638786,"filename":"image_23012025_00_24_02_413334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4ea2e84f091ff30419fc461217c2821.jpg","text":"TemporaryFile(/tmp/multipartBody5930297082109035761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589638786,"filename":"image_23012025_00_25_02_550636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce850e599bed40774d88e44383862080.jpg","text":"TemporaryFile(/tmp/multipartBody7525685413526490702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589638786,"filename":"image_23012025_00_24_02_413334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a74e3da7362bcf29b9b8c9880d50cba3.jpg","text":"TemporaryFile(/tmp/multipartBody7763536947976203596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589638786,"filename":"image_23012025_00_24_02_413334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c4513a7399ea7adf8cc30342302b1d2.jpg","text":"TemporaryFile(/tmp/multipartBody1998178997520506297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589638786,"filename":"image_23012025_00_24_02_413334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c92a544ef4003c50b02e771835834975.jpg","text":"TemporaryFile(/tmp/multipartBody405026497244720417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589638786,"filename":"image_23012025_00_23_02_223768_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330699472","file1":"1330699461","file0":"1330699416","file4":"1330699526","file5":"1330699529","file3":"1330699492"},"map_files_photo_id_array":[{"photo_id":"1330699529","filename":"file5"},{"photo_id":"1330699472","filename":"file2"},{"photo_id":"1330699526","filename":"file4"},{"photo_id":"1330699461","filename":"file1"},{"photo_id":"1330699416","filename":"file0"},{"photo_id":"1330699492","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330699472":["hashtag1","hashtag2"]},{"1330699529":["hashtag1","hashtag2"]},{"1330699526":["hashtag1","hashtag2"]},{"1330699492":["hashtag1","hashtag2"]},{"1330699461":["hashtag1","hashtag2"]},{"1330699416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330699472, 1330699529, 1330699526, 1330699492, 1330699461, 1330699416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.643364906311035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 00:47:03.015149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_02_550636_0001.jpg', '/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_02_550636_0002.jpg', '/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_02_550636_0003.jpg', '/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_02_716954_0000.jpg', '/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_02_716954_0001.jpg', '/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_02_716954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_02_550636_0001.jpg
/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_02_550636_0002.jpg
/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_02_550636_0003.jpg
/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_02_716954_0000.jpg
/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_02_716954_0001.jpg
/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_02_716954_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330699701","1330699670","1330699693","1330699666","1330699705","1330699682"],"photo_ids_order":["1330699666","1330699670","1330699682","1330699693","1330699701","1330699705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9e129503145006a5006a816d6e32c72.jpg","text":"TemporaryFile(/tmp/multipartBody4071813928698808562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589699032,"filename":"image_23012025_00_26_02_716954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6190f2ecfbd656b107973236c70840f7.jpg","text":"TemporaryFile(/tmp/multipartBody1403886358605425866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589699032,"filename":"image_23012025_00_25_02_550636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71fb7fbef87cb18473950cb9f6ea0488.jpg","text":"TemporaryFile(/tmp/multipartBody5343803374035304234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589699032,"filename":"image_23012025_00_26_02_716954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c819687d0fbb575c5fca2b9f57e4feac.jpg","text":"TemporaryFile(/tmp/multipartBody4315874282253523401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589699032,"filename":"image_23012025_00_25_02_550636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efedb277932df0ca50f52783a58403c8.jpg","text":"TemporaryFile(/tmp/multipartBody9146636891892677404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589699032,"filename":"image_23012025_00_26_02_716954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51cdd22a6c1668f339e9956184bcdea4.jpg","text":"TemporaryFile(/tmp/multipartBody7240070798672335585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589699032,"filename":"image_23012025_00_25_02_550636_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330699682","file1":"1330699670","file0":"1330699666","file4":"1330699701","file5":"1330699705","file3":"1330699693"},"map_files_photo_id_array":[{"photo_id":"1330699705","filename":"file5"},{"photo_id":"1330699682","filename":"file2"},{"photo_id":"1330699701","filename":"file4"},{"photo_id":"1330699670","filename":"file1"},{"photo_id":"1330699666","filename":"file0"},{"photo_id":"1330699693","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330699701":["hashtag1","hashtag2"]},{"1330699670":["hashtag1","hashtag2"]},{"1330699693":["hashtag1","hashtag2"]},{"1330699666":["hashtag1","hashtag2"]},{"1330699705":["hashtag1","hashtag2"]},{"1330699682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330699701, 1330699670, 1330699693, 1330699666, 1330699705, 1330699682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.68339729309082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 00:48:02.784595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_02_716954_0003.jpg', '/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_02_860172_0000.jpg', '/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_02_860172_0001.jpg', '/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_02_860172_0002.jpg', '/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_02_860172_0003.jpg', '/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_03_148966_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_02_716954_0003.jpg
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_02_860172_0000.jpg
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_02_860172_0001.jpg
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_02_860172_0002.jpg
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_02_860172_0003.jpg
/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_03_148966_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":["1330700041","1330700005","1330700013","1330700100","1330700036","1330700039"],"photo_ids_order":["1330700005","1330700013","1330700036","1330700039","1330700041","1330700100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b428bf9382c32b33594c10a40e2d868b.jpg","text":"TemporaryFile(/tmp/multipartBody2354453409190480632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589759881,"filename":"image_23012025_00_27_02_860172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/518472326067c6672a1b83585693c146.jpg","text":"TemporaryFile(/tmp/multipartBody6121436186523994673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589759881,"filename":"image_23012025_00_26_02_716954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b14429a08cd48c6cd4423b0218f48a72.jpg","text":"TemporaryFile(/tmp/multipartBody1824534901125437604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589759881,"filename":"image_23012025_00_27_02_860172_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efb1256cad5728dd21633c2a76d02f4e.jpg","text":"TemporaryFile(/tmp/multipartBody5141793437046944684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589759881,"filename":"image_23012025_00_28_03_148966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b54d2ae4c1abe62f961de89a2fa0335.jpg","text":"TemporaryFile(/tmp/multipartBody2119585591848226312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589759881,"filename":"image_23012025_00_27_02_860172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d53d438853758f245c554a032c2fb13.jpg","text":"TemporaryFile(/tmp/multipartBody3429717216661996199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589759881,"filename":"image_23012025_00_27_02_860172_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330700036","file1":"1330700013","file0":"1330700005","file4":"1330700041","file5":"1330700100","file3":"1330700039"},"map_files_photo_id_array":[{"photo_id":"1330700100","filename":"file5"},{"photo_id":"1330700036","filename":"file2"},{"photo_id":"1330700041","filename":"file4"},{"photo_id":"1330700013","filename":"file1"},{"photo_id":"1330700005","filename":"file0"},{"photo_id":"1330700039","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330700041":["hashtag1","hashtag2"]},{"1330700005":["hashtag1","hashtag2"]},{"1330700013":["hashtag1","hashtag2"]},{"1330700100":["hashtag1","hashtag2"]},{"1330700036":["hashtag1","hashtag2"]},{"1330700039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330700041, 1330700005, 1330700013, 1330700100, 1330700036, 1330700039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.600363969802856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 00:49:03.251271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_03_148966_0001.jpg', '/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_03_148966_0002.jpg', '/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_03_148966_0003.jpg', '/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_02_209466_0000.jpg', '/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_02_209466_0001.jpg', '/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_02_209466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_03_148966_0001.jpg
/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_03_148966_0002.jpg
/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_03_148966_0003.jpg
/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_02_209466_0000.jpg
/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_02_209466_0001.jpg
/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_02_209466_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330700247","1330700322","1330700331","1330700301","1330700333","1330700321"],"photo_ids_order":["1330700247","1330700301","1330700321","1330700322","1330700331","1330700333"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72cbb927f40102f4854c4e3754837086.jpg","text":"TemporaryFile(/tmp/multipartBody8781620248485957038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589820197,"filename":"image_23012025_00_28_03_148966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/720152025f99700391c966bd46d493e3.jpg","text":"TemporaryFile(/tmp/multipartBody4310033805043749662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589820197,"filename":"image_23012025_00_29_02_209466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bec126c0f28e65fb110385bc94e012e8.jpg","text":"TemporaryFile(/tmp/multipartBody5031282549669610513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589820197,"filename":"image_23012025_00_29_02_209466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53a38889f9e162f230b9fa241e4663f6.jpg","text":"TemporaryFile(/tmp/multipartBody7818357041112426262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589820197,"filename":"image_23012025_00_28_03_148966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d74fec936b5424d77efc9aa1629bf973.jpg","text":"TemporaryFile(/tmp/multipartBody6112635977554221559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589820197,"filename":"image_23012025_00_29_02_209466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f5a8e3cd83ce4d4bbe81e1c3a529030.jpg","text":"TemporaryFile(/tmp/multipartBody8610819952671497846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589820197,"filename":"image_23012025_00_28_03_148966_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330700321","file1":"1330700301","file0":"1330700247","file4":"1330700331","file5":"1330700333","file3":"1330700322"},"map_files_photo_id_array":[{"photo_id":"1330700333","filename":"file5"},{"photo_id":"1330700321","filename":"file2"},{"photo_id":"1330700331","filename":"file4"},{"photo_id":"1330700301","filename":"file1"},{"photo_id":"1330700247","filename":"file0"},{"photo_id":"1330700322","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330700247":["hashtag1","hashtag2"]},{"1330700322":["hashtag1","hashtag2"]},{"1330700331":["hashtag1","hashtag2"]},{"1330700301":["hashtag1","hashtag2"]},{"1330700333":["hashtag1","hashtag2"]},{"1330700321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330700247, 1330700322, 1330700331, 1330700301, 1330700333, 1330700321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.612823486328125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 00:50:02.298903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_02_209466_0003.jpg', '/home/pi/Desktop/images/23012025/00/30/image_23012025_00_30_02_398355_0000.jpg', '/home/pi/Desktop/images/23012025/00/30/image_23012025_00_30_02_398355_0001.jpg', '/home/pi/Desktop/images/23012025/00/30/image_23012025_00_30_02_398355_0002.jpg', '/home/pi/Desktop/images/23012025/00/30/image_23012025_00_30_02_398355_0003.jpg', '/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_02_553611_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_02_209466_0003.jpg
/home/pi/Desktop/images/23012025/00/30/image_23012025_00_30_02_398355_0000.jpg
/home/pi/Desktop/images/23012025/00/30/image_23012025_00_30_02_398355_0001.jpg
/home/pi/Desktop/images/23012025/00/30/image_23012025_00_30_02_398355_0002.jpg
/home/pi/Desktop/images/23012025/00/30/image_23012025_00_30_02_398355_0003.jpg
/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_02_553611_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330700368","1330700359","1330700364","1330700361","1330700355","1330700351"],"photo_ids_order":["1330700351","1330700355","1330700359","1330700361","1330700364","1330700368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/074e7afa88f76fbeafb5270840ae8f4b.jpg","text":"TemporaryFile(/tmp/multipartBody6400974792552697163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589880171,"filename":"image_23012025_00_31_02_553611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d22c516cb53e958371d225e8e6a9947.jpg","text":"TemporaryFile(/tmp/multipartBody1968102077624120853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589880171,"filename":"image_23012025_00_30_02_398355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd4d19f7231c62959d1712938c1e5c25.jpg","text":"TemporaryFile(/tmp/multipartBody52356551844206548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589880171,"filename":"image_23012025_00_30_02_398355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8aded78bbc9ddc76ff639b41a0ca546f.jpg","text":"TemporaryFile(/tmp/multipartBody1308080382199271307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589880171,"filename":"image_23012025_00_30_02_398355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28a82ae783e6b9e03adc78ed15e26980.jpg","text":"TemporaryFile(/tmp/multipartBody3146231873957403214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589880171,"filename":"image_23012025_00_30_02_398355_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3adfd2de2eaf4272c50753a351afea5.jpg","text":"TemporaryFile(/tmp/multipartBody1910505558648150958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589880171,"filename":"image_23012025_00_29_02_209466_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330700359","file1":"1330700355","file0":"1330700351","file4":"1330700364","file5":"1330700368","file3":"1330700361"},"map_files_photo_id_array":[{"photo_id":"1330700368","filename":"file5"},{"photo_id":"1330700359","filename":"file2"},{"photo_id":"1330700364","filename":"file4"},{"photo_id":"1330700355","filename":"file1"},{"photo_id":"1330700351","filename":"file0"},{"photo_id":"1330700361","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330700368":["hashtag1","hashtag2"]},{"1330700359":["hashtag1","hashtag2"]},{"1330700364":["hashtag1","hashtag2"]},{"1330700361":["hashtag1","hashtag2"]},{"1330700355":["hashtag1","hashtag2"]},{"1330700351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330700368, 1330700359, 1330700364, 1330700361, 1330700355, 1330700351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.57776474952698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:51:22.042905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_02_553611_0001.jpg', '/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_02_553611_0002.jpg', '/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_02_553611_0003.jpg', '/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_02_795873_0000.jpg', '/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_02_795873_0001.jpg', '/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_02_795873_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_02_553611_0001.jpg
/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_02_553611_0002.jpg
/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_02_553611_0003.jpg
/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_02_795873_0000.jpg
/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_02_795873_0001.jpg
/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_02_795873_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330700392","1330700405","1330700395","1330700389","1330700399","1330700408"],"photo_ids_order":["1330700389","1330700392","1330700395","1330700399","1330700405","1330700408"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/682e4e603be8836e494dc5f5f1703682.jpg","text":"TemporaryFile(/tmp/multipartBody5372506921493490168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589959211,"filename":"image_23012025_00_31_02_553611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0553d119c741cdb87555cab0ba4bb40.jpg","text":"TemporaryFile(/tmp/multipartBody3129356550259235345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589959211,"filename":"image_23012025_00_32_02_795873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b10327ca9ae5a5aba5d599d055aa02a6.jpg","text":"TemporaryFile(/tmp/multipartBody3027393063188633905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589959211,"filename":"image_23012025_00_31_02_553611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a6433b8e317c5bd1f4c1a09ef4beb18.jpg","text":"TemporaryFile(/tmp/multipartBody5806215623161233645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589959211,"filename":"image_23012025_00_31_02_553611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6f5b9f224dc18ab40218b1fe9f8dfc5.jpg","text":"TemporaryFile(/tmp/multipartBody2169910606355827997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589959211,"filename":"image_23012025_00_32_02_795873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/431b09a0327dda27e299131f160a6b1a.jpg","text":"TemporaryFile(/tmp/multipartBody8575632058876925441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589959211,"filename":"image_23012025_00_32_02_795873_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330700395","file1":"1330700392","file0":"1330700389","file4":"1330700405","file5":"1330700408","file3":"1330700399"},"map_files_photo_id_array":[{"photo_id":"1330700408","filename":"file5"},{"photo_id":"1330700395","filename":"file2"},{"photo_id":"1330700405","filename":"file4"},{"photo_id":"1330700392","filename":"file1"},{"photo_id":"1330700389","filename":"file0"},{"photo_id":"1330700399","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330700392":["hashtag1","hashtag2"]},{"1330700405":["hashtag1","hashtag2"]},{"1330700395":["hashtag1","hashtag2"]},{"1330700389":["hashtag1","hashtag2"]},{"1330700399":["hashtag1","hashtag2"]},{"1330700408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330700392, 1330700405, 1330700395, 1330700389, 1330700399, 1330700408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.88408398628235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 00:52:22.095286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_02_795873_0003.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0000.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0001.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0002.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0003.jpg', '/home/pi/Desktop/images/23012025/00/34/image_23012025_00_34_02_199897_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_02_795873_0003.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0000.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0001.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0002.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0003.jpg
/home/pi/Desktop/images/23012025/00/34/image_23012025_00_34_02_199897_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.387129306793213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:52:52.120870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/02/image_21012025_18_02_02_243976_0002.jpg', '/home/pi/Desktop/images/21012025/18/02/image_21012025_18_02_02_243976_0003.jpg', '/home/pi/Desktop/images/21012025/18/03/image_21012025_18_03_02_370180_0000.jpg', '/home/pi/Desktop/images/21012025/18/03/image_21012025_18_03_02_370180_0001.jpg', '/home/pi/Desktop/images/21012025/18/03/image_21012025_18_03_02_370180_0002.jpg', '/home/pi/Desktop/images/21012025/18/03/image_21012025_18_03_02_370180_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/02/image_21012025_18_02_02_243976_0002.jpg
/home/pi/Desktop/images/21012025/18/02/image_21012025_18_02_02_243976_0003.jpg
/home/pi/Desktop/images/21012025/18/03/image_21012025_18_03_02_370180_0000.jpg
/home/pi/Desktop/images/21012025/18/03/image_21012025_18_03_02_370180_0001.jpg
/home/pi/Desktop/images/21012025/18/03/image_21012025_18_03_02_370180_0002.jpg
/home/pi/Desktop/images/21012025/18/03/image_21012025_18_03_02_370180_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":["1330700559","1330700553","1330700613","1330700556","1330700610","1330700606"],"photo_ids_order":["1330700553","1330700556","1330700559","1330700606","1330700610","1330700613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f3f953b70128942dd8a033cf5cd07aa.jpg","text":"TemporaryFile(/tmp/multipartBody6511327205596469142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590050251,"filename":"image_21012025_18_03_02_370180_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c35643197b12355d69417acc91486742.jpg","text":"TemporaryFile(/tmp/multipartBody5764063868393130769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590050251,"filename":"image_21012025_18_02_02_243976_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfdf8157f7fb8a9eee5e2b4c13b2dac3.jpg","text":"TemporaryFile(/tmp/multipartBody2661717818391861269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590050251,"filename":"image_21012025_18_03_02_370180_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb72501f57881a44405ecc47f6f266b1.jpg","text":"TemporaryFile(/tmp/multipartBody4221816128887584867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590050251,"filename":"image_21012025_18_02_02_243976_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfdb4ef6510defce4b665b5412fbb838.jpg","text":"TemporaryFile(/tmp/multipartBody7008905406404805981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590050251,"filename":"image_21012025_18_03_02_370180_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e64c21438592b76b1326d645835bbf91.jpg","text":"TemporaryFile(/tmp/multipartBody1228457407587954245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590050251,"filename":"image_21012025_18_03_02_370180_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330700559","file1":"1330700556","file0":"1330700553","file4":"1330700610","file5":"1330700613","file3":"1330700606"},"map_files_photo_id_array":[{"photo_id":"1330700613","filename":"file5"},{"photo_id":"1330700559","filename":"file2"},{"photo_id":"1330700610","filename":"file4"},{"photo_id":"1330700556","filename":"file1"},{"photo_id":"1330700553","filename":"file0"},{"photo_id":"1330700606","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330700559":["hashtag1","hashtag2"]},{"1330700553":["hashtag1","hashtag2"]},{"1330700613":["hashtag1","hashtag2"]},{"1330700556":["hashtag1","hashtag2"]},{"1330700610":["hashtag1","hashtag2"]},{"1330700606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330700559, 1330700553, 1330700613, 1330700556, 1330700610, 1330700606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.61488103866577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:53:52.303532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/04/image_21012025_18_04_02_535611_0000.jpg', '/home/pi/Desktop/images/21012025/18/04/image_21012025_18_04_02_535611_0001.jpg', '/home/pi/Desktop/images/21012025/18/04/image_21012025_18_04_02_535611_0002.jpg', '/home/pi/Desktop/images/21012025/18/04/image_21012025_18_04_02_535611_0003.jpg', '/home/pi/Desktop/images/21012025/18/05/image_21012025_18_05_02_735809_0000.jpg', '/home/pi/Desktop/images/21012025/18/05/image_21012025_18_05_02_735809_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/04/image_21012025_18_04_02_535611_0000.jpg
/home/pi/Desktop/images/21012025/18/04/image_21012025_18_04_02_535611_0001.jpg
/home/pi/Desktop/images/21012025/18/04/image_21012025_18_04_02_535611_0002.jpg
/home/pi/Desktop/images/21012025/18/04/image_21012025_18_04_02_535611_0003.jpg
/home/pi/Desktop/images/21012025/18/05/image_21012025_18_05_02_735809_0000.jpg
/home/pi/Desktop/images/21012025/18/05/image_21012025_18_05_02_735809_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":["1330700728","1330700690","1330700684","1330700687","1330700681","1330700678"],"photo_ids_order":["1330700678","1330700681","1330700684","1330700687","1330700690","1330700728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67344b8c09ff093a9ceadf020bac8297.jpg","text":"TemporaryFile(/tmp/multipartBody5604844932280186537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590110961,"filename":"image_21012025_18_05_02_735809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bce276d351ba0a360a867c6c2b53c662.jpg","text":"TemporaryFile(/tmp/multipartBody576871973733448177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590110961,"filename":"image_21012025_18_05_02_735809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/101da34ab4c48c057fce96e4d0081a4c.jpg","text":"TemporaryFile(/tmp/multipartBody8545792536885429644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590110961,"filename":"image_21012025_18_04_02_535611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8045ee831f07f2706f83a1f7bbf36110.jpg","text":"TemporaryFile(/tmp/multipartBody8655179016186429033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590110961,"filename":"image_21012025_18_04_02_535611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bea43c928c65267eb563cec06c8db5c6.jpg","text":"TemporaryFile(/tmp/multipartBody8584261517001246158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590110961,"filename":"image_21012025_18_04_02_535611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9f8a9120fad6acafe792aced023043e.jpg","text":"TemporaryFile(/tmp/multipartBody7343394748901141961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590110961,"filename":"image_21012025_18_04_02_535611_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330700684","file1":"1330700681","file0":"1330700678","file4":"1330700690","file5":"1330700728","file3":"1330700687"},"map_files_photo_id_array":[{"photo_id":"1330700728","filename":"file5"},{"photo_id":"1330700684","filename":"file2"},{"photo_id":"1330700690","filename":"file4"},{"photo_id":"1330700681","filename":"file1"},{"photo_id":"1330700678","filename":"file0"},{"photo_id":"1330700687","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330700728":["hashtag1","hashtag2"]},{"1330700690":["hashtag1","hashtag2"]},{"1330700684":["hashtag1","hashtag2"]},{"1330700687":["hashtag1","hashtag2"]},{"1330700681":["hashtag1","hashtag2"]},{"1330700678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330700728, 1330700690, 1330700684, 1330700687, 1330700681, 1330700678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.97060489654541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:54:52.482183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/05/image_21012025_18_05_02_735809_0002.jpg', '/home/pi/Desktop/images/21012025/18/05/image_21012025_18_05_02_735809_0003.jpg', '/home/pi/Desktop/images/21012025/18/06/image_21012025_18_06_02_845198_0000.jpg', '/home/pi/Desktop/images/21012025/18/06/image_21012025_18_06_02_845198_0001.jpg', '/home/pi/Desktop/images/21012025/18/06/image_21012025_18_06_02_845198_0002.jpg', '/home/pi/Desktop/images/21012025/18/06/image_21012025_18_06_02_845198_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/05/image_21012025_18_05_02_735809_0002.jpg
/home/pi/Desktop/images/21012025/18/05/image_21012025_18_05_02_735809_0003.jpg
/home/pi/Desktop/images/21012025/18/06/image_21012025_18_06_02_845198_0000.jpg
/home/pi/Desktop/images/21012025/18/06/image_21012025_18_06_02_845198_0001.jpg
/home/pi/Desktop/images/21012025/18/06/image_21012025_18_06_02_845198_0002.jpg
/home/pi/Desktop/images/21012025/18/06/image_21012025_18_06_02_845198_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":["1330700886","1330700880","1330700897","1330700901","1330700891","1330700900"],"photo_ids_order":["1330700880","1330700886","1330700891","1330700897","1330700900","1330700901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7306891d0ee2a01870ab4b7aae43c1e.jpg","text":"TemporaryFile(/tmp/multipartBody3393949826108821744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590170994,"filename":"image_21012025_18_05_02_735809_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2fc0fa5fc9617e3b76aadf246d29717.jpg","text":"TemporaryFile(/tmp/multipartBody7725455296966351646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590170994,"filename":"image_21012025_18_05_02_735809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/319cfbd71cc611cece815e8169c81ef5.jpg","text":"TemporaryFile(/tmp/multipartBody1651640153721398900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590170994,"filename":"image_21012025_18_06_02_845198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1a0e3d7702dcd9578c113f761f2fe78.jpg","text":"TemporaryFile(/tmp/multipartBody6122708110451176473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590170994,"filename":"image_21012025_18_06_02_845198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2cb985fda7445f83a26edc41a1a6b74f.jpg","text":"TemporaryFile(/tmp/multipartBody2652317627741525259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590170994,"filename":"image_21012025_18_06_02_845198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e528fe188b26deff80717d4aaec4a292.jpg","text":"TemporaryFile(/tmp/multipartBody6846399032147623982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590170994,"filename":"image_21012025_18_06_02_845198_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330700891","file1":"1330700886","file0":"1330700880","file4":"1330700900","file5":"1330700901","file3":"1330700897"},"map_files_photo_id_array":[{"photo_id":"1330700901","filename":"file5"},{"photo_id":"1330700891","filename":"file2"},{"photo_id":"1330700900","filename":"file4"},{"photo_id":"1330700886","filename":"file1"},{"photo_id":"1330700880","filename":"file0"},{"photo_id":"1330700897","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330700886":["hashtag1","hashtag2"]},{"1330700880":["hashtag1","hashtag2"]},{"1330700897":["hashtag1","hashtag2"]},{"1330700901":["hashtag1","hashtag2"]},{"1330700891":["hashtag1","hashtag2"]},{"1330700900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330700886, 1330700880, 1330700897, 1330700901, 1330700891, 1330700900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.353373527526855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:55:52.648713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/07/image_21012025_18_07_03_051503_0000.jpg', '/home/pi/Desktop/images/21012025/18/07/image_21012025_18_07_03_051503_0001.jpg', '/home/pi/Desktop/images/21012025/18/07/image_21012025_18_07_03_051503_0002.jpg', '/home/pi/Desktop/images/21012025/18/07/image_21012025_18_07_03_051503_0003.jpg', '/home/pi/Desktop/images/21012025/18/08/image_21012025_18_08_02_247287_0000.jpg', '/home/pi/Desktop/images/21012025/18/08/image_21012025_18_08_02_247287_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/07/image_21012025_18_07_03_051503_0000.jpg
/home/pi/Desktop/images/21012025/18/07/image_21012025_18_07_03_051503_0001.jpg
/home/pi/Desktop/images/21012025/18/07/image_21012025_18_07_03_051503_0002.jpg
/home/pi/Desktop/images/21012025/18/07/image_21012025_18_07_03_051503_0003.jpg
/home/pi/Desktop/images/21012025/18/08/image_21012025_18_08_02_247287_0000.jpg
/home/pi/Desktop/images/21012025/18/08/image_21012025_18_08_02_247287_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":["1330700953","1330700929","1330700923","1330700919","1330700936","1330700915"],"photo_ids_order":["1330700915","1330700919","1330700923","1330700929","1330700936","1330700953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3a36256799ac1f6f4c6f38d56f23e3f.jpg","text":"TemporaryFile(/tmp/multipartBody2262309575259707885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590230808,"filename":"image_21012025_18_08_02_247287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb86d4faba665d239d0440c8cdd8abbc.jpg","text":"TemporaryFile(/tmp/multipartBody1685219379760094726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590230808,"filename":"image_21012025_18_07_03_051503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93ac63eb8851384f2f945fc22f4c2f4c.jpg","text":"TemporaryFile(/tmp/multipartBody4815786990345984670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590230808,"filename":"image_21012025_18_07_03_051503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5173cf6456369750aadf08c74638368d.jpg","text":"TemporaryFile(/tmp/multipartBody1550977070845462585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590230808,"filename":"image_21012025_18_07_03_051503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e79eb3c96be538603e97ea0da68a8c1f.jpg","text":"TemporaryFile(/tmp/multipartBody9058550699421711261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590230808,"filename":"image_21012025_18_08_02_247287_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ddcc754b6dee5e1828dcea78a16240b0.jpg","text":"TemporaryFile(/tmp/multipartBody532163556455915191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590230808,"filename":"image_21012025_18_07_03_051503_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330700923","file1":"1330700919","file0":"1330700915","file4":"1330700936","file5":"1330700953","file3":"1330700929"},"map_files_photo_id_array":[{"photo_id":"1330700953","filename":"file5"},{"photo_id":"1330700923","filename":"file2"},{"photo_id":"1330700936","filename":"file4"},{"photo_id":"1330700919","filename":"file1"},{"photo_id":"1330700915","filename":"file0"},{"photo_id":"1330700929","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330700953":["hashtag1","hashtag2"]},{"1330700929":["hashtag1","hashtag2"]},{"1330700923":["hashtag1","hashtag2"]},{"1330700919":["hashtag1","hashtag2"]},{"1330700936":["hashtag1","hashtag2"]},{"1330700915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330700953, 1330700929, 1330700923, 1330700919, 1330700936, 1330700915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.74721074104309 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:56:51.831238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/08/image_21012025_18_08_02_247287_0002.jpg', '/home/pi/Desktop/images/21012025/18/08/image_21012025_18_08_02_247287_0003.jpg', '/home/pi/Desktop/images/21012025/18/09/image_21012025_18_09_02_426157_0000.jpg', '/home/pi/Desktop/images/21012025/18/09/image_21012025_18_09_02_426157_0001.jpg', '/home/pi/Desktop/images/21012025/18/09/image_21012025_18_09_02_426157_0002.jpg', '/home/pi/Desktop/images/21012025/18/09/image_21012025_18_09_02_426157_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/08/image_21012025_18_08_02_247287_0002.jpg
/home/pi/Desktop/images/21012025/18/08/image_21012025_18_08_02_247287_0003.jpg
/home/pi/Desktop/images/21012025/18/09/image_21012025_18_09_02_426157_0000.jpg
/home/pi/Desktop/images/21012025/18/09/image_21012025_18_09_02_426157_0001.jpg
/home/pi/Desktop/images/21012025/18/09/image_21012025_18_09_02_426157_0002.jpg
/home/pi/Desktop/images/21012025/18/09/image_21012025_18_09_02_426157_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":["1330701046","1330701028","1330701016","1330701024","1330701012","1330701020"],"photo_ids_order":["1330701012","1330701016","1330701020","1330701024","1330701028","1330701046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2bc3aa1881d98747962b06c2b6f7a46.jpg","text":"TemporaryFile(/tmp/multipartBody417719075617086918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590289971,"filename":"image_21012025_18_09_02_426157_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8dded842d514c0ae3e5dbe7b314540ba.jpg","text":"TemporaryFile(/tmp/multipartBody3599338357352651644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590289971,"filename":"image_21012025_18_09_02_426157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59abc80efe242b83805d729156735764.jpg","text":"TemporaryFile(/tmp/multipartBody6239890405753940456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590289971,"filename":"image_21012025_18_08_02_247287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/160526cc6f5780d18fb798fe9eeb4536.jpg","text":"TemporaryFile(/tmp/multipartBody7809263546755463103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590289971,"filename":"image_21012025_18_09_02_426157_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0238d221db9b42ba94756527006348b.jpg","text":"TemporaryFile(/tmp/multipartBody2355511906184714631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590289971,"filename":"image_21012025_18_08_02_247287_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29c1aba09c840dfbde31772a83af8f64.jpg","text":"TemporaryFile(/tmp/multipartBody2208738046790378741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590289971,"filename":"image_21012025_18_09_02_426157_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330701020","file1":"1330701016","file0":"1330701012","file4":"1330701028","file5":"1330701046","file3":"1330701024"},"map_files_photo_id_array":[{"photo_id":"1330701046","filename":"file5"},{"photo_id":"1330701020","filename":"file2"},{"photo_id":"1330701028","filename":"file4"},{"photo_id":"1330701016","filename":"file1"},{"photo_id":"1330701012","filename":"file0"},{"photo_id":"1330701024","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330701046":["hashtag1","hashtag2"]},{"1330701028":["hashtag1","hashtag2"]},{"1330701016":["hashtag1","hashtag2"]},{"1330701024":["hashtag1","hashtag2"]},{"1330701012":["hashtag1","hashtag2"]},{"1330701020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330701046, 1330701028, 1330701016, 1330701024, 1330701012, 1330701020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.91846466064453 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-23 00:57:51.977165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0000.jpg', '/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0001.jpg', '/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0002.jpg', '/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0003.jpg', '/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0000.jpg', '/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0000.jpg
/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0001.jpg
/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0002.jpg
/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0003.jpg
/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0000.jpg
/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0001.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-23 00:59:02.881012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_02_795873_0003.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0000.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0001.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0002.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0003.jpg', '/home/pi/Desktop/images/23012025/00/34/image_23012025_00_34_02_199897_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_02_795873_0003.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0000.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0001.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0002.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_02_983461_0003.jpg
/home/pi/Desktop/images/23012025/00/34/image_23012025_00_34_02_199897_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":["1330701241","1330701223","1330701231","1330701243","1330701239","1330701236"],"photo_ids_order":["1330701223","1330701231","1330701236","1330701239","1330701241","1330701243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a19f27736d3371b7be7b21ef810bae7e.jpg","text":"TemporaryFile(/tmp/multipartBody8265756425490103470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590419732,"filename":"image_23012025_00_33_02_983461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7caae92d8f812a0fdf0cac4dd907ffe7.jpg","text":"TemporaryFile(/tmp/multipartBody2020305884354537503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590419732,"filename":"image_23012025_00_32_02_795873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a179227f955ac373dcac7a290632653.jpg","text":"TemporaryFile(/tmp/multipartBody7077538069628478478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590419732,"filename":"image_23012025_00_33_02_983461_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/306961502d8379de4dd70b6cfcde135e.jpg","text":"TemporaryFile(/tmp/multipartBody2224910429571003893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590419732,"filename":"image_23012025_00_34_02_199897_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa51700e8d07792acca52d7926c96d71.jpg","text":"TemporaryFile(/tmp/multipartBody5044449029342290851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590419732,"filename":"image_23012025_00_33_02_983461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50b5abacced19ba0db5714a8efa5d75e.jpg","text":"TemporaryFile(/tmp/multipartBody5414258410204721748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590419732,"filename":"image_23012025_00_33_02_983461_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330701236","file1":"1330701231","file0":"1330701223","file4":"1330701241","file5":"1330701243","file3":"1330701239"},"map_files_photo_id_array":[{"photo_id":"1330701243","filename":"file5"},{"photo_id":"1330701236","filename":"file2"},{"photo_id":"1330701241","filename":"file4"},{"photo_id":"1330701231","filename":"file1"},{"photo_id":"1330701223","filename":"file0"},{"photo_id":"1330701239","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330701241":["hashtag1","hashtag2"]},{"1330701223":["hashtag1","hashtag2"]},{"1330701231":["hashtag1","hashtag2"]},{"1330701243":["hashtag1","hashtag2"]},{"1330701239":["hashtag1","hashtag2"]},{"1330701236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330701241, 1330701223, 1330701231, 1330701243, 1330701239, 1330701236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.92162847518921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:00:21.950302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/34/image_23012025_00_34_02_199897_0001.jpg', '/home/pi/Desktop/images/23012025/00/34/image_23012025_00_34_02_199897_0002.jpg', '/home/pi/Desktop/images/23012025/00/34/image_23012025_00_34_02_199897_0003.jpg', '/home/pi/Desktop/images/23012025/00/35/image_23012025_00_35_02_325348_0000.jpg', '/home/pi/Desktop/images/23012025/00/35/image_23012025_00_35_02_325348_0001.jpg', '/home/pi/Desktop/images/23012025/00/35/image_23012025_00_35_02_325348_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/34/image_23012025_00_34_02_199897_0001.jpg
/home/pi/Desktop/images/23012025/00/34/image_23012025_00_34_02_199897_0002.jpg
/home/pi/Desktop/images/23012025/00/34/image_23012025_00_34_02_199897_0003.jpg
/home/pi/Desktop/images/23012025/00/35/image_23012025_00_35_02_325348_0000.jpg
/home/pi/Desktop/images/23012025/00/35/image_23012025_00_35_02_325348_0001.jpg
/home/pi/Desktop/images/23012025/00/35/image_23012025_00_35_02_325348_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330701343","1330701339","1330701330","1330701336","1330701311","1330701346"],"photo_ids_order":["1330701311","1330701330","1330701336","1330701339","1330701343","1330701346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f33ff8a5d02ccd6144492fce5c482b7.jpg","text":"TemporaryFile(/tmp/multipartBody9177312377911784734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590497998,"filename":"image_23012025_00_35_02_325348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d957cb3342f0313744ab46ed5b43f1d.jpg","text":"TemporaryFile(/tmp/multipartBody2168297582368388150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590497998,"filename":"image_23012025_00_35_02_325348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21bc95e04626ea9925f37e0bf7dc1894.jpg","text":"TemporaryFile(/tmp/multipartBody7785664480363703184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590497998,"filename":"image_23012025_00_34_02_199897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1291a5c204e3a0dc914ad1b6ef7ccfd.jpg","text":"TemporaryFile(/tmp/multipartBody2392361925868328862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590497998,"filename":"image_23012025_00_34_02_199897_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ada1bea74190c0c8b6d472c8fc58f21b.jpg","text":"TemporaryFile(/tmp/multipartBody4291686513813546250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590497998,"filename":"image_23012025_00_34_02_199897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ed9f87f79644785561ce858781ea992.jpg","text":"TemporaryFile(/tmp/multipartBody4332921630494133257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590497998,"filename":"image_23012025_00_35_02_325348_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330701336","file1":"1330701330","file0":"1330701311","file4":"1330701343","file5":"1330701346","file3":"1330701339"},"map_files_photo_id_array":[{"photo_id":"1330701346","filename":"file5"},{"photo_id":"1330701336","filename":"file2"},{"photo_id":"1330701343","filename":"file4"},{"photo_id":"1330701330","filename":"file1"},{"photo_id":"1330701311","filename":"file0"},{"photo_id":"1330701339","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330701343":["hashtag1","hashtag2"]},{"1330701339":["hashtag1","hashtag2"]},{"1330701330":["hashtag1","hashtag2"]},{"1330701336":["hashtag1","hashtag2"]},{"1330701311":["hashtag1","hashtag2"]},{"1330701346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330701343, 1330701339, 1330701330, 1330701336, 1330701311, 1330701346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.77561593055725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:01:22.491227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/35/image_23012025_00_35_02_325348_0003.jpg', '/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_02_599038_0000.jpg', '/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_02_599038_0001.jpg', '/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_02_599038_0002.jpg', '/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_02_599038_0003.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_02_733818_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/35/image_23012025_00_35_02_325348_0003.jpg
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_02_599038_0000.jpg
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_02_599038_0001.jpg
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_02_599038_0002.jpg
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_02_599038_0003.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_02_733818_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":["1330701468","1330701378","1330701402","1330701512","1330701490","1330701451"],"photo_ids_order":["1330701378","1330701402","1330701451","1330701468","1330701490","1330701512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf7cdf9025bd13e25c57db0d3a0e9225.jpg","text":"TemporaryFile(/tmp/multipartBody8910943137659241400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590559175,"filename":"image_23012025_00_36_02_599038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a0f2df256987c830c57cc84e1c4bc99.jpg","text":"TemporaryFile(/tmp/multipartBody7609299693593549060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590559175,"filename":"image_23012025_00_35_02_325348_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79dc3ed2e5bfeb537ea8e4c911da80cb.jpg","text":"TemporaryFile(/tmp/multipartBody8733336607853189867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590559175,"filename":"image_23012025_00_36_02_599038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7aec567ead91b58906a3df046b51d855.jpg","text":"TemporaryFile(/tmp/multipartBody8117604234702765566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590559175,"filename":"image_23012025_00_37_02_733818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93fdeee413fd9853f559f9099f45f273.jpg","text":"TemporaryFile(/tmp/multipartBody2575946283550922669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590559175,"filename":"image_23012025_00_36_02_599038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb728dd815ff3f650c82ac87debf75cf.jpg","text":"TemporaryFile(/tmp/multipartBody1838125856378332463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590559175,"filename":"image_23012025_00_36_02_599038_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330701451","file1":"1330701402","file0":"1330701378","file4":"1330701490","file5":"1330701512","file3":"1330701468"},"map_files_photo_id_array":[{"photo_id":"1330701512","filename":"file5"},{"photo_id":"1330701451","filename":"file2"},{"photo_id":"1330701490","filename":"file4"},{"photo_id":"1330701402","filename":"file1"},{"photo_id":"1330701378","filename":"file0"},{"photo_id":"1330701468","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330701468":["hashtag1","hashtag2"]},{"1330701378":["hashtag1","hashtag2"]},{"1330701402":["hashtag1","hashtag2"]},{"1330701512":["hashtag1","hashtag2"]},{"1330701490":["hashtag1","hashtag2"]},{"1330701451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330701468, 1330701378, 1330701402, 1330701512, 1330701490, 1330701451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.02583599090576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:03:03.123922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_02_733818_0001.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_02_733818_0002.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_02_733818_0003.jpg', '/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_02_931461_0000.jpg', '/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_02_931461_0001.jpg', '/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_02_931461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_02_733818_0001.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_02_733818_0002.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_02_733818_0003.jpg
/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_02_931461_0000.jpg
/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_02_931461_0001.jpg
/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_02_931461_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330701556","1330701567","1330701561","1330701564","1330701558","1330701559"],"photo_ids_order":["1330701556","1330701558","1330701559","1330701561","1330701564","1330701567"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91ca4f6ba5d3dfe89c12c885001c9015.jpg","text":"TemporaryFile(/tmp/multipartBody6011326397846270919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590659125,"filename":"image_23012025_00_37_02_733818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85d5f15646e6315b23b8a3a82902d18e.jpg","text":"TemporaryFile(/tmp/multipartBody4067445827735393189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590659125,"filename":"image_23012025_00_38_02_931461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f719bcb8e4ad3ffb99cb2274cf400258.jpg","text":"TemporaryFile(/tmp/multipartBody5030030097626034519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590659125,"filename":"image_23012025_00_38_02_931461_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e090329d9f148b245d8479099394c4c9.jpg","text":"TemporaryFile(/tmp/multipartBody3853980589340097197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590659125,"filename":"image_23012025_00_38_02_931461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/310ffccdf496f6bcce7ab05624d0d8e0.jpg","text":"TemporaryFile(/tmp/multipartBody1157103237963100538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590659125,"filename":"image_23012025_00_37_02_733818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8afce683a0dee9db2519326f413b35f.jpg","text":"TemporaryFile(/tmp/multipartBody8673282666053617351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590659125,"filename":"image_23012025_00_37_02_733818_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330701559","file1":"1330701558","file0":"1330701556","file4":"1330701564","file5":"1330701567","file3":"1330701561"},"map_files_photo_id_array":[{"photo_id":"1330701567","filename":"file5"},{"photo_id":"1330701559","filename":"file2"},{"photo_id":"1330701564","filename":"file4"},{"photo_id":"1330701558","filename":"file1"},{"photo_id":"1330701556","filename":"file0"},{"photo_id":"1330701561","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330701556":["hashtag1","hashtag2"]},{"1330701567":["hashtag1","hashtag2"]},{"1330701561":["hashtag1","hashtag2"]},{"1330701564":["hashtag1","hashtag2"]},{"1330701558":["hashtag1","hashtag2"]},{"1330701559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330701556, 1330701567, 1330701561, 1330701564, 1330701558, 1330701559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.10249614715576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:04:22.205321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_02_931461_0003.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0000.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0001.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0002.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0003.jpg', '/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_02_931461_0003.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0000.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0001.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0002.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0003.jpg
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.419010162353516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:05:03.244116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_02_931461_0003.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0000.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0001.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0002.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0003.jpg', '/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_02_931461_0003.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0000.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0001.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0002.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_03_058604_0003.jpg
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330702254","1330702086","1330702557","1330702515","1330701954","1330702553"],"photo_ids_order":["1330701954","1330702086","1330702254","1330702515","1330702553","1330702557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6925b563a814ac21c8445cc25c2ba004.jpg","text":"TemporaryFile(/tmp/multipartBody1625650555898670683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590779135,"filename":"image_23012025_00_39_03_058604_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f695d9277471a5cb4a572c90b598a67c.jpg","text":"TemporaryFile(/tmp/multipartBody386115277999014290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590779135,"filename":"image_23012025_00_39_03_058604_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3f28c6f8315a9feb076c4cdff95f2a1.jpg","text":"TemporaryFile(/tmp/multipartBody1210212685345108171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590779135,"filename":"image_23012025_00_40_02_296561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/199ac17c8cb1a115392d9b9c294f97b1.jpg","text":"TemporaryFile(/tmp/multipartBody1249444439421512969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590779135,"filename":"image_23012025_00_39_03_058604_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d54608f2cc41ce3c31812ceae0f7d282.jpg","text":"TemporaryFile(/tmp/multipartBody6900090223801000400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590779135,"filename":"image_23012025_00_38_02_931461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcd4abc5e2767e059a87722e8d3a8c16.jpg","text":"TemporaryFile(/tmp/multipartBody7384711132023370354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590779135,"filename":"image_23012025_00_39_03_058604_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330702254","file1":"1330702086","file0":"1330701954","file4":"1330702553","file5":"1330702557","file3":"1330702515"},"map_files_photo_id_array":[{"photo_id":"1330702557","filename":"file5"},{"photo_id":"1330702254","filename":"file2"},{"photo_id":"1330702553","filename":"file4"},{"photo_id":"1330702086","filename":"file1"},{"photo_id":"1330701954","filename":"file0"},{"photo_id":"1330702515","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330702254":["hashtag1","hashtag2"]},{"1330702086":["hashtag1","hashtag2"]},{"1330702557":["hashtag1","hashtag2"]},{"1330702515":["hashtag1","hashtag2"]},{"1330701954":["hashtag1","hashtag2"]},{"1330702553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330702254, 1330702086, 1330702557, 1330702515, 1330701954, 1330702553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.23820614814758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:06:02.739019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0001.jpg', '/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0002.jpg', '/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0003.jpg', '/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_02_410712_0000.jpg', '/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_02_410712_0001.jpg', '/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_02_410712_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0001.jpg
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0002.jpg
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0003.jpg
/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_02_410712_0000.jpg
/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_02_410712_0001.jpg
/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_02_410712_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.065125226974487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:06:22.325138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0001.jpg', '/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0002.jpg', '/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0003.jpg', '/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_02_410712_0000.jpg', '/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_02_410712_0001.jpg', '/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_02_410712_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0001.jpg
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0002.jpg
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_02_296561_0003.jpg
/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_02_410712_0000.jpg
/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_02_410712_0001.jpg
/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_02_410712_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330702714","1330702884","1330702625","1330702628","1330702621","1330702630"],"photo_ids_order":["1330702621","1330702625","1330702628","1330702630","1330702714","1330702884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/053a8a7683be982899a1c72e3e5697c6.jpg","text":"TemporaryFile(/tmp/multipartBody3231125939886521003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590858724,"filename":"image_23012025_00_41_02_410712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22ef6b8b1cb9973ecd0f3cd454c35c41.jpg","text":"TemporaryFile(/tmp/multipartBody7918867247560179366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590858724,"filename":"image_23012025_00_41_02_410712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/607b7c9f06d414e625f481a864a755cf.jpg","text":"TemporaryFile(/tmp/multipartBody1442808211834303103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590858724,"filename":"image_23012025_00_40_02_296561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6414ba48a5f7a7df3dc62968b67da45.jpg","text":"TemporaryFile(/tmp/multipartBody1983442866685045106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590858724,"filename":"image_23012025_00_40_02_296561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a01ed75e289a12c3298669d69bb0af75.jpg","text":"TemporaryFile(/tmp/multipartBody8213606978869781760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590858724,"filename":"image_23012025_00_40_02_296561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b332feaa17c48fd6614cf956a5c9ab01.jpg","text":"TemporaryFile(/tmp/multipartBody665701356550261661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590858724,"filename":"image_23012025_00_41_02_410712_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330702628","file1":"1330702625","file0":"1330702621","file4":"1330702714","file5":"1330702884","file3":"1330702630"},"map_files_photo_id_array":[{"photo_id":"1330702884","filename":"file5"},{"photo_id":"1330702628","filename":"file2"},{"photo_id":"1330702714","filename":"file4"},{"photo_id":"1330702625","filename":"file1"},{"photo_id":"1330702621","filename":"file0"},{"photo_id":"1330702630","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330702714":["hashtag1","hashtag2"]},{"1330702884":["hashtag1","hashtag2"]},{"1330702625":["hashtag1","hashtag2"]},{"1330702628":["hashtag1","hashtag2"]},{"1330702621":["hashtag1","hashtag2"]},{"1330702630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330702714, 1330702884, 1330702625, 1330702628, 1330702621, 1330702630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.705854177474976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:07:21.899801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_02_410712_0003.jpg', '/home/pi/Desktop/images/23012025/00/42/image_23012025_00_42_02_555627_0000.jpg', '/home/pi/Desktop/images/23012025/00/42/image_23012025_00_42_02_555627_0001.jpg', '/home/pi/Desktop/images/23012025/00/42/image_23012025_00_42_02_555627_0002.jpg', '/home/pi/Desktop/images/23012025/00/42/image_23012025_00_42_02_555627_0003.jpg', '/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_02_757609_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_02_410712_0003.jpg
/home/pi/Desktop/images/23012025/00/42/image_23012025_00_42_02_555627_0000.jpg
/home/pi/Desktop/images/23012025/00/42/image_23012025_00_42_02_555627_0001.jpg
/home/pi/Desktop/images/23012025/00/42/image_23012025_00_42_02_555627_0002.jpg
/home/pi/Desktop/images/23012025/00/42/image_23012025_00_42_02_555627_0003.jpg
/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_02_757609_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":["1330704173","1330704047","1330703951","1330703612","1330703845","1330703778"],"photo_ids_order":["1330703612","1330703778","1330703845","1330703951","1330704047","1330704173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90ed3ecfe663b123b5ab28a4233f2535.jpg","text":"TemporaryFile(/tmp/multipartBody3462185118280246832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590918400,"filename":"image_23012025_00_43_02_757609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ab3b8880cd3d758f22ab0e947f28efb.jpg","text":"TemporaryFile(/tmp/multipartBody7843237887880001393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590918400,"filename":"image_23012025_00_42_02_555627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8e53431c4736b02025120091c0b7498.jpg","text":"TemporaryFile(/tmp/multipartBody6190740039955628850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590918400,"filename":"image_23012025_00_42_02_555627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b52547b6500908d4245a5584ef674916.jpg","text":"TemporaryFile(/tmp/multipartBody4710076427764415741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590918400,"filename":"image_23012025_00_41_02_410712_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16a57c7ffed9346ca1c48f7690414744.jpg","text":"TemporaryFile(/tmp/multipartBody527274376575199894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590918400,"filename":"image_23012025_00_42_02_555627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/64554963cfddb7b8bedff04371967080.jpg","text":"TemporaryFile(/tmp/multipartBody1608935159080892699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590918400,"filename":"image_23012025_00_42_02_555627_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330703845","file1":"1330703778","file0":"1330703612","file4":"1330704047","file5":"1330704173","file3":"1330703951"},"map_files_photo_id_array":[{"photo_id":"1330704173","filename":"file5"},{"photo_id":"1330703845","filename":"file2"},{"photo_id":"1330704047","filename":"file4"},{"photo_id":"1330703778","filename":"file1"},{"photo_id":"1330703612","filename":"file0"},{"photo_id":"1330703951","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330704173":["hashtag1","hashtag2"]},{"1330704047":["hashtag1","hashtag2"]},{"1330703951":["hashtag1","hashtag2"]},{"1330703612":["hashtag1","hashtag2"]},{"1330703845":["hashtag1","hashtag2"]},{"1330703778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330704173, 1330704047, 1330703951, 1330703612, 1330703845, 1330703778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.876465797424316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:09:02.572143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_02_757609_0001.jpg', '/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_02_757609_0002.jpg', '/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_02_757609_0003.jpg', '/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_02_950647_0000.jpg', '/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_02_950647_0001.jpg', '/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_02_950647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_02_757609_0001.jpg
/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_02_757609_0002.jpg
/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_02_757609_0003.jpg
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_02_950647_0000.jpg
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_02_950647_0001.jpg
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_02_950647_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.911173105239868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:09:21.932209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_02_757609_0001.jpg', '/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_02_757609_0002.jpg', '/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_02_757609_0003.jpg', '/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_02_950647_0000.jpg', '/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_02_950647_0001.jpg', '/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_02_950647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_02_757609_0001.jpg
/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_02_757609_0002.jpg
/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_02_757609_0003.jpg
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_02_950647_0000.jpg
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_02_950647_0001.jpg
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_02_950647_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330704725","1330704734","1330704716","1330704796","1330704667","1330704825"],"photo_ids_order":["1330704667","1330704716","1330704725","1330704734","1330704796","1330704825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/046849492ea8560ae9be72c1074aa389.jpg","text":"TemporaryFile(/tmp/multipartBody395552585933444665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591039124,"filename":"image_23012025_00_43_02_757609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f62af2f59e15f8c6ea7327ebf1cfd61.jpg","text":"TemporaryFile(/tmp/multipartBody6950445172840578734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591039124,"filename":"image_23012025_00_44_02_950647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78f146e1c2ba7cdc20e9d082e3868d5e.jpg","text":"TemporaryFile(/tmp/multipartBody8407790149746881581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591039124,"filename":"image_23012025_00_43_02_757609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/735ba574be67c61784ed9a1e4d2425c3.jpg","text":"TemporaryFile(/tmp/multipartBody7667578664348160329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591039124,"filename":"image_23012025_00_44_02_950647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72b5f9baf30e1ba6f415d3cc6bb0d28c.jpg","text":"TemporaryFile(/tmp/multipartBody6711151930912312778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591039124,"filename":"image_23012025_00_43_02_757609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50f503040d77fe5e5cbc87b5d91a2702.jpg","text":"TemporaryFile(/tmp/multipartBody7816653504897591118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591039124,"filename":"image_23012025_00_44_02_950647_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330704725","file1":"1330704716","file0":"1330704667","file4":"1330704796","file5":"1330704825","file3":"1330704734"},"map_files_photo_id_array":[{"photo_id":"1330704825","filename":"file5"},{"photo_id":"1330704725","filename":"file2"},{"photo_id":"1330704796","filename":"file4"},{"photo_id":"1330704716","filename":"file1"},{"photo_id":"1330704667","filename":"file0"},{"photo_id":"1330704734","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330704725":["hashtag1","hashtag2"]},{"1330704734":["hashtag1","hashtag2"]},{"1330704716":["hashtag1","hashtag2"]},{"1330704796":["hashtag1","hashtag2"]},{"1330704667":["hashtag1","hashtag2"]},{"1330704825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330704725, 1330704734, 1330704716, 1330704796, 1330704667, 1330704825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.060467004776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:10:22.642127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_02_950647_0003.jpg', '/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_03_090826_0000.jpg', '/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_03_090826_0001.jpg', '/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_03_090826_0002.jpg', '/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_03_090826_0003.jpg', '/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_02_231889_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_02_950647_0003.jpg
/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_03_090826_0000.jpg
/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_03_090826_0001.jpg
/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_03_090826_0002.jpg
/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_03_090826_0003.jpg
/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_02_231889_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":["1330704889","1330704894","1330704907","1330704912","1330704899","1330704903"],"photo_ids_order":["1330704889","1330704894","1330704899","1330704903","1330704907","1330704912"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd807ce2a79db73a4c9d4b45ebb437c3.jpg","text":"TemporaryFile(/tmp/multipartBody4704762263857434496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591099538,"filename":"image_23012025_00_44_02_950647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f7e3001761ecf03df8580be5438965a.jpg","text":"TemporaryFile(/tmp/multipartBody8022817283454387444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591099538,"filename":"image_23012025_00_45_03_090826_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33e7d745c9e66258e43a01feb2f53348.jpg","text":"TemporaryFile(/tmp/multipartBody4337042155144173360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591099538,"filename":"image_23012025_00_45_03_090826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c97c3d5a25b7ea67ab9eaa39657292fd.jpg","text":"TemporaryFile(/tmp/multipartBody7456009629401326846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591099538,"filename":"image_23012025_00_46_02_231889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b700dd53b5b62fd1c70b817ac22237b.jpg","text":"TemporaryFile(/tmp/multipartBody2571880242002247744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591099538,"filename":"image_23012025_00_45_03_090826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ebcd18d4494773a0b839c226b9049f0.jpg","text":"TemporaryFile(/tmp/multipartBody2370984308630808616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591099538,"filename":"image_23012025_00_45_03_090826_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330704899","file1":"1330704894","file0":"1330704889","file4":"1330704907","file5":"1330704912","file3":"1330704903"},"map_files_photo_id_array":[{"photo_id":"1330704912","filename":"file5"},{"photo_id":"1330704899","filename":"file2"},{"photo_id":"1330704907","filename":"file4"},{"photo_id":"1330704894","filename":"file1"},{"photo_id":"1330704889","filename":"file0"},{"photo_id":"1330704903","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330704889":["hashtag1","hashtag2"]},{"1330704894":["hashtag1","hashtag2"]},{"1330704907":["hashtag1","hashtag2"]},{"1330704912":["hashtag1","hashtag2"]},{"1330704899":["hashtag1","hashtag2"]},{"1330704903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330704889, 1330704894, 1330704907, 1330704912, 1330704899, 1330704903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.434366941452026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:12:03.068988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_02_231889_0001.jpg', '/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_02_231889_0002.jpg', '/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_02_231889_0003.jpg', '/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_02_433715_0000.jpg', '/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_02_433715_0001.jpg', '/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_02_433715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_02_231889_0001.jpg
/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_02_231889_0002.jpg
/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_02_231889_0003.jpg
/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_02_433715_0000.jpg
/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_02_433715_0001.jpg
/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_02_433715_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.49247932434082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:12:22.733505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_02_231889_0001.jpg', '/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_02_231889_0002.jpg', '/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_02_231889_0003.jpg', '/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_02_433715_0000.jpg', '/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_02_433715_0001.jpg', '/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_02_433715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_02_231889_0001.jpg
/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_02_231889_0002.jpg
/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_02_231889_0003.jpg
/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_02_433715_0000.jpg
/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_02_433715_0001.jpg
/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_02_433715_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330705192","1330705144","1330705066","1330705080","1330705140","1330705148"],"photo_ids_order":["1330705066","1330705080","1330705140","1330705144","1330705148","1330705192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e0c0b5594ae91d5d90a22ebe422fc60.jpg","text":"TemporaryFile(/tmp/multipartBody8049644510759806606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591219564,"filename":"image_23012025_00_47_02_433715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e2002c7978b16a5ef442ef7466f8f68.jpg","text":"TemporaryFile(/tmp/multipartBody5856375908479400076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591219564,"filename":"image_23012025_00_47_02_433715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3035231846ed45d027d7c85a232702c.jpg","text":"TemporaryFile(/tmp/multipartBody4198966823007806257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591219564,"filename":"image_23012025_00_46_02_231889_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67d942533bec6011b75905214a3df1f2.jpg","text":"TemporaryFile(/tmp/multipartBody6738440301312547379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591219564,"filename":"image_23012025_00_46_02_231889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b057765d109fb795f3f352c1f3b2a58a.jpg","text":"TemporaryFile(/tmp/multipartBody8316658776751632129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591219564,"filename":"image_23012025_00_46_02_231889_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cec6f7ad9885b0db582d056cf487f93b.jpg","text":"TemporaryFile(/tmp/multipartBody2570909472343484961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591219564,"filename":"image_23012025_00_47_02_433715_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330705140","file1":"1330705080","file0":"1330705066","file4":"1330705148","file5":"1330705192","file3":"1330705144"},"map_files_photo_id_array":[{"photo_id":"1330705192","filename":"file5"},{"photo_id":"1330705140","filename":"file2"},{"photo_id":"1330705148","filename":"file4"},{"photo_id":"1330705080","filename":"file1"},{"photo_id":"1330705066","filename":"file0"},{"photo_id":"1330705144","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330705192":["hashtag1","hashtag2"]},{"1330705144":["hashtag1","hashtag2"]},{"1330705066":["hashtag1","hashtag2"]},{"1330705080":["hashtag1","hashtag2"]},{"1330705140":["hashtag1","hashtag2"]},{"1330705148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330705192, 1330705144, 1330705066, 1330705080, 1330705140, 1330705148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.00259780883789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:13:22.230190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_02_433715_0003.jpg', '/home/pi/Desktop/images/23012025/00/48/image_23012025_00_48_02_634100_0000.jpg', '/home/pi/Desktop/images/23012025/00/48/image_23012025_00_48_02_634100_0001.jpg', '/home/pi/Desktop/images/23012025/00/48/image_23012025_00_48_02_634100_0002.jpg', '/home/pi/Desktop/images/23012025/00/48/image_23012025_00_48_02_634100_0003.jpg', '/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_02_802425_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_02_433715_0003.jpg
/home/pi/Desktop/images/23012025/00/48/image_23012025_00_48_02_634100_0000.jpg
/home/pi/Desktop/images/23012025/00/48/image_23012025_00_48_02_634100_0001.jpg
/home/pi/Desktop/images/23012025/00/48/image_23012025_00_48_02_634100_0002.jpg
/home/pi/Desktop/images/23012025/00/48/image_23012025_00_48_02_634100_0003.jpg
/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_02_802425_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330705243","1330705231","1330705240","1330705248","1330705236","1330705245"],"photo_ids_order":["1330705231","1330705236","1330705240","1330705243","1330705245","1330705248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5eb4c0493ec935ac8d334a2f03c24a44.jpg","text":"TemporaryFile(/tmp/multipartBody4783156467194039529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591278655,"filename":"image_23012025_00_48_02_634100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e3af6384fc92c37a9e9352dc96e3a2b.jpg","text":"TemporaryFile(/tmp/multipartBody5839103664118601104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591278655,"filename":"image_23012025_00_47_02_433715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ce2876dd36374421cd67e68fe9f8155.jpg","text":"TemporaryFile(/tmp/multipartBody6320369800421769419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591278655,"filename":"image_23012025_00_48_02_634100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79e29f3035abc4e618950bb15b0afef9.jpg","text":"TemporaryFile(/tmp/multipartBody1229769213571386304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591278655,"filename":"image_23012025_00_49_02_802425_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85ff7655106d30defc10dc41b2ad3565.jpg","text":"TemporaryFile(/tmp/multipartBody6484900017463225910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591278655,"filename":"image_23012025_00_48_02_634100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2962b4e49835528c546781c887243915.jpg","text":"TemporaryFile(/tmp/multipartBody1423975645292802577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591278655,"filename":"image_23012025_00_48_02_634100_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330705240","file1":"1330705236","file0":"1330705231","file4":"1330705245","file5":"1330705248","file3":"1330705243"},"map_files_photo_id_array":[{"photo_id":"1330705248","filename":"file5"},{"photo_id":"1330705240","filename":"file2"},{"photo_id":"1330705245","filename":"file4"},{"photo_id":"1330705236","filename":"file1"},{"photo_id":"1330705231","filename":"file0"},{"photo_id":"1330705243","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330705243":["hashtag1","hashtag2"]},{"1330705231":["hashtag1","hashtag2"]},{"1330705240":["hashtag1","hashtag2"]},{"1330705248":["hashtag1","hashtag2"]},{"1330705236":["hashtag1","hashtag2"]},{"1330705245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330705243, 1330705231, 1330705240, 1330705248, 1330705236, 1330705245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.687628984451294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:14:22.679933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_02_802425_0001.jpg', '/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_02_802425_0002.jpg', '/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_02_802425_0003.jpg', '/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0000.jpg', '/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0001.jpg', '/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_02_802425_0001.jpg
/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_02_802425_0002.jpg
/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_02_802425_0003.jpg
/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0000.jpg
/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0001.jpg
/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.530967712402344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:15:02.909317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_02_802425_0001.jpg', '/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_02_802425_0002.jpg', '/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_02_802425_0003.jpg', '/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0000.jpg', '/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0001.jpg', '/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_02_802425_0001.jpg
/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_02_802425_0002.jpg
/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_02_802425_0003.jpg
/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0000.jpg
/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0001.jpg
/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330705361","1330705399","1330705393","1330705396","1330705381","1330705371"],"photo_ids_order":["1330705361","1330705371","1330705381","1330705393","1330705396","1330705399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aacfc8cd94b1fbf229fb56fdc2a0e175.jpg","text":"TemporaryFile(/tmp/multipartBody8390229128709679530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591379884,"filename":"image_23012025_00_49_02_802425_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a076c1371365deecb91d2ce0db5ccfd8.jpg","text":"TemporaryFile(/tmp/multipartBody4530425079532274044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591379884,"filename":"image_23012025_00_50_02_961923_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf731112e4c2e03e4d3f37d727f3c12c.jpg","text":"TemporaryFile(/tmp/multipartBody8972545397266712595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591379884,"filename":"image_23012025_00_50_02_961923_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3572027b930e89fc9d1c1c8b0d2b1d4c.jpg","text":"TemporaryFile(/tmp/multipartBody4279716014342253870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591379884,"filename":"image_23012025_00_50_02_961923_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/402c3044273f5e301deae2306618ea42.jpg","text":"TemporaryFile(/tmp/multipartBody864986349040704374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591379884,"filename":"image_23012025_00_49_02_802425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66f7d8853ca2dfc3c9cd56856d582148.jpg","text":"TemporaryFile(/tmp/multipartBody5052048089428804670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591379884,"filename":"image_23012025_00_49_02_802425_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330705381","file1":"1330705371","file0":"1330705361","file4":"1330705396","file5":"1330705399","file3":"1330705393"},"map_files_photo_id_array":[{"photo_id":"1330705399","filename":"file5"},{"photo_id":"1330705381","filename":"file2"},{"photo_id":"1330705396","filename":"file4"},{"photo_id":"1330705371","filename":"file1"},{"photo_id":"1330705361","filename":"file0"},{"photo_id":"1330705393","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330705361":["hashtag1","hashtag2"]},{"1330705399":["hashtag1","hashtag2"]},{"1330705393":["hashtag1","hashtag2"]},{"1330705396":["hashtag1","hashtag2"]},{"1330705381":["hashtag1","hashtag2"]},{"1330705371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330705361, 1330705399, 1330705393, 1330705396, 1330705381, 1330705371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.476075649261475 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-23 01:16:21.970799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0003.jpg', '/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0000.jpg', '/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0001.jpg', '/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0002.jpg', '/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0003.jpg', '/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0003.jpg
/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0000.jpg
/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0001.jpg
/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0002.jpg
/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0003.jpg
/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.257103204727173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:17:03.158116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0003.jpg', '/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0000.jpg', '/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0001.jpg', '/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0002.jpg', '/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0003.jpg', '/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_02_961923_0003.jpg
/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0000.jpg
/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0001.jpg
/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0002.jpg
/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_02_177681_0003.jpg
/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_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":["1330705811","1330705712","1330705808","1330705715","1330705774","1330705708"],"photo_ids_order":["1330705708","1330705712","1330705715","1330705774","1330705808","1330705811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/289b7319ee54951a08d5b99d7e250819.jpg","text":"TemporaryFile(/tmp/multipartBody6146705195736511891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591499858,"filename":"image_23012025_00_52_02_335876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42a736bf37da1ff95741c1a10ae1d8f6.jpg","text":"TemporaryFile(/tmp/multipartBody2033566563760929076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591499858,"filename":"image_23012025_00_51_02_177681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/592de2629fb69c3dacb22749463a3423.jpg","text":"TemporaryFile(/tmp/multipartBody268319653819608171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591499858,"filename":"image_23012025_00_51_02_177681_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f17fabc3a5f991fd48c57fb79fafe656.jpg","text":"TemporaryFile(/tmp/multipartBody9028525165843827685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591499858,"filename":"image_23012025_00_51_02_177681_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/136b662e8c9e446b346c807ed0ec00f2.jpg","text":"TemporaryFile(/tmp/multipartBody8765996687039976064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591499858,"filename":"image_23012025_00_51_02_177681_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62fdcd9cc92e28e945f1f80535288db9.jpg","text":"TemporaryFile(/tmp/multipartBody4265271365340643421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591499858,"filename":"image_23012025_00_50_02_961923_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330705715","file1":"1330705712","file0":"1330705708","file4":"1330705808","file5":"1330705811","file3":"1330705774"},"map_files_photo_id_array":[{"photo_id":"1330705811","filename":"file5"},{"photo_id":"1330705715","filename":"file2"},{"photo_id":"1330705808","filename":"file4"},{"photo_id":"1330705712","filename":"file1"},{"photo_id":"1330705708","filename":"file0"},{"photo_id":"1330705774","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330705811":["hashtag1","hashtag2"]},{"1330705712":["hashtag1","hashtag2"]},{"1330705808":["hashtag1","hashtag2"]},{"1330705715":["hashtag1","hashtag2"]},{"1330705774":["hashtag1","hashtag2"]},{"1330705708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330705811, 1330705712, 1330705808, 1330705715, 1330705774, 1330705708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.25808668136597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:18:22.044917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0001.jpg', '/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0002.jpg', '/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0003.jpg', '/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0000.jpg', '/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0001.jpg', '/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0001.jpg
/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0002.jpg
/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0003.jpg
/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0000.jpg
/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0001.jpg
/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.51115322113037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:19:03.133701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0001.jpg', '/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0002.jpg', '/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0003.jpg', '/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0000.jpg', '/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0001.jpg', '/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0001.jpg
/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0002.jpg
/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_02_335876_0003.jpg
/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0000.jpg
/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0001.jpg
/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330706006","1330706014","1330706017","1330705998","1330706010","1330705985"],"photo_ids_order":["1330705985","1330705998","1330706006","1330706010","1330706014","1330706017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b577cd53280abf77a29b899ee316bf7.jpg","text":"TemporaryFile(/tmp/multipartBody8392166868526565446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591620117,"filename":"image_23012025_00_52_02_335876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f1a5d0aa51f02d8039c7a1b38bf09cf.jpg","text":"TemporaryFile(/tmp/multipartBody2557237098240307835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591620117,"filename":"image_23012025_00_53_02_480929_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b5364a9eed93aa1c43656f6d0b0e31d.jpg","text":"TemporaryFile(/tmp/multipartBody7168047873370839761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591620117,"filename":"image_23012025_00_53_02_480929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5377bcade9187f1564051763b624c171.jpg","text":"TemporaryFile(/tmp/multipartBody2945728435769920081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591620117,"filename":"image_23012025_00_52_02_335876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77f833683c72814ea5fbbbeefb6a7ed1.jpg","text":"TemporaryFile(/tmp/multipartBody4725133574952889355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591620117,"filename":"image_23012025_00_53_02_480929_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd3ca4050592bac4a7096ed57692d69d.jpg","text":"TemporaryFile(/tmp/multipartBody5812736488407897464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591620117,"filename":"image_23012025_00_52_02_335876_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330706006","file1":"1330705998","file0":"1330705985","file4":"1330706014","file5":"1330706017","file3":"1330706010"},"map_files_photo_id_array":[{"photo_id":"1330706017","filename":"file5"},{"photo_id":"1330706006","filename":"file2"},{"photo_id":"1330706014","filename":"file4"},{"photo_id":"1330705998","filename":"file1"},{"photo_id":"1330705985","filename":"file0"},{"photo_id":"1330706010","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330706006":["hashtag1","hashtag2"]},{"1330706014":["hashtag1","hashtag2"]},{"1330706017":["hashtag1","hashtag2"]},{"1330705998":["hashtag1","hashtag2"]},{"1330706010":["hashtag1","hashtag2"]},{"1330705985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330706006, 1330706014, 1330706017, 1330705998, 1330706010, 1330705985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.21725678443909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:20:02.524315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0003.jpg', '/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0000.jpg', '/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0001.jpg', '/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0002.jpg', '/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0003.jpg', '/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_02_814024_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0003.jpg
/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0000.jpg
/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0001.jpg
/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0002.jpg
/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0003.jpg
/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_02_814024_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.160242795944214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:20:22.209726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0003.jpg', '/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0000.jpg', '/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0001.jpg', '/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0002.jpg', '/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0003.jpg', '/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_02_814024_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_02_480929_0003.jpg
/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0000.jpg
/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0001.jpg
/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0002.jpg
/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_02_720835_0003.jpg
/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_02_814024_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330706131","1330706128","1330706107","1330706116","1330706124","1330706090"],"photo_ids_order":["1330706090","1330706107","1330706116","1330706124","1330706128","1330706131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/747562e40fa2595eab1dc04b5c5b8176.jpg","text":"TemporaryFile(/tmp/multipartBody5612927119623290846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591698666,"filename":"image_23012025_00_55_02_814024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e62108a0d63af2d81a9fffa14681c58.jpg","text":"TemporaryFile(/tmp/multipartBody390715093932749283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591698666,"filename":"image_23012025_00_54_02_720835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb6c43530e80a26e2cc9ff773ec8c624.jpg","text":"TemporaryFile(/tmp/multipartBody1362192291433160920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591698666,"filename":"image_23012025_00_54_02_720835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bed3f7cb1ac6583c8ea8834630811750.jpg","text":"TemporaryFile(/tmp/multipartBody5117540553359120771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591698666,"filename":"image_23012025_00_54_02_720835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c068e6a904bccc072f11659dbf95bfa.jpg","text":"TemporaryFile(/tmp/multipartBody3229263742338871786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591698666,"filename":"image_23012025_00_54_02_720835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f8861e7d9b6564fc65accdafe2c2aab.jpg","text":"TemporaryFile(/tmp/multipartBody5079957948162641076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591698666,"filename":"image_23012025_00_53_02_480929_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330706116","file1":"1330706107","file0":"1330706090","file4":"1330706128","file5":"1330706131","file3":"1330706124"},"map_files_photo_id_array":[{"photo_id":"1330706131","filename":"file5"},{"photo_id":"1330706116","filename":"file2"},{"photo_id":"1330706128","filename":"file4"},{"photo_id":"1330706107","filename":"file1"},{"photo_id":"1330706090","filename":"file0"},{"photo_id":"1330706124","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330706131":["hashtag1","hashtag2"]},{"1330706128":["hashtag1","hashtag2"]},{"1330706107":["hashtag1","hashtag2"]},{"1330706116":["hashtag1","hashtag2"]},{"1330706124":["hashtag1","hashtag2"]},{"1330706090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330706131, 1330706128, 1330706107, 1330706116, 1330706124, 1330706090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.225804567337036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:21:22.704494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_02_814024_0001.jpg', '/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_02_814024_0002.jpg', '/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_02_814024_0003.jpg', '/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_03_070177_0000.jpg', '/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_03_070177_0001.jpg', '/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_03_070177_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_02_814024_0001.jpg
/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_02_814024_0002.jpg
/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_02_814024_0003.jpg
/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_03_070177_0000.jpg
/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_03_070177_0001.jpg
/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_03_070177_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330706155","1330706158","1330706152","1330706160","1330706148","1330706144"],"photo_ids_order":["1330706144","1330706148","1330706152","1330706155","1330706158","1330706160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41d5a4e165f76b6fb668d0efb9e07f1b.jpg","text":"TemporaryFile(/tmp/multipartBody6024352848512425431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591759115,"filename":"image_23012025_00_56_03_070177_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44c0189544174b9213bc245959cb7fe4.jpg","text":"TemporaryFile(/tmp/multipartBody7069588513974381772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591759115,"filename":"image_23012025_00_56_03_070177_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b098f4df5ee2c6456bf06deb041670a0.jpg","text":"TemporaryFile(/tmp/multipartBody5373344123782009296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591759115,"filename":"image_23012025_00_55_02_814024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f10fa90cf682550943b98f3ba5e6bb7.jpg","text":"TemporaryFile(/tmp/multipartBody7344087577699688398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591759115,"filename":"image_23012025_00_56_03_070177_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3b1675f677768621e4a6cca1509ccb3.jpg","text":"TemporaryFile(/tmp/multipartBody698690498241705651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591759115,"filename":"image_23012025_00_55_02_814024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b1c7fce36bd73a4fa53489711995c37.jpg","text":"TemporaryFile(/tmp/multipartBody7042673433926710658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591759115,"filename":"image_23012025_00_55_02_814024_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330706152","file1":"1330706148","file0":"1330706144","file4":"1330706158","file5":"1330706160","file3":"1330706155"},"map_files_photo_id_array":[{"photo_id":"1330706160","filename":"file5"},{"photo_id":"1330706152","filename":"file2"},{"photo_id":"1330706158","filename":"file4"},{"photo_id":"1330706148","filename":"file1"},{"photo_id":"1330706144","filename":"file0"},{"photo_id":"1330706155","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330706155":["hashtag1","hashtag2"]},{"1330706158":["hashtag1","hashtag2"]},{"1330706152":["hashtag1","hashtag2"]},{"1330706160":["hashtag1","hashtag2"]},{"1330706148":["hashtag1","hashtag2"]},{"1330706144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330706155, 1330706158, 1330706152, 1330706160, 1330706148, 1330706144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.38365077972412 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:22:22.404607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_03_070177_0003.jpg', '/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_02_267840_0000.jpg', '/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_02_267840_0001.jpg', '/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_02_267840_0002.jpg', '/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_02_267840_0003.jpg', '/home/pi/Desktop/images/23012025/00/58/image_23012025_00_58_02_350903_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_03_070177_0003.jpg
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_02_267840_0000.jpg
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_02_267840_0001.jpg
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_02_267840_0002.jpg
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_02_267840_0003.jpg
/home/pi/Desktop/images/23012025/00/58/image_23012025_00_58_02_350903_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330706578","1330706623","1330706574","1330706406","1330706208","1330706191"],"photo_ids_order":["1330706191","1330706208","1330706406","1330706574","1330706578","1330706623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e716575a0dc1efde90185a12487a7f48.jpg","text":"TemporaryFile(/tmp/multipartBody3091877014418443787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591819158,"filename":"image_23012025_00_57_02_267840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb162bfe6185c13ac7ed61a19a76887f.jpg","text":"TemporaryFile(/tmp/multipartBody3907148810057334301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591819158,"filename":"image_23012025_00_58_02_350903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab677d69438cb455bac3a7aeaed4351e.jpg","text":"TemporaryFile(/tmp/multipartBody3959843855537356781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591819158,"filename":"image_23012025_00_57_02_267840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a6cabb4d1a06ce4f06f22a99dc17f97.jpg","text":"TemporaryFile(/tmp/multipartBody2665009871267939426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591819158,"filename":"image_23012025_00_57_02_267840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c05e2dfe404490af12249a5c233573f.jpg","text":"TemporaryFile(/tmp/multipartBody8906039462054966094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591819158,"filename":"image_23012025_00_57_02_267840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04e3471dc13652b4e77f9edd7e6ad2fa.jpg","text":"TemporaryFile(/tmp/multipartBody5333111991464471429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591819158,"filename":"image_23012025_00_56_03_070177_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330706406","file1":"1330706208","file0":"1330706191","file4":"1330706578","file5":"1330706623","file3":"1330706574"},"map_files_photo_id_array":[{"photo_id":"1330706623","filename":"file5"},{"photo_id":"1330706406","filename":"file2"},{"photo_id":"1330706578","filename":"file4"},{"photo_id":"1330706208","filename":"file1"},{"photo_id":"1330706191","filename":"file0"},{"photo_id":"1330706574","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330706578":["hashtag1","hashtag2"]},{"1330706623":["hashtag1","hashtag2"]},{"1330706574":["hashtag1","hashtag2"]},{"1330706406":["hashtag1","hashtag2"]},{"1330706208":["hashtag1","hashtag2"]},{"1330706191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330706578, 1330706623, 1330706574, 1330706406, 1330706208, 1330706191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.219619035720825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:23:21.790177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/58/image_23012025_00_58_02_350903_0001.jpg', '/home/pi/Desktop/images/23012025/00/58/image_23012025_00_58_02_350903_0002.jpg', '/home/pi/Desktop/images/23012025/00/58/image_23012025_00_58_02_350903_0003.jpg', '/home/pi/Desktop/images/23012025/00/59/image_23012025_00_59_02_576565_0002.jpg', '/home/pi/Desktop/images/23012025/00/59/image_23012025_00_59_02_576565_0003.jpg', '/home/pi/Desktop/images/23012025/01/00/image_23012025_01_00_02_721736_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/00/58/image_23012025_00_58_02_350903_0001.jpg
/home/pi/Desktop/images/23012025/00/58/image_23012025_00_58_02_350903_0002.jpg
/home/pi/Desktop/images/23012025/00/58/image_23012025_00_58_02_350903_0003.jpg
/home/pi/Desktop/images/23012025/00/59/image_23012025_00_59_02_576565_0002.jpg
/home/pi/Desktop/images/23012025/00/59/image_23012025_00_59_02_576565_0003.jpg
/home/pi/Desktop/images/23012025/01/00/image_23012025_01_00_02_721736_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330707529","1330707246","1330707138","1330707653","1330707655","1330707370"],"photo_ids_order":["1330707138","1330707246","1330707370","1330707529","1330707653","1330707655"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed024dc0f607bf6ae83a974eb33ecebf.jpg","text":"TemporaryFile(/tmp/multipartBody7647832193105701855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591879374,"filename":"image_23012025_00_59_02_576565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5525d3eec8fb5ee74bb067772aa6be89.jpg","text":"TemporaryFile(/tmp/multipartBody1961184627977021684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591879374,"filename":"image_23012025_00_58_02_350903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1797496ea9512fcc3e50f2abf465dbce.jpg","text":"TemporaryFile(/tmp/multipartBody4396699159512068581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591879374,"filename":"image_23012025_00_58_02_350903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d32483a84a7d1d7aff0ab163d626410a.jpg","text":"TemporaryFile(/tmp/multipartBody850640868249385475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591879374,"filename":"image_23012025_00_59_02_576565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbbe0dcb5c2bf76500e2ab5a50ed606a.jpg","text":"TemporaryFile(/tmp/multipartBody6145367610663874848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591879374,"filename":"image_23012025_01_00_02_721736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b503088c6e28f881fbaa629925637b45.jpg","text":"TemporaryFile(/tmp/multipartBody98559799308112020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591879374,"filename":"image_23012025_00_58_02_350903_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330707370","file1":"1330707246","file0":"1330707138","file4":"1330707653","file5":"1330707655","file3":"1330707529"},"map_files_photo_id_array":[{"photo_id":"1330707655","filename":"file5"},{"photo_id":"1330707370","filename":"file2"},{"photo_id":"1330707653","filename":"file4"},{"photo_id":"1330707246","filename":"file1"},{"photo_id":"1330707138","filename":"file0"},{"photo_id":"1330707529","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330707529":["hashtag1","hashtag2"]},{"1330707246":["hashtag1","hashtag2"]},{"1330707138":["hashtag1","hashtag2"]},{"1330707653":["hashtag1","hashtag2"]},{"1330707655":["hashtag1","hashtag2"]},{"1330707370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330707529, 1330707246, 1330707138, 1330707653, 1330707655, 1330707370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.347434282302856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:24:22.277394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/00/image_23012025_01_00_02_721736_0002.jpg', '/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0000.jpg', '/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0001.jpg', '/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0002.jpg', '/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0003.jpg', '/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_02_877846_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/00/image_23012025_01_00_02_721736_0002.jpg
/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0000.jpg
/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0001.jpg
/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0002.jpg
/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0003.jpg
/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_02_877846_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.036821603775024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:25:02.342892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/00/image_23012025_01_00_02_721736_0002.jpg', '/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0000.jpg', '/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0001.jpg', '/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0002.jpg', '/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0003.jpg', '/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_02_877846_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/00/image_23012025_01_00_02_721736_0002.jpg
/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0000.jpg
/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0001.jpg
/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0002.jpg
/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_02_401862_0003.jpg
/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_02_877846_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330707696","1330707808","1330707998","1330708058","1330708063","1330707691"],"photo_ids_order":["1330707691","1330707696","1330707808","1330707998","1330708058","1330708063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e954bfa353d00608cb6d15cc7394ace.jpg","text":"TemporaryFile(/tmp/multipartBody7146678741502080949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591979862,"filename":"image_23012025_01_01_02_401862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a4c1c32c9ac9bff5ce71dbace531ab3.jpg","text":"TemporaryFile(/tmp/multipartBody71100212488954866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591979862,"filename":"image_23012025_01_01_02_401862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4bc5ed1605d414d63ccd1608c882bd7a.jpg","text":"TemporaryFile(/tmp/multipartBody6627768699711267980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591979862,"filename":"image_23012025_01_01_02_401862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3decd1f10aa7bc5dcd06ec20e39057a1.jpg","text":"TemporaryFile(/tmp/multipartBody2204119490385552773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591979862,"filename":"image_23012025_01_01_02_401862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8adf07908e5a075b707c65d344fe17ad.jpg","text":"TemporaryFile(/tmp/multipartBody2491503605349774010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591979862,"filename":"image_23012025_01_02_02_877846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1eba62433d93beb87a7e573f796bdc50.jpg","text":"TemporaryFile(/tmp/multipartBody8406653179920095842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591979862,"filename":"image_23012025_01_00_02_721736_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330707808","file1":"1330707696","file0":"1330707691","file4":"1330708058","file5":"1330708063","file3":"1330707998"},"map_files_photo_id_array":[{"photo_id":"1330708063","filename":"file5"},{"photo_id":"1330707808","filename":"file2"},{"photo_id":"1330708058","filename":"file4"},{"photo_id":"1330707696","filename":"file1"},{"photo_id":"1330707691","filename":"file0"},{"photo_id":"1330707998","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330707696":["hashtag1","hashtag2"]},{"1330707808":["hashtag1","hashtag2"]},{"1330707998":["hashtag1","hashtag2"]},{"1330708058":["hashtag1","hashtag2"]},{"1330708063":["hashtag1","hashtag2"]},{"1330707691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330707696, 1330707808, 1330707998, 1330708058, 1330708063, 1330707691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.4740469455719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:26:02.728240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_02_877846_0003.jpg', '/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0000.jpg', '/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0001.jpg', '/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0002.jpg', '/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0003.jpg', '/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_02_922213_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_02_877846_0003.jpg
/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0000.jpg
/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0001.jpg
/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0002.jpg
/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0003.jpg
/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_02_922213_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.070035219192505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:26:22.303723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_02_877846_0003.jpg', '/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0000.jpg', '/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0001.jpg', '/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0002.jpg', '/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0003.jpg', '/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_02_922213_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_02_877846_0003.jpg
/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0000.jpg
/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0001.jpg
/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0002.jpg
/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_02_446438_0003.jpg
/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_02_922213_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330708287","1330708316","1330708279","1330708333","1330708290","1330708284"],"photo_ids_order":["1330708279","1330708284","1330708287","1330708290","1330708316","1330708333"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ecb91c1690243a5d3fb5e35d61ceb35.jpg","text":"TemporaryFile(/tmp/multipartBody2377923776024793914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592059664,"filename":"image_23012025_01_03_02_446438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39aaa712da980593c09c223dabd2d3eb.jpg","text":"TemporaryFile(/tmp/multipartBody4496812584221636381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592059664,"filename":"image_23012025_01_03_02_446438_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e7f48c0256bdf71fed7034cc2d9c4db.jpg","text":"TemporaryFile(/tmp/multipartBody5816513837482498653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592059664,"filename":"image_23012025_01_02_02_877846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea28746145c2c810d97e1a3b0c53b33b.jpg","text":"TemporaryFile(/tmp/multipartBody9079750461883535902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592059664,"filename":"image_23012025_01_04_02_922213_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb7c8de2f40fa7f3a6e77b594dfaf572.jpg","text":"TemporaryFile(/tmp/multipartBody5825846870247720261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592059664,"filename":"image_23012025_01_03_02_446438_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0726845bc18e246fc89899ea0a15673.jpg","text":"TemporaryFile(/tmp/multipartBody2493384166199017276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592059664,"filename":"image_23012025_01_03_02_446438_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330708287","file1":"1330708284","file0":"1330708279","file4":"1330708316","file5":"1330708333","file3":"1330708290"},"map_files_photo_id_array":[{"photo_id":"1330708333","filename":"file5"},{"photo_id":"1330708287","filename":"file2"},{"photo_id":"1330708316","filename":"file4"},{"photo_id":"1330708284","filename":"file1"},{"photo_id":"1330708279","filename":"file0"},{"photo_id":"1330708290","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330708287":["hashtag1","hashtag2"]},{"1330708316":["hashtag1","hashtag2"]},{"1330708279":["hashtag1","hashtag2"]},{"1330708333":["hashtag1","hashtag2"]},{"1330708290":["hashtag1","hashtag2"]},{"1330708284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330708287, 1330708316, 1330708279, 1330708333, 1330708290, 1330708284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.21971368789673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:27:21.880367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_02_922213_0002.jpg', '/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_02_922213_0003.jpg', '/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_02_517989_0001.jpg', '/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_02_517989_0002.jpg', '/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_02_517989_0003.jpg', '/home/pi/Desktop/images/23012025/01/06/image_23012025_01_06_03_076925_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_02_922213_0002.jpg
/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_02_922213_0003.jpg
/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_02_517989_0001.jpg
/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_02_517989_0002.jpg
/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_02_517989_0003.jpg
/home/pi/Desktop/images/23012025/01/06/image_23012025_01_06_03_076925_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330708422","1330708382","1330708370","1330708406","1330708393","1330708411"],"photo_ids_order":["1330708370","1330708382","1330708393","1330708406","1330708411","1330708422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79582edf86a3b2a304bf59b47e133c7f.jpg","text":"TemporaryFile(/tmp/multipartBody7142936268949445572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592119267,"filename":"image_23012025_01_06_03_076925_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afd1df7042d866805ddece927fe231cc.jpg","text":"TemporaryFile(/tmp/multipartBody3539718782870423467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592119267,"filename":"image_23012025_01_04_02_922213_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4811f5f7c87e562810863adfd53cecea.jpg","text":"TemporaryFile(/tmp/multipartBody6106557163411250272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592119267,"filename":"image_23012025_01_04_02_922213_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ef11264c5b12d5db7242adcaeb7ae05.jpg","text":"TemporaryFile(/tmp/multipartBody5656060182642594252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592119267,"filename":"image_23012025_01_05_02_517989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ab1d605b5112692d705efaaa3dc2255.jpg","text":"TemporaryFile(/tmp/multipartBody6501251349373238829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592119267,"filename":"image_23012025_01_05_02_517989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/832ca7f23faac2fc3f50187b294db7da.jpg","text":"TemporaryFile(/tmp/multipartBody2693476423119742915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592119267,"filename":"image_23012025_01_05_02_517989_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330708393","file1":"1330708382","file0":"1330708370","file4":"1330708411","file5":"1330708422","file3":"1330708406"},"map_files_photo_id_array":[{"photo_id":"1330708422","filename":"file5"},{"photo_id":"1330708393","filename":"file2"},{"photo_id":"1330708411","filename":"file4"},{"photo_id":"1330708382","filename":"file1"},{"photo_id":"1330708370","filename":"file0"},{"photo_id":"1330708406","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330708422":["hashtag1","hashtag2"]},{"1330708382":["hashtag1","hashtag2"]},{"1330708370":["hashtag1","hashtag2"]},{"1330708406":["hashtag1","hashtag2"]},{"1330708393":["hashtag1","hashtag2"]},{"1330708411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330708422, 1330708382, 1330708370, 1330708406, 1330708393, 1330708411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.979007959365845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:28:22.405928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/06/image_23012025_01_06_03_076925_0002.jpg', '/home/pi/Desktop/images/23012025/01/06/image_23012025_01_06_03_076925_0003.jpg', '/home/pi/Desktop/images/23012025/01/07/image_23012025_01_07_02_774790_0003.jpg', '/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_02_278161_0000.jpg', '/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_02_278161_0001.jpg', '/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_02_278161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/06/image_23012025_01_06_03_076925_0002.jpg
/home/pi/Desktop/images/23012025/01/06/image_23012025_01_06_03_076925_0003.jpg
/home/pi/Desktop/images/23012025/01/07/image_23012025_01_07_02_774790_0003.jpg
/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_02_278161_0000.jpg
/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_02_278161_0001.jpg
/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_02_278161_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330708455","1330708463","1330708472","1330708451","1330708468","1330708459"],"photo_ids_order":["1330708451","1330708455","1330708459","1330708463","1330708468","1330708472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8bf36ed32d6146117016793fd450a39.jpg","text":"TemporaryFile(/tmp/multipartBody6433608205991026306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592179777,"filename":"image_23012025_01_06_03_076925_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc056573814d29d6e3bf40b72ad9aa96.jpg","text":"TemporaryFile(/tmp/multipartBody1854446997785319229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592179777,"filename":"image_23012025_01_08_02_278161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fba86a33f824b6c0974cc9932be1a13e.jpg","text":"TemporaryFile(/tmp/multipartBody8363685740856024412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592179777,"filename":"image_23012025_01_08_02_278161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0677c839202d8673323762e39e568f25.jpg","text":"TemporaryFile(/tmp/multipartBody2674724468077904804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592179777,"filename":"image_23012025_01_06_03_076925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f148b2809496f794a68de89d6a03518.jpg","text":"TemporaryFile(/tmp/multipartBody1148540895600172228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592179777,"filename":"image_23012025_01_08_02_278161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e7d7ca0b8e5976e8a6f5c26202267b3.jpg","text":"TemporaryFile(/tmp/multipartBody2358202593449637163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592179777,"filename":"image_23012025_01_07_02_774790_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330708459","file1":"1330708455","file0":"1330708451","file4":"1330708468","file5":"1330708472","file3":"1330708463"},"map_files_photo_id_array":[{"photo_id":"1330708472","filename":"file5"},{"photo_id":"1330708459","filename":"file2"},{"photo_id":"1330708468","filename":"file4"},{"photo_id":"1330708455","filename":"file1"},{"photo_id":"1330708451","filename":"file0"},{"photo_id":"1330708463","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330708455":["hashtag1","hashtag2"]},{"1330708463":["hashtag1","hashtag2"]},{"1330708472":["hashtag1","hashtag2"]},{"1330708451":["hashtag1","hashtag2"]},{"1330708468":["hashtag1","hashtag2"]},{"1330708459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330708455, 1330708463, 1330708472, 1330708451, 1330708468, 1330708459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.07576322555542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:29:21.911744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_02_278161_0003.jpg', '/home/pi/Desktop/images/23012025/01/09/image_23012025_01_09_02_851740_0000.jpg', '/home/pi/Desktop/images/23012025/01/09/image_23012025_01_09_02_851740_0001.jpg', '/home/pi/Desktop/images/23012025/01/09/image_23012025_01_09_02_851740_0002.jpg', '/home/pi/Desktop/images/23012025/01/10/image_23012025_01_10_02_374092_0000.jpg', '/home/pi/Desktop/images/23012025/01/10/image_23012025_01_10_02_374092_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_02_278161_0003.jpg
/home/pi/Desktop/images/23012025/01/09/image_23012025_01_09_02_851740_0000.jpg
/home/pi/Desktop/images/23012025/01/09/image_23012025_01_09_02_851740_0001.jpg
/home/pi/Desktop/images/23012025/01/09/image_23012025_01_09_02_851740_0002.jpg
/home/pi/Desktop/images/23012025/01/10/image_23012025_01_10_02_374092_0000.jpg
/home/pi/Desktop/images/23012025/01/10/image_23012025_01_10_02_374092_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":["1330708725","1330708647","1330708509","1330708541","1330708741","1330708537"],"photo_ids_order":["1330708509","1330708537","1330708541","1330708647","1330708725","1330708741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7911b7f7f18aae3f4236a4f16b0c2a44.jpg","text":"TemporaryFile(/tmp/multipartBody757870340869255441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592239314,"filename":"image_23012025_01_10_02_374092_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ade4b99922ef01170b3236695a16649.jpg","text":"TemporaryFile(/tmp/multipartBody8774140697484390857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592239314,"filename":"image_23012025_01_09_02_851740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d44993aa84d0b58e1880ac5f855ad171.jpg","text":"TemporaryFile(/tmp/multipartBody3246904234682398192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592239314,"filename":"image_23012025_01_08_02_278161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e0f5ba1d3bfebd2e0a436024d9876b1.jpg","text":"TemporaryFile(/tmp/multipartBody6252844464461980182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592239314,"filename":"image_23012025_01_09_02_851740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6315d8260f96329c07a9b27336fb67d5.jpg","text":"TemporaryFile(/tmp/multipartBody8257319280239386810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592239314,"filename":"image_23012025_01_10_02_374092_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55b95c683a598a4962c9a593d56ae9b9.jpg","text":"TemporaryFile(/tmp/multipartBody2296936815869512196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592239314,"filename":"image_23012025_01_09_02_851740_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330708541","file1":"1330708537","file0":"1330708509","file4":"1330708725","file5":"1330708741","file3":"1330708647"},"map_files_photo_id_array":[{"photo_id":"1330708741","filename":"file5"},{"photo_id":"1330708541","filename":"file2"},{"photo_id":"1330708725","filename":"file4"},{"photo_id":"1330708537","filename":"file1"},{"photo_id":"1330708509","filename":"file0"},{"photo_id":"1330708647","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330708725":["hashtag1","hashtag2"]},{"1330708647":["hashtag1","hashtag2"]},{"1330708509":["hashtag1","hashtag2"]},{"1330708541":["hashtag1","hashtag2"]},{"1330708741":["hashtag1","hashtag2"]},{"1330708537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330708725, 1330708647, 1330708509, 1330708541, 1330708741, 1330708537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.356969118118286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:31:02.444434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/10/image_23012025_01_10_02_374092_0002.jpg', '/home/pi/Desktop/images/23012025/01/10/image_23012025_01_10_02_374092_0003.jpg', '/home/pi/Desktop/images/23012025/01/11/image_23012025_01_11_03_083861_0001.jpg', '/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_02_619757_0000.jpg', '/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_02_619757_0001.jpg', '/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_02_619757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/10/image_23012025_01_10_02_374092_0002.jpg
/home/pi/Desktop/images/23012025/01/10/image_23012025_01_10_02_374092_0003.jpg
/home/pi/Desktop/images/23012025/01/11/image_23012025_01_11_03_083861_0001.jpg
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_02_619757_0000.jpg
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_02_619757_0001.jpg
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_02_619757_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330709136","1330709043","1330709075","1330709132","1330709038","1330709073"],"photo_ids_order":["1330709038","1330709043","1330709073","1330709075","1330709132","1330709136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1a9025d4243f8ec026be4d7f4171aed.jpg","text":"TemporaryFile(/tmp/multipartBody8416095643526898731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592339916,"filename":"image_23012025_01_12_02_619757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f504b6dcbf8820d6ea80b95f5bc4456.jpg","text":"TemporaryFile(/tmp/multipartBody6134976395099667370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592339916,"filename":"image_23012025_01_10_02_374092_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e56331b2274ba844e7d776930f90887.jpg","text":"TemporaryFile(/tmp/multipartBody2798413563693658637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592339916,"filename":"image_23012025_01_12_02_619757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2d72a3b857f2108a387f883ee81009f.jpg","text":"TemporaryFile(/tmp/multipartBody4340391905071099137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592339916,"filename":"image_23012025_01_12_02_619757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99941e350bf194a51e089b90cf38bfb9.jpg","text":"TemporaryFile(/tmp/multipartBody4822603288292846321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592339916,"filename":"image_23012025_01_10_02_374092_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96bcb1212febf489e225ba82df217560.jpg","text":"TemporaryFile(/tmp/multipartBody5897953969075294957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592339916,"filename":"image_23012025_01_11_03_083861_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330709073","file1":"1330709043","file0":"1330709038","file4":"1330709132","file5":"1330709136","file3":"1330709075"},"map_files_photo_id_array":[{"photo_id":"1330709136","filename":"file5"},{"photo_id":"1330709073","filename":"file2"},{"photo_id":"1330709132","filename":"file4"},{"photo_id":"1330709043","filename":"file1"},{"photo_id":"1330709038","filename":"file0"},{"photo_id":"1330709075","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330709136":["hashtag1","hashtag2"]},{"1330709043":["hashtag1","hashtag2"]},{"1330709075":["hashtag1","hashtag2"]},{"1330709132":["hashtag1","hashtag2"]},{"1330709038":["hashtag1","hashtag2"]},{"1330709073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330709136, 1330709043, 1330709075, 1330709132, 1330709038, 1330709073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.48725771903992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:32:03.050742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_03_097847_0000.jpg', '/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_03_097847_0001.jpg', '/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_03_097847_0002.jpg', '/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_02_606426_0001.jpg', '/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_02_606426_0002.jpg', '/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_02_606426_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_03_097847_0000.jpg
/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_03_097847_0001.jpg
/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_03_097847_0002.jpg
/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_02_606426_0001.jpg
/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_02_606426_0002.jpg
/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_02_606426_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":["1330709180","1330709159","1330709153","1330709272","1330709193","1330709172"],"photo_ids_order":["1330709153","1330709159","1330709172","1330709180","1330709193","1330709272"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c823c1bf6c3a1d1f89d05aab18ed760.jpg","text":"TemporaryFile(/tmp/multipartBody4872359412948899248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592400491,"filename":"image_23012025_01_14_02_606426_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ec107a0c627ac85cbaf072f752300c3.jpg","text":"TemporaryFile(/tmp/multipartBody1283447613737083908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592400491,"filename":"image_23012025_01_13_03_097847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19d082fc96e8b0dcdf37ff23fbfbc2b9.jpg","text":"TemporaryFile(/tmp/multipartBody5328663311084444700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592400491,"filename":"image_23012025_01_13_03_097847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02112a184df5b657d015c2adad4c8570.jpg","text":"TemporaryFile(/tmp/multipartBody3985188304452462495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592400491,"filename":"image_23012025_01_14_02_606426_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0694d55ebf777fd3a761c0bcb0661848.jpg","text":"TemporaryFile(/tmp/multipartBody5053782690966246316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592400491,"filename":"image_23012025_01_14_02_606426_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afa5826b19e827833e045fd6e464ba85.jpg","text":"TemporaryFile(/tmp/multipartBody2481444914366112269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592400491,"filename":"image_23012025_01_13_03_097847_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330709172","file1":"1330709159","file0":"1330709153","file4":"1330709193","file5":"1330709272","file3":"1330709180"},"map_files_photo_id_array":[{"photo_id":"1330709272","filename":"file5"},{"photo_id":"1330709172","filename":"file2"},{"photo_id":"1330709193","filename":"file4"},{"photo_id":"1330709159","filename":"file1"},{"photo_id":"1330709153","filename":"file0"},{"photo_id":"1330709180","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330709180":["hashtag1","hashtag2"]},{"1330709159":["hashtag1","hashtag2"]},{"1330709153":["hashtag1","hashtag2"]},{"1330709272":["hashtag1","hashtag2"]},{"1330709193":["hashtag1","hashtag2"]},{"1330709172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330709180, 1330709159, 1330709153, 1330709272, 1330709193, 1330709172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.42728281021118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:33:22.107357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/15/image_23012025_01_15_03_137930_0003.jpg', '/home/pi/Desktop/images/23012025/01/16/image_23012025_01_16_02_688754_0000.jpg', '/home/pi/Desktop/images/23012025/01/16/image_23012025_01_16_02_688754_0001.jpg', '/home/pi/Desktop/images/23012025/01/16/image_23012025_01_16_02_688754_0003.jpg', '/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_02_352317_0000.jpg', '/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_02_352317_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/15/image_23012025_01_15_03_137930_0003.jpg
/home/pi/Desktop/images/23012025/01/16/image_23012025_01_16_02_688754_0000.jpg
/home/pi/Desktop/images/23012025/01/16/image_23012025_01_16_02_688754_0001.jpg
/home/pi/Desktop/images/23012025/01/16/image_23012025_01_16_02_688754_0003.jpg
/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_02_352317_0000.jpg
/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_02_352317_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":["1330709709","1330709738","1330709698","1330709743","1330709749","1330709748"],"photo_ids_order":["1330709698","1330709709","1330709738","1330709743","1330709748","1330709749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b306cdea5baf3fda6d7cb61dc68b8b0c.jpg","text":"TemporaryFile(/tmp/multipartBody5678079560846990020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592479501,"filename":"image_23012025_01_16_02_688754_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3364a6b4aec53b2fe6633d198f48fe51.jpg","text":"TemporaryFile(/tmp/multipartBody28041356724945837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592479501,"filename":"image_23012025_01_16_02_688754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/427da5e73932553ef03cc62bc4fee1a1.jpg","text":"TemporaryFile(/tmp/multipartBody5318401481935256686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592479501,"filename":"image_23012025_01_15_03_137930_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06c44a98aef3fb9db5b5f4c51582b16a.jpg","text":"TemporaryFile(/tmp/multipartBody8257009496402885028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592479501,"filename":"image_23012025_01_16_02_688754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec7044e182bfe8437f91f3875277d209.jpg","text":"TemporaryFile(/tmp/multipartBody6740914341620583820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592479501,"filename":"image_23012025_01_17_02_352317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73b70c0337cc370e2f07b3f55793bb70.jpg","text":"TemporaryFile(/tmp/multipartBody8660516425549723577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592479501,"filename":"image_23012025_01_17_02_352317_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330709738","file1":"1330709709","file0":"1330709698","file4":"1330709748","file5":"1330709749","file3":"1330709743"},"map_files_photo_id_array":[{"photo_id":"1330709749","filename":"file5"},{"photo_id":"1330709738","filename":"file2"},{"photo_id":"1330709748","filename":"file4"},{"photo_id":"1330709709","filename":"file1"},{"photo_id":"1330709698","filename":"file0"},{"photo_id":"1330709743","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330709709":["hashtag1","hashtag2"]},{"1330709738":["hashtag1","hashtag2"]},{"1330709698":["hashtag1","hashtag2"]},{"1330709743":["hashtag1","hashtag2"]},{"1330709749":["hashtag1","hashtag2"]},{"1330709748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330709709, 1330709738, 1330709698, 1330709743, 1330709749, 1330709748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.21266984939575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:35:03.382198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_02_352317_0002.jpg', '/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_02_824751_0001.jpg', '/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_02_824751_0003.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0000.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0001.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_02_352317_0002.jpg
/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_02_824751_0001.jpg
/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_02_824751_0003.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0000.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0001.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.11226797103882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:35:22.661693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_02_352317_0002.jpg', '/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_02_824751_0001.jpg', '/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_02_824751_0003.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0000.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0001.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_02_352317_0002.jpg
/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_02_824751_0001.jpg
/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_02_824751_0003.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0000.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0001.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330710033","1330710023","1330709917","1330709926","1330710037","1330709988"],"photo_ids_order":["1330709917","1330709926","1330709988","1330710023","1330710033","1330710037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8cfe96725fa453ef77b18c8b4a8a4c6.jpg","text":"TemporaryFile(/tmp/multipartBody1849841036612232499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592600059,"filename":"image_23012025_01_19_02_423284_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7b13681df9bd5ea9f80edd10cbd9152.jpg","text":"TemporaryFile(/tmp/multipartBody2610679164298170721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592600059,"filename":"image_23012025_01_19_02_423284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0e9887ec7bdd582a8c120d32e643983.jpg","text":"TemporaryFile(/tmp/multipartBody6944110727670361884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592600059,"filename":"image_23012025_01_17_02_352317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4fe69d9fbc32e1304ac855ea4197ea17.jpg","text":"TemporaryFile(/tmp/multipartBody1330993458049189821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592600059,"filename":"image_23012025_01_18_02_824751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c512a7a8ac253898aa3a7ce5993bb5e.jpg","text":"TemporaryFile(/tmp/multipartBody7745832813522568991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592600059,"filename":"image_23012025_01_19_02_423284_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb7c10a556e4af6497dad908f0afb06b.jpg","text":"TemporaryFile(/tmp/multipartBody5337732335544661690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592600059,"filename":"image_23012025_01_18_02_824751_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330709988","file1":"1330709926","file0":"1330709917","file4":"1330710033","file5":"1330710037","file3":"1330710023"},"map_files_photo_id_array":[{"photo_id":"1330710037","filename":"file5"},{"photo_id":"1330709988","filename":"file2"},{"photo_id":"1330710033","filename":"file4"},{"photo_id":"1330709926","filename":"file1"},{"photo_id":"1330709917","filename":"file0"},{"photo_id":"1330710023","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330710033":["hashtag1","hashtag2"]},{"1330710023":["hashtag1","hashtag2"]},{"1330709917":["hashtag1","hashtag2"]},{"1330709926":["hashtag1","hashtag2"]},{"1330710037":["hashtag1","hashtag2"]},{"1330709988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330710033, 1330710023, 1330709917, 1330709926, 1330710037, 1330709988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.3613691329956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:37:02.434968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0003.jpg', '/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_03_009945_0000.jpg', '/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_03_009945_0002.jpg', '/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_02_556127_0000.jpg', '/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_02_556127_0002.jpg', '/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_02_556127_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0003.jpg
/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_03_009945_0000.jpg
/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_03_009945_0002.jpg
/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_02_556127_0000.jpg
/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_02_556127_0002.jpg
/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_02_556127_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.125381469726562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:37:21.894954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0003.jpg', '/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_03_009945_0000.jpg', '/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_03_009945_0002.jpg', '/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_02_556127_0000.jpg', '/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_02_556127_0002.jpg', '/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_02_556127_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_02_423284_0003.jpg
/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_03_009945_0000.jpg
/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_03_009945_0002.jpg
/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_02_556127_0000.jpg
/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_02_556127_0002.jpg
/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_02_556127_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":["1330710495","1330710330","1330710491","1330710335","1330710466","1330710498"],"photo_ids_order":["1330710330","1330710335","1330710466","1330710491","1330710495","1330710498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95de1c0d829b73150ab9a2a0d0631857.jpg","text":"TemporaryFile(/tmp/multipartBody853945425785016244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592719309,"filename":"image_23012025_01_21_02_556127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6b05e907c2a86dea292e9eaf31c6270.jpg","text":"TemporaryFile(/tmp/multipartBody3154332608416981160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592719309,"filename":"image_23012025_01_19_02_423284_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4a36972faafb0ad73e264d0ae6c091d.jpg","text":"TemporaryFile(/tmp/multipartBody5620601381296963146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592719309,"filename":"image_23012025_01_21_02_556127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d98ba01ee8a5d8529f3e597ae449db3.jpg","text":"TemporaryFile(/tmp/multipartBody6309577759763178489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592719309,"filename":"image_23012025_01_20_03_009945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e454770e8a2074c53855b6f8979b56c8.jpg","text":"TemporaryFile(/tmp/multipartBody8833836936041180016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592719309,"filename":"image_23012025_01_20_03_009945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11c7b0c4cdee9e0251b35fa1201b29be.jpg","text":"TemporaryFile(/tmp/multipartBody1638198876244053308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592719309,"filename":"image_23012025_01_21_02_556127_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330710466","file1":"1330710335","file0":"1330710330","file4":"1330710495","file5":"1330710498","file3":"1330710491"},"map_files_photo_id_array":[{"photo_id":"1330710498","filename":"file5"},{"photo_id":"1330710466","filename":"file2"},{"photo_id":"1330710495","filename":"file4"},{"photo_id":"1330710335","filename":"file1"},{"photo_id":"1330710330","filename":"file0"},{"photo_id":"1330710491","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330710495":["hashtag1","hashtag2"]},{"1330710330":["hashtag1","hashtag2"]},{"1330710491":["hashtag1","hashtag2"]},{"1330710335":["hashtag1","hashtag2"]},{"1330710466":["hashtag1","hashtag2"]},{"1330710498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330710495, 1330710330, 1330710491, 1330710335, 1330710466, 1330710498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.17749309539795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:39:02.768634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0000.jpg', '/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0001.jpg', '/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0002.jpg', '/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0003.jpg', '/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_02_679528_0000.jpg', '/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_02_679528_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0000.jpg
/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0001.jpg
/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0002.jpg
/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0003.jpg
/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_02_679528_0000.jpg
/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_02_679528_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.11207127571106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:39:22.091024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0000.jpg', '/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0001.jpg', '/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0002.jpg', '/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0003.jpg', '/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_02_679528_0000.jpg', '/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_02_679528_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0000.jpg
/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0001.jpg
/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0002.jpg
/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_03_165254_0003.jpg
/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_02_679528_0000.jpg
/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_02_679528_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330710756","1330710716","1330710760","1330710754","1330710748","1330710712"],"photo_ids_order":["1330710712","1330710716","1330710748","1330710754","1330710756","1330710760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a01c5b3aa65179681394f3d31bc9ac0a.jpg","text":"TemporaryFile(/tmp/multipartBody5364639182862484472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592839497,"filename":"image_23012025_01_23_02_679528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b0987c907d4d6c47d6bf90b2f5a7903.jpg","text":"TemporaryFile(/tmp/multipartBody8054496608951350872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592839497,"filename":"image_23012025_01_22_03_165254_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71e477de1adb4173173362062b7b6f68.jpg","text":"TemporaryFile(/tmp/multipartBody7470388790541412098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592839497,"filename":"image_23012025_01_23_02_679528_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d5fae61e1a68c36490edc3bedb9ea65.jpg","text":"TemporaryFile(/tmp/multipartBody2451442062747850464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592839497,"filename":"image_23012025_01_22_03_165254_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3afd5007b541d37ce6b0e6f5e6b2921c.jpg","text":"TemporaryFile(/tmp/multipartBody2268548452998965277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592839497,"filename":"image_23012025_01_22_03_165254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/970bef5b39c0346809d74d4bd1fc0c38.jpg","text":"TemporaryFile(/tmp/multipartBody6376506858384494385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592839497,"filename":"image_23012025_01_22_03_165254_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330710748","file1":"1330710716","file0":"1330710712","file4":"1330710756","file5":"1330710760","file3":"1330710754"},"map_files_photo_id_array":[{"photo_id":"1330710760","filename":"file5"},{"photo_id":"1330710748","filename":"file2"},{"photo_id":"1330710756","filename":"file4"},{"photo_id":"1330710716","filename":"file1"},{"photo_id":"1330710712","filename":"file0"},{"photo_id":"1330710754","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330710756":["hashtag1","hashtag2"]},{"1330710716":["hashtag1","hashtag2"]},{"1330710760":["hashtag1","hashtag2"]},{"1330710754":["hashtag1","hashtag2"]},{"1330710748":["hashtag1","hashtag2"]},{"1330710712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330710756, 1330710716, 1330710760, 1330710754, 1330710748, 1330710712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.90243935585022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:40:21.823334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_02_679528_0003.jpg', '/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_02_172496_0000.jpg', '/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_02_172496_0001.jpg', '/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_02_172496_0002.jpg', '/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_02_172496_0003.jpg', '/home/pi/Desktop/images/23012025/01/25/image_23012025_01_25_02_668590_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_02_679528_0003.jpg
/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_02_172496_0000.jpg
/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_02_172496_0001.jpg
/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_02_172496_0002.jpg
/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_02_172496_0003.jpg
/home/pi/Desktop/images/23012025/01/25/image_23012025_01_25_02_668590_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330710771","1330710788","1330710782","1330710785","1330710779","1330710775"],"photo_ids_order":["1330710771","1330710775","1330710779","1330710782","1330710785","1330710788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d643aa2e3405699e2c0e5f24fbd0901.jpg","text":"TemporaryFile(/tmp/multipartBody1027126333734930897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592899239,"filename":"image_23012025_01_23_02_679528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be1eb6fa9a4c4923eebb05afef304243.jpg","text":"TemporaryFile(/tmp/multipartBody1813861646028800225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592899239,"filename":"image_23012025_01_25_02_668590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/546a7a0f38f0841b059033eaca232552.jpg","text":"TemporaryFile(/tmp/multipartBody6885109529444452084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592899239,"filename":"image_23012025_01_24_02_172496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c3d630c97f45c5d21b61da4ca184ccb.jpg","text":"TemporaryFile(/tmp/multipartBody4057205176783504033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592899239,"filename":"image_23012025_01_24_02_172496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3cf18df901debd098d6d7124ffc34c25.jpg","text":"TemporaryFile(/tmp/multipartBody1974326655422595064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592899239,"filename":"image_23012025_01_24_02_172496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8e71a8a386b69d3952925979f24efa6.jpg","text":"TemporaryFile(/tmp/multipartBody2759695843847420797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592899239,"filename":"image_23012025_01_24_02_172496_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330710779","file1":"1330710775","file0":"1330710771","file4":"1330710785","file5":"1330710788","file3":"1330710782"},"map_files_photo_id_array":[{"photo_id":"1330710788","filename":"file5"},{"photo_id":"1330710779","filename":"file2"},{"photo_id":"1330710785","filename":"file4"},{"photo_id":"1330710775","filename":"file1"},{"photo_id":"1330710771","filename":"file0"},{"photo_id":"1330710782","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330710771":["hashtag1","hashtag2"]},{"1330710788":["hashtag1","hashtag2"]},{"1330710782":["hashtag1","hashtag2"]},{"1330710785":["hashtag1","hashtag2"]},{"1330710779":["hashtag1","hashtag2"]},{"1330710775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330710771, 1330710788, 1330710782, 1330710785, 1330710779, 1330710775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.63294553756714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:41:22.275972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/25/image_23012025_01_25_02_668590_0003.jpg', '/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_02_151345_0000.jpg', '/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_02_151345_0001.jpg', '/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_02_151345_0002.jpg', '/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_02_151345_0003.jpg', '/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_02_714449_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/25/image_23012025_01_25_02_668590_0003.jpg
/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_02_151345_0000.jpg
/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_02_151345_0001.jpg
/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_02_151345_0002.jpg
/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_02_151345_0003.jpg
/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_02_714449_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":["1330711052","1330711169","1330711082","1330711043","1330711081","1330711068"],"photo_ids_order":["1330711043","1330711052","1330711068","1330711081","1330711082","1330711169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a81b58404bf68aa5fec2458cb0e5fa19.jpg","text":"TemporaryFile(/tmp/multipartBody9156774495258242599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592959310,"filename":"image_23012025_01_26_02_151345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b84faa7254a90a2e9ac4378128dc303.jpg","text":"TemporaryFile(/tmp/multipartBody1441031259103267097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592959310,"filename":"image_23012025_01_27_02_714449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc3e64f398d0b5d9d22aa6ce4101452b.jpg","text":"TemporaryFile(/tmp/multipartBody5348943939317601618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592959310,"filename":"image_23012025_01_26_02_151345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27adcbf0868f57e0849ab65f6705cf08.jpg","text":"TemporaryFile(/tmp/multipartBody5827364560075507682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592959310,"filename":"image_23012025_01_25_02_668590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6c763e954db53245862f12c50f9effb.jpg","text":"TemporaryFile(/tmp/multipartBody8499177732007688752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592959310,"filename":"image_23012025_01_26_02_151345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d417883d565752a7066f79cd9f6946a.jpg","text":"TemporaryFile(/tmp/multipartBody5484248633317012724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592959310,"filename":"image_23012025_01_26_02_151345_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330711068","file1":"1330711052","file0":"1330711043","file4":"1330711082","file5":"1330711169","file3":"1330711081"},"map_files_photo_id_array":[{"photo_id":"1330711169","filename":"file5"},{"photo_id":"1330711068","filename":"file2"},{"photo_id":"1330711082","filename":"file4"},{"photo_id":"1330711052","filename":"file1"},{"photo_id":"1330711043","filename":"file0"},{"photo_id":"1330711081","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330711052":["hashtag1","hashtag2"]},{"1330711169":["hashtag1","hashtag2"]},{"1330711082":["hashtag1","hashtag2"]},{"1330711043":["hashtag1","hashtag2"]},{"1330711081":["hashtag1","hashtag2"]},{"1330711068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330711052, 1330711169, 1330711082, 1330711043, 1330711081, 1330711068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.56168818473816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:43:02.812976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_02_714449_0001.jpg', '/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_02_714449_0002.jpg', '/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_02_714449_0003.jpg', '/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_02_309748_0000.jpg', '/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_02_309748_0001.jpg', '/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_02_309748_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_02_714449_0001.jpg
/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_02_714449_0002.jpg
/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_02_714449_0003.jpg
/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_02_309748_0000.jpg
/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_02_309748_0001.jpg
/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_02_309748_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330711425","1330711410","1330711430","1330711399","1330711434","1330711428"],"photo_ids_order":["1330711399","1330711410","1330711425","1330711428","1330711430","1330711434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7057e32a8789201f40bcd765c71b673.jpg","text":"TemporaryFile(/tmp/multipartBody3447752884694289019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593059534,"filename":"image_23012025_01_27_02_714449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/621779bfe0fac10b29e72eb9d84c0811.jpg","text":"TemporaryFile(/tmp/multipartBody8051309454930943135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593059534,"filename":"image_23012025_01_27_02_714449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b8d6f65caa5208a74dab38fa8164f98.jpg","text":"TemporaryFile(/tmp/multipartBody5908277196218064132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593059534,"filename":"image_23012025_01_28_02_309748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/022c6e238995cc5e7ae868ba9f368afa.jpg","text":"TemporaryFile(/tmp/multipartBody1190797390411442072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593059534,"filename":"image_23012025_01_27_02_714449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6591655c4510b90c16c0d527c8dccc3c.jpg","text":"TemporaryFile(/tmp/multipartBody7630293802392683809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593059534,"filename":"image_23012025_01_28_02_309748_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd0daba23254e3f7add803add409b099.jpg","text":"TemporaryFile(/tmp/multipartBody6497410737666040599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593059534,"filename":"image_23012025_01_28_02_309748_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330711425","file1":"1330711410","file0":"1330711399","file4":"1330711430","file5":"1330711434","file3":"1330711428"},"map_files_photo_id_array":[{"photo_id":"1330711434","filename":"file5"},{"photo_id":"1330711425","filename":"file2"},{"photo_id":"1330711430","filename":"file4"},{"photo_id":"1330711410","filename":"file1"},{"photo_id":"1330711399","filename":"file0"},{"photo_id":"1330711428","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330711425":["hashtag1","hashtag2"]},{"1330711410":["hashtag1","hashtag2"]},{"1330711430":["hashtag1","hashtag2"]},{"1330711399":["hashtag1","hashtag2"]},{"1330711434":["hashtag1","hashtag2"]},{"1330711428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330711425, 1330711410, 1330711430, 1330711399, 1330711434, 1330711428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.30597138404846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:44:21.998079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_02_309748_0003.jpg', '/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0000.jpg', '/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0001.jpg', '/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0002.jpg', '/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0003.jpg', '/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_02_309748_0003.jpg
/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0000.jpg
/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0001.jpg
/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0002.jpg
/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0003.jpg
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.81747317314148 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:45:03.153419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_02_309748_0003.jpg', '/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0000.jpg', '/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0001.jpg', '/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0002.jpg', '/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0003.jpg', '/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_02_309748_0003.jpg
/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0000.jpg
/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0001.jpg
/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0002.jpg
/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_02_815225_0003.jpg
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330711821","1330711886","1330711766","1330711769","1330711881","1330711764"],"photo_ids_order":["1330711764","1330711766","1330711769","1330711821","1330711881","1330711886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/900218b7d5ae570822af101beec94b7a.jpg","text":"TemporaryFile(/tmp/multipartBody1070550274267375491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593180396,"filename":"image_23012025_01_29_02_815225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d33f1d866efde976c462e276949edf2b.jpg","text":"TemporaryFile(/tmp/multipartBody4577091925321787816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593180396,"filename":"image_23012025_01_30_02_327040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/029ae14c63a92f396ea6c759038c0454.jpg","text":"TemporaryFile(/tmp/multipartBody4756578807249519213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593180396,"filename":"image_23012025_01_29_02_815225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c73dc92a209fe65792fba05947fa0c0.jpg","text":"TemporaryFile(/tmp/multipartBody6014118258124925598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593180396,"filename":"image_23012025_01_29_02_815225_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd7d108d5399009844322d0c168efc7a.jpg","text":"TemporaryFile(/tmp/multipartBody6347612998795506950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593180396,"filename":"image_23012025_01_29_02_815225_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d43abae73fae88a6885e636a30a65505.jpg","text":"TemporaryFile(/tmp/multipartBody3980782302866356275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593180396,"filename":"image_23012025_01_28_02_309748_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330711769","file1":"1330711766","file0":"1330711764","file4":"1330711881","file5":"1330711886","file3":"1330711821"},"map_files_photo_id_array":[{"photo_id":"1330711886","filename":"file5"},{"photo_id":"1330711769","filename":"file2"},{"photo_id":"1330711881","filename":"file4"},{"photo_id":"1330711766","filename":"file1"},{"photo_id":"1330711764","filename":"file0"},{"photo_id":"1330711821","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330711821":["hashtag1","hashtag2"]},{"1330711886":["hashtag1","hashtag2"]},{"1330711766":["hashtag1","hashtag2"]},{"1330711769":["hashtag1","hashtag2"]},{"1330711881":["hashtag1","hashtag2"]},{"1330711764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330711821, 1330711886, 1330711766, 1330711769, 1330711881, 1330711764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.25888776779175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:46:02.718751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0001.jpg', '/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0002.jpg', '/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0003.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_02_795834_0000.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_02_795834_0001.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_02_795834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0001.jpg
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0002.jpg
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0003.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_02_795834_0000.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_02_795834_0001.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_02_795834_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.677077293395996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:46:22.180722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0001.jpg', '/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0002.jpg', '/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0003.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_02_795834_0000.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_02_795834_0001.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_02_795834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0001.jpg
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0002.jpg
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_02_327040_0003.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_02_795834_0000.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_02_795834_0001.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_02_795834_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330712041","1330712023","1330712047","1330712034","1330712037","1330712028"],"photo_ids_order":["1330712023","1330712028","1330712034","1330712037","1330712041","1330712047"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1af494342f53470983addc020ca1aa9c.jpg","text":"TemporaryFile(/tmp/multipartBody5018900116548882826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593259217,"filename":"image_23012025_01_31_02_795834_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e4f2e737c23707c9177c62965cf94a9.jpg","text":"TemporaryFile(/tmp/multipartBody5516613579735609975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593259217,"filename":"image_23012025_01_30_02_327040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efd201608bfaea44258b3eef6a36a236.jpg","text":"TemporaryFile(/tmp/multipartBody8870519199205520541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593259217,"filename":"image_23012025_01_31_02_795834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a5cd09e7e592261a5accac3ebadfc0a.jpg","text":"TemporaryFile(/tmp/multipartBody149641293585973217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593259217,"filename":"image_23012025_01_30_02_327040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46bc89387b0cca664dcf061b5f7eaa76.jpg","text":"TemporaryFile(/tmp/multipartBody6921212647085363390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593259217,"filename":"image_23012025_01_31_02_795834_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40ae280022ab8491ce9e074bb8a210f6.jpg","text":"TemporaryFile(/tmp/multipartBody1509584161815639476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593259217,"filename":"image_23012025_01_30_02_327040_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330712034","file1":"1330712028","file0":"1330712023","file4":"1330712041","file5":"1330712047","file3":"1330712037"},"map_files_photo_id_array":[{"photo_id":"1330712047","filename":"file5"},{"photo_id":"1330712034","filename":"file2"},{"photo_id":"1330712041","filename":"file4"},{"photo_id":"1330712028","filename":"file1"},{"photo_id":"1330712023","filename":"file0"},{"photo_id":"1330712037","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330712041":["hashtag1","hashtag2"]},{"1330712023":["hashtag1","hashtag2"]},{"1330712047":["hashtag1","hashtag2"]},{"1330712034":["hashtag1","hashtag2"]},{"1330712037":["hashtag1","hashtag2"]},{"1330712028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330712041, 1330712023, 1330712047, 1330712034, 1330712037, 1330712028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.99653196334839 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:48:02.698923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_02_795834_0003.jpg', '/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_02_359932_0000.jpg', '/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_02_359932_0001.jpg', '/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_02_359932_0002.jpg', '/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_02_359932_0003.jpg', '/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_03_011040_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_02_795834_0003.jpg
/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_02_359932_0000.jpg
/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_02_359932_0001.jpg
/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_02_359932_0002.jpg
/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_02_359932_0003.jpg
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_03_011040_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":["1330712109","1330712111","1330712137","1330712160","1330712142","1330712124"],"photo_ids_order":["1330712109","1330712111","1330712124","1330712137","1330712142","1330712160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02037b0cd28ed5acc8fb6bebc644dfb6.jpg","text":"TemporaryFile(/tmp/multipartBody3335271022188303528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593359785,"filename":"image_23012025_01_31_02_795834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/917e1bada7d816a8163736ffa9d4afe4.jpg","text":"TemporaryFile(/tmp/multipartBody293696950344708578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593359785,"filename":"image_23012025_01_32_02_359932_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f26d06fda89d4dd3c25c9ea5bb8d8a89.jpg","text":"TemporaryFile(/tmp/multipartBody8356648246595853346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593359785,"filename":"image_23012025_01_32_02_359932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45713d40d919352b2df736269c219b85.jpg","text":"TemporaryFile(/tmp/multipartBody818230352025778236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593359785,"filename":"image_23012025_01_33_03_011040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8a3cd271cf30cf63fdd95b1d4249387.jpg","text":"TemporaryFile(/tmp/multipartBody2990241700150006177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593359785,"filename":"image_23012025_01_32_02_359932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe5a80ebafb71dbe0b22e2e3579e5649.jpg","text":"TemporaryFile(/tmp/multipartBody2724805397861754879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593359785,"filename":"image_23012025_01_32_02_359932_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330712124","file1":"1330712111","file0":"1330712109","file4":"1330712142","file5":"1330712160","file3":"1330712137"},"map_files_photo_id_array":[{"photo_id":"1330712160","filename":"file5"},{"photo_id":"1330712124","filename":"file2"},{"photo_id":"1330712142","filename":"file4"},{"photo_id":"1330712111","filename":"file1"},{"photo_id":"1330712109","filename":"file0"},{"photo_id":"1330712137","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330712109":["hashtag1","hashtag2"]},{"1330712111":["hashtag1","hashtag2"]},{"1330712137":["hashtag1","hashtag2"]},{"1330712160":["hashtag1","hashtag2"]},{"1330712142":["hashtag1","hashtag2"]},{"1330712124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330712109, 1330712111, 1330712137, 1330712160, 1330712142, 1330712124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.5538957118988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:49:21.826587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_03_011040_0001.jpg', '/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_03_011040_0002.jpg', '/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_03_011040_0003.jpg', '/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_02_493299_0000.jpg', '/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_02_493299_0001.jpg', '/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_02_493299_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_03_011040_0001.jpg
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_03_011040_0002.jpg
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_03_011040_0003.jpg
/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_02_493299_0000.jpg
/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_02_493299_0001.jpg
/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_02_493299_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330712480","1330712357","1330712476","1330712431","1330712472","1330712403"],"photo_ids_order":["1330712357","1330712403","1330712431","1330712472","1330712476","1330712480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8ae77321742204d3626093d36016ffb.jpg","text":"TemporaryFile(/tmp/multipartBody7658354095920898705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593439136,"filename":"image_23012025_01_34_02_493299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3cbb6e5d258bd0f77409010b0392ca1b.jpg","text":"TemporaryFile(/tmp/multipartBody790627800964741177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593439136,"filename":"image_23012025_01_33_03_011040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bcfbe6e7675b57a2ec2e20deb2bdb5e0.jpg","text":"TemporaryFile(/tmp/multipartBody6322094693636153338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593439136,"filename":"image_23012025_01_34_02_493299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/124def3a4cf889e01b5d9f8a0da53bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4376888911260500096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593439136,"filename":"image_23012025_01_33_03_011040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/391c3590aacb6f4f11c38c1172bf3d9d.jpg","text":"TemporaryFile(/tmp/multipartBody4923533849162513615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593439136,"filename":"image_23012025_01_34_02_493299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1b890cfaea9b69ca6ea0f76d6d04866.jpg","text":"TemporaryFile(/tmp/multipartBody2400821731773312548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593439136,"filename":"image_23012025_01_33_03_011040_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330712431","file1":"1330712403","file0":"1330712357","file4":"1330712476","file5":"1330712480","file3":"1330712472"},"map_files_photo_id_array":[{"photo_id":"1330712480","filename":"file5"},{"photo_id":"1330712431","filename":"file2"},{"photo_id":"1330712476","filename":"file4"},{"photo_id":"1330712403","filename":"file1"},{"photo_id":"1330712357","filename":"file0"},{"photo_id":"1330712472","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330712480":["hashtag1","hashtag2"]},{"1330712357":["hashtag1","hashtag2"]},{"1330712476":["hashtag1","hashtag2"]},{"1330712431":["hashtag1","hashtag2"]},{"1330712472":["hashtag1","hashtag2"]},{"1330712403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330712480, 1330712357, 1330712476, 1330712431, 1330712472, 1330712403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.49767708778381 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:51:02.608135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_02_493299_0003.jpg', '/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_03_033151_0000.jpg', '/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_03_033151_0001.jpg', '/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_03_033151_0002.jpg', '/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_03_033151_0003.jpg', '/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_03_146741_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_02_493299_0003.jpg
/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_03_033151_0000.jpg
/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_03_033151_0001.jpg
/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_03_033151_0002.jpg
/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_03_033151_0003.jpg
/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_03_146741_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":["1330712645","1330712642","1330712639","1330712624","1330712620","1330712634"],"photo_ids_order":["1330712620","1330712624","1330712634","1330712639","1330712642","1330712645"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/123033cbecffed1d6bd7ed9a4ff6e9c5.jpg","text":"TemporaryFile(/tmp/multipartBody3163947812657783814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593539394,"filename":"image_23012025_01_36_03_146741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6fe76a2b43239aabe726ed66fc96a5a.jpg","text":"TemporaryFile(/tmp/multipartBody4105410581555700621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593539394,"filename":"image_23012025_01_35_03_033151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03806539d5e30ea6737a1fc4ab422d7c.jpg","text":"TemporaryFile(/tmp/multipartBody5057606449738227615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593539394,"filename":"image_23012025_01_35_03_033151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ea51a78932c55dd57257724a76ff24c.jpg","text":"TemporaryFile(/tmp/multipartBody8540978753258907174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593539394,"filename":"image_23012025_01_35_03_033151_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91c47cf4d4addb8a87db7121b8562123.jpg","text":"TemporaryFile(/tmp/multipartBody2425801644167311605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593539394,"filename":"image_23012025_01_34_02_493299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc32a86a25c445f973dfe1ad88c84e50.jpg","text":"TemporaryFile(/tmp/multipartBody313112841169208823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593539394,"filename":"image_23012025_01_35_03_033151_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330712634","file1":"1330712624","file0":"1330712620","file4":"1330712642","file5":"1330712645","file3":"1330712639"},"map_files_photo_id_array":[{"photo_id":"1330712645","filename":"file5"},{"photo_id":"1330712634","filename":"file2"},{"photo_id":"1330712642","filename":"file4"},{"photo_id":"1330712624","filename":"file1"},{"photo_id":"1330712620","filename":"file0"},{"photo_id":"1330712639","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330712645":["hashtag1","hashtag2"]},{"1330712642":["hashtag1","hashtag2"]},{"1330712639":["hashtag1","hashtag2"]},{"1330712624":["hashtag1","hashtag2"]},{"1330712620":["hashtag1","hashtag2"]},{"1330712634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330712645, 1330712642, 1330712639, 1330712624, 1330712620, 1330712634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.82369804382324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:52:22.609851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_03_146741_0001.jpg', '/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_03_146741_0002.jpg', '/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_03_146741_0003.jpg', '/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0000.jpg', '/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0001.jpg', '/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_03_146741_0001.jpg
/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_03_146741_0002.jpg
/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_03_146741_0003.jpg
/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0000.jpg
/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0001.jpg
/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.463268280029297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:53:02.786266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_03_146741_0001.jpg', '/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_03_146741_0002.jpg', '/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_03_146741_0003.jpg', '/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0000.jpg', '/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0001.jpg', '/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_03_146741_0001.jpg
/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_03_146741_0002.jpg
/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_03_146741_0003.jpg
/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0000.jpg
/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0001.jpg
/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330712879","1330712851","1330712815","1330712829","1330712882","1330712876"],"photo_ids_order":["1330712815","1330712829","1330712851","1330712876","1330712879","1330712882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e69d9b00e7b1b005e86de838d885882.jpg","text":"TemporaryFile(/tmp/multipartBody683569707791799174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593659664,"filename":"image_23012025_01_37_02_743972_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/831a13e703375a39416593e3445679b3.jpg","text":"TemporaryFile(/tmp/multipartBody4108407802295797651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593659664,"filename":"image_23012025_01_36_03_146741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f6aacf4b26a82c0669261aab13e4467.jpg","text":"TemporaryFile(/tmp/multipartBody970991141038606707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593659664,"filename":"image_23012025_01_36_03_146741_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afd08367f4b43c927220bee21aececfb.jpg","text":"TemporaryFile(/tmp/multipartBody2527749440381870947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593659664,"filename":"image_23012025_01_36_03_146741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/48e5f4d109618c2860db217d81e268ba.jpg","text":"TemporaryFile(/tmp/multipartBody7405435067953062797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593659664,"filename":"image_23012025_01_37_02_743972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13d7ae75cbb9b8eca9b4d9e858e74ac1.jpg","text":"TemporaryFile(/tmp/multipartBody2451800393902614573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593659664,"filename":"image_23012025_01_37_02_743972_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330712851","file1":"1330712829","file0":"1330712815","file4":"1330712879","file5":"1330712882","file3":"1330712876"},"map_files_photo_id_array":[{"photo_id":"1330712882","filename":"file5"},{"photo_id":"1330712851","filename":"file2"},{"photo_id":"1330712879","filename":"file4"},{"photo_id":"1330712829","filename":"file1"},{"photo_id":"1330712815","filename":"file0"},{"photo_id":"1330712876","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330712879":["hashtag1","hashtag2"]},{"1330712851":["hashtag1","hashtag2"]},{"1330712815":["hashtag1","hashtag2"]},{"1330712829":["hashtag1","hashtag2"]},{"1330712882":["hashtag1","hashtag2"]},{"1330712876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330712879, 1330712851, 1330712815, 1330712829, 1330712882, 1330712876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.96713614463806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:54:21.855958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0003.jpg', '/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0000.jpg', '/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0001.jpg', '/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0002.jpg', '/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0003.jpg', '/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0003.jpg
/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0000.jpg
/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0001.jpg
/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0002.jpg
/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0003.jpg
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.270214319229126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:55:03.105311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0003.jpg', '/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0000.jpg', '/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0001.jpg', '/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0002.jpg', '/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0003.jpg', '/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_02_743972_0003.jpg
/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0000.jpg
/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0001.jpg
/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0002.jpg
/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_02_370292_0003.jpg
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330712968","1330713019","1330712976","1330713027","1330712973","1330713024"],"photo_ids_order":["1330712968","1330712973","1330712976","1330713019","1330713024","1330713027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b64ba608a1c09975d470e067b9202f26.jpg","text":"TemporaryFile(/tmp/multipartBody3641431211902222831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593779783,"filename":"image_23012025_01_37_02_743972_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdc416bc5077ec35bbd1a7eabb2664d8.jpg","text":"TemporaryFile(/tmp/multipartBody2107723036760637605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593779783,"filename":"image_23012025_01_38_02_370292_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/782f3e4bdf43db5c02883d3cd274c5e2.jpg","text":"TemporaryFile(/tmp/multipartBody6161273061197885096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593779783,"filename":"image_23012025_01_38_02_370292_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27ccb7b2ccd0812f82b418871b57086a.jpg","text":"TemporaryFile(/tmp/multipartBody2838668393358787578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593779783,"filename":"image_23012025_01_39_03_029093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6390df5f2e345e000e03cc816107697f.jpg","text":"TemporaryFile(/tmp/multipartBody6079879694164793091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593779783,"filename":"image_23012025_01_38_02_370292_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49b4720098f5c11f390bf5121dad6cc1.jpg","text":"TemporaryFile(/tmp/multipartBody3358219211369856588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593779783,"filename":"image_23012025_01_38_02_370292_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330712976","file1":"1330712973","file0":"1330712968","file4":"1330713024","file5":"1330713027","file3":"1330713019"},"map_files_photo_id_array":[{"photo_id":"1330713027","filename":"file5"},{"photo_id":"1330712976","filename":"file2"},{"photo_id":"1330713024","filename":"file4"},{"photo_id":"1330712973","filename":"file1"},{"photo_id":"1330712968","filename":"file0"},{"photo_id":"1330713019","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330712968":["hashtag1","hashtag2"]},{"1330713019":["hashtag1","hashtag2"]},{"1330712976":["hashtag1","hashtag2"]},{"1330713027":["hashtag1","hashtag2"]},{"1330712973":["hashtag1","hashtag2"]},{"1330713024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330712968, 1330713019, 1330712976, 1330713027, 1330712973, 1330713024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.056734800338745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:56:02.414668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0001.jpg', '/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0002.jpg', '/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0003.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0000.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0001.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0001.jpg
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0002.jpg
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0003.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0000.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0001.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.736928462982178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:56:21.955087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0001.jpg', '/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0002.jpg', '/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0003.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0000.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0001.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0001.jpg
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0002.jpg
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_03_029093_0003.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0000.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0001.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330713338","1330713251","1330713200","1330713328","1330713293","1330713335"],"photo_ids_order":["1330713200","1330713251","1330713293","1330713328","1330713335","1330713338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05f1c2dd8c7678cf01e3ae4937e3053f.jpg","text":"TemporaryFile(/tmp/multipartBody2977749781112068330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593858086,"filename":"image_23012025_01_40_02_535866_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a7fb37210500816b1f37fe40ce99ec4.jpg","text":"TemporaryFile(/tmp/multipartBody8919974500246832160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593858086,"filename":"image_23012025_01_39_03_029093_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec5475f6750cc4a652a847b92eec83a7.jpg","text":"TemporaryFile(/tmp/multipartBody6460686270977633409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593858086,"filename":"image_23012025_01_39_03_029093_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d5a776a9d359bb1686957ee50f0073a.jpg","text":"TemporaryFile(/tmp/multipartBody8459319305303316227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593858086,"filename":"image_23012025_01_40_02_535866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/abc05b34254e4b6894c1070d178203b9.jpg","text":"TemporaryFile(/tmp/multipartBody3477607523669206459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593858086,"filename":"image_23012025_01_39_03_029093_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0833b1c8cbe6f6a10fe826a4707328bc.jpg","text":"TemporaryFile(/tmp/multipartBody5867114974612001657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593858086,"filename":"image_23012025_01_40_02_535866_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330713293","file1":"1330713251","file0":"1330713200","file4":"1330713335","file5":"1330713338","file3":"1330713328"},"map_files_photo_id_array":[{"photo_id":"1330713338","filename":"file5"},{"photo_id":"1330713293","filename":"file2"},{"photo_id":"1330713335","filename":"file4"},{"photo_id":"1330713251","filename":"file1"},{"photo_id":"1330713200","filename":"file0"},{"photo_id":"1330713328","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330713338":["hashtag1","hashtag2"]},{"1330713251":["hashtag1","hashtag2"]},{"1330713200":["hashtag1","hashtag2"]},{"1330713328":["hashtag1","hashtag2"]},{"1330713293":["hashtag1","hashtag2"]},{"1330713335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330713338, 1330713251, 1330713200, 1330713328, 1330713293, 1330713335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.94801473617554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 01:59:02.850901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0003.jpg', '/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0000.jpg', '/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0001.jpg', '/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0002.jpg', '/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0003.jpg', '/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_02_670104_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0003.jpg
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0000.jpg
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0001.jpg
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0002.jpg
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0003.jpg
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_02_670104_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.849303722381592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 01:59:22.285293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0003.jpg', '/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0000.jpg', '/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0001.jpg', '/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0002.jpg', '/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0003.jpg', '/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_02_670104_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_02_535866_0003.jpg
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0000.jpg
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0001.jpg
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0002.jpg
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_02_180417_0003.jpg
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_02_670104_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330713568","1330713556","1330713559","1330713561","1330713563","1330713566"],"photo_ids_order":["1330713556","1330713559","1330713561","1330713563","1330713566","1330713568"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca80cf7fd1de0055c3dde40948c5d198.jpg","text":"TemporaryFile(/tmp/multipartBody4680371483849277257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594039440,"filename":"image_23012025_01_42_02_670104_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ab40631bf036201706e4e56a32b0128.jpg","text":"TemporaryFile(/tmp/multipartBody3265008287192577257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594039440,"filename":"image_23012025_01_40_02_535866_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fed94f2fe714aa7189ea44802a67c62f.jpg","text":"TemporaryFile(/tmp/multipartBody8954255002409228201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594039440,"filename":"image_23012025_01_41_02_180417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9a315e79eb2c404eded7eead768602a.jpg","text":"TemporaryFile(/tmp/multipartBody6676188023504946492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594039440,"filename":"image_23012025_01_41_02_180417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7cfc038c751fa3bb47c7fe702839457.jpg","text":"TemporaryFile(/tmp/multipartBody6937782483011533602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594039440,"filename":"image_23012025_01_41_02_180417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d429d743f55e8a4b932de940122f6008.jpg","text":"TemporaryFile(/tmp/multipartBody3747866434047661160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594039440,"filename":"image_23012025_01_41_02_180417_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330713561","file1":"1330713559","file0":"1330713556","file4":"1330713566","file5":"1330713568","file3":"1330713563"},"map_files_photo_id_array":[{"photo_id":"1330713568","filename":"file5"},{"photo_id":"1330713561","filename":"file2"},{"photo_id":"1330713566","filename":"file4"},{"photo_id":"1330713559","filename":"file1"},{"photo_id":"1330713556","filename":"file0"},{"photo_id":"1330713563","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330713568":["hashtag1","hashtag2"]},{"1330713556":["hashtag1","hashtag2"]},{"1330713559":["hashtag1","hashtag2"]},{"1330713561":["hashtag1","hashtag2"]},{"1330713563":["hashtag1","hashtag2"]},{"1330713566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330713568, 1330713556, 1330713559, 1330713561, 1330713563, 1330713566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.0306715965271 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:01:02.944418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_02_670104_0001.jpg', '/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_02_670104_0002.jpg', '/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_02_670104_0003.jpg', '/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_02_174915_0000.jpg', '/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_02_174915_0001.jpg', '/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_02_174915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_02_670104_0001.jpg
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_02_670104_0002.jpg
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_02_670104_0003.jpg
/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_02_174915_0000.jpg
/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_02_174915_0001.jpg
/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_02_174915_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330713871","1330713795","1330713709","1330713714","1330713723","1330713875"],"photo_ids_order":["1330713709","1330713714","1330713723","1330713795","1330713871","1330713875"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f8533f891907fda1ca8516119543701.jpg","text":"TemporaryFile(/tmp/multipartBody4754456151403040810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594139979,"filename":"image_23012025_01_43_02_174915_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9522cb9ef86b5e37b53754ca29103cc8.jpg","text":"TemporaryFile(/tmp/multipartBody7198593428255745639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594139979,"filename":"image_23012025_01_43_02_174915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be40225142a80069eee2dd0ba5ef8a00.jpg","text":"TemporaryFile(/tmp/multipartBody4443831265890734922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594139979,"filename":"image_23012025_01_42_02_670104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7015b5aa6fdb6e02100c1eadadae3fe6.jpg","text":"TemporaryFile(/tmp/multipartBody2445745003985618651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594139979,"filename":"image_23012025_01_42_02_670104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0bff829022ccd8a4c91fcb68616cf181.jpg","text":"TemporaryFile(/tmp/multipartBody4326107954990031919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594139979,"filename":"image_23012025_01_42_02_670104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4fc43d2cd48a1d8c991102a5bbb6a5fc.jpg","text":"TemporaryFile(/tmp/multipartBody16648597723437102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594139979,"filename":"image_23012025_01_43_02_174915_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330713723","file1":"1330713714","file0":"1330713709","file4":"1330713871","file5":"1330713875","file3":"1330713795"},"map_files_photo_id_array":[{"photo_id":"1330713875","filename":"file5"},{"photo_id":"1330713723","filename":"file2"},{"photo_id":"1330713871","filename":"file4"},{"photo_id":"1330713714","filename":"file1"},{"photo_id":"1330713709","filename":"file0"},{"photo_id":"1330713795","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330713871":["hashtag1","hashtag2"]},{"1330713795":["hashtag1","hashtag2"]},{"1330713709":["hashtag1","hashtag2"]},{"1330713714":["hashtag1","hashtag2"]},{"1330713723":["hashtag1","hashtag2"]},{"1330713875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330713871, 1330713795, 1330713709, 1330713714, 1330713723, 1330713875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.23916006088257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:02:02.425096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_02_174915_0003.jpg', '/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0000.jpg', '/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0001.jpg', '/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0002.jpg', '/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0003.jpg', '/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_02_379642_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_02_174915_0003.jpg
/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0000.jpg
/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0001.jpg
/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0002.jpg
/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0003.jpg
/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_02_379642_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.475757122039795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:02:22.019636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_02_174915_0003.jpg', '/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0000.jpg', '/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0001.jpg', '/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0002.jpg', '/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0003.jpg', '/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_02_379642_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_02_174915_0003.jpg
/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0000.jpg
/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0001.jpg
/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0002.jpg
/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_02_699584_0003.jpg
/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_02_379642_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":["1330714030","1330714009","1330714077","1330714005","1330714070","1330714052"],"photo_ids_order":["1330714005","1330714009","1330714030","1330714052","1330714070","1330714077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc1539c846c083c359d9d3dbff6785a9.jpg","text":"TemporaryFile(/tmp/multipartBody9100820978723053916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594218829,"filename":"image_23012025_01_44_02_699584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6618e585c4eb978628e2dfecf0ad52d6.jpg","text":"TemporaryFile(/tmp/multipartBody2711590066817681230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594218829,"filename":"image_23012025_01_44_02_699584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c81c1e384e5f0193e12d8e385a4318e1.jpg","text":"TemporaryFile(/tmp/multipartBody2913730313287294029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594218829,"filename":"image_23012025_01_45_02_379642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ed88d87bacf2a45d9c0593bf5a90767.jpg","text":"TemporaryFile(/tmp/multipartBody8803970777224497359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594218829,"filename":"image_23012025_01_43_02_174915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8505300b726aa522d290a1b89642b7f.jpg","text":"TemporaryFile(/tmp/multipartBody4337358782469755304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594218829,"filename":"image_23012025_01_44_02_699584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72bb0f7b4263289fa2e92e5a3d3d2cfa.jpg","text":"TemporaryFile(/tmp/multipartBody8978324445323953232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594218829,"filename":"image_23012025_01_44_02_699584_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330714030","file1":"1330714009","file0":"1330714005","file4":"1330714070","file5":"1330714077","file3":"1330714052"},"map_files_photo_id_array":[{"photo_id":"1330714077","filename":"file5"},{"photo_id":"1330714030","filename":"file2"},{"photo_id":"1330714070","filename":"file4"},{"photo_id":"1330714009","filename":"file1"},{"photo_id":"1330714005","filename":"file0"},{"photo_id":"1330714052","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330714030":["hashtag1","hashtag2"]},{"1330714009":["hashtag1","hashtag2"]},{"1330714077":["hashtag1","hashtag2"]},{"1330714005":["hashtag1","hashtag2"]},{"1330714070":["hashtag1","hashtag2"]},{"1330714052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330714030, 1330714009, 1330714077, 1330714005, 1330714070, 1330714052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.69094252586365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:04:02.584341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_02_379642_0001.jpg', '/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_02_379642_0002.jpg', '/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_02_379642_0003.jpg', '/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_02_953676_0000.jpg', '/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_02_953676_0001.jpg', '/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_02_953676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_02_379642_0001.jpg
/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_02_379642_0002.jpg
/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_02_379642_0003.jpg
/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_02_953676_0000.jpg
/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_02_953676_0001.jpg
/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_02_953676_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330714183","1330714186","1330714181","1330714178","1330714189","1330714180"],"photo_ids_order":["1330714178","1330714180","1330714181","1330714183","1330714186","1330714189"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d46ffc05b2f0e4429b28b6739854785.jpg","text":"TemporaryFile(/tmp/multipartBody6644310770991178638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594319549,"filename":"image_23012025_01_46_02_953676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/971587bfcc7f5b96f6fe2f3bef6074a8.jpg","text":"TemporaryFile(/tmp/multipartBody2903964800623226225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594319549,"filename":"image_23012025_01_46_02_953676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/797fc8535738d03dff410addb8ccb217.jpg","text":"TemporaryFile(/tmp/multipartBody3960164705848081633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594319549,"filename":"image_23012025_01_45_02_379642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65bb1348b58362e1bf33bac4745a3e71.jpg","text":"TemporaryFile(/tmp/multipartBody3969649621310869956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594319549,"filename":"image_23012025_01_45_02_379642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2802b2164ef41c8337df6bd28d3c8200.jpg","text":"TemporaryFile(/tmp/multipartBody5930553175192072094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594319549,"filename":"image_23012025_01_46_02_953676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b60598058dd245c459ac858362e5dfb.jpg","text":"TemporaryFile(/tmp/multipartBody939757134734036236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594319549,"filename":"image_23012025_01_45_02_379642_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330714181","file1":"1330714180","file0":"1330714178","file4":"1330714186","file5":"1330714189","file3":"1330714183"},"map_files_photo_id_array":[{"photo_id":"1330714189","filename":"file5"},{"photo_id":"1330714181","filename":"file2"},{"photo_id":"1330714186","filename":"file4"},{"photo_id":"1330714180","filename":"file1"},{"photo_id":"1330714178","filename":"file0"},{"photo_id":"1330714183","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330714183":["hashtag1","hashtag2"]},{"1330714186":["hashtag1","hashtag2"]},{"1330714181":["hashtag1","hashtag2"]},{"1330714178":["hashtag1","hashtag2"]},{"1330714189":["hashtag1","hashtag2"]},{"1330714180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330714183, 1330714186, 1330714181, 1330714178, 1330714189, 1330714180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.42107081413269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:05:03.279911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_02_953676_0003.jpg', '/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0000.jpg', '/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0001.jpg', '/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0002.jpg', '/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0003.jpg', '/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_03_129964_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_02_953676_0003.jpg
/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0000.jpg
/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0001.jpg
/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0002.jpg
/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0003.jpg
/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_03_129964_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.612364768981934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:05:22.647657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_02_953676_0003.jpg', '/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0000.jpg', '/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0001.jpg', '/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0002.jpg', '/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0003.jpg', '/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_03_129964_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_02_953676_0003.jpg
/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0000.jpg
/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0001.jpg
/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0002.jpg
/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_02_595576_0003.jpg
/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_03_129964_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330714261","1330714333","1330714248","1330714280","1330714316","1330714294"],"photo_ids_order":["1330714248","1330714261","1330714280","1330714294","1330714316","1330714333"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92c9f841b67b809c09f38cf7075198d9.jpg","text":"TemporaryFile(/tmp/multipartBody2923801461447262993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594399553,"filename":"image_23012025_01_47_02_595576_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/167b3fc26cfa0aa0397e04f2eb8a3e94.jpg","text":"TemporaryFile(/tmp/multipartBody7418767114554595598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594399553,"filename":"image_23012025_01_48_03_129964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4980ebf7b9eb03bec567cc3bb6a82ab.jpg","text":"TemporaryFile(/tmp/multipartBody7955574888101694662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594399553,"filename":"image_23012025_01_46_02_953676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec632e63704e5deae110e7c9cace8a00.jpg","text":"TemporaryFile(/tmp/multipartBody9137869547463871006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594399553,"filename":"image_23012025_01_47_02_595576_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5dac59c82259cd205d7155b4bf7c597.jpg","text":"TemporaryFile(/tmp/multipartBody1407235526584067138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594399553,"filename":"image_23012025_01_47_02_595576_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea93163406711b502a74e17601b11974.jpg","text":"TemporaryFile(/tmp/multipartBody7367108158502840032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594399553,"filename":"image_23012025_01_47_02_595576_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330714280","file1":"1330714261","file0":"1330714248","file4":"1330714316","file5":"1330714333","file3":"1330714294"},"map_files_photo_id_array":[{"photo_id":"1330714333","filename":"file5"},{"photo_id":"1330714280","filename":"file2"},{"photo_id":"1330714316","filename":"file4"},{"photo_id":"1330714261","filename":"file1"},{"photo_id":"1330714248","filename":"file0"},{"photo_id":"1330714294","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330714261":["hashtag1","hashtag2"]},{"1330714333":["hashtag1","hashtag2"]},{"1330714248":["hashtag1","hashtag2"]},{"1330714280":["hashtag1","hashtag2"]},{"1330714316":["hashtag1","hashtag2"]},{"1330714294":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330714261, 1330714333, 1330714248, 1330714280, 1330714316, 1330714294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.31342029571533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:06:22.351645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_03_129964_0001.jpg', '/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_03_129964_0002.jpg', '/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_03_129964_0003.jpg', '/home/pi/Desktop/images/23012025/01/49/image_23012025_01_49_02_663339_0000.jpg', '/home/pi/Desktop/images/23012025/01/49/image_23012025_01_49_02_663339_0001.jpg', '/home/pi/Desktop/images/23012025/01/49/image_23012025_01_49_02_663339_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_03_129964_0001.jpg
/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_03_129964_0002.jpg
/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_03_129964_0003.jpg
/home/pi/Desktop/images/23012025/01/49/image_23012025_01_49_02_663339_0000.jpg
/home/pi/Desktop/images/23012025/01/49/image_23012025_01_49_02_663339_0001.jpg
/home/pi/Desktop/images/23012025/01/49/image_23012025_01_49_02_663339_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330714375","1330714383","1330714371","1330714379","1330714367","1330714387"],"photo_ids_order":["1330714367","1330714371","1330714375","1330714379","1330714383","1330714387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d71bb74f8158048499adab760d82ab26.jpg","text":"TemporaryFile(/tmp/multipartBody3708973555609059040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594458852,"filename":"image_23012025_01_48_03_129964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea417ea92a67aeb93f4ee14ca72f21e1.jpg","text":"TemporaryFile(/tmp/multipartBody9047370379357830569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594458852,"filename":"image_23012025_01_49_02_663339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8cd21fad7f17949586d67c45af29771.jpg","text":"TemporaryFile(/tmp/multipartBody3972641616974157617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594458852,"filename":"image_23012025_01_48_03_129964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72ebdc32ed6274a97f09e6b89b1052e0.jpg","text":"TemporaryFile(/tmp/multipartBody3793470891068644783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594458852,"filename":"image_23012025_01_49_02_663339_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92b2416321e087e223de8e8dccbbaf34.jpg","text":"TemporaryFile(/tmp/multipartBody7703216530110587364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594458852,"filename":"image_23012025_01_48_03_129964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/911247530c2e402edac41621b611d7be.jpg","text":"TemporaryFile(/tmp/multipartBody5055160810871348326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594458852,"filename":"image_23012025_01_49_02_663339_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330714375","file1":"1330714371","file0":"1330714367","file4":"1330714383","file5":"1330714387","file3":"1330714379"},"map_files_photo_id_array":[{"photo_id":"1330714387","filename":"file5"},{"photo_id":"1330714375","filename":"file2"},{"photo_id":"1330714383","filename":"file4"},{"photo_id":"1330714371","filename":"file1"},{"photo_id":"1330714367","filename":"file0"},{"photo_id":"1330714379","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330714375":["hashtag1","hashtag2"]},{"1330714383":["hashtag1","hashtag2"]},{"1330714371":["hashtag1","hashtag2"]},{"1330714379":["hashtag1","hashtag2"]},{"1330714367":["hashtag1","hashtag2"]},{"1330714387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330714375, 1330714383, 1330714371, 1330714379, 1330714367, 1330714387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.57518935203552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:07:21.910556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/49/image_23012025_01_49_02_663339_0003.jpg', '/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_02_305439_0000.jpg', '/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_02_305439_0001.jpg', '/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_02_305439_0002.jpg', '/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_02_305439_0003.jpg', '/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_02_816288_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/49/image_23012025_01_49_02_663339_0003.jpg
/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_02_305439_0000.jpg
/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_02_305439_0001.jpg
/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_02_305439_0002.jpg
/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_02_305439_0003.jpg
/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_02_816288_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330714423","1330714417","1330714407","1330714412","1330714409","1330714403"],"photo_ids_order":["1330714403","1330714407","1330714409","1330714412","1330714417","1330714423"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/421f0eb4d09cc7449929a070ece5edc8.jpg","text":"TemporaryFile(/tmp/multipartBody8607745201060933125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594518924,"filename":"image_23012025_01_51_02_816288_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d49fe100f6173dca8104665cd62d793.jpg","text":"TemporaryFile(/tmp/multipartBody8651045986706766461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594518924,"filename":"image_23012025_01_50_02_305439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e9b732cfc4bd3b868bc486c7f35bcb0.jpg","text":"TemporaryFile(/tmp/multipartBody4616157794369649947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594518924,"filename":"image_23012025_01_50_02_305439_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61f00a1f783843276b59b85242bd0506.jpg","text":"TemporaryFile(/tmp/multipartBody2310143317219618062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594518924,"filename":"image_23012025_01_50_02_305439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0d45d8b74befcf01ed697f2eb79ac85.jpg","text":"TemporaryFile(/tmp/multipartBody6531064555956172061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594518924,"filename":"image_23012025_01_50_02_305439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c404c4aa57de711eeb92f72c76c255d.jpg","text":"TemporaryFile(/tmp/multipartBody9045738964198700641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594518924,"filename":"image_23012025_01_49_02_663339_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330714409","file1":"1330714407","file0":"1330714403","file4":"1330714417","file5":"1330714423","file3":"1330714412"},"map_files_photo_id_array":[{"photo_id":"1330714423","filename":"file5"},{"photo_id":"1330714409","filename":"file2"},{"photo_id":"1330714417","filename":"file4"},{"photo_id":"1330714407","filename":"file1"},{"photo_id":"1330714403","filename":"file0"},{"photo_id":"1330714412","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330714423":["hashtag1","hashtag2"]},{"1330714417":["hashtag1","hashtag2"]},{"1330714407":["hashtag1","hashtag2"]},{"1330714412":["hashtag1","hashtag2"]},{"1330714409":["hashtag1","hashtag2"]},{"1330714403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330714423, 1330714417, 1330714407, 1330714412, 1330714409, 1330714403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.73296093940735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:08:22.358214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_02_816288_0001.jpg', '/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_02_816288_0002.jpg', '/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_02_816288_0003.jpg', '/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0000.jpg', '/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0001.jpg', '/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_02_816288_0001.jpg
/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_02_816288_0002.jpg
/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_02_816288_0003.jpg
/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0000.jpg
/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0001.jpg
/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.927701473236084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:09:02.563757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_02_816288_0001.jpg', '/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_02_816288_0002.jpg', '/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_02_816288_0003.jpg', '/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0000.jpg', '/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0001.jpg', '/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_02_816288_0001.jpg
/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_02_816288_0002.jpg
/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_02_816288_0003.jpg
/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0000.jpg
/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0001.jpg
/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330715325","1330715328","1330715322","1330715330","1330715332","1330715335"],"photo_ids_order":["1330715322","1330715325","1330715328","1330715330","1330715332","1330715335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67204f70b17504bc158f07baa1be6188.jpg","text":"TemporaryFile(/tmp/multipartBody8962686783855306413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594618907,"filename":"image_23012025_01_51_02_816288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4dc3856109348f44921f37787c747a8.jpg","text":"TemporaryFile(/tmp/multipartBody8039061783015427907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594618907,"filename":"image_23012025_01_51_02_816288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e37f69cd267130d35dc17fc2e1ff786e.jpg","text":"TemporaryFile(/tmp/multipartBody1623578702006526702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594618907,"filename":"image_23012025_01_51_02_816288_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1d5c16dc04e84feafa6a54d8652ce31.jpg","text":"TemporaryFile(/tmp/multipartBody2324045517633486426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594618907,"filename":"image_23012025_01_52_02_308537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bce9b59a60d5e217585847db5f435340.jpg","text":"TemporaryFile(/tmp/multipartBody746190251178286251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594618907,"filename":"image_23012025_01_52_02_308537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3c32ef79564a70c9d1c7c25d7ff0686.jpg","text":"TemporaryFile(/tmp/multipartBody4254157888327153513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594618907,"filename":"image_23012025_01_52_02_308537_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330715328","file1":"1330715325","file0":"1330715322","file4":"1330715332","file5":"1330715335","file3":"1330715330"},"map_files_photo_id_array":[{"photo_id":"1330715335","filename":"file5"},{"photo_id":"1330715328","filename":"file2"},{"photo_id":"1330715332","filename":"file4"},{"photo_id":"1330715325","filename":"file1"},{"photo_id":"1330715322","filename":"file0"},{"photo_id":"1330715330","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330715325":["hashtag1","hashtag2"]},{"1330715328":["hashtag1","hashtag2"]},{"1330715322":["hashtag1","hashtag2"]},{"1330715330":["hashtag1","hashtag2"]},{"1330715332":["hashtag1","hashtag2"]},{"1330715335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330715325, 1330715328, 1330715322, 1330715330, 1330715332, 1330715335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.92804431915283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:10:03.044235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0003.jpg', '/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0000.jpg', '/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0001.jpg', '/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0002.jpg', '/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0003.jpg', '/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_02_531442_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0003.jpg
/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0000.jpg
/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0001.jpg
/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0002.jpg
/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0003.jpg
/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_02_531442_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.105724811553955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:10:22.591964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0003.jpg', '/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0000.jpg', '/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0001.jpg', '/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0002.jpg', '/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0003.jpg', '/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_02_531442_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_02_308537_0003.jpg
/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0000.jpg
/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0001.jpg
/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0002.jpg
/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_02_999080_0003.jpg
/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_02_531442_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330715475","1330715745","1330715712","1330715747","1330715791","1330715380"],"photo_ids_order":["1330715380","1330715475","1330715712","1330715745","1330715747","1330715791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/559fef8f60b2d86c7c949eaca2def3c3.jpg","text":"TemporaryFile(/tmp/multipartBody1271674009474864465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594699057,"filename":"image_23012025_01_53_02_999080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e1d2636b86f64076d36bd13a032f644.jpg","text":"TemporaryFile(/tmp/multipartBody2656175182600137262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594699057,"filename":"image_23012025_01_53_02_999080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26e6bd307155b433af32dc0c8b1ec526.jpg","text":"TemporaryFile(/tmp/multipartBody3708925522426191407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594699057,"filename":"image_23012025_01_53_02_999080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fa6d97eb601a13c3bd4e58428418000.jpg","text":"TemporaryFile(/tmp/multipartBody7405415019190651802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594699057,"filename":"image_23012025_01_53_02_999080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e3d0d9c234e140a3cdebc72d7b9cbfe.jpg","text":"TemporaryFile(/tmp/multipartBody453538303492494525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594699057,"filename":"image_23012025_01_54_02_531442_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa6aefdf0eb640aa56a7572d3f788d24.jpg","text":"TemporaryFile(/tmp/multipartBody8309280850085311146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594699057,"filename":"image_23012025_01_52_02_308537_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330715712","file1":"1330715475","file0":"1330715380","file4":"1330715747","file5":"1330715791","file3":"1330715745"},"map_files_photo_id_array":[{"photo_id":"1330715791","filename":"file5"},{"photo_id":"1330715712","filename":"file2"},{"photo_id":"1330715747","filename":"file4"},{"photo_id":"1330715475","filename":"file1"},{"photo_id":"1330715380","filename":"file0"},{"photo_id":"1330715745","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330715475":["hashtag1","hashtag2"]},{"1330715745":["hashtag1","hashtag2"]},{"1330715712":["hashtag1","hashtag2"]},{"1330715747":["hashtag1","hashtag2"]},{"1330715791":["hashtag1","hashtag2"]},{"1330715380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330715475, 1330715745, 1330715712, 1330715747, 1330715791, 1330715380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.7816047668457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:11:22.574562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_02_531442_0001.jpg', '/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_02_531442_0002.jpg', '/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_02_531442_0003.jpg', '/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_02_184931_0000.jpg', '/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_02_184931_0001.jpg', '/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_02_184931_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_02_531442_0001.jpg
/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_02_531442_0002.jpg
/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_02_531442_0003.jpg
/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_02_184931_0000.jpg
/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_02_184931_0001.jpg
/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_02_184931_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330715943","1330715886","1330715916","1330715890","1330715881","1330715923"],"photo_ids_order":["1330715881","1330715886","1330715890","1330715916","1330715923","1330715943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c8b7a33e01b9d71b5730b31375cc2db.jpg","text":"TemporaryFile(/tmp/multipartBody6595690769396439611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594759154,"filename":"image_23012025_01_55_02_184931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5292a414faf0d38304896bea57c12656.jpg","text":"TemporaryFile(/tmp/multipartBody7397607737399323984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594759154,"filename":"image_23012025_01_54_02_531442_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c65fe7a1795ecab292497b6275aae923.jpg","text":"TemporaryFile(/tmp/multipartBody1085290372864746975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594759154,"filename":"image_23012025_01_55_02_184931_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/435d726a02784269bf234af70253aa68.jpg","text":"TemporaryFile(/tmp/multipartBody912021008367637433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594759154,"filename":"image_23012025_01_54_02_531442_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c30c46fae4c0d1f64be8af8444e4c55e.jpg","text":"TemporaryFile(/tmp/multipartBody2825997746090419869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594759154,"filename":"image_23012025_01_54_02_531442_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6d36871fcd872cf0049925b266a9d74.jpg","text":"TemporaryFile(/tmp/multipartBody4790618191222936057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594759154,"filename":"image_23012025_01_55_02_184931_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330715890","file1":"1330715886","file0":"1330715881","file4":"1330715923","file5":"1330715943","file3":"1330715916"},"map_files_photo_id_array":[{"photo_id":"1330715943","filename":"file5"},{"photo_id":"1330715890","filename":"file2"},{"photo_id":"1330715923","filename":"file4"},{"photo_id":"1330715886","filename":"file1"},{"photo_id":"1330715881","filename":"file0"},{"photo_id":"1330715916","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330715943":["hashtag1","hashtag2"]},{"1330715886":["hashtag1","hashtag2"]},{"1330715916":["hashtag1","hashtag2"]},{"1330715890":["hashtag1","hashtag2"]},{"1330715881":["hashtag1","hashtag2"]},{"1330715923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330715943, 1330715886, 1330715916, 1330715890, 1330715881, 1330715923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.05711841583252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:13:03.109232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_02_184931_0003.jpg', '/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_02_714048_0000.jpg', '/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_02_714048_0001.jpg', '/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_02_714048_0002.jpg', '/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_02_714048_0003.jpg', '/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_02_364958_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_02_184931_0003.jpg
/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_02_714048_0000.jpg
/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_02_714048_0001.jpg
/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_02_714048_0002.jpg
/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_02_714048_0003.jpg
/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_02_364958_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":["1330716123","1330716066","1330716152","1330716149","1330716137","1330716109"],"photo_ids_order":["1330716066","1330716109","1330716123","1330716137","1330716149","1330716152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d6d03d5f7611560edccf46402445280.jpg","text":"TemporaryFile(/tmp/multipartBody1428595871099300449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594859782,"filename":"image_23012025_01_56_02_714048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4646434fe7005bec87f3c1ddcf10c868.jpg","text":"TemporaryFile(/tmp/multipartBody4493180870850095552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594859782,"filename":"image_23012025_01_55_02_184931_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96c2b59a50709315c54537856127f675.jpg","text":"TemporaryFile(/tmp/multipartBody7993990534846610625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594859782,"filename":"image_23012025_01_57_02_364958_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/496087c1858ea7da605e6f6da1e301d9.jpg","text":"TemporaryFile(/tmp/multipartBody5367959124835984029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594859782,"filename":"image_23012025_01_56_02_714048_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6bf12937154b3f2f4d13d0bde66a4cb2.jpg","text":"TemporaryFile(/tmp/multipartBody3047597128111498728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594859782,"filename":"image_23012025_01_56_02_714048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82be8946c20db26eaa7f37b8d6f34e4d.jpg","text":"TemporaryFile(/tmp/multipartBody215689929795303860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594859782,"filename":"image_23012025_01_56_02_714048_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330716123","file1":"1330716109","file0":"1330716066","file4":"1330716149","file5":"1330716152","file3":"1330716137"},"map_files_photo_id_array":[{"photo_id":"1330716152","filename":"file5"},{"photo_id":"1330716123","filename":"file2"},{"photo_id":"1330716149","filename":"file4"},{"photo_id":"1330716109","filename":"file1"},{"photo_id":"1330716066","filename":"file0"},{"photo_id":"1330716137","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330716123":["hashtag1","hashtag2"]},{"1330716066":["hashtag1","hashtag2"]},{"1330716152":["hashtag1","hashtag2"]},{"1330716149":["hashtag1","hashtag2"]},{"1330716137":["hashtag1","hashtag2"]},{"1330716109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330716123, 1330716066, 1330716152, 1330716149, 1330716137, 1330716109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.92207407951355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:14:22.335553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_02_364958_0001.jpg', '/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_02_364958_0002.jpg', '/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_02_364958_0003.jpg', '/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_02_926419_0000.jpg', '/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_02_926419_0001.jpg', '/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_02_926419_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_02_364958_0001.jpg
/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_02_364958_0002.jpg
/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_02_364958_0003.jpg
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_02_926419_0000.jpg
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_02_926419_0001.jpg
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_02_926419_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330716197","1330716191","1330716194","1330716188","1330716203","1330716200"],"photo_ids_order":["1330716188","1330716191","1330716194","1330716197","1330716200","1330716203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9fb5037e0dacd9e6fa828e2c2d486c41.jpg","text":"TemporaryFile(/tmp/multipartBody7695609449127492502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594938599,"filename":"image_23012025_01_58_02_926419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a66914de2113f0f3e397bd50bcef8bf.jpg","text":"TemporaryFile(/tmp/multipartBody2071468901773668711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594938599,"filename":"image_23012025_01_57_02_364958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9a120cfaba2493a9df4af8f1164b47c.jpg","text":"TemporaryFile(/tmp/multipartBody1180346401255711896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594938599,"filename":"image_23012025_01_57_02_364958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6cb72d8431fa484bbd359e370e7c006.jpg","text":"TemporaryFile(/tmp/multipartBody6333153183631950856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594938599,"filename":"image_23012025_01_57_02_364958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f3e8454c6e97c7689572c2cf47e2391.jpg","text":"TemporaryFile(/tmp/multipartBody5919158654761982319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594938599,"filename":"image_23012025_01_58_02_926419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24b5565230d12b21f03d1ef490950ba3.jpg","text":"TemporaryFile(/tmp/multipartBody535085779792269959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594938599,"filename":"image_23012025_01_58_02_926419_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330716194","file1":"1330716191","file0":"1330716188","file4":"1330716200","file5":"1330716203","file3":"1330716197"},"map_files_photo_id_array":[{"photo_id":"1330716203","filename":"file5"},{"photo_id":"1330716194","filename":"file2"},{"photo_id":"1330716200","filename":"file4"},{"photo_id":"1330716191","filename":"file1"},{"photo_id":"1330716188","filename":"file0"},{"photo_id":"1330716197","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330716197":["hashtag1","hashtag2"]},{"1330716191":["hashtag1","hashtag2"]},{"1330716194":["hashtag1","hashtag2"]},{"1330716188":["hashtag1","hashtag2"]},{"1330716203":["hashtag1","hashtag2"]},{"1330716200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330716197, 1330716191, 1330716194, 1330716188, 1330716203, 1330716200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.9031138420105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:15:21.900902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_02_926419_0003.jpg', '/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_02_441990_0000.jpg', '/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_02_441990_0001.jpg', '/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_02_441990_0002.jpg', '/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_02_441990_0003.jpg', '/home/pi/Desktop/images/23012025/02/00/image_23012025_02_00_02_600447_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_02_926419_0003.jpg
/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_02_441990_0000.jpg
/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_02_441990_0001.jpg
/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_02_441990_0002.jpg
/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_02_441990_0003.jpg
/home/pi/Desktop/images/23012025/02/00/image_23012025_02_00_02_600447_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330716282","1330716295","1330716298","1330716286","1330716301","1330716291"],"photo_ids_order":["1330716282","1330716286","1330716291","1330716295","1330716298","1330716301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0fbe98a08c317d80cabd72af2e64dba.jpg","text":"TemporaryFile(/tmp/multipartBody1319494691342842748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594998534,"filename":"image_23012025_01_58_02_926419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a26eb1ebc4e5242c8f9eba142e02abc.jpg","text":"TemporaryFile(/tmp/multipartBody4635370191141217197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594998534,"filename":"image_23012025_01_59_02_441990_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c12b84443f197d4cc08b7060d0786ea.jpg","text":"TemporaryFile(/tmp/multipartBody4691046316471322817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594998534,"filename":"image_23012025_01_59_02_441990_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e7d730fe2828fed6ca50f027859f3f8.jpg","text":"TemporaryFile(/tmp/multipartBody7549952793146288107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594998534,"filename":"image_23012025_01_59_02_441990_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f469a719349e3754a5291d48d69412c4.jpg","text":"TemporaryFile(/tmp/multipartBody6248349519265445312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594998534,"filename":"image_23012025_02_00_02_600447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d76f7e680cc23e906165302ebb860087.jpg","text":"TemporaryFile(/tmp/multipartBody5434493516939874935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594998534,"filename":"image_23012025_01_59_02_441990_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330716291","file1":"1330716286","file0":"1330716282","file4":"1330716298","file5":"1330716301","file3":"1330716295"},"map_files_photo_id_array":[{"photo_id":"1330716301","filename":"file5"},{"photo_id":"1330716291","filename":"file2"},{"photo_id":"1330716298","filename":"file4"},{"photo_id":"1330716286","filename":"file1"},{"photo_id":"1330716282","filename":"file0"},{"photo_id":"1330716295","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330716282":["hashtag1","hashtag2"]},{"1330716295":["hashtag1","hashtag2"]},{"1330716298":["hashtag1","hashtag2"]},{"1330716286":["hashtag1","hashtag2"]},{"1330716301":["hashtag1","hashtag2"]},{"1330716291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330716282, 1330716295, 1330716298, 1330716286, 1330716301, 1330716291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.12947630882263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:16:22.379286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/00/image_23012025_02_00_02_600447_0001.jpg', '/home/pi/Desktop/images/23012025/02/00/image_23012025_02_00_02_600447_0002.jpg', '/home/pi/Desktop/images/23012025/02/00/image_23012025_02_00_02_600447_0003.jpg', '/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_02_320253_0000.jpg', '/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_02_320253_0001.jpg', '/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_02_320253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/00/image_23012025_02_00_02_600447_0001.jpg
/home/pi/Desktop/images/23012025/02/00/image_23012025_02_00_02_600447_0002.jpg
/home/pi/Desktop/images/23012025/02/00/image_23012025_02_00_02_600447_0003.jpg
/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_02_320253_0000.jpg
/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_02_320253_0001.jpg
/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_02_320253_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330716321","1330716315","1330716332","1330716325","1330716328","1330716310"],"photo_ids_order":["1330716310","1330716315","1330716321","1330716325","1330716328","1330716332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4af09f2e3643b99ff8c9e4aa8e6623cf.jpg","text":"TemporaryFile(/tmp/multipartBody290410688624166253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595059514,"filename":"image_23012025_02_00_02_600447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01d4275c725154d96ec4b3170e647398.jpg","text":"TemporaryFile(/tmp/multipartBody4746256018889768334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595059514,"filename":"image_23012025_02_00_02_600447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2af1808bfe394420664020d8c21d8658.jpg","text":"TemporaryFile(/tmp/multipartBody1619813826874803380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595059514,"filename":"image_23012025_02_01_02_320253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca6a035cc7ea2aee560c25091fec4fa9.jpg","text":"TemporaryFile(/tmp/multipartBody2213145540569978767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595059514,"filename":"image_23012025_02_01_02_320253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b9500b164e99dc8b4cc7243122edc62.jpg","text":"TemporaryFile(/tmp/multipartBody6105416297431813459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595059514,"filename":"image_23012025_02_01_02_320253_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0021e94b398a92b3907c6eb574c46aec.jpg","text":"TemporaryFile(/tmp/multipartBody2388225253152047806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595059514,"filename":"image_23012025_02_00_02_600447_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330716321","file1":"1330716315","file0":"1330716310","file4":"1330716328","file5":"1330716332","file3":"1330716325"},"map_files_photo_id_array":[{"photo_id":"1330716332","filename":"file5"},{"photo_id":"1330716321","filename":"file2"},{"photo_id":"1330716328","filename":"file4"},{"photo_id":"1330716315","filename":"file1"},{"photo_id":"1330716310","filename":"file0"},{"photo_id":"1330716325","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330716321":["hashtag1","hashtag2"]},{"1330716315":["hashtag1","hashtag2"]},{"1330716332":["hashtag1","hashtag2"]},{"1330716325":["hashtag1","hashtag2"]},{"1330716328":["hashtag1","hashtag2"]},{"1330716310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330716321, 1330716315, 1330716332, 1330716325, 1330716328, 1330716310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.5750687122345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:17:21.842182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_02_320253_0003.jpg', '/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_02_836641_0000.jpg', '/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_02_836641_0001.jpg', '/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_02_836641_0002.jpg', '/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_02_836641_0003.jpg', '/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_02_487145_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_02_320253_0003.jpg
/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_02_836641_0000.jpg
/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_02_836641_0001.jpg
/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_02_836641_0002.jpg
/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_02_836641_0003.jpg
/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_02_487145_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330716356","1330716344","1330716358","1330716352","1330716346","1330716349"],"photo_ids_order":["1330716344","1330716346","1330716349","1330716352","1330716356","1330716358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39e8017b00e013915fa36e3961ab8179.jpg","text":"TemporaryFile(/tmp/multipartBody7041831226633051082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595118201,"filename":"image_23012025_02_02_02_836641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/182f7bb04436273c8a6a77cbbc742100.jpg","text":"TemporaryFile(/tmp/multipartBody9139240365198695624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595118201,"filename":"image_23012025_02_01_02_320253_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1a505e4f784a2ca856493bf48611aeb.jpg","text":"TemporaryFile(/tmp/multipartBody816653400900807466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595118201,"filename":"image_23012025_02_03_02_487145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b42c223dc6291d047558e1689a7fdaeb.jpg","text":"TemporaryFile(/tmp/multipartBody5377548419477804390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595118201,"filename":"image_23012025_02_02_02_836641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10af4951c0f87a718c2a76cbab6043d5.jpg","text":"TemporaryFile(/tmp/multipartBody2860495751239636658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595118201,"filename":"image_23012025_02_02_02_836641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ad3ca32052a513afdc09de656671775.jpg","text":"TemporaryFile(/tmp/multipartBody8096464828806034949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595118201,"filename":"image_23012025_02_02_02_836641_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330716349","file1":"1330716346","file0":"1330716344","file4":"1330716356","file5":"1330716358","file3":"1330716352"},"map_files_photo_id_array":[{"photo_id":"1330716358","filename":"file5"},{"photo_id":"1330716349","filename":"file2"},{"photo_id":"1330716356","filename":"file4"},{"photo_id":"1330716346","filename":"file1"},{"photo_id":"1330716344","filename":"file0"},{"photo_id":"1330716352","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330716356":["hashtag1","hashtag2"]},{"1330716344":["hashtag1","hashtag2"]},{"1330716358":["hashtag1","hashtag2"]},{"1330716352":["hashtag1","hashtag2"]},{"1330716346":["hashtag1","hashtag2"]},{"1330716349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330716356, 1330716344, 1330716358, 1330716352, 1330716346, 1330716349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.205201864242554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:18:22.364436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_02_487145_0001.jpg', '/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_02_487145_0002.jpg', '/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_02_487145_0003.jpg', '/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0000.jpg', '/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0001.jpg', '/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_02_487145_0001.jpg
/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_02_487145_0002.jpg
/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_02_487145_0003.jpg
/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0000.jpg
/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0001.jpg
/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.190306186676025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:19:02.481989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_02_487145_0001.jpg', '/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_02_487145_0002.jpg', '/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_02_487145_0003.jpg', '/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0000.jpg', '/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0001.jpg', '/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_02_487145_0001.jpg
/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_02_487145_0002.jpg
/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_02_487145_0003.jpg
/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0000.jpg
/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0001.jpg
/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330716461","1330716491","1330716464","1330716473","1330716469","1330716466"],"photo_ids_order":["1330716461","1330716464","1330716466","1330716469","1330716473","1330716491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/defcf11e26158767c92dda2ae3478522.jpg","text":"TemporaryFile(/tmp/multipartBody5437737996917460288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595219152,"filename":"image_23012025_02_03_02_487145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5926f36666011e2124ef8987d2615d1.jpg","text":"TemporaryFile(/tmp/multipartBody8178921189519649322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595219152,"filename":"image_23012025_02_04_02_961568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0ec48887995e529144e05e55b1f8fcd.jpg","text":"TemporaryFile(/tmp/multipartBody2555584679093504138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595219152,"filename":"image_23012025_02_03_02_487145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06501108e406a7ae78ee7aa7d1bed256.jpg","text":"TemporaryFile(/tmp/multipartBody3157274563608883546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595219152,"filename":"image_23012025_02_04_02_961568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b404ab0a7563eb2e1ffce6accab5b36.jpg","text":"TemporaryFile(/tmp/multipartBody2508312121140573063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595219152,"filename":"image_23012025_02_04_02_961568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fbf1544cf5af6e23b16ef0e3165b772.jpg","text":"TemporaryFile(/tmp/multipartBody3688745845177100678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595219152,"filename":"image_23012025_02_03_02_487145_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330716466","file1":"1330716464","file0":"1330716461","file4":"1330716473","file5":"1330716491","file3":"1330716469"},"map_files_photo_id_array":[{"photo_id":"1330716491","filename":"file5"},{"photo_id":"1330716466","filename":"file2"},{"photo_id":"1330716473","filename":"file4"},{"photo_id":"1330716464","filename":"file1"},{"photo_id":"1330716461","filename":"file0"},{"photo_id":"1330716469","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330716461":["hashtag1","hashtag2"]},{"1330716491":["hashtag1","hashtag2"]},{"1330716464":["hashtag1","hashtag2"]},{"1330716473":["hashtag1","hashtag2"]},{"1330716469":["hashtag1","hashtag2"]},{"1330716466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330716461, 1330716491, 1330716464, 1330716473, 1330716469, 1330716466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.09075164794922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:20:03.005147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0003.jpg', '/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0000.jpg', '/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0001.jpg', '/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0002.jpg', '/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0003.jpg', '/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_03_039606_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0003.jpg
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0000.jpg
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0001.jpg
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0002.jpg
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0003.jpg
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_03_039606_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.48687195777893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:20:22.596579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0003.jpg', '/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0000.jpg', '/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0001.jpg', '/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0002.jpg', '/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0003.jpg', '/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_03_039606_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_02_961568_0003.jpg
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0000.jpg
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0001.jpg
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0002.jpg
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_02_523921_0003.jpg
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_03_039606_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330716627","1330716603","1330716578","1330716598","1330716594","1330716613"],"photo_ids_order":["1330716578","1330716594","1330716598","1330716603","1330716613","1330716627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/060e27752f29352406dd3b1073ec6fe7.jpg","text":"TemporaryFile(/tmp/multipartBody6826229071083565388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595299427,"filename":"image_23012025_02_06_03_039606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05348c7faf54378a336cc4d21e4a044c.jpg","text":"TemporaryFile(/tmp/multipartBody6506193326644098372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595299427,"filename":"image_23012025_02_05_02_523921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c643e3c2339ddc45dc0216fd0b12cf38.jpg","text":"TemporaryFile(/tmp/multipartBody4375650882415415369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595299427,"filename":"image_23012025_02_04_02_961568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9227c53dfcb759ff789e8e33acd53751.jpg","text":"TemporaryFile(/tmp/multipartBody3921407720982455944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595299427,"filename":"image_23012025_02_05_02_523921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ebab8eb078a3793b6117c92e89d1714.jpg","text":"TemporaryFile(/tmp/multipartBody5860054082163386031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595299427,"filename":"image_23012025_02_05_02_523921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20b5841dc0b3aab424e4f127843a96ee.jpg","text":"TemporaryFile(/tmp/multipartBody7252138650126594781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595299427,"filename":"image_23012025_02_05_02_523921_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330716598","file1":"1330716594","file0":"1330716578","file4":"1330716613","file5":"1330716627","file3":"1330716603"},"map_files_photo_id_array":[{"photo_id":"1330716627","filename":"file5"},{"photo_id":"1330716598","filename":"file2"},{"photo_id":"1330716613","filename":"file4"},{"photo_id":"1330716594","filename":"file1"},{"photo_id":"1330716578","filename":"file0"},{"photo_id":"1330716603","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330716627":["hashtag1","hashtag2"]},{"1330716603":["hashtag1","hashtag2"]},{"1330716578":["hashtag1","hashtag2"]},{"1330716598":["hashtag1","hashtag2"]},{"1330716594":["hashtag1","hashtag2"]},{"1330716613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330716627, 1330716603, 1330716578, 1330716598, 1330716594, 1330716613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.38747596740723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:21:22.110514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_03_039606_0001.jpg', '/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_03_039606_0002.jpg', '/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_03_039606_0003.jpg', '/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_02_720309_0000.jpg', '/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_02_720309_0001.jpg', '/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_02_720309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_03_039606_0001.jpg
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_03_039606_0002.jpg
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_03_039606_0003.jpg
/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_02_720309_0000.jpg
/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_02_720309_0001.jpg
/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_02_720309_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330717020","1330716723","1330716953","1330716784","1330716934","1330716888"],"photo_ids_order":["1330716723","1330716784","1330716888","1330716934","1330716953","1330717020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c96bf0a8d7b92b4b216cf33f27a3afb.jpg","text":"TemporaryFile(/tmp/multipartBody8969314097442729485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595359433,"filename":"image_23012025_02_07_02_720309_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/420bca08087371eeeb3d2296878b34a6.jpg","text":"TemporaryFile(/tmp/multipartBody4694882930958095373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595359433,"filename":"image_23012025_02_06_03_039606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b7ebc9ef85705d0e3c587444ec23cf3.jpg","text":"TemporaryFile(/tmp/multipartBody6076182656955983804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595359433,"filename":"image_23012025_02_07_02_720309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b72ab62d6c2819b33b894ff7f7c14580.jpg","text":"TemporaryFile(/tmp/multipartBody593613713954022509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595359433,"filename":"image_23012025_02_06_03_039606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9c6951277cdedbe872b93a7e304fe30.jpg","text":"TemporaryFile(/tmp/multipartBody7983434368027143818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595359433,"filename":"image_23012025_02_07_02_720309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f7fa23acb439b9f119d767eaa10a0fa.jpg","text":"TemporaryFile(/tmp/multipartBody6208066047279058644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595359433,"filename":"image_23012025_02_06_03_039606_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330716888","file1":"1330716784","file0":"1330716723","file4":"1330716953","file5":"1330717020","file3":"1330716934"},"map_files_photo_id_array":[{"photo_id":"1330717020","filename":"file5"},{"photo_id":"1330716888","filename":"file2"},{"photo_id":"1330716953","filename":"file4"},{"photo_id":"1330716784","filename":"file1"},{"photo_id":"1330716723","filename":"file0"},{"photo_id":"1330716934","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330717020":["hashtag1","hashtag2"]},{"1330716723":["hashtag1","hashtag2"]},{"1330716953":["hashtag1","hashtag2"]},{"1330716784":["hashtag1","hashtag2"]},{"1330716934":["hashtag1","hashtag2"]},{"1330716888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330717020, 1330716723, 1330716953, 1330716784, 1330716934, 1330716888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.40275716781616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:22:22.653915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_02_720309_0003.jpg', '/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_02_235137_0000.jpg', '/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_02_235137_0001.jpg', '/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_02_235137_0002.jpg', '/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_02_235137_0003.jpg', '/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_02_734620_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_02_720309_0003.jpg
/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_02_235137_0000.jpg
/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_02_235137_0001.jpg
/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_02_235137_0002.jpg
/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_02_235137_0003.jpg
/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_02_734620_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":["1330717113","1330717073","1330717127","1330717099","1330717078","1330717083"],"photo_ids_order":["1330717073","1330717078","1330717083","1330717099","1330717113","1330717127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82acfe6e8abd7fd1dd3ff0aa074602d3.jpg","text":"TemporaryFile(/tmp/multipartBody5917601675036248688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595419376,"filename":"image_23012025_02_08_02_235137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d9c677b676823f1de64bf68b53d0538.jpg","text":"TemporaryFile(/tmp/multipartBody3755981584764566671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595419376,"filename":"image_23012025_02_07_02_720309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e8c17c60cf07b58a983c47231418a01.jpg","text":"TemporaryFile(/tmp/multipartBody2944632323540031371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595419376,"filename":"image_23012025_02_09_02_734620_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b061b6baeef3b2314835c1d6581022ee.jpg","text":"TemporaryFile(/tmp/multipartBody6911431781915247667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595419376,"filename":"image_23012025_02_08_02_235137_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d9113c1447f37bfa637947caa3c668b.jpg","text":"TemporaryFile(/tmp/multipartBody8030763252692483303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595419376,"filename":"image_23012025_02_08_02_235137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1e87392a039dfa626f127eff1dcc472.jpg","text":"TemporaryFile(/tmp/multipartBody58325390702532101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595419376,"filename":"image_23012025_02_08_02_235137_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330717083","file1":"1330717078","file0":"1330717073","file4":"1330717113","file5":"1330717127","file3":"1330717099"},"map_files_photo_id_array":[{"photo_id":"1330717127","filename":"file5"},{"photo_id":"1330717083","filename":"file2"},{"photo_id":"1330717113","filename":"file4"},{"photo_id":"1330717078","filename":"file1"},{"photo_id":"1330717073","filename":"file0"},{"photo_id":"1330717099","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330717113":["hashtag1","hashtag2"]},{"1330717073":["hashtag1","hashtag2"]},{"1330717127":["hashtag1","hashtag2"]},{"1330717099":["hashtag1","hashtag2"]},{"1330717078":["hashtag1","hashtag2"]},{"1330717083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330717113, 1330717073, 1330717127, 1330717099, 1330717078, 1330717083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.255088090896606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:24:02.313388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_02_734620_0001.jpg', '/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_02_734620_0002.jpg', '/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_02_734620_0003.jpg', '/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_02_272290_0000.jpg', '/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_02_272290_0001.jpg', '/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_02_272290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_02_734620_0001.jpg
/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_02_734620_0002.jpg
/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_02_734620_0003.jpg
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_02_272290_0000.jpg
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_02_272290_0001.jpg
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_02_272290_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.38771390914917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:24:21.843104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_02_734620_0001.jpg', '/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_02_734620_0002.jpg', '/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_02_734620_0003.jpg', '/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_02_272290_0000.jpg', '/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_02_272290_0001.jpg', '/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_02_272290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_02_734620_0001.jpg
/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_02_734620_0002.jpg
/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_02_734620_0003.jpg
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_02_272290_0000.jpg
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_02_272290_0001.jpg
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_02_272290_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330717212","1330717208","1330717354","1330717357","1330717204","1330717215"],"photo_ids_order":["1330717204","1330717208","1330717212","1330717215","1330717354","1330717357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f4aba7f205940add34ea134def828ac.jpg","text":"TemporaryFile(/tmp/multipartBody8172163806262323665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595538589,"filename":"image_23012025_02_09_02_734620_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/571fad82fd2afec01c007a086708a80a.jpg","text":"TemporaryFile(/tmp/multipartBody6930855416585549946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595538589,"filename":"image_23012025_02_09_02_734620_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9650fb6408c4a724bb0570c0ce919446.jpg","text":"TemporaryFile(/tmp/multipartBody2647602540192785203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595538589,"filename":"image_23012025_02_10_02_272290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/311797302c0d51d7d19b5cf6dc714fa0.jpg","text":"TemporaryFile(/tmp/multipartBody2696703081024588838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595538589,"filename":"image_23012025_02_10_02_272290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8838ec2ba82efd11ebc5c1658d0b41f.jpg","text":"TemporaryFile(/tmp/multipartBody2027955024760901144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595538589,"filename":"image_23012025_02_09_02_734620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61c05bcc84127f6e4b76a1bb0f1bf667.jpg","text":"TemporaryFile(/tmp/multipartBody8964136365865758022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595538589,"filename":"image_23012025_02_10_02_272290_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330717212","file1":"1330717208","file0":"1330717204","file4":"1330717354","file5":"1330717357","file3":"1330717215"},"map_files_photo_id_array":[{"photo_id":"1330717357","filename":"file5"},{"photo_id":"1330717212","filename":"file2"},{"photo_id":"1330717354","filename":"file4"},{"photo_id":"1330717208","filename":"file1"},{"photo_id":"1330717204","filename":"file0"},{"photo_id":"1330717215","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330717212":["hashtag1","hashtag2"]},{"1330717208":["hashtag1","hashtag2"]},{"1330717354":["hashtag1","hashtag2"]},{"1330717357":["hashtag1","hashtag2"]},{"1330717204":["hashtag1","hashtag2"]},{"1330717215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330717212, 1330717208, 1330717354, 1330717357, 1330717204, 1330717215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.77303695678711 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:25:22.370623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_02_272290_0003.jpg', '/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_03_007320_0000.jpg', '/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_03_007320_0001.jpg', '/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_03_007320_0002.jpg', '/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_03_007320_0003.jpg', '/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_02_907015_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_02_272290_0003.jpg
/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_03_007320_0000.jpg
/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_03_007320_0001.jpg
/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_03_007320_0002.jpg
/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_03_007320_0003.jpg
/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_02_907015_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":["1330717472","1330717481","1330717475","1330717478","1330717483","1330717467"],"photo_ids_order":["1330717467","1330717472","1330717475","1330717478","1330717481","1330717483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf2a00835f47934704ca05ee77020e13.jpg","text":"TemporaryFile(/tmp/multipartBody3563430805802059679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595598901,"filename":"image_23012025_02_11_03_007320_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d92fff621e5bea5aaa5093f5c7b43ec.jpg","text":"TemporaryFile(/tmp/multipartBody8685693699225201871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595598901,"filename":"image_23012025_02_11_03_007320_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad5b4b699a4bd1b14140824a40b4fd85.jpg","text":"TemporaryFile(/tmp/multipartBody7535664599171236883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595598901,"filename":"image_23012025_02_11_03_007320_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/085a6264ee7b5032db7e35e09852d078.jpg","text":"TemporaryFile(/tmp/multipartBody7478782350745192141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595598901,"filename":"image_23012025_02_11_03_007320_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a94c14d1e6698be9f0bb19921e69e482.jpg","text":"TemporaryFile(/tmp/multipartBody1808937484685407588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595598901,"filename":"image_23012025_02_12_02_907015_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ffecfb4f2893974660f8bf04715d374.jpg","text":"TemporaryFile(/tmp/multipartBody7052972491892317227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595598901,"filename":"image_23012025_02_10_02_272290_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330717475","file1":"1330717472","file0":"1330717467","file4":"1330717481","file5":"1330717483","file3":"1330717478"},"map_files_photo_id_array":[{"photo_id":"1330717483","filename":"file5"},{"photo_id":"1330717475","filename":"file2"},{"photo_id":"1330717481","filename":"file4"},{"photo_id":"1330717472","filename":"file1"},{"photo_id":"1330717467","filename":"file0"},{"photo_id":"1330717478","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330717472":["hashtag1","hashtag2"]},{"1330717481":["hashtag1","hashtag2"]},{"1330717475":["hashtag1","hashtag2"]},{"1330717478":["hashtag1","hashtag2"]},{"1330717483":["hashtag1","hashtag2"]},{"1330717467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330717472, 1330717481, 1330717475, 1330717478, 1330717483, 1330717467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.35370135307312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:27:03.039022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_02_907015_0001.jpg', '/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_02_907015_0002.jpg', '/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_02_907015_0003.jpg', '/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_02_424289_0000.jpg', '/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_02_424289_0001.jpg', '/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_02_424289_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_02_907015_0001.jpg
/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_02_907015_0002.jpg
/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_02_907015_0003.jpg
/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_02_424289_0000.jpg
/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_02_424289_0001.jpg
/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_02_424289_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.175761699676514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:27:22.382083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_02_907015_0001.jpg', '/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_02_907015_0002.jpg', '/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_02_907015_0003.jpg', '/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_02_424289_0000.jpg', '/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_02_424289_0001.jpg', '/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_02_424289_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_02_907015_0001.jpg
/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_02_907015_0002.jpg
/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_02_907015_0003.jpg
/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_02_424289_0000.jpg
/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_02_424289_0001.jpg
/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_02_424289_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330719002","1330718723","1330719028","1330718719","1330718713","1330718727"],"photo_ids_order":["1330718713","1330718719","1330718723","1330718727","1330719002","1330719028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97a4969a790a83e329b4bb275d01f67b.jpg","text":"TemporaryFile(/tmp/multipartBody5018423021142448426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595718857,"filename":"image_23012025_02_13_02_424289_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e30bff66b9d9199d3131296fac862407.jpg","text":"TemporaryFile(/tmp/multipartBody6131240027534978761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595718857,"filename":"image_23012025_02_12_02_907015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/953d78e364619a0b404acf6e4bc82789.jpg","text":"TemporaryFile(/tmp/multipartBody4819894297415928165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595718857,"filename":"image_23012025_02_13_02_424289_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a2b125c809ebcfa178a9f227039133f.jpg","text":"TemporaryFile(/tmp/multipartBody6288780441650709511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595718857,"filename":"image_23012025_02_12_02_907015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad42fd339a929f523b2519d5dbb387cd.jpg","text":"TemporaryFile(/tmp/multipartBody1016054137032938896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595718857,"filename":"image_23012025_02_12_02_907015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf066f42ff332d7e161fdba92d838eb7.jpg","text":"TemporaryFile(/tmp/multipartBody2510207061268541398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595718857,"filename":"image_23012025_02_13_02_424289_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330718723","file1":"1330718719","file0":"1330718713","file4":"1330719002","file5":"1330719028","file3":"1330718727"},"map_files_photo_id_array":[{"photo_id":"1330719028","filename":"file5"},{"photo_id":"1330718723","filename":"file2"},{"photo_id":"1330719002","filename":"file4"},{"photo_id":"1330718719","filename":"file1"},{"photo_id":"1330718713","filename":"file0"},{"photo_id":"1330718727","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330719002":["hashtag1","hashtag2"]},{"1330718723":["hashtag1","hashtag2"]},{"1330719028":["hashtag1","hashtag2"]},{"1330718719":["hashtag1","hashtag2"]},{"1330718713":["hashtag1","hashtag2"]},{"1330718727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330719002, 1330718723, 1330719028, 1330718719, 1330718713, 1330718727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.74620532989502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:28:21.861152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_02_424289_0003.jpg', '/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_02_955360_0000.jpg', '/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_02_955360_0001.jpg', '/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_02_955360_0002.jpg', '/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_02_955360_0003.jpg', '/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_02_716111_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_02_424289_0003.jpg
/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_02_955360_0000.jpg
/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_02_955360_0001.jpg
/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_02_955360_0002.jpg
/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_02_955360_0003.jpg
/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_02_716111_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":["1330719565","1330719453","1330719537","1330719368","1330719533","1330719236"],"photo_ids_order":["1330719236","1330719368","1330719453","1330719533","1330719537","1330719565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22a7fcf22a9cdd3b2fe3afd92771e509.jpg","text":"TemporaryFile(/tmp/multipartBody7175643420659646615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595778336,"filename":"image_23012025_02_15_02_716111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fce5124615d22e6bfeec0e20e2490c49.jpg","text":"TemporaryFile(/tmp/multipartBody4892978316280969916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595778336,"filename":"image_23012025_02_14_02_955360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07ae0ffc406d700c16f90ec2d5f46bcc.jpg","text":"TemporaryFile(/tmp/multipartBody6629334667782560341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595778336,"filename":"image_23012025_02_14_02_955360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3543ad28790aaf757c92483910799840.jpg","text":"TemporaryFile(/tmp/multipartBody4275038368403497897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595778336,"filename":"image_23012025_02_14_02_955360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ec8117ea86093641c157459bc62e890.jpg","text":"TemporaryFile(/tmp/multipartBody3674460931139413552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595778336,"filename":"image_23012025_02_14_02_955360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0202d10492491c55ec34e049cf28bd7f.jpg","text":"TemporaryFile(/tmp/multipartBody2517412252703373162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595778336,"filename":"image_23012025_02_13_02_424289_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330719453","file1":"1330719368","file0":"1330719236","file4":"1330719537","file5":"1330719565","file3":"1330719533"},"map_files_photo_id_array":[{"photo_id":"1330719565","filename":"file5"},{"photo_id":"1330719453","filename":"file2"},{"photo_id":"1330719537","filename":"file4"},{"photo_id":"1330719368","filename":"file1"},{"photo_id":"1330719236","filename":"file0"},{"photo_id":"1330719533","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330719565":["hashtag1","hashtag2"]},{"1330719453":["hashtag1","hashtag2"]},{"1330719537":["hashtag1","hashtag2"]},{"1330719368":["hashtag1","hashtag2"]},{"1330719533":["hashtag1","hashtag2"]},{"1330719236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330719565, 1330719453, 1330719537, 1330719368, 1330719533, 1330719236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.08007669448853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:30:02.331140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_02_716111_0001.jpg', '/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_02_716111_0002.jpg', '/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_02_716111_0003.jpg', '/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_02_246034_0000.jpg', '/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_02_246034_0001.jpg', '/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_02_246034_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_02_716111_0001.jpg
/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_02_716111_0002.jpg
/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_02_716111_0003.jpg
/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_02_246034_0000.jpg
/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_02_246034_0001.jpg
/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_02_246034_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330719614","1330719598","1330719602","1330719625","1330719604","1330719600"],"photo_ids_order":["1330719598","1330719600","1330719602","1330719604","1330719614","1330719625"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43b8a5bd5f6f37a3cb4337076e0d016f.jpg","text":"TemporaryFile(/tmp/multipartBody4317479030138322027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595879237,"filename":"image_23012025_02_16_02_246034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98e27113f8711e2cfced08991c11ff52.jpg","text":"TemporaryFile(/tmp/multipartBody946786911885663143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595879237,"filename":"image_23012025_02_15_02_716111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b754728524feda27bc07b546bc5676a2.jpg","text":"TemporaryFile(/tmp/multipartBody7521964941013380306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595879237,"filename":"image_23012025_02_15_02_716111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ba82402421bcba1fcc6bea36cc5e96e.jpg","text":"TemporaryFile(/tmp/multipartBody8667862467673551519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595879237,"filename":"image_23012025_02_16_02_246034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03dfdd287dd0b1a55d410e1dcf68f7f4.jpg","text":"TemporaryFile(/tmp/multipartBody5469387138007937535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595879237,"filename":"image_23012025_02_16_02_246034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/409973133648a0a3703f9e62f749a357.jpg","text":"TemporaryFile(/tmp/multipartBody7456315080504115804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595879237,"filename":"image_23012025_02_15_02_716111_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330719602","file1":"1330719600","file0":"1330719598","file4":"1330719614","file5":"1330719625","file3":"1330719604"},"map_files_photo_id_array":[{"photo_id":"1330719625","filename":"file5"},{"photo_id":"1330719602","filename":"file2"},{"photo_id":"1330719614","filename":"file4"},{"photo_id":"1330719600","filename":"file1"},{"photo_id":"1330719598","filename":"file0"},{"photo_id":"1330719604","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330719614":["hashtag1","hashtag2"]},{"1330719598":["hashtag1","hashtag2"]},{"1330719602":["hashtag1","hashtag2"]},{"1330719625":["hashtag1","hashtag2"]},{"1330719604":["hashtag1","hashtag2"]},{"1330719600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330719614, 1330719598, 1330719602, 1330719625, 1330719604, 1330719600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.01044583320618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:31:03.132389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_02_246034_0003.jpg', '/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_02_753387_0000.jpg', '/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_02_753387_0001.jpg', '/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_02_753387_0002.jpg', '/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_02_753387_0003.jpg', '/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_02_218627_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_02_246034_0003.jpg
/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_02_753387_0000.jpg
/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_02_753387_0001.jpg
/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_02_753387_0002.jpg
/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_02_753387_0003.jpg
/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_02_218627_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330719694","1330719724","1330719762","1330719708","1330719702","1330719674"],"photo_ids_order":["1330719674","1330719694","1330719702","1330719708","1330719724","1330719762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b87c1952e6edd9a55be3a863324a1eb.jpg","text":"TemporaryFile(/tmp/multipartBody526078034285563157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595939992,"filename":"image_23012025_02_17_02_753387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/080aed996799d3875dcabeee40fbff60.jpg","text":"TemporaryFile(/tmp/multipartBody8742330452828515619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595939992,"filename":"image_23012025_02_17_02_753387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50ca4680249b3c0242674fe8f9a110a2.jpg","text":"TemporaryFile(/tmp/multipartBody4568894685510984905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595939992,"filename":"image_23012025_02_18_02_218627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08d5e5412ec2c3f79992ec3d7d4c0c6a.jpg","text":"TemporaryFile(/tmp/multipartBody5292753298108450118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595939992,"filename":"image_23012025_02_17_02_753387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6300d1310bf154533ec8bcdfe706026b.jpg","text":"TemporaryFile(/tmp/multipartBody3854370334206590055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595939992,"filename":"image_23012025_02_17_02_753387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c7fe51c3f7f0de9283f562db55f1cb5.jpg","text":"TemporaryFile(/tmp/multipartBody669976808401634067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595939992,"filename":"image_23012025_02_16_02_246034_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330719702","file1":"1330719694","file0":"1330719674","file4":"1330719724","file5":"1330719762","file3":"1330719708"},"map_files_photo_id_array":[{"photo_id":"1330719762","filename":"file5"},{"photo_id":"1330719702","filename":"file2"},{"photo_id":"1330719724","filename":"file4"},{"photo_id":"1330719694","filename":"file1"},{"photo_id":"1330719674","filename":"file0"},{"photo_id":"1330719708","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330719694":["hashtag1","hashtag2"]},{"1330719724":["hashtag1","hashtag2"]},{"1330719762":["hashtag1","hashtag2"]},{"1330719708":["hashtag1","hashtag2"]},{"1330719702":["hashtag1","hashtag2"]},{"1330719674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330719694, 1330719724, 1330719762, 1330719708, 1330719702, 1330719674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.058547496795654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:32:02.442512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_02_218627_0001.jpg', '/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_02_218627_0002.jpg', '/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_02_218627_0003.jpg', '/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_02_764998_0000.jpg', '/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_02_764998_0001.jpg', '/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_02_764998_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_02_218627_0001.jpg
/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_02_218627_0002.jpg
/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_02_218627_0003.jpg
/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_02_764998_0000.jpg
/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_02_764998_0001.jpg
/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_02_764998_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330719862","1330719867","1330719858","1330719828","1330719851","1330719854"],"photo_ids_order":["1330719828","1330719851","1330719854","1330719858","1330719862","1330719867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7ea5ff2d75988bed3a926b7c5d4c06e.jpg","text":"TemporaryFile(/tmp/multipartBody8838379524168308207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595998779,"filename":"image_23012025_02_19_02_764998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b65573ee9fda37d942227764607ab9f8.jpg","text":"TemporaryFile(/tmp/multipartBody8924844771393832014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595998779,"filename":"image_23012025_02_19_02_764998_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a05059b37e46312d88894b9a2499a0b6.jpg","text":"TemporaryFile(/tmp/multipartBody1028192590726968803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595998779,"filename":"image_23012025_02_19_02_764998_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08db1c76d6edac51fa000781fcd54c50.jpg","text":"TemporaryFile(/tmp/multipartBody4516034140585828853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595998779,"filename":"image_23012025_02_18_02_218627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/861c7b01573dfd128e4733a767a2a9ee.jpg","text":"TemporaryFile(/tmp/multipartBody6290357174905149772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595998779,"filename":"image_23012025_02_18_02_218627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08885d444af4fe73b9f12f946b51df97.jpg","text":"TemporaryFile(/tmp/multipartBody2837115951964593557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595998779,"filename":"image_23012025_02_18_02_218627_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330719854","file1":"1330719851","file0":"1330719828","file4":"1330719862","file5":"1330719867","file3":"1330719858"},"map_files_photo_id_array":[{"photo_id":"1330719867","filename":"file5"},{"photo_id":"1330719854","filename":"file2"},{"photo_id":"1330719862","filename":"file4"},{"photo_id":"1330719851","filename":"file1"},{"photo_id":"1330719828","filename":"file0"},{"photo_id":"1330719858","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330719862":["hashtag1","hashtag2"]},{"1330719867":["hashtag1","hashtag2"]},{"1330719858":["hashtag1","hashtag2"]},{"1330719828":["hashtag1","hashtag2"]},{"1330719851":["hashtag1","hashtag2"]},{"1330719854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330719862, 1330719867, 1330719858, 1330719828, 1330719851, 1330719854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.23228979110718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:33:03.269878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_02_764998_0003.jpg', '/home/pi/Desktop/images/23012025/02/20/image_23012025_02_20_02_325106_0000.jpg', '/home/pi/Desktop/images/23012025/02/20/image_23012025_02_20_02_325106_0001.jpg', '/home/pi/Desktop/images/23012025/02/20/image_23012025_02_20_02_325106_0002.jpg', '/home/pi/Desktop/images/23012025/02/20/image_23012025_02_20_02_325106_0003.jpg', '/home/pi/Desktop/images/23012025/02/21/image_23012025_02_21_02_963311_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_02_764998_0003.jpg
/home/pi/Desktop/images/23012025/02/20/image_23012025_02_20_02_325106_0000.jpg
/home/pi/Desktop/images/23012025/02/20/image_23012025_02_20_02_325106_0001.jpg
/home/pi/Desktop/images/23012025/02/20/image_23012025_02_20_02_325106_0002.jpg
/home/pi/Desktop/images/23012025/02/20/image_23012025_02_20_02_325106_0003.jpg
/home/pi/Desktop/images/23012025/02/21/image_23012025_02_21_02_963311_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330719919","1330719913","1330719922","1330719916","1330719910","1330719918"],"photo_ids_order":["1330719910","1330719913","1330719916","1330719918","1330719919","1330719922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46fec1089890133a14247214ac1f538a.jpg","text":"TemporaryFile(/tmp/multipartBody6220562207261330517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596060113,"filename":"image_23012025_02_20_02_325106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3a260396eaf468ea4e3563362854094.jpg","text":"TemporaryFile(/tmp/multipartBody466591501450893915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596060113,"filename":"image_23012025_02_20_02_325106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37c45030420d134437f85a7e6aaff415.jpg","text":"TemporaryFile(/tmp/multipartBody4275033347354245576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596060113,"filename":"image_23012025_02_21_02_963311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca0c956ca4cdaa4b4effa124b8c587ce.jpg","text":"TemporaryFile(/tmp/multipartBody6990116389578078463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596060113,"filename":"image_23012025_02_20_02_325106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa88f79ffc56d6995da281070115dc20.jpg","text":"TemporaryFile(/tmp/multipartBody6778209029530009075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596060113,"filename":"image_23012025_02_19_02_764998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63d40d06d5e33199c2e6bd9606a63e92.jpg","text":"TemporaryFile(/tmp/multipartBody3017833210906799470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596060113,"filename":"image_23012025_02_20_02_325106_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330719916","file1":"1330719913","file0":"1330719910","file4":"1330719919","file5":"1330719922","file3":"1330719918"},"map_files_photo_id_array":[{"photo_id":"1330719922","filename":"file5"},{"photo_id":"1330719916","filename":"file2"},{"photo_id":"1330719919","filename":"file4"},{"photo_id":"1330719913","filename":"file1"},{"photo_id":"1330719910","filename":"file0"},{"photo_id":"1330719918","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330719919":["hashtag1","hashtag2"]},{"1330719913":["hashtag1","hashtag2"]},{"1330719922":["hashtag1","hashtag2"]},{"1330719916":["hashtag1","hashtag2"]},{"1330719910":["hashtag1","hashtag2"]},{"1330719918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330719919, 1330719913, 1330719922, 1330719916, 1330719910, 1330719918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.586427211761475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:34:02.823066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/21/image_23012025_02_21_02_963311_0001.jpg', '/home/pi/Desktop/images/23012025/02/21/image_23012025_02_21_02_963311_0002.jpg', '/home/pi/Desktop/images/23012025/02/21/image_23012025_02_21_02_963311_0003.jpg', '/home/pi/Desktop/images/23012025/02/22/image_23012025_02_22_02_549175_0000.jpg', '/home/pi/Desktop/images/23012025/02/22/image_23012025_02_22_02_549175_0001.jpg', '/home/pi/Desktop/images/23012025/02/22/image_23012025_02_22_02_549175_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/21/image_23012025_02_21_02_963311_0001.jpg
/home/pi/Desktop/images/23012025/02/21/image_23012025_02_21_02_963311_0002.jpg
/home/pi/Desktop/images/23012025/02/21/image_23012025_02_21_02_963311_0003.jpg
/home/pi/Desktop/images/23012025/02/22/image_23012025_02_22_02_549175_0000.jpg
/home/pi/Desktop/images/23012025/02/22/image_23012025_02_22_02_549175_0001.jpg
/home/pi/Desktop/images/23012025/02/22/image_23012025_02_22_02_549175_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330719955","1330719940","1330719959","1330719950","1330719947","1330719944"],"photo_ids_order":["1330719940","1330719944","1330719947","1330719950","1330719955","1330719959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/abeb4decd69ac66184b10494cdefef5d.jpg","text":"TemporaryFile(/tmp/multipartBody2545257695931497845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596119638,"filename":"image_23012025_02_22_02_549175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f98994f6eea6c7b2a3283c1ac7716d2.jpg","text":"TemporaryFile(/tmp/multipartBody6489065113363108833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596119638,"filename":"image_23012025_02_21_02_963311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7d82289a9a8044cb2b6651daf55e0d0.jpg","text":"TemporaryFile(/tmp/multipartBody2601813069325699378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596119638,"filename":"image_23012025_02_22_02_549175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f04657736154a88433f2e745057d0fb5.jpg","text":"TemporaryFile(/tmp/multipartBody6365161160892185951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596119638,"filename":"image_23012025_02_22_02_549175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05616e3a7cee0aa9ad6f67cef7c871f3.jpg","text":"TemporaryFile(/tmp/multipartBody2552860409532798571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596119638,"filename":"image_23012025_02_21_02_963311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8105d5a926a9c606354e02603201426d.jpg","text":"TemporaryFile(/tmp/multipartBody5839554363766576587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596119638,"filename":"image_23012025_02_21_02_963311_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330719947","file1":"1330719944","file0":"1330719940","file4":"1330719955","file5":"1330719959","file3":"1330719950"},"map_files_photo_id_array":[{"photo_id":"1330719959","filename":"file5"},{"photo_id":"1330719947","filename":"file2"},{"photo_id":"1330719955","filename":"file4"},{"photo_id":"1330719944","filename":"file1"},{"photo_id":"1330719940","filename":"file0"},{"photo_id":"1330719950","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330719955":["hashtag1","hashtag2"]},{"1330719940":["hashtag1","hashtag2"]},{"1330719959":["hashtag1","hashtag2"]},{"1330719950":["hashtag1","hashtag2"]},{"1330719947":["hashtag1","hashtag2"]},{"1330719944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330719955, 1330719940, 1330719959, 1330719950, 1330719947, 1330719944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.869852781295776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:35:02.454587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/22/image_23012025_02_22_02_549175_0003.jpg', '/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_03_065510_0000.jpg', '/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_03_065510_0001.jpg', '/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_03_065510_0002.jpg', '/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_03_065510_0003.jpg', '/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_02_676370_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/22/image_23012025_02_22_02_549175_0003.jpg
/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_03_065510_0000.jpg
/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_03_065510_0001.jpg
/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_03_065510_0002.jpg
/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_03_065510_0003.jpg
/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_02_676370_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330719994","1330719979","1330719987","1330719989","1330719983","1330719991"],"photo_ids_order":["1330719979","1330719983","1330719987","1330719989","1330719991","1330719994"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f956b874a8e79e91152683bdc51f4c4.jpg","text":"TemporaryFile(/tmp/multipartBody1726807233617529402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596179129,"filename":"image_23012025_02_24_02_676370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a4b0fc67da6e5aa5d5944bfd6aeeed4.jpg","text":"TemporaryFile(/tmp/multipartBody2321481446232620006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596179129,"filename":"image_23012025_02_22_02_549175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60a67e4aba4934672d20db06ded2866a.jpg","text":"TemporaryFile(/tmp/multipartBody7571312203687761202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596179129,"filename":"image_23012025_02_23_03_065510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a983bdef6a2294b6f8fd8f69bdf8208f.jpg","text":"TemporaryFile(/tmp/multipartBody3498618042029794355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596179129,"filename":"image_23012025_02_23_03_065510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/700e27ed1b3165bb93207ff1521598ff.jpg","text":"TemporaryFile(/tmp/multipartBody7946442686592117347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596179129,"filename":"image_23012025_02_23_03_065510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63d3f2199515c2d06cd3902bec92e9e7.jpg","text":"TemporaryFile(/tmp/multipartBody7948578244670400834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596179129,"filename":"image_23012025_02_23_03_065510_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330719987","file1":"1330719983","file0":"1330719979","file4":"1330719991","file5":"1330719994","file3":"1330719989"},"map_files_photo_id_array":[{"photo_id":"1330719994","filename":"file5"},{"photo_id":"1330719987","filename":"file2"},{"photo_id":"1330719991","filename":"file4"},{"photo_id":"1330719983","filename":"file1"},{"photo_id":"1330719979","filename":"file0"},{"photo_id":"1330719989","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330719994":["hashtag1","hashtag2"]},{"1330719979":["hashtag1","hashtag2"]},{"1330719987":["hashtag1","hashtag2"]},{"1330719989":["hashtag1","hashtag2"]},{"1330719983":["hashtag1","hashtag2"]},{"1330719991":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330719994, 1330719979, 1330719987, 1330719989, 1330719983, 1330719991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.5294029712677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:36:02.797170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_02_676370_0001.jpg', '/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_02_676370_0002.jpg', '/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_02_676370_0003.jpg', '/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_02_165616_0000.jpg', '/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_02_165616_0001.jpg', '/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_02_165616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_02_676370_0001.jpg
/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_02_676370_0002.jpg
/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_02_676370_0003.jpg
/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_02_165616_0000.jpg
/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_02_165616_0001.jpg
/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_02_165616_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.19903588294983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:36:22.405564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_02_676370_0001.jpg', '/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_02_676370_0002.jpg', '/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_02_676370_0003.jpg', '/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_02_165616_0000.jpg', '/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_02_165616_0001.jpg', '/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_02_165616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_02_676370_0001.jpg
/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_02_676370_0002.jpg
/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_02_676370_0003.jpg
/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_02_165616_0000.jpg
/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_02_165616_0001.jpg
/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_02_165616_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330720073","1330720058","1330720063","1330720066","1330720128","1330720070"],"photo_ids_order":["1330720058","1330720063","1330720066","1330720070","1330720073","1330720128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecf32dd6185934f682cbbefc5074c5bd.jpg","text":"TemporaryFile(/tmp/multipartBody9219610797726532387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596258927,"filename":"image_23012025_02_25_02_165616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d561231dbf2bf3868cdd199e70712af.jpg","text":"TemporaryFile(/tmp/multipartBody7712354915024805636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596258927,"filename":"image_23012025_02_24_02_676370_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67a1d639336be439e3006b9bbcb7b2b7.jpg","text":"TemporaryFile(/tmp/multipartBody8232609687645546009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596258927,"filename":"image_23012025_02_24_02_676370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fd669ac1919acaad4008dbc93e2985d.jpg","text":"TemporaryFile(/tmp/multipartBody3934609627957567121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596258927,"filename":"image_23012025_02_24_02_676370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfea481f474465418862e245653b47b2.jpg","text":"TemporaryFile(/tmp/multipartBody7347394096798207697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596258927,"filename":"image_23012025_02_25_02_165616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6a4b7ec484d6f2ca0cc897b3e4f7580.jpg","text":"TemporaryFile(/tmp/multipartBody9088387351656415768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596258927,"filename":"image_23012025_02_25_02_165616_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330720066","file1":"1330720063","file0":"1330720058","file4":"1330720073","file5":"1330720128","file3":"1330720070"},"map_files_photo_id_array":[{"photo_id":"1330720128","filename":"file5"},{"photo_id":"1330720066","filename":"file2"},{"photo_id":"1330720073","filename":"file4"},{"photo_id":"1330720063","filename":"file1"},{"photo_id":"1330720058","filename":"file0"},{"photo_id":"1330720070","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330720073":["hashtag1","hashtag2"]},{"1330720058":["hashtag1","hashtag2"]},{"1330720063":["hashtag1","hashtag2"]},{"1330720066":["hashtag1","hashtag2"]},{"1330720128":["hashtag1","hashtag2"]},{"1330720070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330720073, 1330720058, 1330720063, 1330720066, 1330720128, 1330720070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.308791399002075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:37:21.904160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_02_165616_0003.jpg', '/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_02_664127_0000.jpg', '/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_02_664127_0001.jpg', '/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_02_664127_0002.jpg', '/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_02_664127_0003.jpg', '/home/pi/Desktop/images/23012025/02/27/image_23012025_02_27_02_167006_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_02_165616_0003.jpg
/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_02_664127_0000.jpg
/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_02_664127_0001.jpg
/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_02_664127_0002.jpg
/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_02_664127_0003.jpg
/home/pi/Desktop/images/23012025/02/27/image_23012025_02_27_02_167006_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330720187","1330720174","1330720170","1330720167","1330720164","1330720184"],"photo_ids_order":["1330720164","1330720167","1330720170","1330720174","1330720184","1330720187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65036332a5066f8c5453923274361497.jpg","text":"TemporaryFile(/tmp/multipartBody1846298031212089328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596318203,"filename":"image_23012025_02_27_02_167006_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/454fd877e93cf5b57c21fff20c2257a1.jpg","text":"TemporaryFile(/tmp/multipartBody4849740593109045234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596318203,"filename":"image_23012025_02_26_02_664127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d90cb7d2cb32383cdc8bc76cb5f56c8.jpg","text":"TemporaryFile(/tmp/multipartBody1772525737762932996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596318203,"filename":"image_23012025_02_26_02_664127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cc73635024e76b7b121405ca170c1c0.jpg","text":"TemporaryFile(/tmp/multipartBody6588191939345944552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596318203,"filename":"image_23012025_02_26_02_664127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/213ddfff759c48c91150dcabb44cb2da.jpg","text":"TemporaryFile(/tmp/multipartBody2777270706484527919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596318203,"filename":"image_23012025_02_25_02_165616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8884568392f1ea46383ed106ac235913.jpg","text":"TemporaryFile(/tmp/multipartBody3590551189596616576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596318203,"filename":"image_23012025_02_26_02_664127_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330720170","file1":"1330720167","file0":"1330720164","file4":"1330720184","file5":"1330720187","file3":"1330720174"},"map_files_photo_id_array":[{"photo_id":"1330720187","filename":"file5"},{"photo_id":"1330720170","filename":"file2"},{"photo_id":"1330720184","filename":"file4"},{"photo_id":"1330720167","filename":"file1"},{"photo_id":"1330720164","filename":"file0"},{"photo_id":"1330720174","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330720187":["hashtag1","hashtag2"]},{"1330720174":["hashtag1","hashtag2"]},{"1330720170":["hashtag1","hashtag2"]},{"1330720167":["hashtag1","hashtag2"]},{"1330720164":["hashtag1","hashtag2"]},{"1330720184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330720187, 1330720174, 1330720170, 1330720167, 1330720164, 1330720184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.22537708282471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:38:22.378739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/27/image_23012025_02_27_02_167006_0001.jpg', '/home/pi/Desktop/images/23012025/02/27/image_23012025_02_27_02_167006_0002.jpg', '/home/pi/Desktop/images/23012025/02/27/image_23012025_02_27_02_167006_0003.jpg', '/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_02_694511_0000.jpg', '/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_02_694511_0001.jpg', '/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_02_694511_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/27/image_23012025_02_27_02_167006_0001.jpg
/home/pi/Desktop/images/23012025/02/27/image_23012025_02_27_02_167006_0002.jpg
/home/pi/Desktop/images/23012025/02/27/image_23012025_02_27_02_167006_0003.jpg
/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_02_694511_0000.jpg
/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_02_694511_0001.jpg
/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_02_694511_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330720244","1330720223","1330720217","1330720246","1330720233","1330720242"],"photo_ids_order":["1330720217","1330720223","1330720233","1330720242","1330720244","1330720246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e890514825041db69d6dce4ddafdee16.jpg","text":"TemporaryFile(/tmp/multipartBody5365112124683186125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596379118,"filename":"image_23012025_02_28_02_694511_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbb58e661d9b5f55d7337fa137382286.jpg","text":"TemporaryFile(/tmp/multipartBody2814956767128433166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596379118,"filename":"image_23012025_02_27_02_167006_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95b2b7dc6ad536fd5ef5b762f0152fcc.jpg","text":"TemporaryFile(/tmp/multipartBody2383554282353774435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596379118,"filename":"image_23012025_02_27_02_167006_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ae5f5c5f09828154f020cbe92d99b5c.jpg","text":"TemporaryFile(/tmp/multipartBody4531232237759278350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596379118,"filename":"image_23012025_02_28_02_694511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32babed2775879f1e831dd6436214f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6258280236304443143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596379118,"filename":"image_23012025_02_27_02_167006_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21038c0d57ac5f43874f55440b89c3ab.jpg","text":"TemporaryFile(/tmp/multipartBody6326842121057113003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596379118,"filename":"image_23012025_02_28_02_694511_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330720233","file1":"1330720223","file0":"1330720217","file4":"1330720244","file5":"1330720246","file3":"1330720242"},"map_files_photo_id_array":[{"photo_id":"1330720246","filename":"file5"},{"photo_id":"1330720233","filename":"file2"},{"photo_id":"1330720244","filename":"file4"},{"photo_id":"1330720223","filename":"file1"},{"photo_id":"1330720217","filename":"file0"},{"photo_id":"1330720242","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330720244":["hashtag1","hashtag2"]},{"1330720223":["hashtag1","hashtag2"]},{"1330720217":["hashtag1","hashtag2"]},{"1330720246":["hashtag1","hashtag2"]},{"1330720233":["hashtag1","hashtag2"]},{"1330720242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330720244, 1330720223, 1330720217, 1330720246, 1330720233, 1330720242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.316829204559326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:39:21.917059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_02_694511_0003.jpg', '/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_02_267694_0000.jpg', '/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_02_267694_0001.jpg', '/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_02_267694_0002.jpg', '/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_02_267694_0003.jpg', '/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_02_825328_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_02_694511_0003.jpg
/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_02_267694_0000.jpg
/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_02_267694_0001.jpg
/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_02_267694_0002.jpg
/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_02_267694_0003.jpg
/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_02_825328_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330720385","1330720433","1330720438","1330720414","1330720416","1330720391"],"photo_ids_order":["1330720385","1330720391","1330720414","1330720416","1330720433","1330720438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7dfc173e7a5f8c1c5307ad2fa65f588.jpg","text":"TemporaryFile(/tmp/multipartBody9139404247760054544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596438584,"filename":"image_23012025_02_28_02_694511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36654fd3872928b4044b4666f366ed34.jpg","text":"TemporaryFile(/tmp/multipartBody1734140002547930683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596438584,"filename":"image_23012025_02_29_02_267694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a994c318bd3817d7021cb8071059118e.jpg","text":"TemporaryFile(/tmp/multipartBody2573256588371931558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596438584,"filename":"image_23012025_02_30_02_825328_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee83bba9bf725e5ac9ebfd624e3738a9.jpg","text":"TemporaryFile(/tmp/multipartBody1096468116406078599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596438584,"filename":"image_23012025_02_29_02_267694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c318d72e5b03cac8db9ee5730981c157.jpg","text":"TemporaryFile(/tmp/multipartBody8297971905432243861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596438584,"filename":"image_23012025_02_29_02_267694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69b2cd79ef0d46ce47bd5a3ad50fa8a0.jpg","text":"TemporaryFile(/tmp/multipartBody6920009239802140098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596438584,"filename":"image_23012025_02_29_02_267694_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330720414","file1":"1330720391","file0":"1330720385","file4":"1330720433","file5":"1330720438","file3":"1330720416"},"map_files_photo_id_array":[{"photo_id":"1330720438","filename":"file5"},{"photo_id":"1330720414","filename":"file2"},{"photo_id":"1330720433","filename":"file4"},{"photo_id":"1330720391","filename":"file1"},{"photo_id":"1330720385","filename":"file0"},{"photo_id":"1330720416","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330720385":["hashtag1","hashtag2"]},{"1330720433":["hashtag1","hashtag2"]},{"1330720438":["hashtag1","hashtag2"]},{"1330720414":["hashtag1","hashtag2"]},{"1330720416":["hashtag1","hashtag2"]},{"1330720391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330720385, 1330720433, 1330720438, 1330720414, 1330720416, 1330720391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.6780219078064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:40:22.389164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_02_825328_0001.jpg', '/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_02_825328_0002.jpg', '/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_02_825328_0003.jpg', '/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_02_324336_0000.jpg', '/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_02_324336_0001.jpg', '/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_02_324336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_02_825328_0001.jpg
/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_02_825328_0002.jpg
/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_02_825328_0003.jpg
/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_02_324336_0000.jpg
/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_02_324336_0001.jpg
/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_02_324336_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.11168098449707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:41:02.548391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_02_825328_0001.jpg', '/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_02_825328_0002.jpg', '/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_02_825328_0003.jpg', '/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_02_324336_0000.jpg', '/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_02_324336_0001.jpg', '/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_02_324336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_02_825328_0001.jpg
/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_02_825328_0002.jpg
/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_02_825328_0003.jpg
/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_02_324336_0000.jpg
/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_02_324336_0001.jpg
/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_02_324336_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330720552","1330720561","1330720549","1330720557","1330720566","1330720545"],"photo_ids_order":["1330720545","1330720549","1330720552","1330720557","1330720561","1330720566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c15a56c10de901a67b276d146390c02d.jpg","text":"TemporaryFile(/tmp/multipartBody7766645711666117973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596539106,"filename":"image_23012025_02_30_02_825328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1dac9d2770d9230eb308622784ce06e5.jpg","text":"TemporaryFile(/tmp/multipartBody8773861197829910564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596539106,"filename":"image_23012025_02_31_02_324336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f72b3a1ac7c4196ba3ffac241f70c78.jpg","text":"TemporaryFile(/tmp/multipartBody3559152555109429822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596539106,"filename":"image_23012025_02_30_02_825328_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ccd65f79069e99ffd063a80bca814d6e.jpg","text":"TemporaryFile(/tmp/multipartBody6069842899672777334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596539106,"filename":"image_23012025_02_31_02_324336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/223f3416a512647a70363d587ae6b72d.jpg","text":"TemporaryFile(/tmp/multipartBody8121785214568732135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596539106,"filename":"image_23012025_02_31_02_324336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78180bc2167b9cc9692daa20adbd20c7.jpg","text":"TemporaryFile(/tmp/multipartBody2178736586212417397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596539106,"filename":"image_23012025_02_30_02_825328_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330720552","file1":"1330720549","file0":"1330720545","file4":"1330720561","file5":"1330720566","file3":"1330720557"},"map_files_photo_id_array":[{"photo_id":"1330720566","filename":"file5"},{"photo_id":"1330720552","filename":"file2"},{"photo_id":"1330720561","filename":"file4"},{"photo_id":"1330720549","filename":"file1"},{"photo_id":"1330720545","filename":"file0"},{"photo_id":"1330720557","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330720552":["hashtag1","hashtag2"]},{"1330720561":["hashtag1","hashtag2"]},{"1330720549":["hashtag1","hashtag2"]},{"1330720557":["hashtag1","hashtag2"]},{"1330720566":["hashtag1","hashtag2"]},{"1330720545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330720552, 1330720561, 1330720549, 1330720557, 1330720566, 1330720545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.05301475524902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:42:02.990570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_02_324336_0003.jpg', '/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_02_934158_0000.jpg', '/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_02_934158_0001.jpg', '/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_02_934158_0002.jpg', '/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_02_934158_0003.jpg', '/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_02_531596_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_02_324336_0003.jpg
/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_02_934158_0000.jpg
/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_02_934158_0001.jpg
/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_02_934158_0002.jpg
/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_02_934158_0003.jpg
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_02_531596_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330720655","1330720649","1330720646","1330720692","1330720680","1330720652"],"photo_ids_order":["1330720646","1330720649","1330720652","1330720655","1330720680","1330720692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46ff778f818894e4d43f73fc5d9d45f9.jpg","text":"TemporaryFile(/tmp/multipartBody5241717652944563040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596599578,"filename":"image_23012025_02_32_02_934158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85bbb5eb61aece34dd349f3742d2b674.jpg","text":"TemporaryFile(/tmp/multipartBody4926389795851607366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596599578,"filename":"image_23012025_02_32_02_934158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e9bade248a659f8c46576c8c80672f6.jpg","text":"TemporaryFile(/tmp/multipartBody2989465796660028281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596599578,"filename":"image_23012025_02_31_02_324336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/edf8148de760f2ae4b166649243a5474.jpg","text":"TemporaryFile(/tmp/multipartBody2998393933004628889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596599578,"filename":"image_23012025_02_33_02_531596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50f9fdf11159f224cdd7e555ea281f5a.jpg","text":"TemporaryFile(/tmp/multipartBody897163521196360304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596599578,"filename":"image_23012025_02_32_02_934158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfac027c6d6f6e8ef3b3b6614d427708.jpg","text":"TemporaryFile(/tmp/multipartBody696884291705006767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596599578,"filename":"image_23012025_02_32_02_934158_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330720652","file1":"1330720649","file0":"1330720646","file4":"1330720680","file5":"1330720692","file3":"1330720655"},"map_files_photo_id_array":[{"photo_id":"1330720692","filename":"file5"},{"photo_id":"1330720652","filename":"file2"},{"photo_id":"1330720680","filename":"file4"},{"photo_id":"1330720649","filename":"file1"},{"photo_id":"1330720646","filename":"file0"},{"photo_id":"1330720655","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330720655":["hashtag1","hashtag2"]},{"1330720649":["hashtag1","hashtag2"]},{"1330720646":["hashtag1","hashtag2"]},{"1330720692":["hashtag1","hashtag2"]},{"1330720680":["hashtag1","hashtag2"]},{"1330720652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330720655, 1330720649, 1330720646, 1330720692, 1330720680, 1330720652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.9341721534729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:43:02.570672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_02_531596_0001.jpg', '/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_02_531596_0002.jpg', '/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_02_531596_0003.jpg', '/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_03_023524_0000.jpg', '/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_03_023524_0001.jpg', '/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_03_023524_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_02_531596_0001.jpg
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_02_531596_0002.jpg
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_02_531596_0003.jpg
/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_03_023524_0000.jpg
/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_03_023524_0001.jpg
/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_03_023524_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330720759","1330720750","1330720747","1330720755","1330720764","1330720745"],"photo_ids_order":["1330720745","1330720747","1330720750","1330720755","1330720759","1330720764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebfd18ed9905c449f77a60ce4f10d707.jpg","text":"TemporaryFile(/tmp/multipartBody5703053682790799884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596659408,"filename":"image_23012025_02_34_03_023524_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38f741e3ae52a5686518fddf9b962133.jpg","text":"TemporaryFile(/tmp/multipartBody87005231172852603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596659408,"filename":"image_23012025_02_33_02_531596_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd1ba457e3f2e63de79a52cb7a000c6d.jpg","text":"TemporaryFile(/tmp/multipartBody8384497298246131867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596659408,"filename":"image_23012025_02_33_02_531596_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c5f17715480a9191d536673986fe670.jpg","text":"TemporaryFile(/tmp/multipartBody3021062486497316397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596659408,"filename":"image_23012025_02_34_03_023524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c840ca601849ce9be1cacc8ea6221cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6364429836050733809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596659408,"filename":"image_23012025_02_34_03_023524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55c44d48bca8ff26ecb2b70d0138a42f.jpg","text":"TemporaryFile(/tmp/multipartBody2912096774443486024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596659408,"filename":"image_23012025_02_33_02_531596_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330720750","file1":"1330720747","file0":"1330720745","file4":"1330720759","file5":"1330720764","file3":"1330720755"},"map_files_photo_id_array":[{"photo_id":"1330720764","filename":"file5"},{"photo_id":"1330720750","filename":"file2"},{"photo_id":"1330720759","filename":"file4"},{"photo_id":"1330720747","filename":"file1"},{"photo_id":"1330720745","filename":"file0"},{"photo_id":"1330720755","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330720759":["hashtag1","hashtag2"]},{"1330720750":["hashtag1","hashtag2"]},{"1330720747":["hashtag1","hashtag2"]},{"1330720755":["hashtag1","hashtag2"]},{"1330720764":["hashtag1","hashtag2"]},{"1330720745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330720759, 1330720750, 1330720747, 1330720755, 1330720764, 1330720745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.073808431625366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:44:02.106869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_03_023524_0003.jpg', '/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_02_671090_0000.jpg', '/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_02_671090_0001.jpg', '/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_02_671090_0002.jpg', '/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_02_671090_0003.jpg', '/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_02_157457_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_03_023524_0003.jpg
/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_02_671090_0000.jpg
/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_02_671090_0001.jpg
/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_02_671090_0002.jpg
/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_02_671090_0003.jpg
/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_02_157457_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":["1330721300","1330721812","1330721490","1330721617","1330721970","1330721676"],"photo_ids_order":["1330721300","1330721490","1330721617","1330721676","1330721812","1330721970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2129132a43cc2f4d2a3fc886f363c0ba.jpg","text":"TemporaryFile(/tmp/multipartBody747658538250246379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596719015,"filename":"image_23012025_02_34_03_023524_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12b513d85ffa1a0a7a0aa7c7986e39af.jpg","text":"TemporaryFile(/tmp/multipartBody3117570755082280729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596719015,"filename":"image_23012025_02_35_02_671090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e3e0ceb5ae89accf13323166e244a56.jpg","text":"TemporaryFile(/tmp/multipartBody8452066154392964125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596719015,"filename":"image_23012025_02_35_02_671090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7dfa2f27922ca2056dfe1ecac3c037ee.jpg","text":"TemporaryFile(/tmp/multipartBody5307711757050408431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596719015,"filename":"image_23012025_02_35_02_671090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/452ec5b4b5a7a026961a014d005b354e.jpg","text":"TemporaryFile(/tmp/multipartBody4916369345950806137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596719015,"filename":"image_23012025_02_36_02_157457_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15ddb92521b9f5ffbc411b6c5888a67c.jpg","text":"TemporaryFile(/tmp/multipartBody4663832223375310511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596719015,"filename":"image_23012025_02_35_02_671090_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330721617","file1":"1330721490","file0":"1330721300","file4":"1330721812","file5":"1330721970","file3":"1330721676"},"map_files_photo_id_array":[{"photo_id":"1330721970","filename":"file5"},{"photo_id":"1330721617","filename":"file2"},{"photo_id":"1330721812","filename":"file4"},{"photo_id":"1330721490","filename":"file1"},{"photo_id":"1330721300","filename":"file0"},{"photo_id":"1330721676","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330721300":["hashtag1","hashtag2"]},{"1330721812":["hashtag1","hashtag2"]},{"1330721490":["hashtag1","hashtag2"]},{"1330721617":["hashtag1","hashtag2"]},{"1330721970":["hashtag1","hashtag2"]},{"1330721676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330721300, 1330721812, 1330721490, 1330721617, 1330721970, 1330721676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.42505526542664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:45:22.290304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_02_157457_0001.jpg', '/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_02_157457_0002.jpg', '/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_02_157457_0003.jpg', '/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_02_737419_0000.jpg', '/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_02_737419_0001.jpg', '/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_02_737419_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_02_157457_0001.jpg
/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_02_157457_0002.jpg
/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_02_157457_0003.jpg
/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_02_737419_0000.jpg
/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_02_737419_0001.jpg
/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_02_737419_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330722265","1330722273","1330722261","1330722258","1330722269","1330722277"],"photo_ids_order":["1330722258","1330722261","1330722265","1330722269","1330722273","1330722277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a021ac0b4bf209a290e1f85355fd3779.jpg","text":"TemporaryFile(/tmp/multipartBody7894047915624105855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596799091,"filename":"image_23012025_02_36_02_157457_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bb331842a7ba24735a8526362658557.jpg","text":"TemporaryFile(/tmp/multipartBody2861348265103183795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596799091,"filename":"image_23012025_02_37_02_737419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25f01661a174e4845e5c5c691541d85d.jpg","text":"TemporaryFile(/tmp/multipartBody5701851830460146356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596799091,"filename":"image_23012025_02_36_02_157457_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4305b62391cbcd2ece5946b59511aa46.jpg","text":"TemporaryFile(/tmp/multipartBody1481373864427475251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596799091,"filename":"image_23012025_02_36_02_157457_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e57e02b91ea4d73168493a28b34ba60.jpg","text":"TemporaryFile(/tmp/multipartBody5782775339275683660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596799091,"filename":"image_23012025_02_37_02_737419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a4233cf3b93d0ec7a797a672d925119.jpg","text":"TemporaryFile(/tmp/multipartBody6849800432922103034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596799091,"filename":"image_23012025_02_37_02_737419_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330722265","file1":"1330722261","file0":"1330722258","file4":"1330722273","file5":"1330722277","file3":"1330722269"},"map_files_photo_id_array":[{"photo_id":"1330722277","filename":"file5"},{"photo_id":"1330722265","filename":"file2"},{"photo_id":"1330722273","filename":"file4"},{"photo_id":"1330722261","filename":"file1"},{"photo_id":"1330722258","filename":"file0"},{"photo_id":"1330722269","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330722265":["hashtag1","hashtag2"]},{"1330722273":["hashtag1","hashtag2"]},{"1330722261":["hashtag1","hashtag2"]},{"1330722258":["hashtag1","hashtag2"]},{"1330722269":["hashtag1","hashtag2"]},{"1330722277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330722265, 1330722273, 1330722261, 1330722258, 1330722269, 1330722277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.14271831512451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:46:21.869921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_02_737419_0003.jpg', '/home/pi/Desktop/images/23012025/02/38/image_23012025_02_38_02_258025_0000.jpg', '/home/pi/Desktop/images/23012025/02/38/image_23012025_02_38_02_258025_0001.jpg', '/home/pi/Desktop/images/23012025/02/38/image_23012025_02_38_02_258025_0002.jpg', '/home/pi/Desktop/images/23012025/02/38/image_23012025_02_38_02_258025_0003.jpg', '/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_02_766023_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_02_737419_0003.jpg
/home/pi/Desktop/images/23012025/02/38/image_23012025_02_38_02_258025_0000.jpg
/home/pi/Desktop/images/23012025/02/38/image_23012025_02_38_02_258025_0001.jpg
/home/pi/Desktop/images/23012025/02/38/image_23012025_02_38_02_258025_0002.jpg
/home/pi/Desktop/images/23012025/02/38/image_23012025_02_38_02_258025_0003.jpg
/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_02_766023_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330722742","1330722675","1330722678","1330722621","1330722618","1330722670"],"photo_ids_order":["1330722618","1330722621","1330722670","1330722675","1330722678","1330722742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7c38b5faecb2e1577928c905b2e35cb.jpg","text":"TemporaryFile(/tmp/multipartBody3286404752196424183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596858256,"filename":"image_23012025_02_39_02_766023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/346e60e38d3d35f3703d175ccac9d62d.jpg","text":"TemporaryFile(/tmp/multipartBody5265479639029889898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596858256,"filename":"image_23012025_02_38_02_258025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/292d907d35130db5ee6bfe65e9c23af0.jpg","text":"TemporaryFile(/tmp/multipartBody2276496792165022560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596858256,"filename":"image_23012025_02_38_02_258025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5feff99c97371f7292fd42370481b8ee.jpg","text":"TemporaryFile(/tmp/multipartBody7741903831960198066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596858256,"filename":"image_23012025_02_38_02_258025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f8bde8527af32af7ab7d0398f33b741.jpg","text":"TemporaryFile(/tmp/multipartBody8783843671266567257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596858256,"filename":"image_23012025_02_37_02_737419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28bd125d7da13e4284060d2b2f53a589.jpg","text":"TemporaryFile(/tmp/multipartBody8866646434613501207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596858256,"filename":"image_23012025_02_38_02_258025_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330722670","file1":"1330722621","file0":"1330722618","file4":"1330722678","file5":"1330722742","file3":"1330722675"},"map_files_photo_id_array":[{"photo_id":"1330722742","filename":"file5"},{"photo_id":"1330722670","filename":"file2"},{"photo_id":"1330722678","filename":"file4"},{"photo_id":"1330722621","filename":"file1"},{"photo_id":"1330722618","filename":"file0"},{"photo_id":"1330722675","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330722742":["hashtag1","hashtag2"]},{"1330722675":["hashtag1","hashtag2"]},{"1330722678":["hashtag1","hashtag2"]},{"1330722621":["hashtag1","hashtag2"]},{"1330722618":["hashtag1","hashtag2"]},{"1330722670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330722742, 1330722675, 1330722678, 1330722621, 1330722618, 1330722670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.58102512359619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:47:22.331730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_02_766023_0001.jpg', '/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_02_766023_0002.jpg', '/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_02_766023_0003.jpg', '/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_02_231934_0000.jpg', '/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_02_231934_0001.jpg', '/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_02_231934_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_02_766023_0001.jpg
/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_02_766023_0002.jpg
/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_02_766023_0003.jpg
/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_02_231934_0000.jpg
/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_02_231934_0001.jpg
/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_02_231934_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330722798","1330722777","1330722887","1330722794","1330722767","1330722758"],"photo_ids_order":["1330722758","1330722767","1330722777","1330722794","1330722798","1330722887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e415195bac3af0c17959a9381e291694.jpg","text":"TemporaryFile(/tmp/multipartBody5609663985268480550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596918768,"filename":"image_23012025_02_40_02_231934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94d969325095272b89b2dd732942e333.jpg","text":"TemporaryFile(/tmp/multipartBody5069137777995072980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596918768,"filename":"image_23012025_02_39_02_766023_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a787a274edafcaaf4d9dcaf9fe07b3e4.jpg","text":"TemporaryFile(/tmp/multipartBody2527981605759121206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596918768,"filename":"image_23012025_02_40_02_231934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14445157289fb24d2b15a79ef8c3f48c.jpg","text":"TemporaryFile(/tmp/multipartBody6785617861646806563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596918768,"filename":"image_23012025_02_40_02_231934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af94a49645213f6cb7b9fb6f1e223803.jpg","text":"TemporaryFile(/tmp/multipartBody7369620045800829163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596918768,"filename":"image_23012025_02_39_02_766023_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/262df0aa21c983cfd8d589e7fbef59a8.jpg","text":"TemporaryFile(/tmp/multipartBody599480976885303367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596918768,"filename":"image_23012025_02_39_02_766023_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330722777","file1":"1330722767","file0":"1330722758","file4":"1330722798","file5":"1330722887","file3":"1330722794"},"map_files_photo_id_array":[{"photo_id":"1330722887","filename":"file5"},{"photo_id":"1330722777","filename":"file2"},{"photo_id":"1330722798","filename":"file4"},{"photo_id":"1330722767","filename":"file1"},{"photo_id":"1330722758","filename":"file0"},{"photo_id":"1330722794","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330722798":["hashtag1","hashtag2"]},{"1330722777":["hashtag1","hashtag2"]},{"1330722887":["hashtag1","hashtag2"]},{"1330722794":["hashtag1","hashtag2"]},{"1330722767":["hashtag1","hashtag2"]},{"1330722758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330722798, 1330722777, 1330722887, 1330722794, 1330722767, 1330722758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.93181896209717 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:49:03.104755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_02_231934_0003.jpg', '/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_02_790257_0000.jpg', '/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_02_790257_0001.jpg', '/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_02_790257_0002.jpg', '/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_02_790257_0003.jpg', '/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_02_310127_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_02_231934_0003.jpg
/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_02_790257_0000.jpg
/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_02_790257_0001.jpg
/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_02_790257_0002.jpg
/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_02_790257_0003.jpg
/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_02_310127_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":["1330723689","1330723602","1330723589","1330723640","1330723532","1330723698"],"photo_ids_order":["1330723532","1330723589","1330723602","1330723640","1330723689","1330723698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44376ec05f844777ac191b7773879331.jpg","text":"TemporaryFile(/tmp/multipartBody6219450803884627973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597020130,"filename":"image_23012025_02_41_02_790257_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83e2997e4e2562f962046ac6f01caa01.jpg","text":"TemporaryFile(/tmp/multipartBody4435661209398772895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597020130,"filename":"image_23012025_02_41_02_790257_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/649444b6ed1075e9d199dab658b73a83.jpg","text":"TemporaryFile(/tmp/multipartBody5080767852409197840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597020130,"filename":"image_23012025_02_41_02_790257_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78c4902295cac88f23b4a4813ca3a441.jpg","text":"TemporaryFile(/tmp/multipartBody2264681844878197335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597020130,"filename":"image_23012025_02_41_02_790257_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93cd99bb79ad9fc886eeb3730ef1397e.jpg","text":"TemporaryFile(/tmp/multipartBody4600662263566116729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597020130,"filename":"image_23012025_02_40_02_231934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/638952a47b35c6897d38cb1128a1a51b.jpg","text":"TemporaryFile(/tmp/multipartBody3096768600333330971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597020130,"filename":"image_23012025_02_42_02_310127_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330723602","file1":"1330723589","file0":"1330723532","file4":"1330723689","file5":"1330723698","file3":"1330723640"},"map_files_photo_id_array":[{"photo_id":"1330723698","filename":"file5"},{"photo_id":"1330723602","filename":"file2"},{"photo_id":"1330723689","filename":"file4"},{"photo_id":"1330723589","filename":"file1"},{"photo_id":"1330723532","filename":"file0"},{"photo_id":"1330723640","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330723689":["hashtag1","hashtag2"]},{"1330723602":["hashtag1","hashtag2"]},{"1330723589":["hashtag1","hashtag2"]},{"1330723640":["hashtag1","hashtag2"]},{"1330723532":["hashtag1","hashtag2"]},{"1330723698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330723689, 1330723602, 1330723589, 1330723640, 1330723532, 1330723698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.34684896469116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:50:22.145008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_02_310127_0001.jpg', '/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_02_310127_0002.jpg', '/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_02_310127_0003.jpg', '/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0000.jpg', '/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0001.jpg', '/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_02_310127_0001.jpg
/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_02_310127_0002.jpg
/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_02_310127_0003.jpg
/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0000.jpg
/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0001.jpg
/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5037624835968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:51:03.186623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_02_310127_0001.jpg', '/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_02_310127_0002.jpg', '/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_02_310127_0003.jpg', '/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0000.jpg', '/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0001.jpg', '/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_02_310127_0001.jpg
/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_02_310127_0002.jpg
/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_02_310127_0003.jpg
/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0000.jpg
/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0001.jpg
/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330723890","1330723893","1330723923","1330723943","1330723940","1330723921"],"photo_ids_order":["1330723890","1330723893","1330723921","1330723923","1330723940","1330723943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57094e66bbd45fd594090e9eb9d67b09.jpg","text":"TemporaryFile(/tmp/multipartBody9097728171397518690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597140150,"filename":"image_23012025_02_42_02_310127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1245124e2e152adedefded61187ebb73.jpg","text":"TemporaryFile(/tmp/multipartBody1690335968674571294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597140150,"filename":"image_23012025_02_42_02_310127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17ff887f6bfc49eebd9dc9b2cec5b7f9.jpg","text":"TemporaryFile(/tmp/multipartBody1506224272326312793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597140150,"filename":"image_23012025_02_43_02_941338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/feb7c7c8a9bf9f1b8e6a94934cfeca53.jpg","text":"TemporaryFile(/tmp/multipartBody3643326326931541977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597140150,"filename":"image_23012025_02_43_02_941338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bd7830ff886cf6b8b5bd7111771737b.jpg","text":"TemporaryFile(/tmp/multipartBody4033260222131183732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597140150,"filename":"image_23012025_02_43_02_941338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d8d69ec11d7ee9a788696b23f31edff.jpg","text":"TemporaryFile(/tmp/multipartBody8909925887637981002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597140150,"filename":"image_23012025_02_42_02_310127_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330723921","file1":"1330723893","file0":"1330723890","file4":"1330723940","file5":"1330723943","file3":"1330723923"},"map_files_photo_id_array":[{"photo_id":"1330723943","filename":"file5"},{"photo_id":"1330723921","filename":"file2"},{"photo_id":"1330723940","filename":"file4"},{"photo_id":"1330723893","filename":"file1"},{"photo_id":"1330723890","filename":"file0"},{"photo_id":"1330723923","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330723890":["hashtag1","hashtag2"]},{"1330723893":["hashtag1","hashtag2"]},{"1330723923":["hashtag1","hashtag2"]},{"1330723943":["hashtag1","hashtag2"]},{"1330723940":["hashtag1","hashtag2"]},{"1330723921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330723890, 1330723893, 1330723923, 1330723943, 1330723940, 1330723921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.58861064910889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:52:02.851787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0003.jpg', '/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0000.jpg', '/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0001.jpg', '/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0002.jpg', '/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0003.jpg', '/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_02_154089_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0003.jpg
/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0000.jpg
/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0001.jpg
/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0002.jpg
/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0003.jpg
/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_02_154089_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.48261332511902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:52:22.459102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0003.jpg', '/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0000.jpg', '/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0001.jpg', '/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0002.jpg', '/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0003.jpg', '/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_02_154089_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_02_941338_0003.jpg
/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0000.jpg
/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0001.jpg
/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0002.jpg
/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_02_501172_0003.jpg
/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_02_154089_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":["1330724031","1330724004","1330724033","1330724000","1330724035","1330724011"],"photo_ids_order":["1330724000","1330724004","1330724011","1330724031","1330724033","1330724035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a9650b620d1901034a9c2f78e2e11ab.jpg","text":"TemporaryFile(/tmp/multipartBody7450903624867123020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597219303,"filename":"image_23012025_02_44_02_501172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97e57312002a60285756f10551379567.jpg","text":"TemporaryFile(/tmp/multipartBody2692325154938030664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597219303,"filename":"image_23012025_02_44_02_501172_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5847e7bdceeba26b68c62322ed238bba.jpg","text":"TemporaryFile(/tmp/multipartBody542674262638067915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597219303,"filename":"image_23012025_02_44_02_501172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81cb502cbe61b4ffcb94cd4af592059d.jpg","text":"TemporaryFile(/tmp/multipartBody7204286889874701116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597219303,"filename":"image_23012025_02_43_02_941338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a75b4e32ddfab05019bb3767afe89990.jpg","text":"TemporaryFile(/tmp/multipartBody5516143081333614071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597219303,"filename":"image_23012025_02_45_02_154089_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da461c4b3eee1511607d4bff5e06f637.jpg","text":"TemporaryFile(/tmp/multipartBody3605439605615843695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597219303,"filename":"image_23012025_02_44_02_501172_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330724011","file1":"1330724004","file0":"1330724000","file4":"1330724033","file5":"1330724035","file3":"1330724031"},"map_files_photo_id_array":[{"photo_id":"1330724035","filename":"file5"},{"photo_id":"1330724011","filename":"file2"},{"photo_id":"1330724033","filename":"file4"},{"photo_id":"1330724004","filename":"file1"},{"photo_id":"1330724000","filename":"file0"},{"photo_id":"1330724031","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330724031":["hashtag1","hashtag2"]},{"1330724004":["hashtag1","hashtag2"]},{"1330724033":["hashtag1","hashtag2"]},{"1330724000":["hashtag1","hashtag2"]},{"1330724035":["hashtag1","hashtag2"]},{"1330724011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330724031, 1330724004, 1330724033, 1330724000, 1330724035, 1330724011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.210952281951904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:54:02.928675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_02_154089_0001.jpg', '/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_02_154089_0002.jpg', '/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_02_154089_0003.jpg', '/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_02_755535_0000.jpg', '/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_02_755535_0001.jpg', '/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_02_755535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_02_154089_0001.jpg
/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_02_154089_0002.jpg
/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_02_154089_0003.jpg
/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_02_755535_0000.jpg
/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_02_755535_0001.jpg
/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_02_755535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330724115","1330724090","1330724087","1330724243","1330724094","1330724097"],"photo_ids_order":["1330724087","1330724090","1330724094","1330724097","1330724115","1330724243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/950c15fbf00921a67cf3d73a6501c91c.jpg","text":"TemporaryFile(/tmp/multipartBody8307232236151777392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597319647,"filename":"image_23012025_02_46_02_755535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/065f915739d57cc90a4e4bb50c0e040c.jpg","text":"TemporaryFile(/tmp/multipartBody2965751253433379895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597319647,"filename":"image_23012025_02_45_02_154089_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdc6d6332aab7a0e19971e8ee73efaf5.jpg","text":"TemporaryFile(/tmp/multipartBody4272945524294914113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597319647,"filename":"image_23012025_02_45_02_154089_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d18acd10f87ca9e08bb831370e2401bc.jpg","text":"TemporaryFile(/tmp/multipartBody7595821179793852025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597319647,"filename":"image_23012025_02_46_02_755535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83dfbe765b26fefc32028118a5c0441b.jpg","text":"TemporaryFile(/tmp/multipartBody6982389476824812870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597319647,"filename":"image_23012025_02_45_02_154089_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0bbbeefd8783effd129112ec2c4f1047.jpg","text":"TemporaryFile(/tmp/multipartBody2348967406460109076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597319647,"filename":"image_23012025_02_46_02_755535_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330724094","file1":"1330724090","file0":"1330724087","file4":"1330724115","file5":"1330724243","file3":"1330724097"},"map_files_photo_id_array":[{"photo_id":"1330724243","filename":"file5"},{"photo_id":"1330724094","filename":"file2"},{"photo_id":"1330724115","filename":"file4"},{"photo_id":"1330724090","filename":"file1"},{"photo_id":"1330724087","filename":"file0"},{"photo_id":"1330724097","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330724115":["hashtag1","hashtag2"]},{"1330724090":["hashtag1","hashtag2"]},{"1330724087":["hashtag1","hashtag2"]},{"1330724243":["hashtag1","hashtag2"]},{"1330724094":["hashtag1","hashtag2"]},{"1330724097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330724115, 1330724090, 1330724087, 1330724243, 1330724094, 1330724097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.345441818237305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:55:22.151466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_02_755535_0003.jpg', '/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_02_243955_0000.jpg', '/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_02_243955_0001.jpg', '/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_02_243955_0002.jpg', '/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_02_243955_0003.jpg', '/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_02_849880_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_02_755535_0003.jpg
/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_02_243955_0000.jpg
/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_02_243955_0001.jpg
/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_02_243955_0002.jpg
/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_02_243955_0003.jpg
/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_02_849880_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330724352","1330724331","1330724327","1330724383","1330724338","1330724376"],"photo_ids_order":["1330724327","1330724331","1330724338","1330724352","1330724376","1330724383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a732e0c343b13b3dde651e67ebce0e7.jpg","text":"TemporaryFile(/tmp/multipartBody7309093727807758812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597398766,"filename":"image_23012025_02_47_02_243955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23f169add975a5244700591a134341bc.jpg","text":"TemporaryFile(/tmp/multipartBody8650673774234538597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597398766,"filename":"image_23012025_02_47_02_243955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ce7b7f3cb7724bd49e53926b10305cd.jpg","text":"TemporaryFile(/tmp/multipartBody5488018731678126556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597398766,"filename":"image_23012025_02_46_02_755535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/657351e45cc30fe7a71616b0fbce7fb0.jpg","text":"TemporaryFile(/tmp/multipartBody2081384656422202203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597398766,"filename":"image_23012025_02_48_02_849880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d207792a6deb9604b4a85fbbda5802a8.jpg","text":"TemporaryFile(/tmp/multipartBody5423020161026466367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597398766,"filename":"image_23012025_02_47_02_243955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f506ea671f04a3f6fd4fe57c6f5fe783.jpg","text":"TemporaryFile(/tmp/multipartBody1105614552858751044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597398766,"filename":"image_23012025_02_47_02_243955_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330724338","file1":"1330724331","file0":"1330724327","file4":"1330724376","file5":"1330724383","file3":"1330724352"},"map_files_photo_id_array":[{"photo_id":"1330724383","filename":"file5"},{"photo_id":"1330724338","filename":"file2"},{"photo_id":"1330724376","filename":"file4"},{"photo_id":"1330724331","filename":"file1"},{"photo_id":"1330724327","filename":"file0"},{"photo_id":"1330724352","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330724352":["hashtag1","hashtag2"]},{"1330724331":["hashtag1","hashtag2"]},{"1330724327":["hashtag1","hashtag2"]},{"1330724383":["hashtag1","hashtag2"]},{"1330724338":["hashtag1","hashtag2"]},{"1330724376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330724352, 1330724331, 1330724327, 1330724383, 1330724338, 1330724376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.68102741241455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:56:22.736058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_02_849880_0001.jpg', '/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_02_849880_0002.jpg', '/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_02_849880_0003.jpg', '/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_02_358425_0000.jpg', '/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_02_358425_0001.jpg', '/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_02_358425_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_02_849880_0001.jpg
/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_02_849880_0002.jpg
/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_02_849880_0003.jpg
/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_02_358425_0000.jpg
/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_02_358425_0001.jpg
/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_02_358425_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330724427","1330724412","1330724438","1330724423","1330724417","1330724448"],"photo_ids_order":["1330724412","1330724417","1330724423","1330724427","1330724438","1330724448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a39f6701d99df59d84603d1f487b3c39.jpg","text":"TemporaryFile(/tmp/multipartBody1554706057539726136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597459014,"filename":"image_23012025_02_49_02_358425_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9c095ae171cc654b9459c825b14a18e.jpg","text":"TemporaryFile(/tmp/multipartBody3841373204902507566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597459014,"filename":"image_23012025_02_48_02_849880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/967e63cbd5b6221f180d318c33d1dab6.jpg","text":"TemporaryFile(/tmp/multipartBody7620800272443999739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597459014,"filename":"image_23012025_02_49_02_358425_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c728d1ef2589807b0013df847f7f5a8.jpg","text":"TemporaryFile(/tmp/multipartBody6779516415054044479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597459014,"filename":"image_23012025_02_48_02_849880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/782f891903790805b75de737f12d9c5a.jpg","text":"TemporaryFile(/tmp/multipartBody3509202897144462701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597459014,"filename":"image_23012025_02_48_02_849880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29bca233ff321f56ef5912a13b8958a4.jpg","text":"TemporaryFile(/tmp/multipartBody7260454730391619738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597459014,"filename":"image_23012025_02_49_02_358425_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330724423","file1":"1330724417","file0":"1330724412","file4":"1330724438","file5":"1330724448","file3":"1330724427"},"map_files_photo_id_array":[{"photo_id":"1330724448","filename":"file5"},{"photo_id":"1330724423","filename":"file2"},{"photo_id":"1330724438","filename":"file4"},{"photo_id":"1330724417","filename":"file1"},{"photo_id":"1330724412","filename":"file0"},{"photo_id":"1330724427","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330724427":["hashtag1","hashtag2"]},{"1330724412":["hashtag1","hashtag2"]},{"1330724438":["hashtag1","hashtag2"]},{"1330724423":["hashtag1","hashtag2"]},{"1330724417":["hashtag1","hashtag2"]},{"1330724448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330724427, 1330724412, 1330724438, 1330724423, 1330724417, 1330724448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.36699295043945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:57:22.365274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_02_358425_0003.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0000.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0001.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0002.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0003.jpg', '/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_02_569009_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_02_358425_0003.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0000.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0001.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0002.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0003.jpg
/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_02_569009_0000.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 02:59:02.700184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_02_358425_0003.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0000.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0001.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0002.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0003.jpg', '/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_02_569009_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_02_358425_0003.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0000.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0001.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0002.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0003.jpg
/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_02_569009_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.120996713638306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 02:59:22.086852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_02_358425_0003.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0000.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0001.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0002.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0003.jpg', '/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_02_569009_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_02_358425_0003.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0000.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0001.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0002.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_02_915735_0003.jpg
/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_02_569009_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330724733","1330724700","1330724690","1330724720","1330724702","1330724725"],"photo_ids_order":["1330724690","1330724700","1330724702","1330724720","1330724725","1330724733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef8488a61340ffcbcb268b2529a68072.jpg","text":"TemporaryFile(/tmp/multipartBody7408978364484324583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597638480,"filename":"image_23012025_02_51_02_569009_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f636006fb5602e4a3c0a513d16401807.jpg","text":"TemporaryFile(/tmp/multipartBody8285396515825604360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597638480,"filename":"image_23012025_02_50_02_915735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0aa603e168ee84ac279c54b7414f52b5.jpg","text":"TemporaryFile(/tmp/multipartBody3675632267921580306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597638480,"filename":"image_23012025_02_49_02_358425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/604207de5d5b28a92b711f68edc37960.jpg","text":"TemporaryFile(/tmp/multipartBody2480985965654798912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597638480,"filename":"image_23012025_02_50_02_915735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0731a64c9d362ee04784064c5b372f14.jpg","text":"TemporaryFile(/tmp/multipartBody8583620766377611284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597638480,"filename":"image_23012025_02_50_02_915735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e67f289fc968a351ae11d52800dc175b.jpg","text":"TemporaryFile(/tmp/multipartBody7987104549522620736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597638480,"filename":"image_23012025_02_50_02_915735_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330724702","file1":"1330724700","file0":"1330724690","file4":"1330724725","file5":"1330724733","file3":"1330724720"},"map_files_photo_id_array":[{"photo_id":"1330724733","filename":"file5"},{"photo_id":"1330724702","filename":"file2"},{"photo_id":"1330724725","filename":"file4"},{"photo_id":"1330724700","filename":"file1"},{"photo_id":"1330724690","filename":"file0"},{"photo_id":"1330724720","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330724733":["hashtag1","hashtag2"]},{"1330724700":["hashtag1","hashtag2"]},{"1330724690":["hashtag1","hashtag2"]},{"1330724720":["hashtag1","hashtag2"]},{"1330724702":["hashtag1","hashtag2"]},{"1330724725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330724733, 1330724700, 1330724690, 1330724720, 1330724702, 1330724725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.96257519721985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:00:22.726027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_02_569009_0001.jpg', '/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_02_569009_0002.jpg', '/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_02_569009_0003.jpg', '/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_03_138372_0000.jpg', '/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_03_138372_0001.jpg', '/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_03_138372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_02_569009_0001.jpg
/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_02_569009_0002.jpg
/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_02_569009_0003.jpg
/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_03_138372_0000.jpg
/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_03_138372_0001.jpg
/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_03_138372_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330724811","1330724821","1330724815","1330724818","1330724806","1330724809"],"photo_ids_order":["1330724806","1330724809","1330724811","1330724815","1330724818","1330724821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0a420bd387a134cda5f855f25b31ac5.jpg","text":"TemporaryFile(/tmp/multipartBody5655451919846357863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597699599,"filename":"image_23012025_02_51_02_569009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/558da4849ee4bee2703e54690b2827c3.jpg","text":"TemporaryFile(/tmp/multipartBody6279533224759628409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597699599,"filename":"image_23012025_02_52_03_138372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/380771e6c32cbb6260df130e0bb5bad1.jpg","text":"TemporaryFile(/tmp/multipartBody4400722814602980619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597699599,"filename":"image_23012025_02_52_03_138372_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51717a0ca0a88a1f78b68a78945c3b96.jpg","text":"TemporaryFile(/tmp/multipartBody5605510943489700880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597699599,"filename":"image_23012025_02_52_03_138372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6d1e6350fc5d8228c72576258e5c950.jpg","text":"TemporaryFile(/tmp/multipartBody2908677056727957516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597699599,"filename":"image_23012025_02_51_02_569009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf775dac33d9c43186859687d872dcca.jpg","text":"TemporaryFile(/tmp/multipartBody184510170645094810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597699599,"filename":"image_23012025_02_51_02_569009_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330724811","file1":"1330724809","file0":"1330724806","file4":"1330724818","file5":"1330724821","file3":"1330724815"},"map_files_photo_id_array":[{"photo_id":"1330724821","filename":"file5"},{"photo_id":"1330724811","filename":"file2"},{"photo_id":"1330724818","filename":"file4"},{"photo_id":"1330724809","filename":"file1"},{"photo_id":"1330724806","filename":"file0"},{"photo_id":"1330724815","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330724811":["hashtag1","hashtag2"]},{"1330724821":["hashtag1","hashtag2"]},{"1330724815":["hashtag1","hashtag2"]},{"1330724818":["hashtag1","hashtag2"]},{"1330724806":["hashtag1","hashtag2"]},{"1330724809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330724811, 1330724821, 1330724815, 1330724818, 1330724806, 1330724809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.0513551235199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:02:02.192854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_03_138372_0003.jpg', '/home/pi/Desktop/images/23012025/02/53/image_23012025_02_53_02_830716_0000.jpg', '/home/pi/Desktop/images/23012025/02/53/image_23012025_02_53_02_830716_0001.jpg', '/home/pi/Desktop/images/23012025/02/53/image_23012025_02_53_02_830716_0002.jpg', '/home/pi/Desktop/images/23012025/02/53/image_23012025_02_53_02_830716_0003.jpg', '/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_02_400460_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_03_138372_0003.jpg
/home/pi/Desktop/images/23012025/02/53/image_23012025_02_53_02_830716_0000.jpg
/home/pi/Desktop/images/23012025/02/53/image_23012025_02_53_02_830716_0001.jpg
/home/pi/Desktop/images/23012025/02/53/image_23012025_02_53_02_830716_0002.jpg
/home/pi/Desktop/images/23012025/02/53/image_23012025_02_53_02_830716_0003.jpg
/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_02_400460_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":["1330724904","1330724846","1330724899","1330724866","1330724859","1330724850"],"photo_ids_order":["1330724846","1330724850","1330724859","1330724866","1330724899","1330724904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb44e5b8f79b7ef5896465d1a7e84c70.jpg","text":"TemporaryFile(/tmp/multipartBody2794311730695287411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597799100,"filename":"image_23012025_02_54_02_400460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce8900a5f92ff706fca6d43882c143d1.jpg","text":"TemporaryFile(/tmp/multipartBody1750116714604737620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597799100,"filename":"image_23012025_02_52_03_138372_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f948c491304f092fd1224d396708b51f.jpg","text":"TemporaryFile(/tmp/multipartBody3070406217771588772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597799100,"filename":"image_23012025_02_53_02_830716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d1c074acf6aa3b1f4621bdf14667577.jpg","text":"TemporaryFile(/tmp/multipartBody3531494931510924153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597799100,"filename":"image_23012025_02_53_02_830716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8343a52ebe3d4c2ea9fae2e068c2b532.jpg","text":"TemporaryFile(/tmp/multipartBody7365482173475753298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597799100,"filename":"image_23012025_02_53_02_830716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/364cb91073d1c719b2a40e81e16aff47.jpg","text":"TemporaryFile(/tmp/multipartBody5593877733827048232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597799100,"filename":"image_23012025_02_53_02_830716_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330724859","file1":"1330724850","file0":"1330724846","file4":"1330724899","file5":"1330724904","file3":"1330724866"},"map_files_photo_id_array":[{"photo_id":"1330724904","filename":"file5"},{"photo_id":"1330724859","filename":"file2"},{"photo_id":"1330724899","filename":"file4"},{"photo_id":"1330724850","filename":"file1"},{"photo_id":"1330724846","filename":"file0"},{"photo_id":"1330724866","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330724904":["hashtag1","hashtag2"]},{"1330724846":["hashtag1","hashtag2"]},{"1330724899":["hashtag1","hashtag2"]},{"1330724866":["hashtag1","hashtag2"]},{"1330724859":["hashtag1","hashtag2"]},{"1330724850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330724904, 1330724846, 1330724899, 1330724866, 1330724859, 1330724850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.16693139076233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:03:22.254047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_02_400460_0001.jpg', '/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_02_400460_0002.jpg', '/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_02_400460_0003.jpg', '/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_03_023525_0000.jpg', '/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_03_023525_0001.jpg', '/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_03_023525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_02_400460_0001.jpg
/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_02_400460_0002.jpg
/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_02_400460_0003.jpg
/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_03_023525_0000.jpg
/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_03_023525_0001.jpg
/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_03_023525_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330725028","1330725037","1330725022","1330725025","1330725033","1330725027"],"photo_ids_order":["1330725022","1330725025","1330725027","1330725028","1330725033","1330725037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1977eac1305153f6323d34246ece38cc.jpg","text":"TemporaryFile(/tmp/multipartBody8855969565528097435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597878868,"filename":"image_23012025_02_55_03_023525_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88965e16f192fbd4ba41dda6960c0361.jpg","text":"TemporaryFile(/tmp/multipartBody8237713346982715862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597878868,"filename":"image_23012025_02_55_03_023525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be54d0eaf82841c2619515803ebcc3b7.jpg","text":"TemporaryFile(/tmp/multipartBody6146675126965210892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597878868,"filename":"image_23012025_02_54_02_400460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d5265bb2e807c531ad2121fe3677db2.jpg","text":"TemporaryFile(/tmp/multipartBody8054222785096088684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597878868,"filename":"image_23012025_02_54_02_400460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/805b51d2aa398d5b58313221f1ada326.jpg","text":"TemporaryFile(/tmp/multipartBody5707324854323777185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597878868,"filename":"image_23012025_02_55_03_023525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e88dad04bead33e473824310aa8293d8.jpg","text":"TemporaryFile(/tmp/multipartBody4382869156177020639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597878868,"filename":"image_23012025_02_54_02_400460_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330725027","file1":"1330725025","file0":"1330725022","file4":"1330725033","file5":"1330725037","file3":"1330725028"},"map_files_photo_id_array":[{"photo_id":"1330725037","filename":"file5"},{"photo_id":"1330725027","filename":"file2"},{"photo_id":"1330725033","filename":"file4"},{"photo_id":"1330725025","filename":"file1"},{"photo_id":"1330725022","filename":"file0"},{"photo_id":"1330725028","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330725028":["hashtag1","hashtag2"]},{"1330725037":["hashtag1","hashtag2"]},{"1330725022":["hashtag1","hashtag2"]},{"1330725025":["hashtag1","hashtag2"]},{"1330725033":["hashtag1","hashtag2"]},{"1330725027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330725028, 1330725037, 1330725022, 1330725025, 1330725033, 1330725027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.26908087730408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:05:03.061887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_03_023525_0003.jpg', '/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0000.jpg', '/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0001.jpg', '/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0002.jpg', '/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0003.jpg', '/home/pi/Desktop/images/23012025/02/57/image_23012025_02_57_03_215136_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_03_023525_0003.jpg
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0000.jpg
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0001.jpg
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0002.jpg
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0003.jpg
/home/pi/Desktop/images/23012025/02/57/image_23012025_02_57_03_215136_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.09280037879944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:05:22.354515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_03_023525_0003.jpg', '/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0000.jpg', '/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0001.jpg', '/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0002.jpg', '/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0003.jpg', '/home/pi/Desktop/images/23012025/02/57/image_23012025_02_57_03_215136_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_03_023525_0003.jpg
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0000.jpg
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0001.jpg
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0002.jpg
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_02_576146_0003.jpg
/home/pi/Desktop/images/23012025/02/57/image_23012025_02_57_03_215136_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330725900","1330725302","1330725701","1330725223","1330725501","1330725126"],"photo_ids_order":["1330725126","1330725223","1330725302","1330725501","1330725701","1330725900"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee499725c1935dcca74154329e0daf2c.jpg","text":"TemporaryFile(/tmp/multipartBody4842326453852000713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597998759,"filename":"image_23012025_02_57_03_215136_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7e889873eb0276ebfd7a6015c50511b.jpg","text":"TemporaryFile(/tmp/multipartBody4236315397818745311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597998759,"filename":"image_23012025_02_56_02_576146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/032374a5f8473be04deeeb084cda630a.jpg","text":"TemporaryFile(/tmp/multipartBody3869637999180932615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597998759,"filename":"image_23012025_02_56_02_576146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e17d2b3ca40dc8d71cdcbcf623f72c0.jpg","text":"TemporaryFile(/tmp/multipartBody6673058922952023583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597998759,"filename":"image_23012025_02_56_02_576146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75bed195ea2e8e79a74494a5df6d111f.jpg","text":"TemporaryFile(/tmp/multipartBody3441461647421105935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597998759,"filename":"image_23012025_02_56_02_576146_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aed6b68a7d1a7134ae57a813c64725fa.jpg","text":"TemporaryFile(/tmp/multipartBody2344972770945871736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597998759,"filename":"image_23012025_02_55_03_023525_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330725302","file1":"1330725223","file0":"1330725126","file4":"1330725701","file5":"1330725900","file3":"1330725501"},"map_files_photo_id_array":[{"photo_id":"1330725900","filename":"file5"},{"photo_id":"1330725302","filename":"file2"},{"photo_id":"1330725701","filename":"file4"},{"photo_id":"1330725223","filename":"file1"},{"photo_id":"1330725126","filename":"file0"},{"photo_id":"1330725501","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330725900":["hashtag1","hashtag2"]},{"1330725302":["hashtag1","hashtag2"]},{"1330725701":["hashtag1","hashtag2"]},{"1330725223":["hashtag1","hashtag2"]},{"1330725501":["hashtag1","hashtag2"]},{"1330725126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330725900, 1330725302, 1330725701, 1330725223, 1330725501, 1330725126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.891005754470825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:06:22.544444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/57/image_23012025_02_57_03_215136_0001.jpg', '/home/pi/Desktop/images/23012025/02/57/image_23012025_02_57_03_215136_0002.jpg', '/home/pi/Desktop/images/23012025/02/57/image_23012025_02_57_03_215136_0003.jpg', '/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_02_693448_0000.jpg', '/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_02_693448_0001.jpg', '/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_02_693448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/57/image_23012025_02_57_03_215136_0001.jpg
/home/pi/Desktop/images/23012025/02/57/image_23012025_02_57_03_215136_0002.jpg
/home/pi/Desktop/images/23012025/02/57/image_23012025_02_57_03_215136_0003.jpg
/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_02_693448_0000.jpg
/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_02_693448_0001.jpg
/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_02_693448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330726214","1330726077","1330726173","1330725948","1330725951","1330726178"],"photo_ids_order":["1330725948","1330725951","1330726077","1330726173","1330726178","1330726214"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27f8e15d74b8962258c1670193efbba9.jpg","text":"TemporaryFile(/tmp/multipartBody443383622862826523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598059048,"filename":"image_23012025_02_58_02_693448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04c63d25dd3214d2475d1493b82dc4ee.jpg","text":"TemporaryFile(/tmp/multipartBody2234505482352126046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598059048,"filename":"image_23012025_02_57_03_215136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d75f1ba3474a93b4beab7fb6a789120.jpg","text":"TemporaryFile(/tmp/multipartBody3722731587701164212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598059048,"filename":"image_23012025_02_58_02_693448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/906aff764375fb28576c0152ea716969.jpg","text":"TemporaryFile(/tmp/multipartBody9205863896054753104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598059048,"filename":"image_23012025_02_57_03_215136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d48b047ed05aa8b20646091c3ca5c4e9.jpg","text":"TemporaryFile(/tmp/multipartBody7150043291530666325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598059048,"filename":"image_23012025_02_57_03_215136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6cd600a61083a9e5524994ac4a3f8b32.jpg","text":"TemporaryFile(/tmp/multipartBody8513056677411667463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598059048,"filename":"image_23012025_02_58_02_693448_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330726077","file1":"1330725951","file0":"1330725948","file4":"1330726178","file5":"1330726214","file3":"1330726173"},"map_files_photo_id_array":[{"photo_id":"1330726214","filename":"file5"},{"photo_id":"1330726077","filename":"file2"},{"photo_id":"1330726178","filename":"file4"},{"photo_id":"1330725951","filename":"file1"},{"photo_id":"1330725948","filename":"file0"},{"photo_id":"1330726173","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330726214":["hashtag1","hashtag2"]},{"1330726077":["hashtag1","hashtag2"]},{"1330726173":["hashtag1","hashtag2"]},{"1330725948":["hashtag1","hashtag2"]},{"1330725951":["hashtag1","hashtag2"]},{"1330726178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330726214, 1330726077, 1330726173, 1330725948, 1330725951, 1330726178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.35531830787659 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:08:03.024699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_02_693448_0003.jpg', '/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0000.jpg', '/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0001.jpg', '/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0002.jpg', '/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0003.jpg', '/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_02_502828_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_02_693448_0003.jpg
/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0000.jpg
/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0001.jpg
/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0002.jpg
/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0003.jpg
/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_02_502828_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.40998888015747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:08:22.586383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_02_693448_0003.jpg', '/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0000.jpg', '/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0001.jpg', '/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0002.jpg', '/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0003.jpg', '/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_02_502828_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_02_693448_0003.jpg
/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0000.jpg
/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0001.jpg
/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0002.jpg
/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_02_243060_0003.jpg
/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_02_502828_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":["1330726415","1330726408","1330726402","1330726386","1330726416","1330726379"],"photo_ids_order":["1330726379","1330726386","1330726402","1330726408","1330726415","1330726416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a614bf4097048fc8971080aac2a8d2b.jpg","text":"TemporaryFile(/tmp/multipartBody46986718349371527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598179338,"filename":"image_23012025_02_59_02_243060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0da176a574fc7f16ce1c557310b79d4.jpg","text":"TemporaryFile(/tmp/multipartBody8822983630631787099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598179338,"filename":"image_23012025_02_59_02_243060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91bbc5adb4818fd3ffd3247fb5206d9f.jpg","text":"TemporaryFile(/tmp/multipartBody5382410239236086166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598179338,"filename":"image_23012025_02_59_02_243060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5b7025ad27c27dcd39120ab7afe18bb.jpg","text":"TemporaryFile(/tmp/multipartBody7907258371336973211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598179338,"filename":"image_23012025_02_59_02_243060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28373c9974d1939f92aea8fbede6b8f1.jpg","text":"TemporaryFile(/tmp/multipartBody6399867509378113477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598179338,"filename":"image_23012025_03_00_02_502828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df411a5c053f256edf00c11e5b68affa.jpg","text":"TemporaryFile(/tmp/multipartBody3159119776895917556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598179338,"filename":"image_23012025_02_58_02_693448_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330726402","file1":"1330726386","file0":"1330726379","file4":"1330726415","file5":"1330726416","file3":"1330726408"},"map_files_photo_id_array":[{"photo_id":"1330726416","filename":"file5"},{"photo_id":"1330726402","filename":"file2"},{"photo_id":"1330726415","filename":"file4"},{"photo_id":"1330726386","filename":"file1"},{"photo_id":"1330726379","filename":"file0"},{"photo_id":"1330726408","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330726415":["hashtag1","hashtag2"]},{"1330726408":["hashtag1","hashtag2"]},{"1330726402":["hashtag1","hashtag2"]},{"1330726386":["hashtag1","hashtag2"]},{"1330726416":["hashtag1","hashtag2"]},{"1330726379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330726415, 1330726408, 1330726402, 1330726386, 1330726416, 1330726379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.98790526390076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:10:03.079350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_02_502828_0001.jpg', '/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_02_502828_0002.jpg', '/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_02_502828_0003.jpg', '/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_03_167848_0000.jpg', '/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_03_167848_0001.jpg', '/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_03_167848_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_02_502828_0001.jpg
/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_02_502828_0002.jpg
/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_02_502828_0003.jpg
/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_03_167848_0000.jpg
/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_03_167848_0001.jpg
/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_03_167848_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330726498","1330726483","1330726479","1330726490","1330726487","1330726475"],"photo_ids_order":["1330726475","1330726479","1330726483","1330726487","1330726490","1330726498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8e4c6874084e3619233df04d9423df8.jpg","text":"TemporaryFile(/tmp/multipartBody7693625593929658733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598279707,"filename":"image_23012025_03_01_03_167848_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e70f8222187afa2a4766ef67e11d182.jpg","text":"TemporaryFile(/tmp/multipartBody6516709138107765254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598279707,"filename":"image_23012025_03_00_02_502828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c444e35725022bb54beb52be345dfdac.jpg","text":"TemporaryFile(/tmp/multipartBody8247088412959839057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598279707,"filename":"image_23012025_03_00_02_502828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05b298342e03dc0847b5ec8359fb2cc5.jpg","text":"TemporaryFile(/tmp/multipartBody4357367453783404201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598279707,"filename":"image_23012025_03_01_03_167848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1cb9c2f53071d62b96fd5868f75bfe4c.jpg","text":"TemporaryFile(/tmp/multipartBody7772949502694328349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598279707,"filename":"image_23012025_03_01_03_167848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf8f04cb811adf44f892fe4414e9c02d.jpg","text":"TemporaryFile(/tmp/multipartBody4588206833049048322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598279707,"filename":"image_23012025_03_00_02_502828_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330726483","file1":"1330726479","file0":"1330726475","file4":"1330726490","file5":"1330726498","file3":"1330726487"},"map_files_photo_id_array":[{"photo_id":"1330726498","filename":"file5"},{"photo_id":"1330726483","filename":"file2"},{"photo_id":"1330726490","filename":"file4"},{"photo_id":"1330726479","filename":"file1"},{"photo_id":"1330726475","filename":"file0"},{"photo_id":"1330726487","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330726498":["hashtag1","hashtag2"]},{"1330726483":["hashtag1","hashtag2"]},{"1330726479":["hashtag1","hashtag2"]},{"1330726490":["hashtag1","hashtag2"]},{"1330726487":["hashtag1","hashtag2"]},{"1330726475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330726498, 1330726483, 1330726479, 1330726490, 1330726487, 1330726475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.17523789405823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:11:22.126456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_03_167848_0003.jpg', '/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_02_638880_0000.jpg', '/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_02_638880_0001.jpg', '/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_02_638880_0002.jpg', '/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_02_638880_0003.jpg', '/home/pi/Desktop/images/23012025/03/03/image_23012025_03_03_02_140112_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_03_167848_0003.jpg
/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_02_638880_0000.jpg
/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_02_638880_0001.jpg
/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_02_638880_0002.jpg
/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_02_638880_0003.jpg
/home/pi/Desktop/images/23012025/03/03/image_23012025_03_03_02_140112_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330726640","1330726643","1330726576","1330726645","1330726627","1330726664"],"photo_ids_order":["1330726576","1330726627","1330726640","1330726643","1330726645","1330726664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef7bfc0817b7682c983c53cd48385e3a.jpg","text":"TemporaryFile(/tmp/multipartBody6136357547079039615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598358607,"filename":"image_23012025_03_02_02_638880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e819f400808b3b74ae32e476611cd19a.jpg","text":"TemporaryFile(/tmp/multipartBody2853328011425295346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598358607,"filename":"image_23012025_03_02_02_638880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8943880d76e77f6f7888809ecec3d5b.jpg","text":"TemporaryFile(/tmp/multipartBody4649868159767583321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598358607,"filename":"image_23012025_03_01_03_167848_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73a5994a112aca1407742457f2c881be.jpg","text":"TemporaryFile(/tmp/multipartBody9027269603802982643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598358607,"filename":"image_23012025_03_02_02_638880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5babf06f25515fb38589584f353d65a.jpg","text":"TemporaryFile(/tmp/multipartBody6739782109117907382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598358607,"filename":"image_23012025_03_02_02_638880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/200bc5b35ff0409fdc66757f0b087fa8.jpg","text":"TemporaryFile(/tmp/multipartBody3480062566706171662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598358607,"filename":"image_23012025_03_03_02_140112_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330726640","file1":"1330726627","file0":"1330726576","file4":"1330726645","file5":"1330726664","file3":"1330726643"},"map_files_photo_id_array":[{"photo_id":"1330726664","filename":"file5"},{"photo_id":"1330726640","filename":"file2"},{"photo_id":"1330726645","filename":"file4"},{"photo_id":"1330726627","filename":"file1"},{"photo_id":"1330726576","filename":"file0"},{"photo_id":"1330726643","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330726640":["hashtag1","hashtag2"]},{"1330726643":["hashtag1","hashtag2"]},{"1330726576":["hashtag1","hashtag2"]},{"1330726645":["hashtag1","hashtag2"]},{"1330726627":["hashtag1","hashtag2"]},{"1330726664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330726640, 1330726643, 1330726576, 1330726645, 1330726627, 1330726664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.79774212837219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:12:22.662028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/03/image_23012025_03_03_02_140112_0001.jpg', '/home/pi/Desktop/images/23012025/03/03/image_23012025_03_03_02_140112_0002.jpg', '/home/pi/Desktop/images/23012025/03/03/image_23012025_03_03_02_140112_0003.jpg', '/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_02_707999_0000.jpg', '/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_02_707999_0001.jpg', '/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_02_707999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/03/image_23012025_03_03_02_140112_0001.jpg
/home/pi/Desktop/images/23012025/03/03/image_23012025_03_03_02_140112_0002.jpg
/home/pi/Desktop/images/23012025/03/03/image_23012025_03_03_02_140112_0003.jpg
/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_02_707999_0000.jpg
/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_02_707999_0001.jpg
/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_02_707999_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330726768","1330726750","1330726723","1330726775","1330726886","1330726871"],"photo_ids_order":["1330726723","1330726750","1330726768","1330726775","1330726871","1330726886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdefe75e78999677014904a7a66a3e8a.jpg","text":"TemporaryFile(/tmp/multipartBody5752558220463035076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598419520,"filename":"image_23012025_03_03_02_140112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f921a8cf67a4602dfc7a7cb658f14e1c.jpg","text":"TemporaryFile(/tmp/multipartBody3082138507238960822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598419520,"filename":"image_23012025_03_03_02_140112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0f39754485c9d8ed17b9b4e854c9474.jpg","text":"TemporaryFile(/tmp/multipartBody2565506250538250674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598419520,"filename":"image_23012025_03_03_02_140112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e14da9d5d8858202bb440523b1f6781.jpg","text":"TemporaryFile(/tmp/multipartBody8024605562972298589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598419520,"filename":"image_23012025_03_04_02_707999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d36bac71627c056e8c3010940eb32f22.jpg","text":"TemporaryFile(/tmp/multipartBody6153966422425026128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598419520,"filename":"image_23012025_03_04_02_707999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92c99585b007eac24adf0ef61e05c167.jpg","text":"TemporaryFile(/tmp/multipartBody3025567677193342444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598419520,"filename":"image_23012025_03_04_02_707999_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330726768","file1":"1330726750","file0":"1330726723","file4":"1330726871","file5":"1330726886","file3":"1330726775"},"map_files_photo_id_array":[{"photo_id":"1330726886","filename":"file5"},{"photo_id":"1330726768","filename":"file2"},{"photo_id":"1330726871","filename":"file4"},{"photo_id":"1330726750","filename":"file1"},{"photo_id":"1330726723","filename":"file0"},{"photo_id":"1330726775","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330726768":["hashtag1","hashtag2"]},{"1330726750":["hashtag1","hashtag2"]},{"1330726723":["hashtag1","hashtag2"]},{"1330726775":["hashtag1","hashtag2"]},{"1330726886":["hashtag1","hashtag2"]},{"1330726871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330726768, 1330726750, 1330726723, 1330726775, 1330726886, 1330726871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.28445625305176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:14:03.122563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_02_707999_0003.jpg', '/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0000.jpg', '/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0001.jpg', '/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0002.jpg', '/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0003.jpg', '/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_02_840902_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_02_707999_0003.jpg
/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0000.jpg
/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0001.jpg
/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0002.jpg
/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0003.jpg
/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_02_840902_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.33138871192932 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:14:22.741126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_02_707999_0003.jpg', '/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0000.jpg', '/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0001.jpg', '/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0002.jpg', '/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0003.jpg', '/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_02_840902_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_02_707999_0003.jpg
/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0000.jpg
/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0001.jpg
/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0002.jpg
/home/pi/Desktop/images/23012025/03/05/image_23012025_03_05_02_243539_0003.jpg
/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_02_840902_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330727003","1330726996","1330727032","1330727029","1330727007","1330727027"],"photo_ids_order":["1330726996","1330727003","1330727007","1330727027","1330727029","1330727032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c0015cd569163adf93f34e2f2809a58.jpg","text":"TemporaryFile(/tmp/multipartBody1343653434249248379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598539399,"filename":"image_23012025_03_05_02_243539_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cad714c63523f925ac2fc5bb47e0fd80.jpg","text":"TemporaryFile(/tmp/multipartBody3142028995524033471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598539399,"filename":"image_23012025_03_04_02_707999_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1ec4c138d8346ccb771e70c8d311842.jpg","text":"TemporaryFile(/tmp/multipartBody872552922865733171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598539399,"filename":"image_23012025_03_06_02_840902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ea7319d2e7305f21724f6d93fb24c6d.jpg","text":"TemporaryFile(/tmp/multipartBody2213363668768248064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598539399,"filename":"image_23012025_03_05_02_243539_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/638c47946b053611dab3fad6cd5ff38f.jpg","text":"TemporaryFile(/tmp/multipartBody840323561007334334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598539399,"filename":"image_23012025_03_05_02_243539_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8abd766b17c68474f7bb35c9ad5b667e.jpg","text":"TemporaryFile(/tmp/multipartBody7734682207480607422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598539399,"filename":"image_23012025_03_05_02_243539_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330727007","file1":"1330727003","file0":"1330726996","file4":"1330727029","file5":"1330727032","file3":"1330727027"},"map_files_photo_id_array":[{"photo_id":"1330727032","filename":"file5"},{"photo_id":"1330727007","filename":"file2"},{"photo_id":"1330727029","filename":"file4"},{"photo_id":"1330727003","filename":"file1"},{"photo_id":"1330726996","filename":"file0"},{"photo_id":"1330727027","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330727003":["hashtag1","hashtag2"]},{"1330726996":["hashtag1","hashtag2"]},{"1330727032":["hashtag1","hashtag2"]},{"1330727029":["hashtag1","hashtag2"]},{"1330727007":["hashtag1","hashtag2"]},{"1330727027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330727003, 1330726996, 1330727032, 1330727029, 1330727007, 1330727027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.44001269340515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:15:22.248020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_02_840902_0001.jpg', '/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_02_840902_0002.jpg', '/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_02_840902_0003.jpg', '/home/pi/Desktop/images/23012025/03/07/image_23012025_03_07_02_900820_0000.jpg', '/home/pi/Desktop/images/23012025/03/07/image_23012025_03_07_02_900820_0001.jpg', '/home/pi/Desktop/images/23012025/03/07/image_23012025_03_07_02_900820_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_02_840902_0001.jpg
/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_02_840902_0002.jpg
/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_02_840902_0003.jpg
/home/pi/Desktop/images/23012025/03/07/image_23012025_03_07_02_900820_0000.jpg
/home/pi/Desktop/images/23012025/03/07/image_23012025_03_07_02_900820_0001.jpg
/home/pi/Desktop/images/23012025/03/07/image_23012025_03_07_02_900820_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330727191","1330727059","1330727196","1330727160","1330727061","1330727091"],"photo_ids_order":["1330727059","1330727061","1330727091","1330727160","1330727191","1330727196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9edaea16d211e452a24ff9ee1be6a3c.jpg","text":"TemporaryFile(/tmp/multipartBody1929290576547433236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598598863,"filename":"image_23012025_03_07_02_900820_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9df423fb3d93885e3f86b95fe24d3148.jpg","text":"TemporaryFile(/tmp/multipartBody7542673567550099197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598598863,"filename":"image_23012025_03_06_02_840902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6acbf4df6d0fc73adfef16820fac585.jpg","text":"TemporaryFile(/tmp/multipartBody5337656209112676711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598598863,"filename":"image_23012025_03_07_02_900820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d628fd4e1986fb86a8e7c15dc4a21c0.jpg","text":"TemporaryFile(/tmp/multipartBody3367936267355500072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598598863,"filename":"image_23012025_03_07_02_900820_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e351735e6841cc8ecf6b5c3d4248bbc8.jpg","text":"TemporaryFile(/tmp/multipartBody6787698441731659708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598598863,"filename":"image_23012025_03_06_02_840902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3d7d7479c47c22caad3627845c1b9ea.jpg","text":"TemporaryFile(/tmp/multipartBody1352854195674263230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598598863,"filename":"image_23012025_03_06_02_840902_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330727091","file1":"1330727061","file0":"1330727059","file4":"1330727191","file5":"1330727196","file3":"1330727160"},"map_files_photo_id_array":[{"photo_id":"1330727196","filename":"file5"},{"photo_id":"1330727091","filename":"file2"},{"photo_id":"1330727191","filename":"file4"},{"photo_id":"1330727061","filename":"file1"},{"photo_id":"1330727059","filename":"file0"},{"photo_id":"1330727160","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330727191":["hashtag1","hashtag2"]},{"1330727059":["hashtag1","hashtag2"]},{"1330727196":["hashtag1","hashtag2"]},{"1330727160":["hashtag1","hashtag2"]},{"1330727061":["hashtag1","hashtag2"]},{"1330727091":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330727191, 1330727059, 1330727196, 1330727160, 1330727061, 1330727091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.88926291465759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:17:03.054456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/07/image_23012025_03_07_02_900820_0003.jpg', '/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0000.jpg', '/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0001.jpg', '/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0002.jpg', '/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0003.jpg', '/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/07/image_23012025_03_07_02_900820_0003.jpg
/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0000.jpg
/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0001.jpg
/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0002.jpg
/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0003.jpg
/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.65924310684204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:17:22.379512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/07/image_23012025_03_07_02_900820_0003.jpg', '/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0000.jpg', '/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0001.jpg', '/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0002.jpg', '/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0003.jpg', '/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/07/image_23012025_03_07_02_900820_0003.jpg
/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0000.jpg
/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0001.jpg
/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0002.jpg
/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_02_444248_0003.jpg
/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_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":["1330727299","1330727302","1330727286","1330727295","1330727304","1330727291"],"photo_ids_order":["1330727286","1330727291","1330727295","1330727299","1330727302","1330727304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b25aa20adceeddf83fe1926c626195d.jpg","text":"TemporaryFile(/tmp/multipartBody7415046841303149614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598719327,"filename":"image_23012025_03_08_02_444248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f64b336ac3378d3592b3cc3aab2f7fa0.jpg","text":"TemporaryFile(/tmp/multipartBody6922051292785124932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598719327,"filename":"image_23012025_03_08_02_444248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1929331d79242a334fe3aeb941c42136.jpg","text":"TemporaryFile(/tmp/multipartBody2925543168131365200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598719327,"filename":"image_23012025_03_07_02_900820_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f94a914271453641ed63cbcf7c910604.jpg","text":"TemporaryFile(/tmp/multipartBody5025113651795443286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598719327,"filename":"image_23012025_03_08_02_444248_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77fa28b88d9105a88528a1abc4c75a9d.jpg","text":"TemporaryFile(/tmp/multipartBody2571636589456811666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598719327,"filename":"image_23012025_03_09_02_975343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e413c10ad607bb430373d8f2fb9ab9b.jpg","text":"TemporaryFile(/tmp/multipartBody7545455533831262594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598719327,"filename":"image_23012025_03_08_02_444248_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330727295","file1":"1330727291","file0":"1330727286","file4":"1330727302","file5":"1330727304","file3":"1330727299"},"map_files_photo_id_array":[{"photo_id":"1330727304","filename":"file5"},{"photo_id":"1330727295","filename":"file2"},{"photo_id":"1330727302","filename":"file4"},{"photo_id":"1330727291","filename":"file1"},{"photo_id":"1330727286","filename":"file0"},{"photo_id":"1330727299","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330727299":["hashtag1","hashtag2"]},{"1330727302":["hashtag1","hashtag2"]},{"1330727286":["hashtag1","hashtag2"]},{"1330727295":["hashtag1","hashtag2"]},{"1330727304":["hashtag1","hashtag2"]},{"1330727291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330727299, 1330727302, 1330727286, 1330727295, 1330727304, 1330727291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.93211388587952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:19:03.066026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0001.jpg', '/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0002.jpg', '/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0003.jpg', '/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_02_475665_0000.jpg', '/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_02_475665_0001.jpg', '/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_02_475665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0001.jpg
/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0002.jpg
/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0003.jpg
/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_02_475665_0000.jpg
/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_02_475665_0001.jpg
/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_02_475665_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.698193788528442 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:19:22.456817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0001.jpg', '/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0002.jpg', '/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0003.jpg', '/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_02_475665_0000.jpg', '/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_02_475665_0001.jpg', '/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_02_475665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0001.jpg
/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0002.jpg
/home/pi/Desktop/images/23012025/03/09/image_23012025_03_09_02_975343_0003.jpg
/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_02_475665_0000.jpg
/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_02_475665_0001.jpg
/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_02_475665_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330728133","1330728129","1330727862","1330727859","1330728003","1330728101"],"photo_ids_order":["1330727859","1330727862","1330728003","1330728101","1330728129","1330728133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ffefdf0797e942870f7b935cf4bf7b0d.jpg","text":"TemporaryFile(/tmp/multipartBody4076660350827459623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598839440,"filename":"image_23012025_03_10_02_475665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b1a7effcb621e847f050daf220ef7a9.jpg","text":"TemporaryFile(/tmp/multipartBody7511800576375960100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598839440,"filename":"image_23012025_03_10_02_475665_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1e5786861ac0ad7ce8117cb6dbe8891.jpg","text":"TemporaryFile(/tmp/multipartBody9135946655027634810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598839440,"filename":"image_23012025_03_09_02_975343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c4311d95d3848a37c70bf290cf732ff.jpg","text":"TemporaryFile(/tmp/multipartBody7745544333419748769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598839440,"filename":"image_23012025_03_09_02_975343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6561ade0a44aaadd62f270a5106331cd.jpg","text":"TemporaryFile(/tmp/multipartBody7217309910259264756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598839440,"filename":"image_23012025_03_09_02_975343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98623ff05793c9463fddf09fed23bc90.jpg","text":"TemporaryFile(/tmp/multipartBody5469782823194812337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598839440,"filename":"image_23012025_03_10_02_475665_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330728003","file1":"1330727862","file0":"1330727859","file4":"1330728129","file5":"1330728133","file3":"1330728101"},"map_files_photo_id_array":[{"photo_id":"1330728133","filename":"file5"},{"photo_id":"1330728003","filename":"file2"},{"photo_id":"1330728129","filename":"file4"},{"photo_id":"1330727862","filename":"file1"},{"photo_id":"1330727859","filename":"file0"},{"photo_id":"1330728101","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330728133":["hashtag1","hashtag2"]},{"1330728129":["hashtag1","hashtag2"]},{"1330727862":["hashtag1","hashtag2"]},{"1330727859":["hashtag1","hashtag2"]},{"1330728003":["hashtag1","hashtag2"]},{"1330728101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330728133, 1330728129, 1330727862, 1330727859, 1330728003, 1330728101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.94750475883484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:20:22.110516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_02_475665_0003.jpg', '/home/pi/Desktop/images/23012025/03/11/image_23012025_03_11_03_001527_0000.jpg', '/home/pi/Desktop/images/23012025/03/11/image_23012025_03_11_03_001527_0001.jpg', '/home/pi/Desktop/images/23012025/03/11/image_23012025_03_11_03_001527_0002.jpg', '/home/pi/Desktop/images/23012025/03/11/image_23012025_03_11_03_001527_0003.jpg', '/home/pi/Desktop/images/23012025/03/12/image_23012025_03_12_02_495814_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_02_475665_0003.jpg
/home/pi/Desktop/images/23012025/03/11/image_23012025_03_11_03_001527_0000.jpg
/home/pi/Desktop/images/23012025/03/11/image_23012025_03_11_03_001527_0001.jpg
/home/pi/Desktop/images/23012025/03/11/image_23012025_03_11_03_001527_0002.jpg
/home/pi/Desktop/images/23012025/03/11/image_23012025_03_11_03_001527_0003.jpg
/home/pi/Desktop/images/23012025/03/12/image_23012025_03_12_02_495814_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330728322","1330728310","1330728336","1330728318","1330728314","1330728355"],"photo_ids_order":["1330728310","1330728314","1330728318","1330728322","1330728336","1330728355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6bb3b25dad2b003bac9bcda44f715b8a.jpg","text":"TemporaryFile(/tmp/multipartBody8301287657638609129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598898772,"filename":"image_23012025_03_11_03_001527_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d0943f075fbac432ed136a898038a43.jpg","text":"TemporaryFile(/tmp/multipartBody8540160550224871444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598898772,"filename":"image_23012025_03_10_02_475665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50d719065e7ce8a3a8763659403155aa.jpg","text":"TemporaryFile(/tmp/multipartBody9023909209603963429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598898772,"filename":"image_23012025_03_11_03_001527_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/697ac94e9202c853a14d992e3b5d0d3e.jpg","text":"TemporaryFile(/tmp/multipartBody8151917720734250840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598898772,"filename":"image_23012025_03_11_03_001527_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93c92aad4fdf2e8e268391d86bf777c4.jpg","text":"TemporaryFile(/tmp/multipartBody7446990439186853729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598898772,"filename":"image_23012025_03_11_03_001527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a6bd67785d202677a850dbec1620c47.jpg","text":"TemporaryFile(/tmp/multipartBody4906292228699192628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598898772,"filename":"image_23012025_03_12_02_495814_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330728318","file1":"1330728314","file0":"1330728310","file4":"1330728336","file5":"1330728355","file3":"1330728322"},"map_files_photo_id_array":[{"photo_id":"1330728355","filename":"file5"},{"photo_id":"1330728318","filename":"file2"},{"photo_id":"1330728336","filename":"file4"},{"photo_id":"1330728314","filename":"file1"},{"photo_id":"1330728310","filename":"file0"},{"photo_id":"1330728322","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330728322":["hashtag1","hashtag2"]},{"1330728310":["hashtag1","hashtag2"]},{"1330728336":["hashtag1","hashtag2"]},{"1330728318":["hashtag1","hashtag2"]},{"1330728314":["hashtag1","hashtag2"]},{"1330728355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330728322, 1330728310, 1330728336, 1330728318, 1330728314, 1330728355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.1870653629303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:21:22.654715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/12/image_23012025_03_12_02_495814_0001.jpg', '/home/pi/Desktop/images/23012025/03/12/image_23012025_03_12_02_495814_0002.jpg', '/home/pi/Desktop/images/23012025/03/12/image_23012025_03_12_02_495814_0003.jpg', '/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_03_051328_0000.jpg', '/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_03_051328_0001.jpg', '/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_03_051328_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/12/image_23012025_03_12_02_495814_0001.jpg
/home/pi/Desktop/images/23012025/03/12/image_23012025_03_12_02_495814_0002.jpg
/home/pi/Desktop/images/23012025/03/12/image_23012025_03_12_02_495814_0003.jpg
/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_03_051328_0000.jpg
/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_03_051328_0001.jpg
/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_03_051328_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330728445","1330728424","1330728465","1330728461","1330728413","1330728469"],"photo_ids_order":["1330728413","1330728424","1330728445","1330728461","1330728465","1330728469"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22c9a2ceab590e70a7a1c2094c494f87.jpg","text":"TemporaryFile(/tmp/multipartBody6604495354128827415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598959191,"filename":"image_23012025_03_12_02_495814_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d3ef3534cde2c0a22c710534a12aa2c.jpg","text":"TemporaryFile(/tmp/multipartBody2630308101333051819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598959191,"filename":"image_23012025_03_12_02_495814_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f0162f9c6b1070d738753829b9fa590.jpg","text":"TemporaryFile(/tmp/multipartBody6669765547963734098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598959191,"filename":"image_23012025_03_13_03_051328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13f46ceb7aa4c0ddc1da858d4ede0ccc.jpg","text":"TemporaryFile(/tmp/multipartBody5991398058177451122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598959191,"filename":"image_23012025_03_13_03_051328_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb8dca790ad6d9815be52555da74e46f.jpg","text":"TemporaryFile(/tmp/multipartBody6777930670676089298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598959191,"filename":"image_23012025_03_12_02_495814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bfac793d5c92484a54c2a692b2c11bd.jpg","text":"TemporaryFile(/tmp/multipartBody5024740249613702043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598959191,"filename":"image_23012025_03_13_03_051328_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330728445","file1":"1330728424","file0":"1330728413","file4":"1330728465","file5":"1330728469","file3":"1330728461"},"map_files_photo_id_array":[{"photo_id":"1330728469","filename":"file5"},{"photo_id":"1330728445","filename":"file2"},{"photo_id":"1330728465","filename":"file4"},{"photo_id":"1330728424","filename":"file1"},{"photo_id":"1330728413","filename":"file0"},{"photo_id":"1330728461","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330728445":["hashtag1","hashtag2"]},{"1330728424":["hashtag1","hashtag2"]},{"1330728465":["hashtag1","hashtag2"]},{"1330728461":["hashtag1","hashtag2"]},{"1330728413":["hashtag1","hashtag2"]},{"1330728469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330728445, 1330728424, 1330728465, 1330728461, 1330728413, 1330728469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.30100727081299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:23:03.416481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_03_051328_0003.jpg', '/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0000.jpg', '/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0001.jpg', '/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0002.jpg', '/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0003.jpg', '/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_03_051328_0003.jpg
/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0000.jpg
/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0001.jpg
/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0002.jpg
/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0003.jpg
/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.95537805557251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:23:22.637659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_03_051328_0003.jpg', '/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0000.jpg', '/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0001.jpg', '/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0002.jpg', '/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0003.jpg', '/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_03_051328_0003.jpg
/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0000.jpg
/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0001.jpg
/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0002.jpg
/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_02_585867_0003.jpg
/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_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":["1330729098","1330729089","1330729044","1330729110","1330729104","1330729111"],"photo_ids_order":["1330729044","1330729089","1330729098","1330729104","1330729110","1330729111"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/293576d0dd8021e8baa0eaa63979430c.jpg","text":"TemporaryFile(/tmp/multipartBody2579060796618845131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599079915,"filename":"image_23012025_03_14_02_585867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53b93870048fff24b1ea92eb004b48d5.jpg","text":"TemporaryFile(/tmp/multipartBody3291357189087147714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599079915,"filename":"image_23012025_03_14_02_585867_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/568bc5b1a9a0a173daf379b288f4dc76.jpg","text":"TemporaryFile(/tmp/multipartBody3165633978753615529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599079915,"filename":"image_23012025_03_13_03_051328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4037c49f0e73c61bc4284c06f13ca0e.jpg","text":"TemporaryFile(/tmp/multipartBody8247227974730648022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599079915,"filename":"image_23012025_03_14_02_585867_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cca144f1036c40477da5479c30a8247a.jpg","text":"TemporaryFile(/tmp/multipartBody2915189558735057466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599079915,"filename":"image_23012025_03_14_02_585867_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/017dc9bd4022f3da17a1e0a2ab7beeff.jpg","text":"TemporaryFile(/tmp/multipartBody7793652961314453080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599079915,"filename":"image_23012025_03_15_03_075551_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330729098","file1":"1330729089","file0":"1330729044","file4":"1330729110","file5":"1330729111","file3":"1330729104"},"map_files_photo_id_array":[{"photo_id":"1330729111","filename":"file5"},{"photo_id":"1330729098","filename":"file2"},{"photo_id":"1330729110","filename":"file4"},{"photo_id":"1330729089","filename":"file1"},{"photo_id":"1330729044","filename":"file0"},{"photo_id":"1330729104","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330729098":["hashtag1","hashtag2"]},{"1330729089":["hashtag1","hashtag2"]},{"1330729044":["hashtag1","hashtag2"]},{"1330729110":["hashtag1","hashtag2"]},{"1330729104":["hashtag1","hashtag2"]},{"1330729111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330729098, 1330729089, 1330729044, 1330729110, 1330729104, 1330729111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.839054584503174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:25:02.344454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0001.jpg', '/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0002.jpg', '/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0003.jpg', '/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_02_635295_0000.jpg', '/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_02_635295_0001.jpg', '/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_02_635295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0001.jpg
/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0002.jpg
/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0003.jpg
/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_02_635295_0000.jpg
/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_02_635295_0001.jpg
/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_02_635295_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.310279369354248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:25:21.792165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0001.jpg', '/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0002.jpg', '/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0003.jpg', '/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_02_635295_0000.jpg', '/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_02_635295_0001.jpg', '/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_02_635295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0001.jpg
/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0002.jpg
/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_03_075551_0003.jpg
/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_02_635295_0000.jpg
/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_02_635295_0001.jpg
/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_02_635295_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330729284","1330729289","1330729334","1330729279","1330729327","1330729287"],"photo_ids_order":["1330729279","1330729284","1330729287","1330729289","1330729327","1330729334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e54bee65e899ba647e9535d1a7ea8db.jpg","text":"TemporaryFile(/tmp/multipartBody3959709187145414912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599198432,"filename":"image_23012025_03_15_03_075551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fd5468cabc4d4dc7adc48d903184dbe.jpg","text":"TemporaryFile(/tmp/multipartBody2242782499696840593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599198432,"filename":"image_23012025_03_16_02_635295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02351d9c3bb1d341cf0c91b2c527a195.jpg","text":"TemporaryFile(/tmp/multipartBody6310540579304369850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599198432,"filename":"image_23012025_03_16_02_635295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aaff863578166e971289de572be1e3f5.jpg","text":"TemporaryFile(/tmp/multipartBody7350790534811978316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599198432,"filename":"image_23012025_03_15_03_075551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5b9d4bbca8a1ab1a5aa55a84cf94590.jpg","text":"TemporaryFile(/tmp/multipartBody4904694947235263412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599198432,"filename":"image_23012025_03_16_02_635295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2381810261fdab769fe5ac30978efeb2.jpg","text":"TemporaryFile(/tmp/multipartBody3350317252440016245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599198432,"filename":"image_23012025_03_15_03_075551_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330729287","file1":"1330729284","file0":"1330729279","file4":"1330729327","file5":"1330729334","file3":"1330729289"},"map_files_photo_id_array":[{"photo_id":"1330729334","filename":"file5"},{"photo_id":"1330729287","filename":"file2"},{"photo_id":"1330729327","filename":"file4"},{"photo_id":"1330729284","filename":"file1"},{"photo_id":"1330729279","filename":"file0"},{"photo_id":"1330729289","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330729284":["hashtag1","hashtag2"]},{"1330729289":["hashtag1","hashtag2"]},{"1330729334":["hashtag1","hashtag2"]},{"1330729279":["hashtag1","hashtag2"]},{"1330729327":["hashtag1","hashtag2"]},{"1330729287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330729284, 1330729289, 1330729334, 1330729279, 1330729327, 1330729287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.2743718624115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:27:02.681233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_02_635295_0003.jpg', '/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_02_254514_0000.jpg', '/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_02_254514_0001.jpg', '/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_02_254514_0002.jpg', '/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_02_254514_0003.jpg', '/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_02_726446_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_02_635295_0003.jpg
/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_02_254514_0000.jpg
/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_02_254514_0001.jpg
/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_02_254514_0002.jpg
/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_02_254514_0003.jpg
/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_02_726446_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330729686","1330729510","1330729405","1330729401","1330729403","1330729396"],"photo_ids_order":["1330729396","1330729401","1330729403","1330729405","1330729510","1330729686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/faed49e990d020d2294682e715498bfe.jpg","text":"TemporaryFile(/tmp/multipartBody2024944147986205603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599299517,"filename":"image_23012025_03_18_02_726446_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31bdc963e036516fec399c4d332ec86d.jpg","text":"TemporaryFile(/tmp/multipartBody5922874076314332400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599299517,"filename":"image_23012025_03_17_02_254514_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/103a53bbe2ec21b01210f318f1c4e8fe.jpg","text":"TemporaryFile(/tmp/multipartBody1380295334169648996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599299517,"filename":"image_23012025_03_17_02_254514_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50661c9c5793fc0967014c66ee369c11.jpg","text":"TemporaryFile(/tmp/multipartBody5295291468120593201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599299517,"filename":"image_23012025_03_17_02_254514_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f8c53f75a730069be2b1e05c7d4f8eb.jpg","text":"TemporaryFile(/tmp/multipartBody1992608385324014561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599299517,"filename":"image_23012025_03_17_02_254514_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8d1cde4c25ed41dd7e5a1d163d6854e.jpg","text":"TemporaryFile(/tmp/multipartBody4456027315318361247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599299517,"filename":"image_23012025_03_16_02_635295_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330729403","file1":"1330729401","file0":"1330729396","file4":"1330729510","file5":"1330729686","file3":"1330729405"},"map_files_photo_id_array":[{"photo_id":"1330729686","filename":"file5"},{"photo_id":"1330729403","filename":"file2"},{"photo_id":"1330729510","filename":"file4"},{"photo_id":"1330729401","filename":"file1"},{"photo_id":"1330729396","filename":"file0"},{"photo_id":"1330729405","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330729686":["hashtag1","hashtag2"]},{"1330729510":["hashtag1","hashtag2"]},{"1330729405":["hashtag1","hashtag2"]},{"1330729401":["hashtag1","hashtag2"]},{"1330729403":["hashtag1","hashtag2"]},{"1330729396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330729686, 1330729510, 1330729405, 1330729401, 1330729403, 1330729396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.04824376106262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:28:03.060123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_02_726446_0001.jpg', '/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_02_726446_0002.jpg', '/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_02_726446_0003.jpg', '/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_02_341452_0000.jpg', '/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_02_341452_0001.jpg', '/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_02_341452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_02_726446_0001.jpg
/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_02_726446_0002.jpg
/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_02_726446_0003.jpg
/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_02_341452_0000.jpg
/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_02_341452_0001.jpg
/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_02_341452_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.679912567138672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:28:22.661381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_02_726446_0001.jpg', '/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_02_726446_0002.jpg', '/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_02_726446_0003.jpg', '/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_02_341452_0000.jpg', '/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_02_341452_0001.jpg', '/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_02_341452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_02_726446_0001.jpg
/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_02_726446_0002.jpg
/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_02_726446_0003.jpg
/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_02_341452_0000.jpg
/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_02_341452_0001.jpg
/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_02_341452_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330730041","1330730121","1330730115","1330730109","1330730083","1330730047"],"photo_ids_order":["1330730041","1330730047","1330730083","1330730109","1330730115","1330730121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdc8effa617ea3d86bd1649a9eca994b.jpg","text":"TemporaryFile(/tmp/multipartBody8436073788107348231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599379681,"filename":"image_23012025_03_18_02_726446_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93966d9aea4006e69d0a8872607b665d.jpg","text":"TemporaryFile(/tmp/multipartBody646809449746511650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599379681,"filename":"image_23012025_03_19_02_341452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7075666ec95302b811b07238fd047488.jpg","text":"TemporaryFile(/tmp/multipartBody7019587214585514292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599379681,"filename":"image_23012025_03_19_02_341452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcf157bc4c08abc2890f47387ba134bf.jpg","text":"TemporaryFile(/tmp/multipartBody2674907803697733991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599379681,"filename":"image_23012025_03_19_02_341452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b2fdc58bda25fef40a4165f5954e99c.jpg","text":"TemporaryFile(/tmp/multipartBody8613282261056513443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599379681,"filename":"image_23012025_03_18_02_726446_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/674e767aa621cb90622c4e4e076fbe20.jpg","text":"TemporaryFile(/tmp/multipartBody8765428704607400949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599379681,"filename":"image_23012025_03_18_02_726446_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330730083","file1":"1330730047","file0":"1330730041","file4":"1330730115","file5":"1330730121","file3":"1330730109"},"map_files_photo_id_array":[{"photo_id":"1330730121","filename":"file5"},{"photo_id":"1330730083","filename":"file2"},{"photo_id":"1330730115","filename":"file4"},{"photo_id":"1330730047","filename":"file1"},{"photo_id":"1330730041","filename":"file0"},{"photo_id":"1330730109","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330730041":["hashtag1","hashtag2"]},{"1330730121":["hashtag1","hashtag2"]},{"1330730115":["hashtag1","hashtag2"]},{"1330730109":["hashtag1","hashtag2"]},{"1330730083":["hashtag1","hashtag2"]},{"1330730047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330730041, 1330730121, 1330730115, 1330730109, 1330730083, 1330730047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.7275927066803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:30:03.182327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_02_341452_0003.jpg', '/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_02_859606_0000.jpg', '/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_02_859606_0001.jpg', '/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_02_859606_0002.jpg', '/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_02_859606_0003.jpg', '/home/pi/Desktop/images/23012025/03/21/image_23012025_03_21_02_474676_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_02_341452_0003.jpg
/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_02_859606_0000.jpg
/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_02_859606_0001.jpg
/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_02_859606_0002.jpg
/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_02_859606_0003.jpg
/home/pi/Desktop/images/23012025/03/21/image_23012025_03_21_02_474676_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":["1330730203","1330730226","1330730205","1330730195","1330730185","1330730179"],"photo_ids_order":["1330730179","1330730185","1330730195","1330730203","1330730205","1330730226"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79f7761a1953e3b4f4449944b737a1be.jpg","text":"TemporaryFile(/tmp/multipartBody8941142710377505602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599479844,"filename":"image_23012025_03_20_02_859606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/351e2cdf703603a6bd6d281cc9121b9c.jpg","text":"TemporaryFile(/tmp/multipartBody1643635165706642638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599479844,"filename":"image_23012025_03_21_02_474676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/673dfc1d77a9e793e12b92c4646b234b.jpg","text":"TemporaryFile(/tmp/multipartBody2504144314555874726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599479844,"filename":"image_23012025_03_20_02_859606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1cfde29e8f4880cbbac98ecb3361973.jpg","text":"TemporaryFile(/tmp/multipartBody7070340622391616513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599479844,"filename":"image_23012025_03_20_02_859606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdf1e36d0c09000dd792b8c372f55b3f.jpg","text":"TemporaryFile(/tmp/multipartBody1787734013619456001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599479844,"filename":"image_23012025_03_20_02_859606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5ae9d1e04a0ad93caa7603f4f926d96.jpg","text":"TemporaryFile(/tmp/multipartBody7563970891233358808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599479844,"filename":"image_23012025_03_19_02_341452_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330730195","file1":"1330730185","file0":"1330730179","file4":"1330730205","file5":"1330730226","file3":"1330730203"},"map_files_photo_id_array":[{"photo_id":"1330730226","filename":"file5"},{"photo_id":"1330730195","filename":"file2"},{"photo_id":"1330730205","filename":"file4"},{"photo_id":"1330730185","filename":"file1"},{"photo_id":"1330730179","filename":"file0"},{"photo_id":"1330730203","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330730203":["hashtag1","hashtag2"]},{"1330730226":["hashtag1","hashtag2"]},{"1330730205":["hashtag1","hashtag2"]},{"1330730195":["hashtag1","hashtag2"]},{"1330730185":["hashtag1","hashtag2"]},{"1330730179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330730203, 1330730226, 1330730205, 1330730195, 1330730185, 1330730179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.05053997039795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:31:22.284766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/21/image_23012025_03_21_02_474676_0001.jpg', '/home/pi/Desktop/images/23012025/03/21/image_23012025_03_21_02_474676_0002.jpg', '/home/pi/Desktop/images/23012025/03/21/image_23012025_03_21_02_474676_0003.jpg', '/home/pi/Desktop/images/23012025/03/22/image_23012025_03_22_02_982744_0000.jpg', '/home/pi/Desktop/images/23012025/03/22/image_23012025_03_22_02_982744_0001.jpg', '/home/pi/Desktop/images/23012025/03/22/image_23012025_03_22_02_982744_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/21/image_23012025_03_21_02_474676_0001.jpg
/home/pi/Desktop/images/23012025/03/21/image_23012025_03_21_02_474676_0002.jpg
/home/pi/Desktop/images/23012025/03/21/image_23012025_03_21_02_474676_0003.jpg
/home/pi/Desktop/images/23012025/03/22/image_23012025_03_22_02_982744_0000.jpg
/home/pi/Desktop/images/23012025/03/22/image_23012025_03_22_02_982744_0001.jpg
/home/pi/Desktop/images/23012025/03/22/image_23012025_03_22_02_982744_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330730314","1330730331","1330730321","1330730309","1330730318","1330730303"],"photo_ids_order":["1330730303","1330730309","1330730314","1330730318","1330730321","1330730331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ad653ba31cf0312d177ec5165e96edb.jpg","text":"TemporaryFile(/tmp/multipartBody7154220255927488527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599558639,"filename":"image_23012025_03_21_02_474676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d3ccac186faa18ebb8c278d6c1dc722.jpg","text":"TemporaryFile(/tmp/multipartBody845170950478099916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599558639,"filename":"image_23012025_03_22_02_982744_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37a0a569f4e0aabc9c2f645f1244d384.jpg","text":"TemporaryFile(/tmp/multipartBody6475392817324652304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599558639,"filename":"image_23012025_03_22_02_982744_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b674ef3e7692e979f9b7e0bd5da27555.jpg","text":"TemporaryFile(/tmp/multipartBody6739471023100007558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599558639,"filename":"image_23012025_03_21_02_474676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fad9163eddf1ced69a9eaf1238af9a6b.jpg","text":"TemporaryFile(/tmp/multipartBody1371571290493819327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599558639,"filename":"image_23012025_03_22_02_982744_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58e6173fc940e0ccb8a18222ddd35baf.jpg","text":"TemporaryFile(/tmp/multipartBody1725082425382064299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599558639,"filename":"image_23012025_03_21_02_474676_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330730314","file1":"1330730309","file0":"1330730303","file4":"1330730321","file5":"1330730331","file3":"1330730318"},"map_files_photo_id_array":[{"photo_id":"1330730331","filename":"file5"},{"photo_id":"1330730314","filename":"file2"},{"photo_id":"1330730321","filename":"file4"},{"photo_id":"1330730309","filename":"file1"},{"photo_id":"1330730303","filename":"file0"},{"photo_id":"1330730318","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330730314":["hashtag1","hashtag2"]},{"1330730331":["hashtag1","hashtag2"]},{"1330730321":["hashtag1","hashtag2"]},{"1330730309":["hashtag1","hashtag2"]},{"1330730318":["hashtag1","hashtag2"]},{"1330730303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330730314, 1330730331, 1330730321, 1330730309, 1330730318, 1330730303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.35156321525574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:33:02.861583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/22/image_23012025_03_22_02_982744_0003.jpg', '/home/pi/Desktop/images/23012025/03/23/image_23012025_03_23_02_516202_0000.jpg', '/home/pi/Desktop/images/23012025/03/23/image_23012025_03_23_02_516202_0001.jpg', '/home/pi/Desktop/images/23012025/03/23/image_23012025_03_23_02_516202_0002.jpg', '/home/pi/Desktop/images/23012025/03/23/image_23012025_03_23_02_516202_0003.jpg', '/home/pi/Desktop/images/23012025/03/24/image_23012025_03_24_03_058926_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/22/image_23012025_03_22_02_982744_0003.jpg
/home/pi/Desktop/images/23012025/03/23/image_23012025_03_23_02_516202_0000.jpg
/home/pi/Desktop/images/23012025/03/23/image_23012025_03_23_02_516202_0001.jpg
/home/pi/Desktop/images/23012025/03/23/image_23012025_03_23_02_516202_0002.jpg
/home/pi/Desktop/images/23012025/03/23/image_23012025_03_23_02_516202_0003.jpg
/home/pi/Desktop/images/23012025/03/24/image_23012025_03_24_03_058926_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":["1330730731","1330730739","1330730727","1330730693","1330730723","1330730720"],"photo_ids_order":["1330730693","1330730720","1330730723","1330730727","1330730731","1330730739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/110fc376ca183e9b9bdb8e1b650ae4f5.jpg","text":"TemporaryFile(/tmp/multipartBody7440955801077636986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599659975,"filename":"image_23012025_03_23_02_516202_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd5a5b06539ead3734276a63417a8b51.jpg","text":"TemporaryFile(/tmp/multipartBody3511035937972400204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599659975,"filename":"image_23012025_03_24_03_058926_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e0e8dac32ddb15ba08985c3c9e167a4.jpg","text":"TemporaryFile(/tmp/multipartBody6078264487267443892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599659975,"filename":"image_23012025_03_23_02_516202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/238ff39b5dec67557c00ceb36c651665.jpg","text":"TemporaryFile(/tmp/multipartBody7496647397744743006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599659975,"filename":"image_23012025_03_22_02_982744_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3f6ffa05288a02ba4b769ac3fdb8a92.jpg","text":"TemporaryFile(/tmp/multipartBody5802222342510606960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599659975,"filename":"image_23012025_03_23_02_516202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b90abe1eb3f5c218b80eb078ce88d124.jpg","text":"TemporaryFile(/tmp/multipartBody5508125116426569174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599659975,"filename":"image_23012025_03_23_02_516202_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330730723","file1":"1330730720","file0":"1330730693","file4":"1330730731","file5":"1330730739","file3":"1330730727"},"map_files_photo_id_array":[{"photo_id":"1330730739","filename":"file5"},{"photo_id":"1330730723","filename":"file2"},{"photo_id":"1330730731","filename":"file4"},{"photo_id":"1330730720","filename":"file1"},{"photo_id":"1330730693","filename":"file0"},{"photo_id":"1330730727","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330730731":["hashtag1","hashtag2"]},{"1330730739":["hashtag1","hashtag2"]},{"1330730727":["hashtag1","hashtag2"]},{"1330730693":["hashtag1","hashtag2"]},{"1330730723":["hashtag1","hashtag2"]},{"1330730720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330730731, 1330730739, 1330730727, 1330730693, 1330730723, 1330730720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.67900562286377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:34:22.030797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/24/image_23012025_03_24_03_058926_0001.jpg', '/home/pi/Desktop/images/23012025/03/24/image_23012025_03_24_03_058926_0002.jpg', '/home/pi/Desktop/images/23012025/03/24/image_23012025_03_24_03_058926_0003.jpg', '/home/pi/Desktop/images/23012025/03/25/image_23012025_03_25_02_701419_0000.jpg', '/home/pi/Desktop/images/23012025/03/25/image_23012025_03_25_02_701419_0001.jpg', '/home/pi/Desktop/images/23012025/03/25/image_23012025_03_25_02_701419_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/24/image_23012025_03_24_03_058926_0001.jpg
/home/pi/Desktop/images/23012025/03/24/image_23012025_03_24_03_058926_0002.jpg
/home/pi/Desktop/images/23012025/03/24/image_23012025_03_24_03_058926_0003.jpg
/home/pi/Desktop/images/23012025/03/25/image_23012025_03_25_02_701419_0000.jpg
/home/pi/Desktop/images/23012025/03/25/image_23012025_03_25_02_701419_0001.jpg
/home/pi/Desktop/images/23012025/03/25/image_23012025_03_25_02_701419_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330730793","1330730808","1330730798","1330730823","1330730805","1330730840"],"photo_ids_order":["1330730793","1330730798","1330730805","1330730808","1330730823","1330730840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f27185929bd28e451c5f7a3d4c5b8599.jpg","text":"TemporaryFile(/tmp/multipartBody1659958412731504864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599738665,"filename":"image_23012025_03_24_03_058926_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4b201d21ae9ed47ab3493741d5a0f39.jpg","text":"TemporaryFile(/tmp/multipartBody6340695230576036577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599738665,"filename":"image_23012025_03_25_02_701419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f882b03aeec6375e562d517717f02a0.jpg","text":"TemporaryFile(/tmp/multipartBody309326396635284830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599738665,"filename":"image_23012025_03_24_03_058926_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa7c2fb51092b72001a48d4f05baade5.jpg","text":"TemporaryFile(/tmp/multipartBody4209174922019283778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599738665,"filename":"image_23012025_03_25_02_701419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a1af336f6591beaf6d0b57284ec5809.jpg","text":"TemporaryFile(/tmp/multipartBody8472722738488610298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599738665,"filename":"image_23012025_03_24_03_058926_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/acbc346899bf4b4c233095b74265df2f.jpg","text":"TemporaryFile(/tmp/multipartBody1681105369587156858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599738665,"filename":"image_23012025_03_25_02_701419_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330730805","file1":"1330730798","file0":"1330730793","file4":"1330730823","file5":"1330730840","file3":"1330730808"},"map_files_photo_id_array":[{"photo_id":"1330730840","filename":"file5"},{"photo_id":"1330730805","filename":"file2"},{"photo_id":"1330730823","filename":"file4"},{"photo_id":"1330730798","filename":"file1"},{"photo_id":"1330730793","filename":"file0"},{"photo_id":"1330730808","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330730793":["hashtag1","hashtag2"]},{"1330730808":["hashtag1","hashtag2"]},{"1330730798":["hashtag1","hashtag2"]},{"1330730823":["hashtag1","hashtag2"]},{"1330730805":["hashtag1","hashtag2"]},{"1330730840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330730793, 1330730808, 1330730798, 1330730823, 1330730805, 1330730840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.71329402923584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:35:22.479681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/25/image_23012025_03_25_02_701419_0003.jpg', '/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_02_260907_0000.jpg', '/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_02_260907_0001.jpg', '/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_02_260907_0002.jpg', '/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_02_260907_0003.jpg', '/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_02_882528_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/25/image_23012025_03_25_02_701419_0003.jpg
/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_02_260907_0000.jpg
/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_02_260907_0001.jpg
/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_02_260907_0002.jpg
/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_02_260907_0003.jpg
/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_02_882528_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":["1330730902","1330730958","1330730931","1330730934","1330730963","1330730962"],"photo_ids_order":["1330730902","1330730931","1330730934","1330730958","1330730962","1330730963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cb4c082b41f2513cd1f6829df6998d8.jpg","text":"TemporaryFile(/tmp/multipartBody777430769772532921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599798769,"filename":"image_23012025_03_25_02_701419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13473e95be4e80ac089f3b1a821f11b9.jpg","text":"TemporaryFile(/tmp/multipartBody2161819051999023742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599798769,"filename":"image_23012025_03_26_02_260907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e93c350084827a38e318e2f8d676cb4e.jpg","text":"TemporaryFile(/tmp/multipartBody3089460767012639527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599798769,"filename":"image_23012025_03_26_02_260907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4adbb7e0ff639fb7075a7889728d5d64.jpg","text":"TemporaryFile(/tmp/multipartBody1048196571866026944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599798769,"filename":"image_23012025_03_26_02_260907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef51fca2bbefef90790f907b0b9a17b1.jpg","text":"TemporaryFile(/tmp/multipartBody3360407758102305402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599798769,"filename":"image_23012025_03_27_02_882528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/468befb605aab32e224c8db1474c0e84.jpg","text":"TemporaryFile(/tmp/multipartBody3371861585626708842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599798769,"filename":"image_23012025_03_26_02_260907_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330730934","file1":"1330730931","file0":"1330730902","file4":"1330730962","file5":"1330730963","file3":"1330730958"},"map_files_photo_id_array":[{"photo_id":"1330730963","filename":"file5"},{"photo_id":"1330730934","filename":"file2"},{"photo_id":"1330730962","filename":"file4"},{"photo_id":"1330730931","filename":"file1"},{"photo_id":"1330730902","filename":"file0"},{"photo_id":"1330730958","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330730902":["hashtag1","hashtag2"]},{"1330730958":["hashtag1","hashtag2"]},{"1330730931":["hashtag1","hashtag2"]},{"1330730934":["hashtag1","hashtag2"]},{"1330730963":["hashtag1","hashtag2"]},{"1330730962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330730902, 1330730958, 1330730931, 1330730934, 1330730963, 1330730962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.89742708206177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:37:03.091212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_02_882528_0001.jpg', '/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_02_882528_0002.jpg', '/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_02_882528_0003.jpg', '/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0000.jpg', '/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0001.jpg', '/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_02_882528_0001.jpg
/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_02_882528_0002.jpg
/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_02_882528_0003.jpg
/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0000.jpg
/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0001.jpg
/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.504915475845337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:37:22.425141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_02_882528_0001.jpg', '/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_02_882528_0002.jpg', '/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_02_882528_0003.jpg', '/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0000.jpg', '/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0001.jpg', '/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_02_882528_0001.jpg
/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_02_882528_0002.jpg
/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_02_882528_0003.jpg
/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0000.jpg
/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0001.jpg
/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330731093","1330731114","1330731101","1330731097","1330731139","1330731100"],"photo_ids_order":["1330731093","1330731097","1330731100","1330731101","1330731114","1330731139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8669845197db523c7129528a4dab3bac.jpg","text":"TemporaryFile(/tmp/multipartBody5141113579054895611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599919223,"filename":"image_23012025_03_27_02_882528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ead182229c5682a5e13808541247e9e7.jpg","text":"TemporaryFile(/tmp/multipartBody2073617324154299600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599919223,"filename":"image_23012025_03_28_02_412177_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1f270bab9b0ea87a623b6c1791d323f.jpg","text":"TemporaryFile(/tmp/multipartBody6987688742085208174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599919223,"filename":"image_23012025_03_28_02_412177_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e79b8024cd08fa86fd40b79652a590e.jpg","text":"TemporaryFile(/tmp/multipartBody8559331119598920792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599919223,"filename":"image_23012025_03_27_02_882528_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b04a6919216aed40f1cc2186b94438c.jpg","text":"TemporaryFile(/tmp/multipartBody2159897677580786063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599919223,"filename":"image_23012025_03_28_02_412177_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7548f59351957d7854190b30996e3c60.jpg","text":"TemporaryFile(/tmp/multipartBody2736590593330745222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599919223,"filename":"image_23012025_03_27_02_882528_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330731100","file1":"1330731097","file0":"1330731093","file4":"1330731114","file5":"1330731139","file3":"1330731101"},"map_files_photo_id_array":[{"photo_id":"1330731139","filename":"file5"},{"photo_id":"1330731100","filename":"file2"},{"photo_id":"1330731114","filename":"file4"},{"photo_id":"1330731097","filename":"file1"},{"photo_id":"1330731093","filename":"file0"},{"photo_id":"1330731101","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330731093":["hashtag1","hashtag2"]},{"1330731114":["hashtag1","hashtag2"]},{"1330731101":["hashtag1","hashtag2"]},{"1330731097":["hashtag1","hashtag2"]},{"1330731139":["hashtag1","hashtag2"]},{"1330731100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330731093, 1330731114, 1330731101, 1330731097, 1330731139, 1330731100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.78533577919006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:39:03.161191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0003.jpg', '/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0000.jpg', '/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0001.jpg', '/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0002.jpg', '/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0003.jpg', '/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_02_620525_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0003.jpg
/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0000.jpg
/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0001.jpg
/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0002.jpg
/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0003.jpg
/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_02_620525_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.70164942741394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:39:22.578341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0003.jpg', '/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0000.jpg', '/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0001.jpg', '/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0002.jpg', '/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0003.jpg', '/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_02_620525_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_02_412177_0003.jpg
/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0000.jpg
/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0001.jpg
/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0002.jpg
/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_03_009204_0003.jpg
/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_02_620525_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330732314","1330732097","1330732361","1330732109","1330732075","1330732078"],"photo_ids_order":["1330732075","1330732078","1330732097","1330732109","1330732314","1330732361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4271899175053c3bdaa23e40ccd6cb75.jpg","text":"TemporaryFile(/tmp/multipartBody4630385465137191067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600039563,"filename":"image_23012025_03_29_03_009204_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e26d2f571fc6bcad4002c32f55f14762.jpg","text":"TemporaryFile(/tmp/multipartBody9008580650847630991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600039563,"filename":"image_23012025_03_29_03_009204_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e0025b0c7d33c0161a69958477899d4.jpg","text":"TemporaryFile(/tmp/multipartBody6864448863106952875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600039563,"filename":"image_23012025_03_30_02_620525_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2c6307450cb5984257ab7ac7a49c31a.jpg","text":"TemporaryFile(/tmp/multipartBody1120829044190383186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600039563,"filename":"image_23012025_03_29_03_009204_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/625e77d8a863eb8646a970f86df82771.jpg","text":"TemporaryFile(/tmp/multipartBody8417516051564331732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600039563,"filename":"image_23012025_03_28_02_412177_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a0b340126abfba231d245a031143b56.jpg","text":"TemporaryFile(/tmp/multipartBody2604666774483000295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600039563,"filename":"image_23012025_03_29_03_009204_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330732097","file1":"1330732078","file0":"1330732075","file4":"1330732314","file5":"1330732361","file3":"1330732109"},"map_files_photo_id_array":[{"photo_id":"1330732361","filename":"file5"},{"photo_id":"1330732097","filename":"file2"},{"photo_id":"1330732314","filename":"file4"},{"photo_id":"1330732078","filename":"file1"},{"photo_id":"1330732075","filename":"file0"},{"photo_id":"1330732109","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330732314":["hashtag1","hashtag2"]},{"1330732097":["hashtag1","hashtag2"]},{"1330732361":["hashtag1","hashtag2"]},{"1330732109":["hashtag1","hashtag2"]},{"1330732075":["hashtag1","hashtag2"]},{"1330732078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330732314, 1330732097, 1330732361, 1330732109, 1330732075, 1330732078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.90463614463806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:40:22.195320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_02_620525_0001.jpg', '/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_02_620525_0002.jpg', '/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_02_620525_0003.jpg', '/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_03_131256_0000.jpg', '/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_03_131256_0001.jpg', '/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_03_131256_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_02_620525_0001.jpg
/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_02_620525_0002.jpg
/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_02_620525_0003.jpg
/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_03_131256_0000.jpg
/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_03_131256_0001.jpg
/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_03_131256_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330732623","1330732631","1330732618","1330732627","1330732615","1330732635"],"photo_ids_order":["1330732615","1330732618","1330732623","1330732627","1330732631","1330732635"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7689b390726ed840bc399a20f055f91f.jpg","text":"TemporaryFile(/tmp/multipartBody2276381818570378969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600099081,"filename":"image_23012025_03_30_02_620525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d24a5d076641bc40212d13b4c669faed.jpg","text":"TemporaryFile(/tmp/multipartBody7962478160803825896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600099081,"filename":"image_23012025_03_31_03_131256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d473665ff9e8d58b080dd893d4998202.jpg","text":"TemporaryFile(/tmp/multipartBody2060495922100872697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600099081,"filename":"image_23012025_03_30_02_620525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b28b592fe6f30462b18507a60d31b61a.jpg","text":"TemporaryFile(/tmp/multipartBody1920582777890837245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600099081,"filename":"image_23012025_03_31_03_131256_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83bad7ebb905477871ce8b3fd80d0f50.jpg","text":"TemporaryFile(/tmp/multipartBody3859477660681196659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600099081,"filename":"image_23012025_03_30_02_620525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8585fc288ceb9f3cb7afd620fe4ad30a.jpg","text":"TemporaryFile(/tmp/multipartBody6613343258222980500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600099081,"filename":"image_23012025_03_31_03_131256_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330732623","file1":"1330732618","file0":"1330732615","file4":"1330732631","file5":"1330732635","file3":"1330732627"},"map_files_photo_id_array":[{"photo_id":"1330732635","filename":"file5"},{"photo_id":"1330732623","filename":"file2"},{"photo_id":"1330732631","filename":"file4"},{"photo_id":"1330732618","filename":"file1"},{"photo_id":"1330732615","filename":"file0"},{"photo_id":"1330732627","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330732623":["hashtag1","hashtag2"]},{"1330732631":["hashtag1","hashtag2"]},{"1330732618":["hashtag1","hashtag2"]},{"1330732627":["hashtag1","hashtag2"]},{"1330732615":["hashtag1","hashtag2"]},{"1330732635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330732623, 1330732631, 1330732618, 1330732627, 1330732615, 1330732635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.741883516311646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:41:22.689115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_03_131256_0003.jpg', '/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_02_628284_0000.jpg', '/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_02_628284_0001.jpg', '/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_02_628284_0002.jpg', '/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_02_628284_0003.jpg', '/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_02_142352_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_03_131256_0003.jpg
/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_02_628284_0000.jpg
/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_02_628284_0001.jpg
/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_02_628284_0002.jpg
/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_02_628284_0003.jpg
/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_02_142352_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":["1330733072","1330732644","1330733435","1330732675","1330732648","1330732801"],"photo_ids_order":["1330732644","1330732648","1330732675","1330732801","1330733072","1330733435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d29fdf38b826b28ad4de0ea4306611d.jpg","text":"TemporaryFile(/tmp/multipartBody3500461474890627185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600159798,"filename":"image_23012025_03_32_02_628284_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/892d0626ca395a89966f4ebb97ffa222.jpg","text":"TemporaryFile(/tmp/multipartBody7460427388856592187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600159798,"filename":"image_23012025_03_31_03_131256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a66e03fb8698e3dd62219629a956247.jpg","text":"TemporaryFile(/tmp/multipartBody7715598946537801528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600159798,"filename":"image_23012025_03_33_02_142352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5bbe18fc6b9dafd5b85bf27fadc006d4.jpg","text":"TemporaryFile(/tmp/multipartBody3121339919471506274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600159798,"filename":"image_23012025_03_32_02_628284_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ae23a182913d3ab97576b90fb8584ac.jpg","text":"TemporaryFile(/tmp/multipartBody430206927851501444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600159798,"filename":"image_23012025_03_32_02_628284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b95d640938150436c38cbb2d0343659.jpg","text":"TemporaryFile(/tmp/multipartBody4885844788247012776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600159798,"filename":"image_23012025_03_32_02_628284_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330732675","file1":"1330732648","file0":"1330732644","file4":"1330733072","file5":"1330733435","file3":"1330732801"},"map_files_photo_id_array":[{"photo_id":"1330733435","filename":"file5"},{"photo_id":"1330732675","filename":"file2"},{"photo_id":"1330733072","filename":"file4"},{"photo_id":"1330732648","filename":"file1"},{"photo_id":"1330732644","filename":"file0"},{"photo_id":"1330732801","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330733072":["hashtag1","hashtag2"]},{"1330732644":["hashtag1","hashtag2"]},{"1330733435":["hashtag1","hashtag2"]},{"1330732675":["hashtag1","hashtag2"]},{"1330732648":["hashtag1","hashtag2"]},{"1330732801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330733072, 1330732644, 1330733435, 1330732675, 1330732648, 1330732801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.862072229385376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:43:03.331056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_02_142352_0001.jpg', '/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_02_142352_0002.jpg', '/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_02_142352_0003.jpg', '/home/pi/Desktop/images/23012025/03/34/image_23012025_03_34_02_698038_0000.jpg', '/home/pi/Desktop/images/23012025/03/34/image_23012025_03_34_02_698038_0001.jpg', '/home/pi/Desktop/images/23012025/03/34/image_23012025_03_34_02_698038_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_02_142352_0001.jpg
/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_02_142352_0002.jpg
/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_02_142352_0003.jpg
/home/pi/Desktop/images/23012025/03/34/image_23012025_03_34_02_698038_0000.jpg
/home/pi/Desktop/images/23012025/03/34/image_23012025_03_34_02_698038_0001.jpg
/home/pi/Desktop/images/23012025/03/34/image_23012025_03_34_02_698038_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330733789","1330733711","1330733884","1330733704","1330734188","1330733792"],"photo_ids_order":["1330733704","1330733711","1330733789","1330733792","1330733884","1330734188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/590e0dec5a959b4148e7a01bde5c7f9e.jpg","text":"TemporaryFile(/tmp/multipartBody3591249316287633603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600260094,"filename":"image_23012025_03_33_02_142352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/faae9785e5c865d31f09c320ddb3f568.jpg","text":"TemporaryFile(/tmp/multipartBody2046334711267847898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600260094,"filename":"image_23012025_03_33_02_142352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f74263f7534cf333995405740bbc5ea.jpg","text":"TemporaryFile(/tmp/multipartBody7911912778583604753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600260094,"filename":"image_23012025_03_34_02_698038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0eee04b26b4b79d023552d83aa5578a6.jpg","text":"TemporaryFile(/tmp/multipartBody3723945257149616503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600260094,"filename":"image_23012025_03_33_02_142352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f990dc75a03fa34c4abb38b33078bfc.jpg","text":"TemporaryFile(/tmp/multipartBody847321751979888715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600260094,"filename":"image_23012025_03_34_02_698038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/399bccbebc010be87da2035d06a54b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7982659583846317700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600260094,"filename":"image_23012025_03_34_02_698038_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330733789","file1":"1330733711","file0":"1330733704","file4":"1330733884","file5":"1330734188","file3":"1330733792"},"map_files_photo_id_array":[{"photo_id":"1330734188","filename":"file5"},{"photo_id":"1330733789","filename":"file2"},{"photo_id":"1330733884","filename":"file4"},{"photo_id":"1330733711","filename":"file1"},{"photo_id":"1330733704","filename":"file0"},{"photo_id":"1330733792","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330733789":["hashtag1","hashtag2"]},{"1330733711":["hashtag1","hashtag2"]},{"1330733884":["hashtag1","hashtag2"]},{"1330733704":["hashtag1","hashtag2"]},{"1330734188":["hashtag1","hashtag2"]},{"1330733792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330733789, 1330733711, 1330733884, 1330733704, 1330734188, 1330733792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.53657364845276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:44:22.157971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/34/image_23012025_03_34_02_698038_0003.jpg', '/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_02_354713_0000.jpg', '/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_02_354713_0001.jpg', '/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_02_354713_0002.jpg', '/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_02_354713_0003.jpg', '/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_02_901481_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/34/image_23012025_03_34_02_698038_0003.jpg
/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_02_354713_0000.jpg
/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_02_354713_0001.jpg
/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_02_354713_0002.jpg
/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_02_354713_0003.jpg
/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_02_901481_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330734401","1330734382","1330734403","1330734393","1330734399","1330734390"],"photo_ids_order":["1330734382","1330734390","1330734393","1330734399","1330734401","1330734403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4fd2f93865581a352247af86e4c274d1.jpg","text":"TemporaryFile(/tmp/multipartBody2279508520743464637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600338657,"filename":"image_23012025_03_35_02_354713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46e812da8d91f1abe4387538f9cf74ab.jpg","text":"TemporaryFile(/tmp/multipartBody762439095041404780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600338657,"filename":"image_23012025_03_34_02_698038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85df173c7a1656923dec0cdc6b42eec2.jpg","text":"TemporaryFile(/tmp/multipartBody4564834512632022494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600338657,"filename":"image_23012025_03_36_02_901481_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f66a20723efe393d670581f804e55496.jpg","text":"TemporaryFile(/tmp/multipartBody1571617284467728842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600338657,"filename":"image_23012025_03_35_02_354713_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1f83f6d83c7d6cf2e1b5cfc9ab3efa3.jpg","text":"TemporaryFile(/tmp/multipartBody5572783496656244739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600338657,"filename":"image_23012025_03_35_02_354713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b827ce7f11700aa26215e7a95931078c.jpg","text":"TemporaryFile(/tmp/multipartBody5267239753816915203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600338657,"filename":"image_23012025_03_35_02_354713_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330734393","file1":"1330734390","file0":"1330734382","file4":"1330734401","file5":"1330734403","file3":"1330734399"},"map_files_photo_id_array":[{"photo_id":"1330734403","filename":"file5"},{"photo_id":"1330734393","filename":"file2"},{"photo_id":"1330734401","filename":"file4"},{"photo_id":"1330734390","filename":"file1"},{"photo_id":"1330734382","filename":"file0"},{"photo_id":"1330734399","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330734401":["hashtag1","hashtag2"]},{"1330734382":["hashtag1","hashtag2"]},{"1330734403":["hashtag1","hashtag2"]},{"1330734393":["hashtag1","hashtag2"]},{"1330734399":["hashtag1","hashtag2"]},{"1330734390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330734401, 1330734382, 1330734403, 1330734393, 1330734399, 1330734390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.1069118976593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:45:22.700054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_02_901481_0001.jpg', '/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_02_901481_0002.jpg', '/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_02_901481_0003.jpg', '/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_02_372972_0000.jpg', '/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_02_372972_0001.jpg', '/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_02_372972_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_02_901481_0001.jpg
/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_02_901481_0002.jpg
/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_02_901481_0003.jpg
/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_02_372972_0000.jpg
/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_02_372972_0001.jpg
/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_02_372972_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330734475","1330734450","1330734444","1330734447","1330734485","1330734482"],"photo_ids_order":["1330734444","1330734447","1330734450","1330734475","1330734482","1330734485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d691819d04f794233e9ffeeb1186d866.jpg","text":"TemporaryFile(/tmp/multipartBody1696976451040359967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600399538,"filename":"image_23012025_03_37_02_372972_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7071c4851e8c838cecba0fa87fac49a.jpg","text":"TemporaryFile(/tmp/multipartBody3131287187133840270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600399538,"filename":"image_23012025_03_36_02_901481_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3e91dc9041e0589068987a11ad5f5b6.jpg","text":"TemporaryFile(/tmp/multipartBody2641830041411024975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600399538,"filename":"image_23012025_03_36_02_901481_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb93365ebb53ee3e00e7e6871e4ef76e.jpg","text":"TemporaryFile(/tmp/multipartBody6350955397849859762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600399538,"filename":"image_23012025_03_36_02_901481_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63210e6c8b7fd1766a2756b67bd74203.jpg","text":"TemporaryFile(/tmp/multipartBody1889406417740652404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600399538,"filename":"image_23012025_03_37_02_372972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3cadff61cdca79d9e974e3744d7379c.jpg","text":"TemporaryFile(/tmp/multipartBody4527609972260721614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600399538,"filename":"image_23012025_03_37_02_372972_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330734450","file1":"1330734447","file0":"1330734444","file4":"1330734482","file5":"1330734485","file3":"1330734475"},"map_files_photo_id_array":[{"photo_id":"1330734485","filename":"file5"},{"photo_id":"1330734450","filename":"file2"},{"photo_id":"1330734482","filename":"file4"},{"photo_id":"1330734447","filename":"file1"},{"photo_id":"1330734444","filename":"file0"},{"photo_id":"1330734475","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330734475":["hashtag1","hashtag2"]},{"1330734450":["hashtag1","hashtag2"]},{"1330734444":["hashtag1","hashtag2"]},{"1330734447":["hashtag1","hashtag2"]},{"1330734485":["hashtag1","hashtag2"]},{"1330734482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330734475, 1330734450, 1330734444, 1330734447, 1330734485, 1330734482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.16444420814514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:47:03.350707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_02_372972_0003.jpg', '/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0000.jpg', '/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0001.jpg', '/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0002.jpg', '/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0003.jpg', '/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_02_472610_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_02_372972_0003.jpg
/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0000.jpg
/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0001.jpg
/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0002.jpg
/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0003.jpg
/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_02_472610_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.69130539894104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:47:22.721635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_02_372972_0003.jpg', '/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0000.jpg', '/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0001.jpg', '/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0002.jpg', '/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0003.jpg', '/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_02_472610_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_02_372972_0003.jpg
/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0000.jpg
/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0001.jpg
/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0002.jpg
/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_02_852103_0003.jpg
/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_02_472610_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330735086","1330735056","1330734993","1330734942","1330735061","1330735031"],"photo_ids_order":["1330734942","1330734993","1330735031","1330735056","1330735061","1330735086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/190d4ad76cfda44343cc6990751097b4.jpg","text":"TemporaryFile(/tmp/multipartBody635751801852517839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600519687,"filename":"image_23012025_03_39_02_472610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f3eeb5ff0a7eef1de267207be3f4afe.jpg","text":"TemporaryFile(/tmp/multipartBody2356121760402660340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600519687,"filename":"image_23012025_03_38_02_852103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a89c01a404a8db7af47ea5323329167.jpg","text":"TemporaryFile(/tmp/multipartBody8873939702804442398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600519687,"filename":"image_23012025_03_38_02_852103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4a110a14d115ef867242c36b0107c48.jpg","text":"TemporaryFile(/tmp/multipartBody4181084416538512885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600519687,"filename":"image_23012025_03_37_02_372972_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5af4989ce4382201f32f32d6588e89c.jpg","text":"TemporaryFile(/tmp/multipartBody5761325284397338582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600519687,"filename":"image_23012025_03_38_02_852103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/228f8814bc41920826473bf5f6d029d4.jpg","text":"TemporaryFile(/tmp/multipartBody7589460509518603640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600519687,"filename":"image_23012025_03_38_02_852103_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330735031","file1":"1330734993","file0":"1330734942","file4":"1330735061","file5":"1330735086","file3":"1330735056"},"map_files_photo_id_array":[{"photo_id":"1330735086","filename":"file5"},{"photo_id":"1330735031","filename":"file2"},{"photo_id":"1330735061","filename":"file4"},{"photo_id":"1330734993","filename":"file1"},{"photo_id":"1330734942","filename":"file0"},{"photo_id":"1330735056","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330735086":["hashtag1","hashtag2"]},{"1330735056":["hashtag1","hashtag2"]},{"1330734993":["hashtag1","hashtag2"]},{"1330734942":["hashtag1","hashtag2"]},{"1330735061":["hashtag1","hashtag2"]},{"1330735031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330735086, 1330735056, 1330734993, 1330734942, 1330735061, 1330735031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.337881326675415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:48:22.334919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_02_472610_0001.jpg', '/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_02_472610_0002.jpg', '/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_02_472610_0003.jpg', '/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_02_978145_0000.jpg', '/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_02_978145_0001.jpg', '/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_02_978145_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_02_472610_0001.jpg
/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_02_472610_0002.jpg
/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_02_472610_0003.jpg
/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_02_978145_0000.jpg
/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_02_978145_0001.jpg
/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_02_978145_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330735156","1330735182","1330735191","1330735164","1330735175","1330735160"],"photo_ids_order":["1330735156","1330735160","1330735164","1330735175","1330735182","1330735191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6415fd301df43cecc5ed380f33950bb5.jpg","text":"TemporaryFile(/tmp/multipartBody2985804574855964329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600579070,"filename":"image_23012025_03_39_02_472610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8170d7ce355474e2ea58fa36c6f52a54.jpg","text":"TemporaryFile(/tmp/multipartBody2587612142441768657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600579070,"filename":"image_23012025_03_40_02_978145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb0acd8c2f831984a515174c36e0a29e.jpg","text":"TemporaryFile(/tmp/multipartBody599875318654774581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600579070,"filename":"image_23012025_03_40_02_978145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/118b1a697afb55ca04c005cf4682a32d.jpg","text":"TemporaryFile(/tmp/multipartBody1643558184409835347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600579070,"filename":"image_23012025_03_39_02_472610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d78f177bf8229d3ac771eed24c00965.jpg","text":"TemporaryFile(/tmp/multipartBody5547123884367854021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600579070,"filename":"image_23012025_03_40_02_978145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01546ee7995d05a8cc825827c52aa4f1.jpg","text":"TemporaryFile(/tmp/multipartBody6829819452673691198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600579070,"filename":"image_23012025_03_39_02_472610_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330735164","file1":"1330735160","file0":"1330735156","file4":"1330735182","file5":"1330735191","file3":"1330735175"},"map_files_photo_id_array":[{"photo_id":"1330735191","filename":"file5"},{"photo_id":"1330735164","filename":"file2"},{"photo_id":"1330735182","filename":"file4"},{"photo_id":"1330735160","filename":"file1"},{"photo_id":"1330735156","filename":"file0"},{"photo_id":"1330735175","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330735156":["hashtag1","hashtag2"]},{"1330735182":["hashtag1","hashtag2"]},{"1330735191":["hashtag1","hashtag2"]},{"1330735164":["hashtag1","hashtag2"]},{"1330735175":["hashtag1","hashtag2"]},{"1330735160":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330735156, 1330735182, 1330735191, 1330735164, 1330735175, 1330735160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.9786422252655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:49:21.823288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_02_978145_0003.jpg', '/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_02_558998_0000.jpg', '/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_02_558998_0001.jpg', '/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_02_558998_0002.jpg', '/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_02_558998_0003.jpg', '/home/pi/Desktop/images/23012025/03/42/image_23012025_03_42_03_034421_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_02_978145_0003.jpg
/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_02_558998_0000.jpg
/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_02_558998_0001.jpg
/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_02_558998_0002.jpg
/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_02_558998_0003.jpg
/home/pi/Desktop/images/23012025/03/42/image_23012025_03_42_03_034421_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330735240","1330735237","1330735210","1330735218","1330735316","1330735208"],"photo_ids_order":["1330735208","1330735210","1330735218","1330735237","1330735240","1330735316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/401b2b6c84ddfbb93f7d26cc80e753a6.jpg","text":"TemporaryFile(/tmp/multipartBody1713515257563505127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600637964,"filename":"image_23012025_03_41_02_558998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7073d10b38cbde919fb8cbec78048e62.jpg","text":"TemporaryFile(/tmp/multipartBody3814789220868137799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600637964,"filename":"image_23012025_03_41_02_558998_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc59dd601e98027ba02c598346f6ca3e.jpg","text":"TemporaryFile(/tmp/multipartBody7959964152300391047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600637964,"filename":"image_23012025_03_41_02_558998_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fa1a1120bdee10d4c4eb3d91b97b6ca.jpg","text":"TemporaryFile(/tmp/multipartBody1926035580059378637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600637964,"filename":"image_23012025_03_41_02_558998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c43e373f96276e19b52aa763fb0f1fa4.jpg","text":"TemporaryFile(/tmp/multipartBody2834176205111887676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600637964,"filename":"image_23012025_03_42_03_034421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1104420679322127c475c2401f708c0.jpg","text":"TemporaryFile(/tmp/multipartBody7922845914839269590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600637964,"filename":"image_23012025_03_40_02_978145_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330735218","file1":"1330735210","file0":"1330735208","file4":"1330735240","file5":"1330735316","file3":"1330735237"},"map_files_photo_id_array":[{"photo_id":"1330735316","filename":"file5"},{"photo_id":"1330735218","filename":"file2"},{"photo_id":"1330735240","filename":"file4"},{"photo_id":"1330735210","filename":"file1"},{"photo_id":"1330735208","filename":"file0"},{"photo_id":"1330735237","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330735240":["hashtag1","hashtag2"]},{"1330735237":["hashtag1","hashtag2"]},{"1330735210":["hashtag1","hashtag2"]},{"1330735218":["hashtag1","hashtag2"]},{"1330735316":["hashtag1","hashtag2"]},{"1330735208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330735240, 1330735237, 1330735210, 1330735218, 1330735316, 1330735208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.25117349624634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:50:22.428212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/42/image_23012025_03_42_03_034421_0001.jpg', '/home/pi/Desktop/images/23012025/03/42/image_23012025_03_42_03_034421_0002.jpg', '/home/pi/Desktop/images/23012025/03/42/image_23012025_03_42_03_034421_0003.jpg', '/home/pi/Desktop/images/23012025/03/43/image_23012025_03_43_02_559544_0000.jpg', '/home/pi/Desktop/images/23012025/03/44/image_23012025_03_44_03_013095_0000.jpg', '/home/pi/Desktop/images/23012025/03/44/image_23012025_03_44_03_013095_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/42/image_23012025_03_42_03_034421_0001.jpg
/home/pi/Desktop/images/23012025/03/42/image_23012025_03_42_03_034421_0002.jpg
/home/pi/Desktop/images/23012025/03/42/image_23012025_03_42_03_034421_0003.jpg
/home/pi/Desktop/images/23012025/03/43/image_23012025_03_43_02_559544_0000.jpg
/home/pi/Desktop/images/23012025/03/44/image_23012025_03_44_03_013095_0000.jpg
/home/pi/Desktop/images/23012025/03/44/image_23012025_03_44_03_013095_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330735363","1330735387","1330735374","1330735394","1330735367","1330735418"],"photo_ids_order":["1330735363","1330735367","1330735374","1330735387","1330735394","1330735418"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/124e6f3fb104bb034c3d4d407126e987.jpg","text":"TemporaryFile(/tmp/multipartBody7704262496465085429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600698290,"filename":"image_23012025_03_42_03_034421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c8defe0f2f7bf8932600f8f681bdc4c.jpg","text":"TemporaryFile(/tmp/multipartBody8026238474744372321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600698290,"filename":"image_23012025_03_43_02_559544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ccdceb57abc083ebc22764d2e221f9d9.jpg","text":"TemporaryFile(/tmp/multipartBody625980647866721259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600698290,"filename":"image_23012025_03_42_03_034421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3cf629ba4c6d9c5888702bea2a755ced.jpg","text":"TemporaryFile(/tmp/multipartBody2008979093026745996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600698290,"filename":"image_23012025_03_44_03_013095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aafc81754219f584200ea2601d355a51.jpg","text":"TemporaryFile(/tmp/multipartBody7269880198253692114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600698290,"filename":"image_23012025_03_42_03_034421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04ccc4e5be12b45fb0f7ac18725dd051.jpg","text":"TemporaryFile(/tmp/multipartBody4190777010310824074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600698290,"filename":"image_23012025_03_44_03_013095_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330735374","file1":"1330735367","file0":"1330735363","file4":"1330735394","file5":"1330735418","file3":"1330735387"},"map_files_photo_id_array":[{"photo_id":"1330735418","filename":"file5"},{"photo_id":"1330735374","filename":"file2"},{"photo_id":"1330735394","filename":"file4"},{"photo_id":"1330735367","filename":"file1"},{"photo_id":"1330735363","filename":"file0"},{"photo_id":"1330735387","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330735363":["hashtag1","hashtag2"]},{"1330735387":["hashtag1","hashtag2"]},{"1330735374":["hashtag1","hashtag2"]},{"1330735394":["hashtag1","hashtag2"]},{"1330735367":["hashtag1","hashtag2"]},{"1330735418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330735363, 1330735387, 1330735374, 1330735394, 1330735367, 1330735418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.05533742904663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:51:21.896571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/44/image_23012025_03_44_03_013095_0002.jpg', '/home/pi/Desktop/images/23012025/03/44/image_23012025_03_44_03_013095_0003.jpg', '/home/pi/Desktop/images/23012025/03/45/image_23012025_03_45_02_519521_0000.jpg', '/home/pi/Desktop/images/23012025/03/45/image_23012025_03_45_02_519521_0002.jpg', '/home/pi/Desktop/images/23012025/03/45/image_23012025_03_45_02_519521_0003.jpg', '/home/pi/Desktop/images/23012025/03/46/image_23012025_03_46_03_058380_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/44/image_23012025_03_44_03_013095_0002.jpg
/home/pi/Desktop/images/23012025/03/44/image_23012025_03_44_03_013095_0003.jpg
/home/pi/Desktop/images/23012025/03/45/image_23012025_03_45_02_519521_0000.jpg
/home/pi/Desktop/images/23012025/03/45/image_23012025_03_45_02_519521_0002.jpg
/home/pi/Desktop/images/23012025/03/45/image_23012025_03_45_02_519521_0003.jpg
/home/pi/Desktop/images/23012025/03/46/image_23012025_03_46_03_058380_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330735486","1330735482","1330735476","1330735481","1330735484","1330735478"],"photo_ids_order":["1330735476","1330735478","1330735481","1330735482","1330735484","1330735486"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4eb9b2612438873270433c0ca4562fb5.jpg","text":"TemporaryFile(/tmp/multipartBody91058197376406649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600757400,"filename":"image_23012025_03_46_03_058380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7b07c58e6dd066d86afb278cdbac8d3.jpg","text":"TemporaryFile(/tmp/multipartBody271246594860570764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600757400,"filename":"image_23012025_03_45_02_519521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1d2e0656e106d8346998169e17362a0.jpg","text":"TemporaryFile(/tmp/multipartBody8740330943503082217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600757400,"filename":"image_23012025_03_44_03_013095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b33510e9b19f6c918a9879c3f0646c88.jpg","text":"TemporaryFile(/tmp/multipartBody7314725894537185507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600757400,"filename":"image_23012025_03_45_02_519521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a456f5eed1b8e851d52c390a33eab5b0.jpg","text":"TemporaryFile(/tmp/multipartBody4818622202061729508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600757400,"filename":"image_23012025_03_45_02_519521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f669351d458c829b68069db254856f76.jpg","text":"TemporaryFile(/tmp/multipartBody5751392742635584378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600757400,"filename":"image_23012025_03_44_03_013095_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330735481","file1":"1330735478","file0":"1330735476","file4":"1330735484","file5":"1330735486","file3":"1330735482"},"map_files_photo_id_array":[{"photo_id":"1330735486","filename":"file5"},{"photo_id":"1330735481","filename":"file2"},{"photo_id":"1330735484","filename":"file4"},{"photo_id":"1330735478","filename":"file1"},{"photo_id":"1330735476","filename":"file0"},{"photo_id":"1330735482","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330735486":["hashtag1","hashtag2"]},{"1330735482":["hashtag1","hashtag2"]},{"1330735476":["hashtag1","hashtag2"]},{"1330735481":["hashtag1","hashtag2"]},{"1330735484":["hashtag1","hashtag2"]},{"1330735478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330735486, 1330735482, 1330735476, 1330735481, 1330735484, 1330735478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.87919330596924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:52:22.479376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/46/image_23012025_03_46_03_058380_0003.jpg', '/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_02_564926_0000.jpg', '/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_02_564926_0001.jpg', '/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_02_564926_0002.jpg', '/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_02_564926_0003.jpg', '/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_03_096378_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/46/image_23012025_03_46_03_058380_0003.jpg
/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_02_564926_0000.jpg
/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_02_564926_0001.jpg
/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_02_564926_0002.jpg
/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_02_564926_0003.jpg
/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_03_096378_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330735537","1330735522","1330735539","1330735530","1330735518","1330735541"],"photo_ids_order":["1330735518","1330735522","1330735530","1330735537","1330735539","1330735541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e776f0934e88b78f136a50a18753fed.jpg","text":"TemporaryFile(/tmp/multipartBody8127497261456872190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600818325,"filename":"image_23012025_03_47_02_564926_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7fd2aaf1a955b0cd25dafc51d1451bb6.jpg","text":"TemporaryFile(/tmp/multipartBody6356288287441167135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600818325,"filename":"image_23012025_03_47_02_564926_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cec9adb499e55b1d6277aa79f665075d.jpg","text":"TemporaryFile(/tmp/multipartBody5097992720686071980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600818325,"filename":"image_23012025_03_47_02_564926_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b532206e0fe117bc33f6e80e26f88b22.jpg","text":"TemporaryFile(/tmp/multipartBody4796007391712958872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600818325,"filename":"image_23012025_03_47_02_564926_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5fff607aafa319a4ffc3a1e75c540d6.jpg","text":"TemporaryFile(/tmp/multipartBody2925122654214186915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600818325,"filename":"image_23012025_03_46_03_058380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d84ec85e37b8d0c4fc30d3e61c98a79.jpg","text":"TemporaryFile(/tmp/multipartBody930963957456392258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600818325,"filename":"image_23012025_03_48_03_096378_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330735530","file1":"1330735522","file0":"1330735518","file4":"1330735539","file5":"1330735541","file3":"1330735537"},"map_files_photo_id_array":[{"photo_id":"1330735541","filename":"file5"},{"photo_id":"1330735530","filename":"file2"},{"photo_id":"1330735539","filename":"file4"},{"photo_id":"1330735522","filename":"file1"},{"photo_id":"1330735518","filename":"file0"},{"photo_id":"1330735537","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330735537":["hashtag1","hashtag2"]},{"1330735522":["hashtag1","hashtag2"]},{"1330735539":["hashtag1","hashtag2"]},{"1330735530":["hashtag1","hashtag2"]},{"1330735518":["hashtag1","hashtag2"]},{"1330735541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330735537, 1330735522, 1330735539, 1330735530, 1330735518, 1330735541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.92859506607056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:53:21.950072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_03_096378_0001.jpg', '/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_03_096378_0002.jpg', '/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_03_096378_0003.jpg', '/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_02_699900_0000.jpg', '/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_02_699900_0001.jpg', '/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_02_699900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_03_096378_0001.jpg
/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_03_096378_0002.jpg
/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_03_096378_0003.jpg
/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_02_699900_0000.jpg
/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_02_699900_0001.jpg
/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_02_699900_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330735648","1330735600","1330735602","1330735652","1330735613","1330735573"],"photo_ids_order":["1330735573","1330735600","1330735602","1330735613","1330735648","1330735652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ee5ac56190ff31affcb8f892f2acce6.jpg","text":"TemporaryFile(/tmp/multipartBody2021373383553408358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600877989,"filename":"image_23012025_03_49_02_699900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fce89850cf9cbc79beb7525999ffc84d.jpg","text":"TemporaryFile(/tmp/multipartBody4878498357053277067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600877989,"filename":"image_23012025_03_48_03_096378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc2e2c481329857ea05452b1dbc08919.jpg","text":"TemporaryFile(/tmp/multipartBody3477265678689158026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600877989,"filename":"image_23012025_03_48_03_096378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc1f1fb0f0143f1b309decd5a46a5012.jpg","text":"TemporaryFile(/tmp/multipartBody1043017223464683342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600877989,"filename":"image_23012025_03_49_02_699900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d07ee2ba6f963a6b35a0791fc27ebde8.jpg","text":"TemporaryFile(/tmp/multipartBody5262088480653669232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600877989,"filename":"image_23012025_03_49_02_699900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d27fff5fd37828e1f71ce26f3c86d396.jpg","text":"TemporaryFile(/tmp/multipartBody7919576511279429404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600877989,"filename":"image_23012025_03_48_03_096378_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330735602","file1":"1330735600","file0":"1330735573","file4":"1330735648","file5":"1330735652","file3":"1330735613"},"map_files_photo_id_array":[{"photo_id":"1330735652","filename":"file5"},{"photo_id":"1330735602","filename":"file2"},{"photo_id":"1330735648","filename":"file4"},{"photo_id":"1330735600","filename":"file1"},{"photo_id":"1330735573","filename":"file0"},{"photo_id":"1330735613","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330735648":["hashtag1","hashtag2"]},{"1330735600":["hashtag1","hashtag2"]},{"1330735602":["hashtag1","hashtag2"]},{"1330735652":["hashtag1","hashtag2"]},{"1330735613":["hashtag1","hashtag2"]},{"1330735573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330735648, 1330735600, 1330735602, 1330735652, 1330735613, 1330735573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.23982048034668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:55:02.782476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_02_699900_0003.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0000.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0001.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0002.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0003.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_02_699900_0003.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0000.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0001.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0002.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0003.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.120982885360718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:55:22.084266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_02_699900_0003.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0000.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0001.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0002.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0003.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_02_699900_0003.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0000.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0001.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0002.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_02_249769_0003.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330735939","1330735938","1330735932","1330735941","1330735935","1330735928"],"photo_ids_order":["1330735928","1330735932","1330735935","1330735938","1330735939","1330735941"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/649f2db8cb3fb53e0880e50f76dc7661.jpg","text":"TemporaryFile(/tmp/multipartBody4845622629483756529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600998503,"filename":"image_23012025_03_50_02_249769_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14636dcc81ff650e20a03d192658ec29.jpg","text":"TemporaryFile(/tmp/multipartBody4699042821858587871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600998503,"filename":"image_23012025_03_50_02_249769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b04c7359ce9ee87236723fd11849f9e.jpg","text":"TemporaryFile(/tmp/multipartBody4708884484803023979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600998503,"filename":"image_23012025_03_50_02_249769_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a83727c6c93eaf32ee37950cb293bf16.jpg","text":"TemporaryFile(/tmp/multipartBody3112614318756010125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600998503,"filename":"image_23012025_03_51_02_760197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c57e3c6822610470fb26e81287e0f7e8.jpg","text":"TemporaryFile(/tmp/multipartBody2683509381470264525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600998503,"filename":"image_23012025_03_50_02_249769_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a5756ee4047644319bab0172ca8c80c.jpg","text":"TemporaryFile(/tmp/multipartBody5420451125009840054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600998503,"filename":"image_23012025_03_49_02_699900_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330735935","file1":"1330735932","file0":"1330735928","file4":"1330735939","file5":"1330735941","file3":"1330735938"},"map_files_photo_id_array":[{"photo_id":"1330735941","filename":"file5"},{"photo_id":"1330735935","filename":"file2"},{"photo_id":"1330735939","filename":"file4"},{"photo_id":"1330735932","filename":"file1"},{"photo_id":"1330735928","filename":"file0"},{"photo_id":"1330735938","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330735939":["hashtag1","hashtag2"]},{"1330735938":["hashtag1","hashtag2"]},{"1330735932":["hashtag1","hashtag2"]},{"1330735941":["hashtag1","hashtag2"]},{"1330735935":["hashtag1","hashtag2"]},{"1330735928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330735939, 1330735938, 1330735932, 1330735941, 1330735935, 1330735928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.616297006607056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:56:21.801570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0001.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0002.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0003.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0000.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0001.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0001.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0002.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0003.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0000.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0001.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.980941534042358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 03:57:02.909846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0001.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0002.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0003.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0000.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0001.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0001.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0002.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0003.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0000.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0001.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_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-23 03:59:02.995530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0001.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0002.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0003.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0000.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0001.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0001.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0002.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0003.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0000.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0001.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0440993309021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 03:59:22.283490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0001.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0002.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0003.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0000.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0001.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0001.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0002.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_02_760197_0003.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0000.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0001.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330736364","1330736367","1330736369","1330736389","1330736362","1330736365"],"photo_ids_order":["1330736362","1330736364","1330736365","1330736367","1330736369","1330736389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3dbf01a3debc3924a56404446d1a623.jpg","text":"TemporaryFile(/tmp/multipartBody6507420432807148931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601238650,"filename":"image_23012025_03_51_02_760197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf6f7f0322514bfabe6ce587e5ebabd6.jpg","text":"TemporaryFile(/tmp/multipartBody1991793537397052504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601238650,"filename":"image_23012025_03_52_02_255460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c7bb2dc736e667ddb585a0c2c50a70b.jpg","text":"TemporaryFile(/tmp/multipartBody8851590007052279570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601238650,"filename":"image_23012025_03_52_02_255460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24aca7352ecbb4a9ffb138ea866a205d.jpg","text":"TemporaryFile(/tmp/multipartBody2426978898328681548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601238650,"filename":"image_23012025_03_52_02_255460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/761ff7905eb8311de27a0d5f5f45f05d.jpg","text":"TemporaryFile(/tmp/multipartBody4936381920157236742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601238650,"filename":"image_23012025_03_51_02_760197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a358d748e03536807445846339bbdb25.jpg","text":"TemporaryFile(/tmp/multipartBody132719333395848039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601238650,"filename":"image_23012025_03_51_02_760197_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330736365","file1":"1330736364","file0":"1330736362","file4":"1330736369","file5":"1330736389","file3":"1330736367"},"map_files_photo_id_array":[{"photo_id":"1330736389","filename":"file5"},{"photo_id":"1330736365","filename":"file2"},{"photo_id":"1330736369","filename":"file4"},{"photo_id":"1330736364","filename":"file1"},{"photo_id":"1330736362","filename":"file0"},{"photo_id":"1330736367","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330736364":["hashtag1","hashtag2"]},{"1330736367":["hashtag1","hashtag2"]},{"1330736369":["hashtag1","hashtag2"]},{"1330736389":["hashtag1","hashtag2"]},{"1330736362":["hashtag1","hashtag2"]},{"1330736365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330736364, 1330736367, 1330736369, 1330736389, 1330736362, 1330736365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.21038889884949 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:01:03.207110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0003.jpg', '/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_02_843481_0000.jpg', '/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_02_843481_0001.jpg', '/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_02_843481_0002.jpg', '/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_02_843481_0003.jpg', '/home/pi/Desktop/images/23012025/03/54/image_23012025_03_54_02_485352_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_02_255460_0003.jpg
/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_02_843481_0000.jpg
/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_02_843481_0001.jpg
/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_02_843481_0002.jpg
/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_02_843481_0003.jpg
/home/pi/Desktop/images/23012025/03/54/image_23012025_03_54_02_485352_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330736991","1330736982","1330736996","1330736999","1330736984","1330736986"],"photo_ids_order":["1330736982","1330736984","1330736986","1330736991","1330736996","1330736999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/64a8ed4be0c0eb4108814dcabd246900.jpg","text":"TemporaryFile(/tmp/multipartBody1584575923319906460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601340042,"filename":"image_23012025_03_53_02_843481_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82b4a78ea08271ea6c80dce299aa74b3.jpg","text":"TemporaryFile(/tmp/multipartBody7936586029815963964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601340042,"filename":"image_23012025_03_52_02_255460_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3666caa941a82cd9e02fb5f83e6c7e49.jpg","text":"TemporaryFile(/tmp/multipartBody6476300103930878130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601340042,"filename":"image_23012025_03_53_02_843481_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d670b0ea4daa71f7ba443831f901bca7.jpg","text":"TemporaryFile(/tmp/multipartBody5526099834781125440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601340042,"filename":"image_23012025_03_54_02_485352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5ca7a52c9b42bad149ca7aa1c4f782a.jpg","text":"TemporaryFile(/tmp/multipartBody2908881687255395914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601340042,"filename":"image_23012025_03_53_02_843481_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f41abd9c2b4b38004cf6d8caae603c27.jpg","text":"TemporaryFile(/tmp/multipartBody4560713604462322710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601340042,"filename":"image_23012025_03_53_02_843481_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330736986","file1":"1330736984","file0":"1330736982","file4":"1330736996","file5":"1330736999","file3":"1330736991"},"map_files_photo_id_array":[{"photo_id":"1330736999","filename":"file5"},{"photo_id":"1330736986","filename":"file2"},{"photo_id":"1330736996","filename":"file4"},{"photo_id":"1330736984","filename":"file1"},{"photo_id":"1330736982","filename":"file0"},{"photo_id":"1330736991","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330736991":["hashtag1","hashtag2"]},{"1330736982":["hashtag1","hashtag2"]},{"1330736996":["hashtag1","hashtag2"]},{"1330736999":["hashtag1","hashtag2"]},{"1330736984":["hashtag1","hashtag2"]},{"1330736986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330736991, 1330736982, 1330736996, 1330736999, 1330736984, 1330736986)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.556509256362915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:02:22.163047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/54/image_23012025_03_54_02_485352_0001.jpg', '/home/pi/Desktop/images/23012025/03/54/image_23012025_03_54_02_485352_0002.jpg', '/home/pi/Desktop/images/23012025/03/54/image_23012025_03_54_02_485352_0003.jpg', '/home/pi/Desktop/images/23012025/03/55/image_23012025_03_55_02_997429_0000.jpg', '/home/pi/Desktop/images/23012025/03/55/image_23012025_03_55_02_997429_0001.jpg', '/home/pi/Desktop/images/23012025/03/55/image_23012025_03_55_02_997429_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/54/image_23012025_03_54_02_485352_0001.jpg
/home/pi/Desktop/images/23012025/03/54/image_23012025_03_54_02_485352_0002.jpg
/home/pi/Desktop/images/23012025/03/54/image_23012025_03_54_02_485352_0003.jpg
/home/pi/Desktop/images/23012025/03/55/image_23012025_03_55_02_997429_0000.jpg
/home/pi/Desktop/images/23012025/03/55/image_23012025_03_55_02_997429_0001.jpg
/home/pi/Desktop/images/23012025/03/55/image_23012025_03_55_02_997429_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330737045","1330737047","1330737041","1330737061","1330737049","1330737037"],"photo_ids_order":["1330737037","1330737041","1330737045","1330737047","1330737049","1330737061"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbbe0f90e533a6ee710c00ca1d0d6af9.jpg","text":"TemporaryFile(/tmp/multipartBody4085551312938312664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601418329,"filename":"image_23012025_03_54_02_485352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3901591cb60eff9e62ca3cc153d6cb26.jpg","text":"TemporaryFile(/tmp/multipartBody7954292233831123597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601418329,"filename":"image_23012025_03_55_02_997429_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c47d09771d012b7c711c9d1431ce8c2.jpg","text":"TemporaryFile(/tmp/multipartBody1388428421863825843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601418329,"filename":"image_23012025_03_54_02_485352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26e135ac39ef69833c7bb7e3c888a2d3.jpg","text":"TemporaryFile(/tmp/multipartBody5999754478210635645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601418329,"filename":"image_23012025_03_55_02_997429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c40dd575b820a36481ee8046718efbc6.jpg","text":"TemporaryFile(/tmp/multipartBody2833067518865739676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601418329,"filename":"image_23012025_03_55_02_997429_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24abfd70ea9ce5111f29fdb9c09ef94f.jpg","text":"TemporaryFile(/tmp/multipartBody6317931851154781607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601418329,"filename":"image_23012025_03_54_02_485352_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330737045","file1":"1330737041","file0":"1330737037","file4":"1330737049","file5":"1330737061","file3":"1330737047"},"map_files_photo_id_array":[{"photo_id":"1330737061","filename":"file5"},{"photo_id":"1330737045","filename":"file2"},{"photo_id":"1330737049","filename":"file4"},{"photo_id":"1330737041","filename":"file1"},{"photo_id":"1330737037","filename":"file0"},{"photo_id":"1330737047","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330737045":["hashtag1","hashtag2"]},{"1330737047":["hashtag1","hashtag2"]},{"1330737041":["hashtag1","hashtag2"]},{"1330737061":["hashtag1","hashtag2"]},{"1330737049":["hashtag1","hashtag2"]},{"1330737037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330737045, 1330737047, 1330737041, 1330737061, 1330737049, 1330737037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.91637992858887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:03:22.670637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/55/image_23012025_03_55_02_997429_0003.jpg', '/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_02_566928_0000.jpg', '/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_02_566928_0001.jpg', '/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_02_566928_0002.jpg', '/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_02_566928_0003.jpg', '/home/pi/Desktop/images/23012025/03/57/image_23012025_03_57_02_160374_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/55/image_23012025_03_55_02_997429_0003.jpg
/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_02_566928_0000.jpg
/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_02_566928_0001.jpg
/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_02_566928_0002.jpg
/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_02_566928_0003.jpg
/home/pi/Desktop/images/23012025/03/57/image_23012025_03_57_02_160374_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330737123","1330737125","1330737122","1330737151","1330737118","1330737127"],"photo_ids_order":["1330737118","1330737122","1330737123","1330737125","1330737127","1330737151"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/48c5932c74691496944b73664eda12cc.jpg","text":"TemporaryFile(/tmp/multipartBody3551734991042167433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601479229,"filename":"image_23012025_03_56_02_566928_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13b173e441cb8208c3b80d9b4ecf507a.jpg","text":"TemporaryFile(/tmp/multipartBody6514131737838138553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601479229,"filename":"image_23012025_03_56_02_566928_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/abcdfdfb9a8d9135db81100f53f1885e.jpg","text":"TemporaryFile(/tmp/multipartBody3737890370704097068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601479229,"filename":"image_23012025_03_56_02_566928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c08c1cd9a9f964104ccdeaca19b28e28.jpg","text":"TemporaryFile(/tmp/multipartBody51054063556809114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601479229,"filename":"image_23012025_03_57_02_160374_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed73988666aab1488373dd7f45f1633c.jpg","text":"TemporaryFile(/tmp/multipartBody7124159467503979110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601479229,"filename":"image_23012025_03_55_02_997429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cb9d5bd540614646049e430a78f93e7.jpg","text":"TemporaryFile(/tmp/multipartBody9161612642205564481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601479229,"filename":"image_23012025_03_56_02_566928_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330737123","file1":"1330737122","file0":"1330737118","file4":"1330737127","file5":"1330737151","file3":"1330737125"},"map_files_photo_id_array":[{"photo_id":"1330737151","filename":"file5"},{"photo_id":"1330737123","filename":"file2"},{"photo_id":"1330737127","filename":"file4"},{"photo_id":"1330737122","filename":"file1"},{"photo_id":"1330737118","filename":"file0"},{"photo_id":"1330737125","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330737123":["hashtag1","hashtag2"]},{"1330737125":["hashtag1","hashtag2"]},{"1330737122":["hashtag1","hashtag2"]},{"1330737151":["hashtag1","hashtag2"]},{"1330737118":["hashtag1","hashtag2"]},{"1330737127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330737123, 1330737125, 1330737122, 1330737151, 1330737118, 1330737127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.1861891746521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:04:22.177540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/57/image_23012025_03_57_02_160374_0001.jpg', '/home/pi/Desktop/images/23012025/03/57/image_23012025_03_57_02_160374_0002.jpg', '/home/pi/Desktop/images/23012025/03/57/image_23012025_03_57_02_160374_0003.jpg', '/home/pi/Desktop/images/23012025/03/58/image_23012025_03_58_02_771328_0000.jpg', '/home/pi/Desktop/images/23012025/03/58/image_23012025_03_58_02_771328_0001.jpg', '/home/pi/Desktop/images/23012025/03/58/image_23012025_03_58_02_771328_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/57/image_23012025_03_57_02_160374_0001.jpg
/home/pi/Desktop/images/23012025/03/57/image_23012025_03_57_02_160374_0002.jpg
/home/pi/Desktop/images/23012025/03/57/image_23012025_03_57_02_160374_0003.jpg
/home/pi/Desktop/images/23012025/03/58/image_23012025_03_58_02_771328_0000.jpg
/home/pi/Desktop/images/23012025/03/58/image_23012025_03_58_02_771328_0001.jpg
/home/pi/Desktop/images/23012025/03/58/image_23012025_03_58_02_771328_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330737246","1330737189","1330737243","1330737185","1330737239","1330737224"],"photo_ids_order":["1330737185","1330737189","1330737224","1330737239","1330737243","1330737246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9db732432db9c3ccc9e5f72eeafbd879.jpg","text":"TemporaryFile(/tmp/multipartBody2352540120517715062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601538434,"filename":"image_23012025_03_58_02_771328_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cab7183dd9666340ca326f5cbe10587.jpg","text":"TemporaryFile(/tmp/multipartBody5984176922988146438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601538434,"filename":"image_23012025_03_57_02_160374_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af569819d8244af55cc8fbce12b912f7.jpg","text":"TemporaryFile(/tmp/multipartBody6651802602925301164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601538434,"filename":"image_23012025_03_58_02_771328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/087152dc47739206172f360240cb64a6.jpg","text":"TemporaryFile(/tmp/multipartBody4594013469181935011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601538434,"filename":"image_23012025_03_57_02_160374_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcf3e001de86a699576146e2f49b4abd.jpg","text":"TemporaryFile(/tmp/multipartBody4322648790748101437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601538434,"filename":"image_23012025_03_58_02_771328_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0c7e54adc28084f4ce7ca501138a367.jpg","text":"TemporaryFile(/tmp/multipartBody7495313804257411186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601538434,"filename":"image_23012025_03_57_02_160374_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330737224","file1":"1330737189","file0":"1330737185","file4":"1330737243","file5":"1330737246","file3":"1330737239"},"map_files_photo_id_array":[{"photo_id":"1330737246","filename":"file5"},{"photo_id":"1330737224","filename":"file2"},{"photo_id":"1330737243","filename":"file4"},{"photo_id":"1330737189","filename":"file1"},{"photo_id":"1330737185","filename":"file0"},{"photo_id":"1330737239","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330737246":["hashtag1","hashtag2"]},{"1330737189":["hashtag1","hashtag2"]},{"1330737243":["hashtag1","hashtag2"]},{"1330737185":["hashtag1","hashtag2"]},{"1330737239":["hashtag1","hashtag2"]},{"1330737224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330737246, 1330737189, 1330737243, 1330737185, 1330737239, 1330737224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.81541585922241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:05:21.743581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/58/image_23012025_03_58_02_771328_0003.jpg', '/home/pi/Desktop/images/23012025/03/59/image_23012025_03_59_02_473246_0000.jpg', '/home/pi/Desktop/images/23012025/03/59/image_23012025_03_59_02_473246_0001.jpg', '/home/pi/Desktop/images/23012025/03/59/image_23012025_03_59_02_473246_0002.jpg', '/home/pi/Desktop/images/23012025/03/59/image_23012025_03_59_02_473246_0003.jpg', '/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_02_656103_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/03/58/image_23012025_03_58_02_771328_0003.jpg
/home/pi/Desktop/images/23012025/03/59/image_23012025_03_59_02_473246_0000.jpg
/home/pi/Desktop/images/23012025/03/59/image_23012025_03_59_02_473246_0001.jpg
/home/pi/Desktop/images/23012025/03/59/image_23012025_03_59_02_473246_0002.jpg
/home/pi/Desktop/images/23012025/03/59/image_23012025_03_59_02_473246_0003.jpg
/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_02_656103_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330737270","1330737293","1330737305","1330737302","1330737265","1330737301"],"photo_ids_order":["1330737265","1330737270","1330737293","1330737301","1330737302","1330737305"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4bb0406effd2a28cb842afabfc51d40c.jpg","text":"TemporaryFile(/tmp/multipartBody5275877399333939707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601598589,"filename":"image_23012025_03_59_02_473246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a3fb1c2ef512c587cef992a3bdb8755.jpg","text":"TemporaryFile(/tmp/multipartBody1508462473771928663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601598589,"filename":"image_23012025_03_59_02_473246_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7329f59e6c010421cb64328f976efde.jpg","text":"TemporaryFile(/tmp/multipartBody2519023823964436042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601598589,"filename":"image_23012025_04_00_02_656103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aae833fc6ca9b8787009dec6a0ec4e8d.jpg","text":"TemporaryFile(/tmp/multipartBody5785645223509237037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601598589,"filename":"image_23012025_03_59_02_473246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cccb780056dac1653fb931423691624d.jpg","text":"TemporaryFile(/tmp/multipartBody7568855217692913251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601598589,"filename":"image_23012025_03_58_02_771328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0842c6b93111d58ac619f2857321fdd7.jpg","text":"TemporaryFile(/tmp/multipartBody35847028123499158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601598589,"filename":"image_23012025_03_59_02_473246_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330737293","file1":"1330737270","file0":"1330737265","file4":"1330737302","file5":"1330737305","file3":"1330737301"},"map_files_photo_id_array":[{"photo_id":"1330737305","filename":"file5"},{"photo_id":"1330737293","filename":"file2"},{"photo_id":"1330737302","filename":"file4"},{"photo_id":"1330737270","filename":"file1"},{"photo_id":"1330737265","filename":"file0"},{"photo_id":"1330737301","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330737270":["hashtag1","hashtag2"]},{"1330737293":["hashtag1","hashtag2"]},{"1330737305":["hashtag1","hashtag2"]},{"1330737302":["hashtag1","hashtag2"]},{"1330737265":["hashtag1","hashtag2"]},{"1330737301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330737270, 1330737293, 1330737305, 1330737302, 1330737265, 1330737301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.26579713821411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:06:22.239797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_02_656103_0001.jpg', '/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_02_656103_0002.jpg', '/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_02_656103_0003.jpg', '/home/pi/Desktop/images/23012025/04/01/image_23012025_04_01_02_300574_0000.jpg', '/home/pi/Desktop/images/23012025/04/01/image_23012025_04_01_02_300574_0001.jpg', '/home/pi/Desktop/images/23012025/04/01/image_23012025_04_01_02_300574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_02_656103_0001.jpg
/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_02_656103_0002.jpg
/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_02_656103_0003.jpg
/home/pi/Desktop/images/23012025/04/01/image_23012025_04_01_02_300574_0000.jpg
/home/pi/Desktop/images/23012025/04/01/image_23012025_04_01_02_300574_0001.jpg
/home/pi/Desktop/images/23012025/04/01/image_23012025_04_01_02_300574_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330737789","1330738110","1330738253","1330737992","1330738256","1330737626"],"photo_ids_order":["1330737626","1330737789","1330737992","1330738110","1330738253","1330738256"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8145c59f8f5e53d6e27a8b673817007e.jpg","text":"TemporaryFile(/tmp/multipartBody7819061303801716838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601658639,"filename":"image_23012025_04_00_02_656103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f9aa3f34457043347b842974617f68b.jpg","text":"TemporaryFile(/tmp/multipartBody4442077277730836749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601658639,"filename":"image_23012025_04_01_02_300574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb0179d65b9aa990907883df6cedb9c6.jpg","text":"TemporaryFile(/tmp/multipartBody651881839382314467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601658639,"filename":"image_23012025_04_01_02_300574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5cfb208db00152a5dddece2e72ca6646.jpg","text":"TemporaryFile(/tmp/multipartBody997025076697353837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601658639,"filename":"image_23012025_04_00_02_656103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec6e1dd3bf1d92c7762d33e7eda981b3.jpg","text":"TemporaryFile(/tmp/multipartBody3869182430293645673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601658639,"filename":"image_23012025_04_01_02_300574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2634e4214cce1254594c3a753a087b12.jpg","text":"TemporaryFile(/tmp/multipartBody894624417307770938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601658639,"filename":"image_23012025_04_00_02_656103_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330737992","file1":"1330737789","file0":"1330737626","file4":"1330738253","file5":"1330738256","file3":"1330738110"},"map_files_photo_id_array":[{"photo_id":"1330738256","filename":"file5"},{"photo_id":"1330737992","filename":"file2"},{"photo_id":"1330738253","filename":"file4"},{"photo_id":"1330737789","filename":"file1"},{"photo_id":"1330737626","filename":"file0"},{"photo_id":"1330738110","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330737789":["hashtag1","hashtag2"]},{"1330738110":["hashtag1","hashtag2"]},{"1330738253":["hashtag1","hashtag2"]},{"1330737992":["hashtag1","hashtag2"]},{"1330738256":["hashtag1","hashtag2"]},{"1330737626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330737789, 1330738110, 1330738253, 1330737992, 1330738256, 1330737626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.19217252731323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:07:22.701351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/01/image_23012025_04_01_02_300574_0003.jpg', '/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0000.jpg', '/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0001.jpg', '/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0002.jpg', '/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0003.jpg', '/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/01/image_23012025_04_01_02_300574_0003.jpg
/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0000.jpg
/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0001.jpg
/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0002.jpg
/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0003.jpg
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.130894660949707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:08:02.673333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/01/image_23012025_04_01_02_300574_0003.jpg', '/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0000.jpg', '/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0001.jpg', '/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0002.jpg', '/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0003.jpg', '/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/01/image_23012025_04_01_02_300574_0003.jpg
/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0000.jpg
/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0001.jpg
/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0002.jpg
/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_02_865370_0003.jpg
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330738821","1330738716","1330738796","1330738817","1330738870","1330738852"],"photo_ids_order":["1330738716","1330738796","1330738817","1330738821","1330738852","1330738870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39c5c0abdbe2d6ed198727a4763ce772.jpg","text":"TemporaryFile(/tmp/multipartBody5631844972557235829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601759214,"filename":"image_23012025_04_02_02_865370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f0de48e54459dca0c806ef2a8b52734.jpg","text":"TemporaryFile(/tmp/multipartBody949024479907589131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601759214,"filename":"image_23012025_04_01_02_300574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8acd470ff30d3d73cb96175b47f9253.jpg","text":"TemporaryFile(/tmp/multipartBody3320855250522510077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601759214,"filename":"image_23012025_04_02_02_865370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85f0c620c19eb7f5eb33301931d7484a.jpg","text":"TemporaryFile(/tmp/multipartBody9014995571738989768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601759214,"filename":"image_23012025_04_02_02_865370_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb31ca7cce8dd828b06362a57d1785e4.jpg","text":"TemporaryFile(/tmp/multipartBody3413128572286284671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601759214,"filename":"image_23012025_04_03_02_480143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e109cf3e976c060f1ca5f17bbdd7195.jpg","text":"TemporaryFile(/tmp/multipartBody8156062059010224674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601759214,"filename":"image_23012025_04_02_02_865370_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330738817","file1":"1330738796","file0":"1330738716","file4":"1330738852","file5":"1330738870","file3":"1330738821"},"map_files_photo_id_array":[{"photo_id":"1330738870","filename":"file5"},{"photo_id":"1330738817","filename":"file2"},{"photo_id":"1330738852","filename":"file4"},{"photo_id":"1330738796","filename":"file1"},{"photo_id":"1330738716","filename":"file0"},{"photo_id":"1330738821","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330738821":["hashtag1","hashtag2"]},{"1330738716":["hashtag1","hashtag2"]},{"1330738796":["hashtag1","hashtag2"]},{"1330738817":["hashtag1","hashtag2"]},{"1330738870":["hashtag1","hashtag2"]},{"1330738852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330738821, 1330738716, 1330738796, 1330738817, 1330738870, 1330738852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.01701641082764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:09:02.369051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0001.jpg', '/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0002.jpg', '/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0003.jpg', '/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_03_046483_0000.jpg', '/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_03_046483_0001.jpg', '/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_03_046483_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0001.jpg
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0002.jpg
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0003.jpg
/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_03_046483_0000.jpg
/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_03_046483_0001.jpg
/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_03_046483_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.557985544204712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:09:21.762270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0001.jpg', '/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0002.jpg', '/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0003.jpg', '/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_03_046483_0000.jpg', '/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_03_046483_0001.jpg', '/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_03_046483_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0001.jpg
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0002.jpg
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_02_480143_0003.jpg
/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_03_046483_0000.jpg
/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_03_046483_0001.jpg
/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_03_046483_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330738922","1330738919","1330738921","1330738915","1330738906","1330738911"],"photo_ids_order":["1330738906","1330738911","1330738915","1330738919","1330738921","1330738922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12ce380f6bfd15397cf0037f6d397343.jpg","text":"TemporaryFile(/tmp/multipartBody8833139834711502200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601838597,"filename":"image_23012025_04_04_03_046483_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebd23821f8f525fada98b6f2f7da5b43.jpg","text":"TemporaryFile(/tmp/multipartBody2434035249703308628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601838597,"filename":"image_23012025_04_04_03_046483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5c7bb91a98565e2d2937296278758ae.jpg","text":"TemporaryFile(/tmp/multipartBody8355411056332383382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601838597,"filename":"image_23012025_04_04_03_046483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e54f26933b57f5bf897ebc120a91cec7.jpg","text":"TemporaryFile(/tmp/multipartBody2341015116429593656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601838597,"filename":"image_23012025_04_03_02_480143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb36d4d2778eb7f15348ec8cc02dd327.jpg","text":"TemporaryFile(/tmp/multipartBody7935770186748911848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601838597,"filename":"image_23012025_04_03_02_480143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/633fef0eccbd301066e172225fb63862.jpg","text":"TemporaryFile(/tmp/multipartBody8673830668480466744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601838597,"filename":"image_23012025_04_03_02_480143_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330738915","file1":"1330738911","file0":"1330738906","file4":"1330738921","file5":"1330738922","file3":"1330738919"},"map_files_photo_id_array":[{"photo_id":"1330738922","filename":"file5"},{"photo_id":"1330738915","filename":"file2"},{"photo_id":"1330738921","filename":"file4"},{"photo_id":"1330738911","filename":"file1"},{"photo_id":"1330738906","filename":"file0"},{"photo_id":"1330738919","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330738922":["hashtag1","hashtag2"]},{"1330738919":["hashtag1","hashtag2"]},{"1330738921":["hashtag1","hashtag2"]},{"1330738915":["hashtag1","hashtag2"]},{"1330738906":["hashtag1","hashtag2"]},{"1330738911":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330738922, 1330738919, 1330738921, 1330738915, 1330738906, 1330738911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.60143256187439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:10:22.409768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_03_046483_0003.jpg', '/home/pi/Desktop/images/23012025/04/05/image_23012025_04_05_02_571789_0000.jpg', '/home/pi/Desktop/images/23012025/04/05/image_23012025_04_05_02_571789_0001.jpg', '/home/pi/Desktop/images/23012025/04/05/image_23012025_04_05_02_571789_0002.jpg', '/home/pi/Desktop/images/23012025/04/05/image_23012025_04_05_02_571789_0003.jpg', '/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_02_127911_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_03_046483_0003.jpg
/home/pi/Desktop/images/23012025/04/05/image_23012025_04_05_02_571789_0000.jpg
/home/pi/Desktop/images/23012025/04/05/image_23012025_04_05_02_571789_0001.jpg
/home/pi/Desktop/images/23012025/04/05/image_23012025_04_05_02_571789_0002.jpg
/home/pi/Desktop/images/23012025/04/05/image_23012025_04_05_02_571789_0003.jpg
/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_02_127911_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":["1330738991","1330738982","1330738964","1330738957","1330738969","1330738989"],"photo_ids_order":["1330738957","1330738964","1330738969","1330738982","1330738989","1330738991"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/886c4b4419574cebbc108e8ad847e21b.jpg","text":"TemporaryFile(/tmp/multipartBody5197450339454986802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601899400,"filename":"image_23012025_04_06_02_127911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b9932869f636e32c4e8c0ac5f835a29.jpg","text":"TemporaryFile(/tmp/multipartBody6876817129201260600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601899400,"filename":"image_23012025_04_05_02_571789_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ecc8dfad32d4517bd0cd2754f5a703b.jpg","text":"TemporaryFile(/tmp/multipartBody7661673111346092073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601899400,"filename":"image_23012025_04_05_02_571789_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19d94875014d1bf02bd26fd3345d941f.jpg","text":"TemporaryFile(/tmp/multipartBody4554382437067300730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601899400,"filename":"image_23012025_04_04_03_046483_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c79b67fe999a29412249866097b8bdc.jpg","text":"TemporaryFile(/tmp/multipartBody1607818392081326118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601899400,"filename":"image_23012025_04_05_02_571789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5478606cb437a9529e38ee4a2bda0b5.jpg","text":"TemporaryFile(/tmp/multipartBody6050608948425048382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601899400,"filename":"image_23012025_04_05_02_571789_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330738969","file1":"1330738964","file0":"1330738957","file4":"1330738989","file5":"1330738991","file3":"1330738982"},"map_files_photo_id_array":[{"photo_id":"1330738991","filename":"file5"},{"photo_id":"1330738969","filename":"file2"},{"photo_id":"1330738989","filename":"file4"},{"photo_id":"1330738964","filename":"file1"},{"photo_id":"1330738957","filename":"file0"},{"photo_id":"1330738982","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330738991":["hashtag1","hashtag2"]},{"1330738982":["hashtag1","hashtag2"]},{"1330738964":["hashtag1","hashtag2"]},{"1330738957":["hashtag1","hashtag2"]},{"1330738969":["hashtag1","hashtag2"]},{"1330738989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330738991, 1330738982, 1330738964, 1330738957, 1330738969, 1330738989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.507049322128296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:12:02.872021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_02_127911_0001.jpg', '/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_02_127911_0002.jpg', '/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_02_127911_0003.jpg', '/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_02_576950_0000.jpg', '/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_02_576950_0001.jpg', '/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_02_576950_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_02_127911_0001.jpg
/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_02_127911_0002.jpg
/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_02_127911_0003.jpg
/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_02_576950_0000.jpg
/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_02_576950_0001.jpg
/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_02_576950_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.12034583091736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:12:22.456036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_02_127911_0001.jpg', '/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_02_127911_0002.jpg', '/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_02_127911_0003.jpg', '/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_02_576950_0000.jpg', '/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_02_576950_0001.jpg', '/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_02_576950_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_02_127911_0001.jpg
/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_02_127911_0002.jpg
/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_02_127911_0003.jpg
/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_02_576950_0000.jpg
/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_02_576950_0001.jpg
/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_02_576950_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330739173","1330739182","1330739179","1330739181","1330739177","1330739162"],"photo_ids_order":["1330739162","1330739173","1330739177","1330739179","1330739181","1330739182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7cd28ac53de573a531333c35d4672aae.jpg","text":"TemporaryFile(/tmp/multipartBody6225432678088594209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602018921,"filename":"image_23012025_04_06_02_127911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29492b8223cb9484fcb9b399dbf4232e.jpg","text":"TemporaryFile(/tmp/multipartBody4071731900281811851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602018921,"filename":"image_23012025_04_07_02_576950_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b60eb2f65acc4e685e8047e43a0c534d.jpg","text":"TemporaryFile(/tmp/multipartBody7163332806932493644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602018921,"filename":"image_23012025_04_07_02_576950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4780bd0b9aa345a3bd3ca0adc1d514a5.jpg","text":"TemporaryFile(/tmp/multipartBody7020948232659727004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602018921,"filename":"image_23012025_04_07_02_576950_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a96974bb1d8d50c8c9efd974ab1b01bf.jpg","text":"TemporaryFile(/tmp/multipartBody8200030300685912119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602018921,"filename":"image_23012025_04_06_02_127911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5034cdd7100f9797973428fc0baeda7b.jpg","text":"TemporaryFile(/tmp/multipartBody274482089237145546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602018921,"filename":"image_23012025_04_06_02_127911_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330739177","file1":"1330739173","file0":"1330739162","file4":"1330739181","file5":"1330739182","file3":"1330739179"},"map_files_photo_id_array":[{"photo_id":"1330739182","filename":"file5"},{"photo_id":"1330739177","filename":"file2"},{"photo_id":"1330739181","filename":"file4"},{"photo_id":"1330739173","filename":"file1"},{"photo_id":"1330739162","filename":"file0"},{"photo_id":"1330739179","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330739173":["hashtag1","hashtag2"]},{"1330739182":["hashtag1","hashtag2"]},{"1330739179":["hashtag1","hashtag2"]},{"1330739181":["hashtag1","hashtag2"]},{"1330739177":["hashtag1","hashtag2"]},{"1330739162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330739173, 1330739182, 1330739179, 1330739181, 1330739177, 1330739162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.58024001121521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:13:21.950133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_02_576950_0003.jpg', '/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_03_116780_0000.jpg', '/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_03_116780_0001.jpg', '/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_03_116780_0002.jpg', '/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_03_116780_0003.jpg', '/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_02_654457_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_02_576950_0003.jpg
/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_03_116780_0000.jpg
/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_03_116780_0001.jpg
/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_03_116780_0002.jpg
/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_03_116780_0003.jpg
/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_02_654457_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330739243","1330739210","1330739245","1330739230","1330739241","1330739238"],"photo_ids_order":["1330739210","1330739230","1330739238","1330739241","1330739243","1330739245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3079531ae4abc8532748e88ddf813e73.jpg","text":"TemporaryFile(/tmp/multipartBody6098287558618587146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602079166,"filename":"image_23012025_04_08_03_116780_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df27625b2e516c7ba498c2bbff056f2a.jpg","text":"TemporaryFile(/tmp/multipartBody2659224066708244824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602079166,"filename":"image_23012025_04_07_02_576950_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0332cbb79f2903461bed7aa7a41e195.jpg","text":"TemporaryFile(/tmp/multipartBody504933339574082071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602079166,"filename":"image_23012025_04_09_02_654457_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4269a0123c949eb38265f4fc42df6720.jpg","text":"TemporaryFile(/tmp/multipartBody9106228063642465641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602079166,"filename":"image_23012025_04_08_03_116780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5f7a6360606d05403009425fd5db156.jpg","text":"TemporaryFile(/tmp/multipartBody155116570641730412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602079166,"filename":"image_23012025_04_08_03_116780_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b83639e781961d9ad05d52b3d0e4264.jpg","text":"TemporaryFile(/tmp/multipartBody8372216056634183908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602079166,"filename":"image_23012025_04_08_03_116780_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330739238","file1":"1330739230","file0":"1330739210","file4":"1330739243","file5":"1330739245","file3":"1330739241"},"map_files_photo_id_array":[{"photo_id":"1330739245","filename":"file5"},{"photo_id":"1330739238","filename":"file2"},{"photo_id":"1330739243","filename":"file4"},{"photo_id":"1330739230","filename":"file1"},{"photo_id":"1330739210","filename":"file0"},{"photo_id":"1330739241","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330739243":["hashtag1","hashtag2"]},{"1330739210":["hashtag1","hashtag2"]},{"1330739245":["hashtag1","hashtag2"]},{"1330739230":["hashtag1","hashtag2"]},{"1330739241":["hashtag1","hashtag2"]},{"1330739238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330739243, 1330739210, 1330739245, 1330739230, 1330739241, 1330739238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.351513147354126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:14:22.452170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_02_654457_0001.jpg', '/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_02_654457_0002.jpg', '/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_02_654457_0003.jpg', '/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_02_198269_0000.jpg', '/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_02_198269_0001.jpg', '/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_02_198269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_02_654457_0001.jpg
/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_02_654457_0002.jpg
/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_02_654457_0003.jpg
/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_02_198269_0000.jpg
/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_02_198269_0001.jpg
/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_02_198269_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330739345","1330739339","1330739333","1330739341","1330739335","1330739337"],"photo_ids_order":["1330739333","1330739335","1330739337","1330739339","1330739341","1330739345"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8869c283dceebe1e858c3d65d4eed3f2.jpg","text":"TemporaryFile(/tmp/multipartBody2164130269923862619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602139908,"filename":"image_23012025_04_10_02_198269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a292757612d60fab760cea5911fcb0e4.jpg","text":"TemporaryFile(/tmp/multipartBody1720501686832155557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602139908,"filename":"image_23012025_04_10_02_198269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e65b84ced23f6f4a93d46c03247ade0b.jpg","text":"TemporaryFile(/tmp/multipartBody3828070653971134933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602139908,"filename":"image_23012025_04_09_02_654457_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a045194308e73cefa1fc6748a1eee0b.jpg","text":"TemporaryFile(/tmp/multipartBody3052080955878158202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602139908,"filename":"image_23012025_04_10_02_198269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/819561852a52307a256e60e48c41ab08.jpg","text":"TemporaryFile(/tmp/multipartBody4797994753087535056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602139908,"filename":"image_23012025_04_09_02_654457_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4bb5dce3eeb26e18ba9da05503411759.jpg","text":"TemporaryFile(/tmp/multipartBody1788789530719764489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602139908,"filename":"image_23012025_04_09_02_654457_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330739337","file1":"1330739335","file0":"1330739333","file4":"1330739341","file5":"1330739345","file3":"1330739339"},"map_files_photo_id_array":[{"photo_id":"1330739345","filename":"file5"},{"photo_id":"1330739337","filename":"file2"},{"photo_id":"1330739341","filename":"file4"},{"photo_id":"1330739335","filename":"file1"},{"photo_id":"1330739333","filename":"file0"},{"photo_id":"1330739339","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330739345":["hashtag1","hashtag2"]},{"1330739339":["hashtag1","hashtag2"]},{"1330739333":["hashtag1","hashtag2"]},{"1330739341":["hashtag1","hashtag2"]},{"1330739335":["hashtag1","hashtag2"]},{"1330739337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330739345, 1330739339, 1330739333, 1330739341, 1330739335, 1330739337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.026081800460815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:15:21.932258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_02_198269_0003.jpg', '/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_02_794286_0000.jpg', '/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_02_794286_0001.jpg', '/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_02_794286_0002.jpg', '/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_02_794286_0003.jpg', '/home/pi/Desktop/images/23012025/04/12/image_23012025_04_12_02_272021_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_02_198269_0003.jpg
/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_02_794286_0000.jpg
/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_02_794286_0001.jpg
/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_02_794286_0002.jpg
/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_02_794286_0003.jpg
/home/pi/Desktop/images/23012025/04/12/image_23012025_04_12_02_272021_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330739435","1330739461","1330739434","1330739416","1330739413","1330739421"],"photo_ids_order":["1330739413","1330739416","1330739421","1330739434","1330739435","1330739461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a49725481cd09d76bb1c23224dd45bf9.jpg","text":"TemporaryFile(/tmp/multipartBody2425972592841880935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602198736,"filename":"image_23012025_04_11_02_794286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b89ddd74c7944e2c0788eb755342bf4d.jpg","text":"TemporaryFile(/tmp/multipartBody626310900756280975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602198736,"filename":"image_23012025_04_12_02_272021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ea17070a9974e5099a08c11eeafed26.jpg","text":"TemporaryFile(/tmp/multipartBody961724576662597742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602198736,"filename":"image_23012025_04_11_02_794286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14a971bbfea523933d673bab669ad7ac.jpg","text":"TemporaryFile(/tmp/multipartBody7466722306301335339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602198736,"filename":"image_23012025_04_11_02_794286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e6fa99dfadeb0e2cfe04d6ae7010658.jpg","text":"TemporaryFile(/tmp/multipartBody4497159700490169145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602198736,"filename":"image_23012025_04_10_02_198269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c68344c129ea7c364d2352afb977fc88.jpg","text":"TemporaryFile(/tmp/multipartBody355361349616568270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602198736,"filename":"image_23012025_04_11_02_794286_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330739421","file1":"1330739416","file0":"1330739413","file4":"1330739435","file5":"1330739461","file3":"1330739434"},"map_files_photo_id_array":[{"photo_id":"1330739461","filename":"file5"},{"photo_id":"1330739421","filename":"file2"},{"photo_id":"1330739435","filename":"file4"},{"photo_id":"1330739416","filename":"file1"},{"photo_id":"1330739413","filename":"file0"},{"photo_id":"1330739434","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330739435":["hashtag1","hashtag2"]},{"1330739461":["hashtag1","hashtag2"]},{"1330739434":["hashtag1","hashtag2"]},{"1330739416":["hashtag1","hashtag2"]},{"1330739413":["hashtag1","hashtag2"]},{"1330739421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330739435, 1330739461, 1330739434, 1330739416, 1330739413, 1330739421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.01916718482971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:16:22.518438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/12/image_23012025_04_12_02_272021_0001.jpg', '/home/pi/Desktop/images/23012025/04/12/image_23012025_04_12_02_272021_0002.jpg', '/home/pi/Desktop/images/23012025/04/12/image_23012025_04_12_02_272021_0003.jpg', '/home/pi/Desktop/images/23012025/04/13/image_23012025_04_13_02_810795_0000.jpg', '/home/pi/Desktop/images/23012025/04/13/image_23012025_04_13_02_810795_0001.jpg', '/home/pi/Desktop/images/23012025/04/13/image_23012025_04_13_02_810795_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/12/image_23012025_04_12_02_272021_0001.jpg
/home/pi/Desktop/images/23012025/04/12/image_23012025_04_12_02_272021_0002.jpg
/home/pi/Desktop/images/23012025/04/12/image_23012025_04_12_02_272021_0003.jpg
/home/pi/Desktop/images/23012025/04/13/image_23012025_04_13_02_810795_0000.jpg
/home/pi/Desktop/images/23012025/04/13/image_23012025_04_13_02_810795_0001.jpg
/home/pi/Desktop/images/23012025/04/13/image_23012025_04_13_02_810795_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330739531","1330739515","1330739481","1330739475","1330739492","1330739489"],"photo_ids_order":["1330739475","1330739481","1330739489","1330739492","1330739515","1330739531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ba1378a59957a9d945cd2352636dc6e.jpg","text":"TemporaryFile(/tmp/multipartBody1164225651309309345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602259238,"filename":"image_23012025_04_13_02_810795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8ea592b950ce343b94065cd64fda353.jpg","text":"TemporaryFile(/tmp/multipartBody1680114881435660617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602259238,"filename":"image_23012025_04_13_02_810795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa8b99b28cf5b2f11731c0e523738b54.jpg","text":"TemporaryFile(/tmp/multipartBody5869092020215281576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602259238,"filename":"image_23012025_04_12_02_272021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4123aa3debf52c62b5d613aae83068e7.jpg","text":"TemporaryFile(/tmp/multipartBody3924031248949794540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602259238,"filename":"image_23012025_04_12_02_272021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e369835b3a4d5af96d76f1fd65b72d48.jpg","text":"TemporaryFile(/tmp/multipartBody1911422580723907792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602259238,"filename":"image_23012025_04_13_02_810795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a83c7c61fdf7d8aeadc8d3ddb7fdedd6.jpg","text":"TemporaryFile(/tmp/multipartBody1169541265923102264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602259238,"filename":"image_23012025_04_12_02_272021_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330739489","file1":"1330739481","file0":"1330739475","file4":"1330739515","file5":"1330739531","file3":"1330739492"},"map_files_photo_id_array":[{"photo_id":"1330739531","filename":"file5"},{"photo_id":"1330739489","filename":"file2"},{"photo_id":"1330739515","filename":"file4"},{"photo_id":"1330739481","filename":"file1"},{"photo_id":"1330739475","filename":"file0"},{"photo_id":"1330739492","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330739531":["hashtag1","hashtag2"]},{"1330739515":["hashtag1","hashtag2"]},{"1330739481":["hashtag1","hashtag2"]},{"1330739475":["hashtag1","hashtag2"]},{"1330739492":["hashtag1","hashtag2"]},{"1330739489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330739531, 1330739515, 1330739481, 1330739475, 1330739492, 1330739489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.80442547798157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:17:22.034338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/13/image_23012025_04_13_02_810795_0003.jpg', '/home/pi/Desktop/images/23012025/04/14/image_23012025_04_14_02_309906_0000.jpg', '/home/pi/Desktop/images/23012025/04/14/image_23012025_04_14_02_309906_0001.jpg', '/home/pi/Desktop/images/23012025/04/14/image_23012025_04_14_02_309906_0002.jpg', '/home/pi/Desktop/images/23012025/04/14/image_23012025_04_14_02_309906_0003.jpg', '/home/pi/Desktop/images/23012025/04/15/image_23012025_04_15_02_842298_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/13/image_23012025_04_13_02_810795_0003.jpg
/home/pi/Desktop/images/23012025/04/14/image_23012025_04_14_02_309906_0000.jpg
/home/pi/Desktop/images/23012025/04/14/image_23012025_04_14_02_309906_0001.jpg
/home/pi/Desktop/images/23012025/04/14/image_23012025_04_14_02_309906_0002.jpg
/home/pi/Desktop/images/23012025/04/14/image_23012025_04_14_02_309906_0003.jpg
/home/pi/Desktop/images/23012025/04/15/image_23012025_04_15_02_842298_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330739603","1330739725","1330739608","1330739611","1330739598","1330739715"],"photo_ids_order":["1330739598","1330739603","1330739608","1330739611","1330739715","1330739725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/423b2cae19714ed2cb11271639008f86.jpg","text":"TemporaryFile(/tmp/multipartBody6739750293599895624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602318844,"filename":"image_23012025_04_14_02_309906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33b808e78eaf5626d41c92edea0e4ee3.jpg","text":"TemporaryFile(/tmp/multipartBody5894445249357189803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602318844,"filename":"image_23012025_04_15_02_842298_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45051abe42e5cce3972fe7adf84472c7.jpg","text":"TemporaryFile(/tmp/multipartBody1083903467307616998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602318844,"filename":"image_23012025_04_14_02_309906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9f495eb58e6189d428559478ac717a1.jpg","text":"TemporaryFile(/tmp/multipartBody6440046602980337142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602318844,"filename":"image_23012025_04_14_02_309906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f2ab6c2de0e286c8dd71acf7c986424.jpg","text":"TemporaryFile(/tmp/multipartBody879364631036968723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602318844,"filename":"image_23012025_04_13_02_810795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42972b8381b032aa5311311498aa3201.jpg","text":"TemporaryFile(/tmp/multipartBody7564017079874130796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602318844,"filename":"image_23012025_04_14_02_309906_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330739608","file1":"1330739603","file0":"1330739598","file4":"1330739715","file5":"1330739725","file3":"1330739611"},"map_files_photo_id_array":[{"photo_id":"1330739725","filename":"file5"},{"photo_id":"1330739608","filename":"file2"},{"photo_id":"1330739715","filename":"file4"},{"photo_id":"1330739603","filename":"file1"},{"photo_id":"1330739598","filename":"file0"},{"photo_id":"1330739611","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330739603":["hashtag1","hashtag2"]},{"1330739725":["hashtag1","hashtag2"]},{"1330739608":["hashtag1","hashtag2"]},{"1330739611":["hashtag1","hashtag2"]},{"1330739598":["hashtag1","hashtag2"]},{"1330739715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330739603, 1330739725, 1330739608, 1330739611, 1330739598, 1330739715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.300578355789185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:18:22.534264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/15/image_23012025_04_15_02_842298_0001.jpg', '/home/pi/Desktop/images/23012025/04/15/image_23012025_04_15_02_842298_0002.jpg', '/home/pi/Desktop/images/23012025/04/15/image_23012025_04_15_02_842298_0003.jpg', '/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_02_404069_0000.jpg', '/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_02_404069_0001.jpg', '/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_02_404069_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/15/image_23012025_04_15_02_842298_0001.jpg
/home/pi/Desktop/images/23012025/04/15/image_23012025_04_15_02_842298_0002.jpg
/home/pi/Desktop/images/23012025/04/15/image_23012025_04_15_02_842298_0003.jpg
/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_02_404069_0000.jpg
/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_02_404069_0001.jpg
/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_02_404069_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330740299","1330740222","1330740397","1330740391","1330740394","1330739981"],"photo_ids_order":["1330739981","1330740222","1330740299","1330740391","1330740394","1330740397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/661ddc2b530e5eb9f125dc3681d01598.jpg","text":"TemporaryFile(/tmp/multipartBody8220358039317991763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602379252,"filename":"image_23012025_04_15_02_842298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d9073eec474549b2556fa8798e9bb01.jpg","text":"TemporaryFile(/tmp/multipartBody2460826458215645709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602379252,"filename":"image_23012025_04_15_02_842298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b33feece2b986ff79ec172bf2e7d7549.jpg","text":"TemporaryFile(/tmp/multipartBody7440008741178856453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602379252,"filename":"image_23012025_04_16_02_404069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7118d8780a6bc616596d2205132b5562.jpg","text":"TemporaryFile(/tmp/multipartBody8996591550523916037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602379252,"filename":"image_23012025_04_16_02_404069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa08d28141a654a10cd932834993e24a.jpg","text":"TemporaryFile(/tmp/multipartBody4883994745022082700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602379252,"filename":"image_23012025_04_16_02_404069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a3edea45e8559e0ebff8e7e09d2f265.jpg","text":"TemporaryFile(/tmp/multipartBody8589326544703124312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602379252,"filename":"image_23012025_04_15_02_842298_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330740299","file1":"1330740222","file0":"1330739981","file4":"1330740394","file5":"1330740397","file3":"1330740391"},"map_files_photo_id_array":[{"photo_id":"1330740397","filename":"file5"},{"photo_id":"1330740299","filename":"file2"},{"photo_id":"1330740394","filename":"file4"},{"photo_id":"1330740222","filename":"file1"},{"photo_id":"1330739981","filename":"file0"},{"photo_id":"1330740391","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330740299":["hashtag1","hashtag2"]},{"1330740222":["hashtag1","hashtag2"]},{"1330740397":["hashtag1","hashtag2"]},{"1330740391":["hashtag1","hashtag2"]},{"1330740394":["hashtag1","hashtag2"]},{"1330739981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330740299, 1330740222, 1330740397, 1330740391, 1330740394, 1330739981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.81991910934448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:19:22.008671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_02_404069_0003.jpg', '/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_02_903739_0000.jpg', '/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_02_903739_0001.jpg', '/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_02_903739_0002.jpg', '/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_02_903739_0003.jpg', '/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_02_409921_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_02_404069_0003.jpg
/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_02_903739_0000.jpg
/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_02_903739_0001.jpg
/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_02_903739_0002.jpg
/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_02_903739_0003.jpg
/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_02_409921_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330740540","1330740548","1330740547","1330740549","1330740543","1330740546"],"photo_ids_order":["1330740540","1330740543","1330740546","1330740547","1330740548","1330740549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b006c310ced146c43b5a29ee79a493c.jpg","text":"TemporaryFile(/tmp/multipartBody3177334757805121786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602438606,"filename":"image_23012025_04_16_02_404069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03723437c0c9614cfcaf4041233c86e3.jpg","text":"TemporaryFile(/tmp/multipartBody7894923441063709590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602438606,"filename":"image_23012025_04_17_02_903739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec312b5749e25346b5be141e7480cf2d.jpg","text":"TemporaryFile(/tmp/multipartBody1379565487461591259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602438606,"filename":"image_23012025_04_17_02_903739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28509f9946e6b0dc11a839d72c5b0075.jpg","text":"TemporaryFile(/tmp/multipartBody6700472168913235523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602438606,"filename":"image_23012025_04_18_02_409921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56739922a6d9c03d36e59651852133c5.jpg","text":"TemporaryFile(/tmp/multipartBody4921473115259741306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602438606,"filename":"image_23012025_04_17_02_903739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4be7fae0c2ad6ac831d29b62b239ee54.jpg","text":"TemporaryFile(/tmp/multipartBody7322544290227092194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602438606,"filename":"image_23012025_04_17_02_903739_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330740546","file1":"1330740543","file0":"1330740540","file4":"1330740548","file5":"1330740549","file3":"1330740547"},"map_files_photo_id_array":[{"photo_id":"1330740549","filename":"file5"},{"photo_id":"1330740546","filename":"file2"},{"photo_id":"1330740548","filename":"file4"},{"photo_id":"1330740543","filename":"file1"},{"photo_id":"1330740540","filename":"file0"},{"photo_id":"1330740547","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330740540":["hashtag1","hashtag2"]},{"1330740548":["hashtag1","hashtag2"]},{"1330740547":["hashtag1","hashtag2"]},{"1330740549":["hashtag1","hashtag2"]},{"1330740543":["hashtag1","hashtag2"]},{"1330740546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330740540, 1330740548, 1330740547, 1330740549, 1330740543, 1330740546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.74326205253601 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:20:22.630811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_02_409921_0001.jpg', '/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_02_409921_0002.jpg', '/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_02_409921_0003.jpg', '/home/pi/Desktop/images/23012025/04/19/image_23012025_04_19_02_905884_0000.jpg', '/home/pi/Desktop/images/23012025/04/19/image_23012025_04_19_02_905884_0001.jpg', '/home/pi/Desktop/images/23012025/04/19/image_23012025_04_19_02_905884_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_02_409921_0001.jpg
/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_02_409921_0002.jpg
/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_02_409921_0003.jpg
/home/pi/Desktop/images/23012025/04/19/image_23012025_04_19_02_905884_0000.jpg
/home/pi/Desktop/images/23012025/04/19/image_23012025_04_19_02_905884_0001.jpg
/home/pi/Desktop/images/23012025/04/19/image_23012025_04_19_02_905884_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330740627","1330740638","1330740613","1330740616","1330740604","1330740588"],"photo_ids_order":["1330740588","1330740604","1330740613","1330740616","1330740627","1330740638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d05b8ed51786ca1dab81d0e65257272.jpg","text":"TemporaryFile(/tmp/multipartBody5493166243315042537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602499600,"filename":"image_23012025_04_19_02_905884_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dadf50bb56123d33ec15a54334703180.jpg","text":"TemporaryFile(/tmp/multipartBody7095782006633973567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602499600,"filename":"image_23012025_04_19_02_905884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f3ee88abc21afb0c4e947f5a09e8016.jpg","text":"TemporaryFile(/tmp/multipartBody523897968440299677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602499600,"filename":"image_23012025_04_18_02_409921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65914757ee4c6d29934c9820c848bfa0.jpg","text":"TemporaryFile(/tmp/multipartBody5969294116350647379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602499600,"filename":"image_23012025_04_19_02_905884_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4faa243f0a6cda2f0474a8cabb1dbf83.jpg","text":"TemporaryFile(/tmp/multipartBody2048710423807279501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602499600,"filename":"image_23012025_04_18_02_409921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d8620a4d7ce995eef7473be2e1b701d.jpg","text":"TemporaryFile(/tmp/multipartBody3950547762812207149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602499600,"filename":"image_23012025_04_18_02_409921_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330740613","file1":"1330740604","file0":"1330740588","file4":"1330740627","file5":"1330740638","file3":"1330740616"},"map_files_photo_id_array":[{"photo_id":"1330740638","filename":"file5"},{"photo_id":"1330740613","filename":"file2"},{"photo_id":"1330740627","filename":"file4"},{"photo_id":"1330740604","filename":"file1"},{"photo_id":"1330740588","filename":"file0"},{"photo_id":"1330740616","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330740627":["hashtag1","hashtag2"]},{"1330740638":["hashtag1","hashtag2"]},{"1330740613":["hashtag1","hashtag2"]},{"1330740616":["hashtag1","hashtag2"]},{"1330740604":["hashtag1","hashtag2"]},{"1330740588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330740627, 1330740638, 1330740613, 1330740616, 1330740604, 1330740588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.49979829788208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:22:03.152319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/19/image_23012025_04_19_02_905884_0003.jpg', '/home/pi/Desktop/images/23012025/04/20/image_23012025_04_20_02_457055_0000.jpg', '/home/pi/Desktop/images/23012025/04/20/image_23012025_04_20_02_457055_0001.jpg', '/home/pi/Desktop/images/23012025/04/20/image_23012025_04_20_02_457055_0002.jpg', '/home/pi/Desktop/images/23012025/04/20/image_23012025_04_20_02_457055_0003.jpg', '/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_02_973220_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/19/image_23012025_04_19_02_905884_0003.jpg
/home/pi/Desktop/images/23012025/04/20/image_23012025_04_20_02_457055_0000.jpg
/home/pi/Desktop/images/23012025/04/20/image_23012025_04_20_02_457055_0001.jpg
/home/pi/Desktop/images/23012025/04/20/image_23012025_04_20_02_457055_0002.jpg
/home/pi/Desktop/images/23012025/04/20/image_23012025_04_20_02_457055_0003.jpg
/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_02_973220_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330740971","1330741054","1330741057","1330740922","1330741059","1330741050"],"photo_ids_order":["1330740922","1330740971","1330741050","1330741054","1330741057","1330741059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4eb9acc1b40a5fc5126b5032648f8a4f.jpg","text":"TemporaryFile(/tmp/multipartBody7000155012582541443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602599580,"filename":"image_23012025_04_20_02_457055_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02378f5994233c7d205919ca21552d11.jpg","text":"TemporaryFile(/tmp/multipartBody7312429653368906034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602599580,"filename":"image_23012025_04_20_02_457055_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15b615f93c4939ec4958aa51d79888d4.jpg","text":"TemporaryFile(/tmp/multipartBody5065283874858118373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602599580,"filename":"image_23012025_04_20_02_457055_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e947fbd173ec8dec41f96863f0baa6b.jpg","text":"TemporaryFile(/tmp/multipartBody1000996924759471755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602599580,"filename":"image_23012025_04_19_02_905884_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ab7f892be4aa31f786fc52d2424ded9.jpg","text":"TemporaryFile(/tmp/multipartBody2263040299874305144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602599580,"filename":"image_23012025_04_21_02_973220_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b690e558112c69b82a26ed2341f23a38.jpg","text":"TemporaryFile(/tmp/multipartBody4728731242867817179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602599580,"filename":"image_23012025_04_20_02_457055_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330741050","file1":"1330740971","file0":"1330740922","file4":"1330741057","file5":"1330741059","file3":"1330741054"},"map_files_photo_id_array":[{"photo_id":"1330741059","filename":"file5"},{"photo_id":"1330741050","filename":"file2"},{"photo_id":"1330741057","filename":"file4"},{"photo_id":"1330740971","filename":"file1"},{"photo_id":"1330740922","filename":"file0"},{"photo_id":"1330741054","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330740971":["hashtag1","hashtag2"]},{"1330741054":["hashtag1","hashtag2"]},{"1330741057":["hashtag1","hashtag2"]},{"1330740922":["hashtag1","hashtag2"]},{"1330741059":["hashtag1","hashtag2"]},{"1330741050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330740971, 1330741054, 1330741057, 1330740922, 1330741059, 1330741050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.0158052444458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:23:02.818707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_02_973220_0001.jpg', '/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_02_973220_0002.jpg', '/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_02_973220_0003.jpg', '/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_02_540939_0000.jpg', '/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_02_540939_0001.jpg', '/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_02_540939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_02_973220_0001.jpg
/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_02_973220_0002.jpg
/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_02_973220_0003.jpg
/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_02_540939_0000.jpg
/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_02_540939_0001.jpg
/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_02_540939_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.68628478050232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:23:22.171952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_02_973220_0001.jpg', '/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_02_973220_0002.jpg', '/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_02_973220_0003.jpg', '/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_02_540939_0000.jpg', '/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_02_540939_0001.jpg', '/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_02_540939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_02_973220_0001.jpg
/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_02_973220_0002.jpg
/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_02_973220_0003.jpg
/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_02_540939_0000.jpg
/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_02_540939_0001.jpg
/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_02_540939_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330741082","1330741106","1330741099","1330741102","1330741104","1330741094"],"photo_ids_order":["1330741082","1330741094","1330741099","1330741102","1330741104","1330741106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b8a69839b7cc6abdc7e5d080ef12894.jpg","text":"TemporaryFile(/tmp/multipartBody3454098523592362132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602678168,"filename":"image_23012025_04_21_02_973220_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b3515abc0d83ed5ddda5e7ac7b502e4.jpg","text":"TemporaryFile(/tmp/multipartBody8757663531623352795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602678168,"filename":"image_23012025_04_22_02_540939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/338e9eab3f8f614152e0e4c0731c8e3e.jpg","text":"TemporaryFile(/tmp/multipartBody1821252047064526916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602678168,"filename":"image_23012025_04_21_02_973220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2748ff983a6977b09deb2fbab902fa8.jpg","text":"TemporaryFile(/tmp/multipartBody8033388783221068553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602678168,"filename":"image_23012025_04_22_02_540939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/943730110876325a5186449dac988d81.jpg","text":"TemporaryFile(/tmp/multipartBody829945497607845370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602678168,"filename":"image_23012025_04_22_02_540939_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24cdc29a2091038d82b2e99a55e7392a.jpg","text":"TemporaryFile(/tmp/multipartBody608312868149004814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602678168,"filename":"image_23012025_04_21_02_973220_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330741099","file1":"1330741094","file0":"1330741082","file4":"1330741104","file5":"1330741106","file3":"1330741102"},"map_files_photo_id_array":[{"photo_id":"1330741106","filename":"file5"},{"photo_id":"1330741099","filename":"file2"},{"photo_id":"1330741104","filename":"file4"},{"photo_id":"1330741094","filename":"file1"},{"photo_id":"1330741082","filename":"file0"},{"photo_id":"1330741102","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330741082":["hashtag1","hashtag2"]},{"1330741106":["hashtag1","hashtag2"]},{"1330741099":["hashtag1","hashtag2"]},{"1330741102":["hashtag1","hashtag2"]},{"1330741104":["hashtag1","hashtag2"]},{"1330741094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330741082, 1330741106, 1330741099, 1330741102, 1330741104, 1330741094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.81634521484375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:24:22.635252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_02_540939_0003.jpg', '/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_03_047106_0000.jpg', '/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_03_047106_0001.jpg', '/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_03_047106_0002.jpg', '/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_03_047106_0003.jpg', '/home/pi/Desktop/images/23012025/04/24/image_23012025_04_24_02_476145_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_02_540939_0003.jpg
/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_03_047106_0000.jpg
/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_03_047106_0001.jpg
/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_03_047106_0002.jpg
/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_03_047106_0003.jpg
/home/pi/Desktop/images/23012025/04/24/image_23012025_04_24_02_476145_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330741175","1330741136","1330741171","1330741168","1330741173","1330741143"],"photo_ids_order":["1330741136","1330741143","1330741168","1330741171","1330741173","1330741175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4fe78d0071b3a60fe92ce48781f65f5.jpg","text":"TemporaryFile(/tmp/multipartBody3857815235393003013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602737488,"filename":"image_23012025_04_24_02_476145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a27f900b6f4b082f19cad759f3a9fe98.jpg","text":"TemporaryFile(/tmp/multipartBody1874617840970502476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602737488,"filename":"image_23012025_04_22_02_540939_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59231c290728a4493ba03d8dc2f8b03b.jpg","text":"TemporaryFile(/tmp/multipartBody2437330895020619795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602737488,"filename":"image_23012025_04_23_03_047106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d26118cc2ac5fed65d80f78559fb101.jpg","text":"TemporaryFile(/tmp/multipartBody8037690622595538727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602737488,"filename":"image_23012025_04_23_03_047106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21f25ca8fd119d70e354f2bfa550c8e4.jpg","text":"TemporaryFile(/tmp/multipartBody8574046253538894797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602737488,"filename":"image_23012025_04_23_03_047106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89455b83d6d11665ee297d4923090635.jpg","text":"TemporaryFile(/tmp/multipartBody4491900075303032280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602737488,"filename":"image_23012025_04_23_03_047106_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330741168","file1":"1330741143","file0":"1330741136","file4":"1330741173","file5":"1330741175","file3":"1330741171"},"map_files_photo_id_array":[{"photo_id":"1330741175","filename":"file5"},{"photo_id":"1330741168","filename":"file2"},{"photo_id":"1330741173","filename":"file4"},{"photo_id":"1330741143","filename":"file1"},{"photo_id":"1330741136","filename":"file0"},{"photo_id":"1330741171","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330741175":["hashtag1","hashtag2"]},{"1330741136":["hashtag1","hashtag2"]},{"1330741171":["hashtag1","hashtag2"]},{"1330741168":["hashtag1","hashtag2"]},{"1330741173":["hashtag1","hashtag2"]},{"1330741143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330741175, 1330741136, 1330741171, 1330741168, 1330741173, 1330741143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.867918252944946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:25:22.099251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/24/image_23012025_04_24_02_476145_0001.jpg', '/home/pi/Desktop/images/23012025/04/24/image_23012025_04_24_02_476145_0002.jpg', '/home/pi/Desktop/images/23012025/04/24/image_23012025_04_24_02_476145_0003.jpg', '/home/pi/Desktop/images/23012025/04/25/image_23012025_04_25_02_940243_0000.jpg', '/home/pi/Desktop/images/23012025/04/25/image_23012025_04_25_02_940243_0001.jpg', '/home/pi/Desktop/images/23012025/04/25/image_23012025_04_25_02_940243_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/24/image_23012025_04_24_02_476145_0001.jpg
/home/pi/Desktop/images/23012025/04/24/image_23012025_04_24_02_476145_0002.jpg
/home/pi/Desktop/images/23012025/04/24/image_23012025_04_24_02_476145_0003.jpg
/home/pi/Desktop/images/23012025/04/25/image_23012025_04_25_02_940243_0000.jpg
/home/pi/Desktop/images/23012025/04/25/image_23012025_04_25_02_940243_0001.jpg
/home/pi/Desktop/images/23012025/04/25/image_23012025_04_25_02_940243_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330741238","1330741202","1330741252","1330741188","1330741182","1330741227"],"photo_ids_order":["1330741182","1330741188","1330741202","1330741227","1330741238","1330741252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f3aef8b63403bee092dbf2ee07e4ad2.jpg","text":"TemporaryFile(/tmp/multipartBody5039030555987178808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602797508,"filename":"image_23012025_04_25_02_940243_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98c57c0eb6f0e601ca0918568948963e.jpg","text":"TemporaryFile(/tmp/multipartBody63178452633874944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602797508,"filename":"image_23012025_04_24_02_476145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f70abbaedc7b0c483990319ea81a5aa.jpg","text":"TemporaryFile(/tmp/multipartBody5024314351127750126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602797508,"filename":"image_23012025_04_25_02_940243_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54348264427409c9de68109920664cc8.jpg","text":"TemporaryFile(/tmp/multipartBody3207367142932278405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602797508,"filename":"image_23012025_04_24_02_476145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e848807765502fad978a26db28460cbb.jpg","text":"TemporaryFile(/tmp/multipartBody5883910686725671734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602797508,"filename":"image_23012025_04_24_02_476145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ca17b7225a10490a7c4bd407e51bbf2.jpg","text":"TemporaryFile(/tmp/multipartBody8944303415934373996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602797508,"filename":"image_23012025_04_25_02_940243_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330741202","file1":"1330741188","file0":"1330741182","file4":"1330741238","file5":"1330741252","file3":"1330741227"},"map_files_photo_id_array":[{"photo_id":"1330741252","filename":"file5"},{"photo_id":"1330741202","filename":"file2"},{"photo_id":"1330741238","filename":"file4"},{"photo_id":"1330741188","filename":"file1"},{"photo_id":"1330741182","filename":"file0"},{"photo_id":"1330741227","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330741238":["hashtag1","hashtag2"]},{"1330741202":["hashtag1","hashtag2"]},{"1330741252":["hashtag1","hashtag2"]},{"1330741188":["hashtag1","hashtag2"]},{"1330741182":["hashtag1","hashtag2"]},{"1330741227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330741238, 1330741202, 1330741252, 1330741188, 1330741182, 1330741227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.333686113357544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:26:22.643255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/25/image_23012025_04_25_02_940243_0003.jpg', '/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_02_452614_0000.jpg', '/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_02_452614_0001.jpg', '/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_02_452614_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/25/image_23012025_04_25_02_940243_0003.jpg
/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_02_452614_0000.jpg
/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_02_452614_0001.jpg
/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_02_452614_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330741369","1330741362","1330741335","1330741338"],"photo_ids_order":["1330741335","1330741338","1330741362","1330741369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e18c63ee877a7867f6c563306a514e65.jpg","text":"TemporaryFile(/tmp/multipartBody8143805096044886815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602852948,"filename":"image_23012025_04_26_02_452614_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a018c2ac9d31586fe84598000db71407.jpg","text":"TemporaryFile(/tmp/multipartBody7166210995216324689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602852948,"filename":"image_23012025_04_26_02_452614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75d66776b9aea2df12d49089b4e2f74c.jpg","text":"TemporaryFile(/tmp/multipartBody1795175947618836345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602852948,"filename":"image_23012025_04_25_02_940243_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03cacd1e587cd7178e3cbc842fa06caf.jpg","text":"TemporaryFile(/tmp/multipartBody5788681935099626476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602852948,"filename":"image_23012025_04_26_02_452614_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330741362","file1":"1330741338","file0":"1330741335","file3":"1330741369"},"map_files_photo_id_array":[{"photo_id":"1330741362","filename":"file2"},{"photo_id":"1330741338","filename":"file1"},{"photo_id":"1330741335","filename":"file0"},{"photo_id":"1330741369","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330741369":["hashtag1","hashtag2"]},{"1330741362":["hashtag1","hashtag2"]},{"1330741335":["hashtag1","hashtag2"]},{"1330741338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330741369, 1330741362, 1330741335, 1330741338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54970192909241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:27:22.102677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_02_452614_0003.jpg', '/home/pi/Desktop/images/23012025/04/27/image_23012025_04_27_02_974213_0000.jpg', '/home/pi/Desktop/images/23012025/04/27/image_23012025_04_27_02_974213_0001.jpg', '/home/pi/Desktop/images/23012025/04/27/image_23012025_04_27_02_974213_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_02_452614_0003.jpg
/home/pi/Desktop/images/23012025/04/27/image_23012025_04_27_02_974213_0000.jpg
/home/pi/Desktop/images/23012025/04/27/image_23012025_04_27_02_974213_0001.jpg
/home/pi/Desktop/images/23012025/04/27/image_23012025_04_27_02_974213_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330741421","1330741455","1330741431","1330741428"],"photo_ids_order":["1330741421","1330741428","1330741431","1330741455"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ae0ab358519fe03a4d73dd41da8448a.jpg","text":"TemporaryFile(/tmp/multipartBody3099000627662343658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602912636,"filename":"image_23012025_04_26_02_452614_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a05dd4fc1c2bd2e9d78d5926e18376c3.jpg","text":"TemporaryFile(/tmp/multipartBody1638914072481283212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602912636,"filename":"image_23012025_04_27_02_974213_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34bcfc888306aec117f0b009ea6f5e4d.jpg","text":"TemporaryFile(/tmp/multipartBody8813424473307141705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602912636,"filename":"image_23012025_04_27_02_974213_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02bf57df0fd45ca65bd10083af7bbf4f.jpg","text":"TemporaryFile(/tmp/multipartBody1032174610343722129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602912636,"filename":"image_23012025_04_27_02_974213_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330741431","file1":"1330741428","file0":"1330741421","file3":"1330741455"},"map_files_photo_id_array":[{"photo_id":"1330741431","filename":"file2"},{"photo_id":"1330741428","filename":"file1"},{"photo_id":"1330741421","filename":"file0"},{"photo_id":"1330741455","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330741421":["hashtag1","hashtag2"]},{"1330741455":["hashtag1","hashtag2"]},{"1330741431":["hashtag1","hashtag2"]},{"1330741428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330741421, 1330741455, 1330741431, 1330741428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15557670593262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:28:03.176758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0000.jpg', '/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0001.jpg', '/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0002.jpg', '/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0003.jpg', '/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0000.jpg', '/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0000.jpg
/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0001.jpg
/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0002.jpg
/home/pi/Desktop/images/21012025/18/10/image_21012025_18_10_02_646924_0003.jpg
/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0000.jpg
/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_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":["1330741529","1330741537","1330741504","1330741497","1330741501","1330741506"],"photo_ids_order":["1330741497","1330741501","1330741504","1330741506","1330741529","1330741537"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc61845960bd3f9a342f1fd84deebb84.jpg","text":"TemporaryFile(/tmp/multipartBody2342273688733132111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602960960,"filename":"image_21012025_18_11_02_815232_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6dc2d4df6fb40f4bc82c4528955ec39.jpg","text":"TemporaryFile(/tmp/multipartBody788875982339532133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602960960,"filename":"image_21012025_18_11_02_815232_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9327a1f49b235d762dfcd5db0d9943fb.jpg","text":"TemporaryFile(/tmp/multipartBody3234705417886064386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602960960,"filename":"image_21012025_18_10_02_646924_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a1d5a5309685da248452b6fa7586028.jpg","text":"TemporaryFile(/tmp/multipartBody6451982955031218788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602960960,"filename":"image_21012025_18_10_02_646924_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10932d0cccf0e8362e7d9334ea7a892d.jpg","text":"TemporaryFile(/tmp/multipartBody6973236297200119979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602960960,"filename":"image_21012025_18_10_02_646924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/391a2ed1e3ba55c2089b8184f59c73d0.jpg","text":"TemporaryFile(/tmp/multipartBody6193045007136310292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602960960,"filename":"image_21012025_18_10_02_646924_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330741504","file1":"1330741501","file0":"1330741497","file4":"1330741529","file5":"1330741537","file3":"1330741506"},"map_files_photo_id_array":[{"photo_id":"1330741537","filename":"file5"},{"photo_id":"1330741504","filename":"file2"},{"photo_id":"1330741529","filename":"file4"},{"photo_id":"1330741501","filename":"file1"},{"photo_id":"1330741497","filename":"file0"},{"photo_id":"1330741506","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330741529":["hashtag1","hashtag2"]},{"1330741537":["hashtag1","hashtag2"]},{"1330741504":["hashtag1","hashtag2"]},{"1330741497":["hashtag1","hashtag2"]},{"1330741501":["hashtag1","hashtag2"]},{"1330741506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330741529, 1330741537, 1330741504, 1330741497, 1330741501, 1330741506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.59104800224304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:29:22.131831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/27/image_23012025_04_27_02_974213_0003.jpg', '/home/pi/Desktop/images/23012025/04/28/image_23012025_04_28_02_517587_0000.jpg', '/home/pi/Desktop/images/23012025/04/28/image_23012025_04_28_02_517587_0001.jpg', '/home/pi/Desktop/images/23012025/04/28/image_23012025_04_28_02_517587_0002.jpg', '/home/pi/Desktop/images/23012025/04/28/image_23012025_04_28_02_517587_0003.jpg', '/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_03_039669_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/27/image_23012025_04_27_02_974213_0003.jpg
/home/pi/Desktop/images/23012025/04/28/image_23012025_04_28_02_517587_0000.jpg
/home/pi/Desktop/images/23012025/04/28/image_23012025_04_28_02_517587_0001.jpg
/home/pi/Desktop/images/23012025/04/28/image_23012025_04_28_02_517587_0002.jpg
/home/pi/Desktop/images/23012025/04/28/image_23012025_04_28_02_517587_0003.jpg
/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_03_039669_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330741585","1330741597","1330741576","1330741596","1330741572","1330741581"],"photo_ids_order":["1330741572","1330741576","1330741581","1330741585","1330741596","1330741597"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b575605bce689e8ea2a25009d4c899d8.jpg","text":"TemporaryFile(/tmp/multipartBody3951367793888283047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603037820,"filename":"image_23012025_04_28_02_517587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c87fe4a9d03a08e60c9dc66b6a8a4879.jpg","text":"TemporaryFile(/tmp/multipartBody375752731153485543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603037820,"filename":"image_23012025_04_29_03_039669_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5360b19731da39c56e8591af20bbe54d.jpg","text":"TemporaryFile(/tmp/multipartBody8253706599482525506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603037820,"filename":"image_23012025_04_28_02_517587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e73aebb6931666e0dcb2282f01e7bb4e.jpg","text":"TemporaryFile(/tmp/multipartBody1536159938018024650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603037820,"filename":"image_23012025_04_28_02_517587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1921db94289a35e97292f59ac2e9efab.jpg","text":"TemporaryFile(/tmp/multipartBody6932421990037539508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603037820,"filename":"image_23012025_04_27_02_974213_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7f4395fe46f3dd277d8b93e2b2a35e2.jpg","text":"TemporaryFile(/tmp/multipartBody8611180530032038065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603037820,"filename":"image_23012025_04_28_02_517587_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330741581","file1":"1330741576","file0":"1330741572","file4":"1330741596","file5":"1330741597","file3":"1330741585"},"map_files_photo_id_array":[{"photo_id":"1330741597","filename":"file5"},{"photo_id":"1330741581","filename":"file2"},{"photo_id":"1330741596","filename":"file4"},{"photo_id":"1330741576","filename":"file1"},{"photo_id":"1330741572","filename":"file0"},{"photo_id":"1330741585","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330741585":["hashtag1","hashtag2"]},{"1330741597":["hashtag1","hashtag2"]},{"1330741576":["hashtag1","hashtag2"]},{"1330741596":["hashtag1","hashtag2"]},{"1330741572":["hashtag1","hashtag2"]},{"1330741581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330741585, 1330741597, 1330741576, 1330741596, 1330741572, 1330741581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.583977699279785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:30:22.693622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_03_039669_0001.jpg', '/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_03_039669_0002.jpg', '/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_03_039669_0003.jpg', '/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_02_538472_0000.jpg', '/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_02_538472_0001.jpg', '/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_02_538472_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_03_039669_0001.jpg
/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_03_039669_0002.jpg
/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_03_039669_0003.jpg
/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_02_538472_0000.jpg
/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_02_538472_0001.jpg
/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_02_538472_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330741838","1330741610","1330741675","1330741773","1330741614","1330741836"],"photo_ids_order":["1330741610","1330741614","1330741675","1330741773","1330741836","1330741838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac077f57e5036c03eb842f622c32a543.jpg","text":"TemporaryFile(/tmp/multipartBody4457995483696832865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603098218,"filename":"image_23012025_04_30_02_538472_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5333f1aa2983b5392aecca8904fffbf2.jpg","text":"TemporaryFile(/tmp/multipartBody4406819975493302206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603098218,"filename":"image_23012025_04_29_03_039669_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f79157667c54e4995fb65695fe11a653.jpg","text":"TemporaryFile(/tmp/multipartBody8357802269675114147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603098218,"filename":"image_23012025_04_29_03_039669_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e38f1c2ba6bdd0663529dc42873aea12.jpg","text":"TemporaryFile(/tmp/multipartBody1875148140718517033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603098218,"filename":"image_23012025_04_30_02_538472_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f96d32744aed4d97ec86fedce5cf0a46.jpg","text":"TemporaryFile(/tmp/multipartBody3009108384488442600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603098218,"filename":"image_23012025_04_29_03_039669_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ae297306b976902451ae7f7b666ece1.jpg","text":"TemporaryFile(/tmp/multipartBody5384221442316737147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603098218,"filename":"image_23012025_04_30_02_538472_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330741675","file1":"1330741614","file0":"1330741610","file4":"1330741836","file5":"1330741838","file3":"1330741773"},"map_files_photo_id_array":[{"photo_id":"1330741838","filename":"file5"},{"photo_id":"1330741675","filename":"file2"},{"photo_id":"1330741836","filename":"file4"},{"photo_id":"1330741614","filename":"file1"},{"photo_id":"1330741610","filename":"file0"},{"photo_id":"1330741773","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330741838":["hashtag1","hashtag2"]},{"1330741610":["hashtag1","hashtag2"]},{"1330741675":["hashtag1","hashtag2"]},{"1330741773":["hashtag1","hashtag2"]},{"1330741614":["hashtag1","hashtag2"]},{"1330741836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330741838, 1330741610, 1330741675, 1330741773, 1330741614, 1330741836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.07274842262268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:31:22.136761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_02_538472_0003.jpg', '/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_03_017008_0000.jpg', '/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_03_017008_0001.jpg', '/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_03_017008_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_02_538472_0003.jpg
/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_03_017008_0000.jpg
/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_03_017008_0001.jpg
/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_03_017008_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330741861","1330741857","1330741895","1330741853"],"photo_ids_order":["1330741853","1330741857","1330741861","1330741895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/457958cc31cc1e397598a33656f350ad.jpg","text":"TemporaryFile(/tmp/multipartBody2299440842322538516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603153050,"filename":"image_23012025_04_31_03_017008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bafdd6471089efbea7faf4fe726a8762.jpg","text":"TemporaryFile(/tmp/multipartBody1404938005863519305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603153050,"filename":"image_23012025_04_31_03_017008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19cad8946a066a5817b92d9212469164.jpg","text":"TemporaryFile(/tmp/multipartBody3395731052691953935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603153050,"filename":"image_23012025_04_31_03_017008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f3512b6ea1b94becdb30888ba996bd7.jpg","text":"TemporaryFile(/tmp/multipartBody6660636976320499108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603153050,"filename":"image_23012025_04_30_02_538472_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330741861","file1":"1330741857","file0":"1330741853","file3":"1330741895"},"map_files_photo_id_array":[{"photo_id":"1330741861","filename":"file2"},{"photo_id":"1330741857","filename":"file1"},{"photo_id":"1330741853","filename":"file0"},{"photo_id":"1330741895","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330741861":["hashtag1","hashtag2"]},{"1330741857":["hashtag1","hashtag2"]},{"1330741895":["hashtag1","hashtag2"]},{"1330741853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330741861, 1330741857, 1330741895, 1330741853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.23024320602417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:32:22.639325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_03_017008_0003.jpg', '/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0000.jpg', '/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0001.jpg', '/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_03_017008_0003.jpg
/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0000.jpg
/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0001.jpg
/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.14979863166809 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:33:02.779838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_03_017008_0003.jpg', '/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0000.jpg', '/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0001.jpg', '/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_03_017008_0003.jpg
/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0000.jpg
/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0001.jpg
/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330742035","1330742040","1330742043","1330742037"],"photo_ids_order":["1330742035","1330742037","1330742040","1330742043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60ad265fa59690da01995c91b12479e7.jpg","text":"TemporaryFile(/tmp/multipartBody2350899386969790084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603253376,"filename":"image_23012025_04_31_03_017008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9dcfbdf3e222e4979d1fcca1b2f127e0.jpg","text":"TemporaryFile(/tmp/multipartBody2252385705829330919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603253376,"filename":"image_23012025_04_32_02_534266_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45c0a8623495e6539a0353cb9c0ac46f.jpg","text":"TemporaryFile(/tmp/multipartBody3740045902185190609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603253376,"filename":"image_23012025_04_32_02_534266_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76fef5cfa0aaf6d01a79cee1d25fbc6b.jpg","text":"TemporaryFile(/tmp/multipartBody7778366516151574759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603253376,"filename":"image_23012025_04_32_02_534266_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330742040","file1":"1330742037","file0":"1330742035","file3":"1330742043"},"map_files_photo_id_array":[{"photo_id":"1330742040","filename":"file2"},{"photo_id":"1330742037","filename":"file1"},{"photo_id":"1330742035","filename":"file0"},{"photo_id":"1330742043","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330742035":["hashtag1","hashtag2"]},{"1330742040":["hashtag1","hashtag2"]},{"1330742043":["hashtag1","hashtag2"]},{"1330742037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330742035, 1330742040, 1330742043, 1330742037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.14592742919922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:34:03.246431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0003.jpg', '/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_03_067809_0000.jpg', '/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_03_067809_0001.jpg', '/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_03_067809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0003.jpg
/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_03_067809_0000.jpg
/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_03_067809_0001.jpg
/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_03_067809_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.031003713607788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:34:22.719785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0003.jpg', '/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_03_067809_0000.jpg', '/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_03_067809_0001.jpg', '/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_03_067809_0002.jpg', '/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_03_067809_0003.jpg', '/home/pi/Desktop/images/23012025/04/34/image_23012025_04_34_02_557800_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_02_534266_0003.jpg
/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_03_067809_0000.jpg
/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_03_067809_0001.jpg
/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_03_067809_0002.jpg
/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_03_067809_0003.jpg
/home/pi/Desktop/images/23012025/04/34/image_23012025_04_34_02_557800_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330742170","1330742146","1330742149","1330742134","1330742183","1330742180"],"photo_ids_order":["1330742134","1330742146","1330742149","1330742170","1330742180","1330742183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20d91ceda8c6145618458b0126d20d52.jpg","text":"TemporaryFile(/tmp/multipartBody7823841769678560022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603337849,"filename":"image_23012025_04_33_03_067809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c74134a8634cfee85b63a7a23abfca78.jpg","text":"TemporaryFile(/tmp/multipartBody6722053186811063986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603337849,"filename":"image_23012025_04_33_03_067809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32078dc93a6f6178047ac214c167baeb.jpg","text":"TemporaryFile(/tmp/multipartBody7899225733366377485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603337849,"filename":"image_23012025_04_33_03_067809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e0602f3d615563786262b8a9d5c2ef6.jpg","text":"TemporaryFile(/tmp/multipartBody4274666277664727920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603337849,"filename":"image_23012025_04_32_02_534266_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ca03ddf0780915ef1d1c38c05f51929.jpg","text":"TemporaryFile(/tmp/multipartBody3301475219999597660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603337849,"filename":"image_23012025_04_34_02_557800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3f62e6a0044ca0dc6101863eef418be.jpg","text":"TemporaryFile(/tmp/multipartBody4029330329619685025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603337849,"filename":"image_23012025_04_33_03_067809_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330742149","file1":"1330742146","file0":"1330742134","file4":"1330742180","file5":"1330742183","file3":"1330742170"},"map_files_photo_id_array":[{"photo_id":"1330742183","filename":"file5"},{"photo_id":"1330742149","filename":"file2"},{"photo_id":"1330742180","filename":"file4"},{"photo_id":"1330742146","filename":"file1"},{"photo_id":"1330742134","filename":"file0"},{"photo_id":"1330742170","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330742170":["hashtag1","hashtag2"]},{"1330742146":["hashtag1","hashtag2"]},{"1330742149":["hashtag1","hashtag2"]},{"1330742134":["hashtag1","hashtag2"]},{"1330742183":["hashtag1","hashtag2"]},{"1330742180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330742170, 1330742146, 1330742149, 1330742134, 1330742183, 1330742180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.70166635513306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:35:22.164402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/34/image_23012025_04_34_02_557800_0001.jpg', '/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_03_068679_0000.jpg', '/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_03_068679_0001.jpg', '/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_03_068679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/34/image_23012025_04_34_02_557800_0001.jpg
/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_03_068679_0000.jpg
/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_03_068679_0001.jpg
/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_03_068679_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330742201","1330742204","1330742197","1330742192"],"photo_ids_order":["1330742192","1330742197","1330742201","1330742204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c387ffa5dea1755378b7d69943f9a5d.jpg","text":"TemporaryFile(/tmp/multipartBody1239209639268517606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603391959,"filename":"image_23012025_04_35_03_068679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a60fe1010bb399c49850c81f9048596.jpg","text":"TemporaryFile(/tmp/multipartBody5451524450386016258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603391959,"filename":"image_23012025_04_35_03_068679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f473f4be209ce608a7085ab2b0abd7e9.jpg","text":"TemporaryFile(/tmp/multipartBody7483491216327449295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603391959,"filename":"image_23012025_04_35_03_068679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37d34b456bcbccd2798feba2e91c10fe.jpg","text":"TemporaryFile(/tmp/multipartBody1533861153935128977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603391959,"filename":"image_23012025_04_34_02_557800_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330742201","file1":"1330742197","file0":"1330742192","file3":"1330742204"},"map_files_photo_id_array":[{"photo_id":"1330742201","filename":"file2"},{"photo_id":"1330742197","filename":"file1"},{"photo_id":"1330742192","filename":"file0"},{"photo_id":"1330742204","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330742201":["hashtag1","hashtag2"]},{"1330742204":["hashtag1","hashtag2"]},{"1330742197":["hashtag1","hashtag2"]},{"1330742192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330742201, 1330742204, 1330742197, 1330742192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.34669041633606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:36:21.733799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_03_068679_0003.jpg', '/home/pi/Desktop/images/23012025/04/36/image_23012025_04_36_02_610076_0000.jpg', '/home/pi/Desktop/images/23012025/04/36/image_23012025_04_36_02_610076_0001.jpg', '/home/pi/Desktop/images/23012025/04/36/image_23012025_04_36_02_610076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_03_068679_0003.jpg
/home/pi/Desktop/images/23012025/04/36/image_23012025_04_36_02_610076_0000.jpg
/home/pi/Desktop/images/23012025/04/36/image_23012025_04_36_02_610076_0001.jpg
/home/pi/Desktop/images/23012025/04/36/image_23012025_04_36_02_610076_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330742239","1330742247","1330742241","1330742244"],"photo_ids_order":["1330742239","1330742241","1330742244","1330742247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/603c6c33c2d5cf21af5db2eb1f452710.jpg","text":"TemporaryFile(/tmp/multipartBody993430623627201478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603452159,"filename":"image_23012025_04_35_03_068679_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7cf662a1374e71cdc0590000a3cdb0f0.jpg","text":"TemporaryFile(/tmp/multipartBody1036316540853549255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603452159,"filename":"image_23012025_04_36_02_610076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e5c618c524aed2ab2c87255c146796a.jpg","text":"TemporaryFile(/tmp/multipartBody2190161398608341786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603452159,"filename":"image_23012025_04_36_02_610076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e371e2f8455dd35d1bf0e17533e24dfc.jpg","text":"TemporaryFile(/tmp/multipartBody527759075270902162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603452159,"filename":"image_23012025_04_36_02_610076_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330742244","file1":"1330742241","file0":"1330742239","file3":"1330742247"},"map_files_photo_id_array":[{"photo_id":"1330742244","filename":"file2"},{"photo_id":"1330742241","filename":"file1"},{"photo_id":"1330742239","filename":"file0"},{"photo_id":"1330742247","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330742239":["hashtag1","hashtag2"]},{"1330742247":["hashtag1","hashtag2"]},{"1330742241":["hashtag1","hashtag2"]},{"1330742244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330742239, 1330742247, 1330742241, 1330742244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.79127097129822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:37:22.230917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/36/image_23012025_04_36_02_610076_0003.jpg', '/home/pi/Desktop/images/23012025/04/37/image_23012025_04_37_02_104013_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/36/image_23012025_04_36_02_610076_0003.jpg
/home/pi/Desktop/images/23012025/04/37/image_23012025_04_37_02_104013_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330742302","1330742279"],"photo_ids_order":["1330742279","1330742302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4cfcd772cac3e65bee31a4b36cf2e07a.jpg","text":"TemporaryFile(/tmp/multipartBody571432574192276498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603507320,"filename":"image_23012025_04_37_02_104013_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dacd37759e501d24956e3d15ff64312a.jpg","text":"TemporaryFile(/tmp/multipartBody8887191760013881095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603507320,"filename":"image_23012025_04_36_02_610076_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330742302","file0":"1330742279"},"map_files_photo_id_array":[{"photo_id":"1330742302","filename":"file1"},{"photo_id":"1330742279","filename":"file0"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330742302":["hashtag1","hashtag2"]},{"1330742279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330742302, 1330742279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.729849576950073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:38:02.235167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0002.jpg', '/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0003.jpg', '/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0000.jpg', '/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0001.jpg', '/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0002.jpg', '/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0002.jpg
/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0003.jpg
/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0000.jpg
/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0001.jpg
/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0002.jpg
/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_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: 18.090604782104492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:38:21.725247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/38/image_23012025_04_38_02_571122_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/38/image_23012025_04_38_02_571122_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330743219"],"photo_id":"1330743219","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c864ba62cbf6443097753fbac78397c.jpg","text":"TemporaryFile(/tmp/multipartBody4228079012006643385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603564626,"filename":"image_23012025_04_38_02_571122_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330743219"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330743219"}],"hashtags":[],"portfolio_id":"19839052","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.871556043624878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:39:02.976667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0002.jpg', '/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0003.jpg', '/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0000.jpg', '/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0001.jpg', '/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0002.jpg', '/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0002.jpg
/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0003.jpg
/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0000.jpg
/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0001.jpg
/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0002.jpg
/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.99200963973999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:39:22.215396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/39/image_23012025_04_39_02_135376_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/39/image_23012025_04_39_02_135376_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330743790"],"photo_id":"1330743790","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/939aa191ee6f85f3eeb0a653e86b195a.jpg","text":"TemporaryFile(/tmp/multipartBody5236141216556691143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603625139,"filename":"image_23012025_04_39_02_135376_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330743790"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330743790"}],"hashtags":[],"portfolio_id":"19839052","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.516222953796387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:40:02.311600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0002.jpg', '/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0003.jpg', '/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0000.jpg', '/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0001.jpg', '/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0002.jpg', '/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0002.jpg
/home/pi/Desktop/images/21012025/18/11/image_21012025_18_11_02_815232_0003.jpg
/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0000.jpg
/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0001.jpg
/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_0002.jpg
/home/pi/Desktop/images/21012025/18/12/image_21012025_18_12_02_965575_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":["1330744071","1330744067","1330744076","1330744064","1330744058","1330744096"],"photo_ids_order":["1330744058","1330744064","1330744067","1330744071","1330744076","1330744096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/478430d0770bc6e2a9c506afaaa4d08f.jpg","text":"TemporaryFile(/tmp/multipartBody3883296201646060026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603680614,"filename":"image_21012025_18_12_02_965575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1ea6a533800baa0188a19590087fb99.jpg","text":"TemporaryFile(/tmp/multipartBody2171755228338521006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603680614,"filename":"image_21012025_18_12_02_965575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42a0c0e612632344052c19112baeed79.jpg","text":"TemporaryFile(/tmp/multipartBody4306439968820235267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603680614,"filename":"image_21012025_18_12_02_965575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a858356e7fdda54f52928366934bae9.jpg","text":"TemporaryFile(/tmp/multipartBody382003189106580098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603680614,"filename":"image_21012025_18_11_02_815232_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28deeb2a1146a10991d84354165ea15f.jpg","text":"TemporaryFile(/tmp/multipartBody2326065762193070456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603680614,"filename":"image_21012025_18_11_02_815232_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a22fa9b2b1f271d2b5f67cbce595b64b.jpg","text":"TemporaryFile(/tmp/multipartBody8722164512216500567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603680614,"filename":"image_21012025_18_12_02_965575_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330744067","file1":"1330744064","file0":"1330744058","file4":"1330744076","file5":"1330744096","file3":"1330744071"},"map_files_photo_id_array":[{"photo_id":"1330744096","filename":"file5"},{"photo_id":"1330744067","filename":"file2"},{"photo_id":"1330744076","filename":"file4"},{"photo_id":"1330744064","filename":"file1"},{"photo_id":"1330744058","filename":"file0"},{"photo_id":"1330744071","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330744071":["hashtag1","hashtag2"]},{"1330744067":["hashtag1","hashtag2"]},{"1330744076":["hashtag1","hashtag2"]},{"1330744064":["hashtag1","hashtag2"]},{"1330744058":["hashtag1","hashtag2"]},{"1330744096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330744071, 1330744067, 1330744076, 1330744064, 1330744058, 1330744096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.013911485672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:41:22.294599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/13/image_21012025_18_13_02_135065_0000.jpg', '/home/pi/Desktop/images/21012025/18/13/image_21012025_18_13_02_135065_0001.jpg', '/home/pi/Desktop/images/21012025/18/13/image_21012025_18_13_02_135065_0002.jpg', '/home/pi/Desktop/images/21012025/18/13/image_21012025_18_13_02_135065_0003.jpg', '/home/pi/Desktop/images/21012025/18/14/image_21012025_18_14_02_295049_0000.jpg', '/home/pi/Desktop/images/21012025/18/14/image_21012025_18_14_02_295049_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/13/image_21012025_18_13_02_135065_0000.jpg
/home/pi/Desktop/images/21012025/18/13/image_21012025_18_13_02_135065_0001.jpg
/home/pi/Desktop/images/21012025/18/13/image_21012025_18_13_02_135065_0002.jpg
/home/pi/Desktop/images/21012025/18/13/image_21012025_18_13_02_135065_0003.jpg
/home/pi/Desktop/images/21012025/18/14/image_21012025_18_14_02_295049_0000.jpg
/home/pi/Desktop/images/21012025/18/14/image_21012025_18_14_02_295049_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":["1330744196","1330744298","1330744283","1330744193","1330744273","1330744213"],"photo_ids_order":["1330744193","1330744196","1330744213","1330744273","1330744283","1330744298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39b9b8b3ae1652a05e1eb155838af1fd.jpg","text":"TemporaryFile(/tmp/multipartBody4326057600942625231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603760385,"filename":"image_21012025_18_13_02_135065_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5eb0bef4c9a3a015355cf5bd71721ee.jpg","text":"TemporaryFile(/tmp/multipartBody4924188531335138375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603760385,"filename":"image_21012025_18_14_02_295049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81723722e4222e5ce6692cefbbfeb6dc.jpg","text":"TemporaryFile(/tmp/multipartBody8312751160763644071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603760385,"filename":"image_21012025_18_14_02_295049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8555710f4e44bdc1abbce6e5745a08c.jpg","text":"TemporaryFile(/tmp/multipartBody4389064981661988391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603760385,"filename":"image_21012025_18_13_02_135065_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e081e20ea1df70d9618835a1aceb80b.jpg","text":"TemporaryFile(/tmp/multipartBody1077546878351507188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603760385,"filename":"image_21012025_18_13_02_135065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f3e034838c229d9bf51a6b9499e4403.jpg","text":"TemporaryFile(/tmp/multipartBody1697811822777284467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603760385,"filename":"image_21012025_18_13_02_135065_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330744213","file1":"1330744196","file0":"1330744193","file4":"1330744283","file5":"1330744298","file3":"1330744273"},"map_files_photo_id_array":[{"photo_id":"1330744298","filename":"file5"},{"photo_id":"1330744213","filename":"file2"},{"photo_id":"1330744283","filename":"file4"},{"photo_id":"1330744196","filename":"file1"},{"photo_id":"1330744193","filename":"file0"},{"photo_id":"1330744273","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330744196":["hashtag1","hashtag2"]},{"1330744298":["hashtag1","hashtag2"]},{"1330744283":["hashtag1","hashtag2"]},{"1330744193":["hashtag1","hashtag2"]},{"1330744273":["hashtag1","hashtag2"]},{"1330744213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330744196, 1330744298, 1330744283, 1330744193, 1330744273, 1330744213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.038970708847046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:43:02.916134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/14/image_21012025_18_14_02_295049_0002.jpg', '/home/pi/Desktop/images/21012025/18/14/image_21012025_18_14_02_295049_0003.jpg', '/home/pi/Desktop/images/21012025/18/15/image_21012025_18_15_02_476481_0000.jpg', '/home/pi/Desktop/images/21012025/18/15/image_21012025_18_15_02_476481_0001.jpg', '/home/pi/Desktop/images/21012025/18/15/image_21012025_18_15_02_476481_0002.jpg', '/home/pi/Desktop/images/21012025/18/15/image_21012025_18_15_02_476481_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/14/image_21012025_18_14_02_295049_0002.jpg
/home/pi/Desktop/images/21012025/18/14/image_21012025_18_14_02_295049_0003.jpg
/home/pi/Desktop/images/21012025/18/15/image_21012025_18_15_02_476481_0000.jpg
/home/pi/Desktop/images/21012025/18/15/image_21012025_18_15_02_476481_0001.jpg
/home/pi/Desktop/images/21012025/18/15/image_21012025_18_15_02_476481_0002.jpg
/home/pi/Desktop/images/21012025/18/15/image_21012025_18_15_02_476481_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":["1330744368","1330744416","1330744425","1330744370","1330744427","1330744409"],"photo_ids_order":["1330744368","1330744370","1330744409","1330744416","1330744425","1330744427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a6160682285aa092e9ed2e60604c9ba.jpg","text":"TemporaryFile(/tmp/multipartBody5935237503517312272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603860978,"filename":"image_21012025_18_14_02_295049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/724b81fcc8c1c90e3e925d5bdc48f67c.jpg","text":"TemporaryFile(/tmp/multipartBody7462351786340622443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603860978,"filename":"image_21012025_18_15_02_476481_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75c7c278baec44cd4401ba85321e1176.jpg","text":"TemporaryFile(/tmp/multipartBody1831898064440308071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603860978,"filename":"image_21012025_18_15_02_476481_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e09978235f6b4eff83605e447c252ccc.jpg","text":"TemporaryFile(/tmp/multipartBody315313402346848725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603860978,"filename":"image_21012025_18_14_02_295049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29fd0e2fe444e45a6eef1872f3016b41.jpg","text":"TemporaryFile(/tmp/multipartBody8769598932409016183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603860978,"filename":"image_21012025_18_15_02_476481_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6916f1a2ae8d158568099349ef28e64.jpg","text":"TemporaryFile(/tmp/multipartBody6364607126881057412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603860978,"filename":"image_21012025_18_15_02_476481_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330744409","file1":"1330744370","file0":"1330744368","file4":"1330744425","file5":"1330744427","file3":"1330744416"},"map_files_photo_id_array":[{"photo_id":"1330744427","filename":"file5"},{"photo_id":"1330744409","filename":"file2"},{"photo_id":"1330744425","filename":"file4"},{"photo_id":"1330744370","filename":"file1"},{"photo_id":"1330744368","filename":"file0"},{"photo_id":"1330744416","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330744368":["hashtag1","hashtag2"]},{"1330744416":["hashtag1","hashtag2"]},{"1330744425":["hashtag1","hashtag2"]},{"1330744370":["hashtag1","hashtag2"]},{"1330744427":["hashtag1","hashtag2"]},{"1330744409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330744368, 1330744416, 1330744425, 1330744370, 1330744427, 1330744409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.08715891838074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:44:22.068935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/42/image_23012025_04_42_02_716881_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/04/42/image_23012025_04_42_02_716881_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330744450"],"photo_id":"1330744450","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ef1f8689336bfd25be1e5f7194b33a0.jpg","text":"TemporaryFile(/tmp/multipartBody708854229259442691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603924974,"filename":"image_23012025_04_42_02_716881_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330744450"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330744450"}],"hashtags":[],"portfolio_id":"19839052","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.192137479782104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:45:03.283547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/16/image_21012025_18_16_02_685384_0000.jpg', '/home/pi/Desktop/images/21012025/18/16/image_21012025_18_16_02_685384_0001.jpg', '/home/pi/Desktop/images/21012025/18/16/image_21012025_18_16_02_685384_0002.jpg', '/home/pi/Desktop/images/21012025/18/16/image_21012025_18_16_02_685384_0003.jpg', '/home/pi/Desktop/images/21012025/18/17/image_21012025_18_17_02_930464_0000.jpg', '/home/pi/Desktop/images/21012025/18/17/image_21012025_18_17_02_930464_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/16/image_21012025_18_16_02_685384_0000.jpg
/home/pi/Desktop/images/21012025/18/16/image_21012025_18_16_02_685384_0001.jpg
/home/pi/Desktop/images/21012025/18/16/image_21012025_18_16_02_685384_0002.jpg
/home/pi/Desktop/images/21012025/18/16/image_21012025_18_16_02_685384_0003.jpg
/home/pi/Desktop/images/21012025/18/17/image_21012025_18_17_02_930464_0000.jpg
/home/pi/Desktop/images/21012025/18/17/image_21012025_18_17_02_930464_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":["1330744705","1330744606","1330744692","1330744665","1330744682","1330744699"],"photo_ids_order":["1330744606","1330744665","1330744682","1330744692","1330744699","1330744705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d62541e2e88e4c74bca3b3e07bced985.jpg","text":"TemporaryFile(/tmp/multipartBody3040131272085181625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603981797,"filename":"image_21012025_18_17_02_930464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dad836c54a660e281adde085fa655d1f.jpg","text":"TemporaryFile(/tmp/multipartBody2090811581792555388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603981797,"filename":"image_21012025_18_16_02_685384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8514d69d20e7decb46effe42a6e4c961.jpg","text":"TemporaryFile(/tmp/multipartBody3302808622351943999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603981797,"filename":"image_21012025_18_16_02_685384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb1bdcc40c824305d5f160c94de69495.jpg","text":"TemporaryFile(/tmp/multipartBody8770733425479552738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603981797,"filename":"image_21012025_18_16_02_685384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f199ea7bc4f5133c732807a6eacc02b.jpg","text":"TemporaryFile(/tmp/multipartBody3528379734118227367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603981797,"filename":"image_21012025_18_16_02_685384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/668c2662680ec0880979d73335fc36ae.jpg","text":"TemporaryFile(/tmp/multipartBody3502175570788919762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603981797,"filename":"image_21012025_18_17_02_930464_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330744682","file1":"1330744665","file0":"1330744606","file4":"1330744699","file5":"1330744705","file3":"1330744692"},"map_files_photo_id_array":[{"photo_id":"1330744705","filename":"file5"},{"photo_id":"1330744682","filename":"file2"},{"photo_id":"1330744699","filename":"file4"},{"photo_id":"1330744665","filename":"file1"},{"photo_id":"1330744606","filename":"file0"},{"photo_id":"1330744692","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330744705":["hashtag1","hashtag2"]},{"1330744606":["hashtag1","hashtag2"]},{"1330744692":["hashtag1","hashtag2"]},{"1330744665":["hashtag1","hashtag2"]},{"1330744682":["hashtag1","hashtag2"]},{"1330744699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330744705, 1330744606, 1330744692, 1330744665, 1330744682, 1330744699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.53856348991394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:46:22.167226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/17/image_21012025_18_17_02_930464_0002.jpg', '/home/pi/Desktop/images/21012025/18/17/image_21012025_18_17_02_930464_0003.jpg', '/home/pi/Desktop/images/21012025/18/18/image_21012025_18_18_03_055825_0000.jpg', '/home/pi/Desktop/images/21012025/18/18/image_21012025_18_18_03_055825_0001.jpg', '/home/pi/Desktop/images/21012025/18/18/image_21012025_18_18_03_055825_0002.jpg', '/home/pi/Desktop/images/21012025/18/18/image_21012025_18_18_03_055825_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/17/image_21012025_18_17_02_930464_0002.jpg
/home/pi/Desktop/images/21012025/18/17/image_21012025_18_17_02_930464_0003.jpg
/home/pi/Desktop/images/21012025/18/18/image_21012025_18_18_03_055825_0000.jpg
/home/pi/Desktop/images/21012025/18/18/image_21012025_18_18_03_055825_0001.jpg
/home/pi/Desktop/images/21012025/18/18/image_21012025_18_18_03_055825_0002.jpg
/home/pi/Desktop/images/21012025/18/18/image_21012025_18_18_03_055825_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330745015","1330745056","1330745050","1330745035","1330744951","1330745070"],"photo_ids_order":["1330744951","1330745015","1330745035","1330745050","1330745056","1330745070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7950754a91d058d2e9243be660f975f4.jpg","text":"TemporaryFile(/tmp/multipartBody3619728475419060516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604060059,"filename":"image_21012025_18_17_02_930464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f7aeaaf44e54a7562a55d9fcf23a0c7.jpg","text":"TemporaryFile(/tmp/multipartBody1680351492538631043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604060059,"filename":"image_21012025_18_18_03_055825_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/149035fb2fb6b46f46589ae6b4375196.jpg","text":"TemporaryFile(/tmp/multipartBody3652215400773576901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604060059,"filename":"image_21012025_18_18_03_055825_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/312ca31b3ea95c295ea7357b1c1bea98.jpg","text":"TemporaryFile(/tmp/multipartBody4649734977089034644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604060059,"filename":"image_21012025_18_18_03_055825_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7526eb39a083494f8028a1e5f594cc8a.jpg","text":"TemporaryFile(/tmp/multipartBody8976658614616084343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604060059,"filename":"image_21012025_18_17_02_930464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5747c8517b2c291036553f564d3aed48.jpg","text":"TemporaryFile(/tmp/multipartBody2721187387685544591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604060059,"filename":"image_21012025_18_18_03_055825_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330745035","file1":"1330745015","file0":"1330744951","file4":"1330745056","file5":"1330745070","file3":"1330745050"},"map_files_photo_id_array":[{"photo_id":"1330745070","filename":"file5"},{"photo_id":"1330745035","filename":"file2"},{"photo_id":"1330745056","filename":"file4"},{"photo_id":"1330745015","filename":"file1"},{"photo_id":"1330744951","filename":"file0"},{"photo_id":"1330745050","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330745015":["hashtag1","hashtag2"]},{"1330745056":["hashtag1","hashtag2"]},{"1330745050":["hashtag1","hashtag2"]},{"1330745035":["hashtag1","hashtag2"]},{"1330744951":["hashtag1","hashtag2"]},{"1330745070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330745015, 1330745056, 1330745050, 1330745035, 1330744951, 1330745070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.18339204788208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:47:21.745600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/19/image_21012025_18_19_02_221762_0000.jpg', '/home/pi/Desktop/images/21012025/18/19/image_21012025_18_19_02_221762_0001.jpg', '/home/pi/Desktop/images/21012025/18/19/image_21012025_18_19_02_221762_0002.jpg', '/home/pi/Desktop/images/21012025/18/19/image_21012025_18_19_02_221762_0003.jpg', '/home/pi/Desktop/images/21012025/18/20/image_21012025_18_20_02_380141_0000.jpg', '/home/pi/Desktop/images/21012025/18/20/image_21012025_18_20_02_380141_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/19/image_21012025_18_19_02_221762_0000.jpg
/home/pi/Desktop/images/21012025/18/19/image_21012025_18_19_02_221762_0001.jpg
/home/pi/Desktop/images/21012025/18/19/image_21012025_18_19_02_221762_0002.jpg
/home/pi/Desktop/images/21012025/18/19/image_21012025_18_19_02_221762_0003.jpg
/home/pi/Desktop/images/21012025/18/20/image_21012025_18_20_02_380141_0000.jpg
/home/pi/Desktop/images/21012025/18/20/image_21012025_18_20_02_380141_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":["1330745133","1330745130","1330745132","1330745135","1330745125","1330745116"],"photo_ids_order":["1330745116","1330745125","1330745130","1330745132","1330745133","1330745135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81c0b485c2a90aaacf791b0be85bf108.jpg","text":"TemporaryFile(/tmp/multipartBody5331895496517077034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604119741,"filename":"image_21012025_18_20_02_380141_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcfa9e147bab452d65c3b2d2e3fc78ba.jpg","text":"TemporaryFile(/tmp/multipartBody8891196610712358300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604119741,"filename":"image_21012025_18_19_02_221762_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d38322e754307edadc01586b25538a12.jpg","text":"TemporaryFile(/tmp/multipartBody2267560392328894521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604119741,"filename":"image_21012025_18_19_02_221762_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/244d173c17c1386b88866c6ccaaca920.jpg","text":"TemporaryFile(/tmp/multipartBody5782052294248646001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604119741,"filename":"image_21012025_18_20_02_380141_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f80bfbc3619b65eff1a91d78b161699.jpg","text":"TemporaryFile(/tmp/multipartBody4427365835952694087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604119741,"filename":"image_21012025_18_19_02_221762_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/191b45714a22c208ea80cbfae3157b33.jpg","text":"TemporaryFile(/tmp/multipartBody4791611082992295187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604119741,"filename":"image_21012025_18_19_02_221762_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330745130","file1":"1330745125","file0":"1330745116","file4":"1330745133","file5":"1330745135","file3":"1330745132"},"map_files_photo_id_array":[{"photo_id":"1330745135","filename":"file5"},{"photo_id":"1330745130","filename":"file2"},{"photo_id":"1330745133","filename":"file4"},{"photo_id":"1330745125","filename":"file1"},{"photo_id":"1330745116","filename":"file0"},{"photo_id":"1330745132","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330745133":["hashtag1","hashtag2"]},{"1330745130":["hashtag1","hashtag2"]},{"1330745132":["hashtag1","hashtag2"]},{"1330745135":["hashtag1","hashtag2"]},{"1330745125":["hashtag1","hashtag2"]},{"1330745116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330745133, 1330745130, 1330745132, 1330745135, 1330745125, 1330745116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.41246485710144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:49:03.304671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/20/image_21012025_18_20_02_380141_0002.jpg', '/home/pi/Desktop/images/21012025/18/20/image_21012025_18_20_02_380141_0003.jpg', '/home/pi/Desktop/images/21012025/18/21/image_21012025_18_21_02_602199_0000.jpg', '/home/pi/Desktop/images/21012025/18/21/image_21012025_18_21_02_602199_0001.jpg', '/home/pi/Desktop/images/21012025/18/21/image_21012025_18_21_02_602199_0002.jpg', '/home/pi/Desktop/images/21012025/18/21/image_21012025_18_21_02_602199_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/20/image_21012025_18_20_02_380141_0002.jpg
/home/pi/Desktop/images/21012025/18/20/image_21012025_18_20_02_380141_0003.jpg
/home/pi/Desktop/images/21012025/18/21/image_21012025_18_21_02_602199_0000.jpg
/home/pi/Desktop/images/21012025/18/21/image_21012025_18_21_02_602199_0001.jpg
/home/pi/Desktop/images/21012025/18/21/image_21012025_18_21_02_602199_0002.jpg
/home/pi/Desktop/images/21012025/18/21/image_21012025_18_21_02_602199_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330745202","1330745205","1330745198","1330745213","1330745207","1330745210"],"photo_ids_order":["1330745198","1330745202","1330745205","1330745207","1330745210","1330745213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcce07d7f2034c20409e7f648db1c166.jpg","text":"TemporaryFile(/tmp/multipartBody8962166293371915070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604221661,"filename":"image_21012025_18_20_02_380141_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c84a9107c1af77a3e96f678815a03f7a.jpg","text":"TemporaryFile(/tmp/multipartBody6752535829346444869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604221661,"filename":"image_21012025_18_21_02_602199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/992b7baea82f86a0c3b1a73221799e85.jpg","text":"TemporaryFile(/tmp/multipartBody8679706106070604037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604221661,"filename":"image_21012025_18_20_02_380141_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94a59a32d257af7853ee30bbbc257944.jpg","text":"TemporaryFile(/tmp/multipartBody6376605994648082459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604221661,"filename":"image_21012025_18_21_02_602199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db6bbfda0dedad4a9553a9fbebeb8981.jpg","text":"TemporaryFile(/tmp/multipartBody2522648120245862386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604221661,"filename":"image_21012025_18_21_02_602199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8254ad00587a063dfcc2d26d5568185.jpg","text":"TemporaryFile(/tmp/multipartBody5238603497735649606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604221661,"filename":"image_21012025_18_21_02_602199_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330745205","file1":"1330745202","file0":"1330745198","file4":"1330745210","file5":"1330745213","file3":"1330745207"},"map_files_photo_id_array":[{"photo_id":"1330745213","filename":"file5"},{"photo_id":"1330745205","filename":"file2"},{"photo_id":"1330745210","filename":"file4"},{"photo_id":"1330745202","filename":"file1"},{"photo_id":"1330745198","filename":"file0"},{"photo_id":"1330745207","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330745202":["hashtag1","hashtag2"]},{"1330745205":["hashtag1","hashtag2"]},{"1330745198":["hashtag1","hashtag2"]},{"1330745213":["hashtag1","hashtag2"]},{"1330745207":["hashtag1","hashtag2"]},{"1330745210":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330745202, 1330745205, 1330745198, 1330745213, 1330745207, 1330745210)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.56405711174011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:50:22.245175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/22/image_21012025_18_22_02_818692_0000.jpg', '/home/pi/Desktop/images/21012025/18/22/image_21012025_18_22_02_818692_0001.jpg', '/home/pi/Desktop/images/21012025/18/22/image_21012025_18_22_02_818692_0002.jpg', '/home/pi/Desktop/images/21012025/18/22/image_21012025_18_22_02_818692_0003.jpg', '/home/pi/Desktop/images/21012025/18/23/image_21012025_18_23_02_989754_0000.jpg', '/home/pi/Desktop/images/21012025/18/23/image_21012025_18_23_02_989754_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/22/image_21012025_18_22_02_818692_0000.jpg
/home/pi/Desktop/images/21012025/18/22/image_21012025_18_22_02_818692_0001.jpg
/home/pi/Desktop/images/21012025/18/22/image_21012025_18_22_02_818692_0002.jpg
/home/pi/Desktop/images/21012025/18/22/image_21012025_18_22_02_818692_0003.jpg
/home/pi/Desktop/images/21012025/18/23/image_21012025_18_23_02_989754_0000.jpg
/home/pi/Desktop/images/21012025/18/23/image_21012025_18_23_02_989754_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":["1330745237","1330745248","1330745242","1330745239","1330745224","1330745233"],"photo_ids_order":["1330745224","1330745233","1330745237","1330745239","1330745242","1330745248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/982ebabf82b6d0b46e84a1eb7a291a16.jpg","text":"TemporaryFile(/tmp/multipartBody7968137261615637305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604299869,"filename":"image_21012025_18_22_02_818692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed75699a2406a7f691dfbb307b79e37a.jpg","text":"TemporaryFile(/tmp/multipartBody5409776341116494969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604299869,"filename":"image_21012025_18_23_02_989754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f030fad9288f3e2528e008d9bcfaf39.jpg","text":"TemporaryFile(/tmp/multipartBody4945750176832079008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604299869,"filename":"image_21012025_18_23_02_989754_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0a9ae4d3831cadedbb6af9bb0ab8e32.jpg","text":"TemporaryFile(/tmp/multipartBody1009257547488628914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604299869,"filename":"image_21012025_18_22_02_818692_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0e44c7d944164647738762ccdb3710d.jpg","text":"TemporaryFile(/tmp/multipartBody8326230162256068464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604299869,"filename":"image_21012025_18_22_02_818692_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54ad9ef6083c6eaacb6437139a10f571.jpg","text":"TemporaryFile(/tmp/multipartBody5561731830525060255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604299869,"filename":"image_21012025_18_22_02_818692_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330745237","file1":"1330745233","file0":"1330745224","file4":"1330745242","file5":"1330745248","file3":"1330745239"},"map_files_photo_id_array":[{"photo_id":"1330745248","filename":"file5"},{"photo_id":"1330745237","filename":"file2"},{"photo_id":"1330745242","filename":"file4"},{"photo_id":"1330745233","filename":"file1"},{"photo_id":"1330745224","filename":"file0"},{"photo_id":"1330745239","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330745237":["hashtag1","hashtag2"]},{"1330745248":["hashtag1","hashtag2"]},{"1330745242":["hashtag1","hashtag2"]},{"1330745239":["hashtag1","hashtag2"]},{"1330745224":["hashtag1","hashtag2"]},{"1330745233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330745237, 1330745248, 1330745242, 1330745239, 1330745224, 1330745233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.421188831329346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:52:02.784109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/23/image_21012025_18_23_02_989754_0002.jpg', '/home/pi/Desktop/images/21012025/18/23/image_21012025_18_23_02_989754_0003.jpg', '/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0000.jpg', '/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0001.jpg', '/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0002.jpg', '/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/23/image_21012025_18_23_02_989754_0002.jpg
/home/pi/Desktop/images/21012025/18/23/image_21012025_18_23_02_989754_0003.jpg
/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0000.jpg
/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0001.jpg
/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0002.jpg
/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.311497449874878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:52:22.285267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/23/image_21012025_18_23_02_989754_0002.jpg', '/home/pi/Desktop/images/21012025/18/23/image_21012025_18_23_02_989754_0003.jpg', '/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0000.jpg', '/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0001.jpg', '/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0002.jpg', '/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/23/image_21012025_18_23_02_989754_0002.jpg
/home/pi/Desktop/images/21012025/18/23/image_21012025_18_23_02_989754_0003.jpg
/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0000.jpg
/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0001.jpg
/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0002.jpg
/home/pi/Desktop/images/21012025/18/24/image_21012025_18_24_03_097861_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330745400","1330745396","1330745363","1330745366","1330745353","1330745391"],"photo_ids_order":["1330745353","1330745363","1330745366","1330745391","1330745396","1330745400"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2bec36d302be1124cfd66ed069a5f157.jpg","text":"TemporaryFile(/tmp/multipartBody6067042040687063626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604419823,"filename":"image_21012025_18_24_03_097861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a0bc98ee848d5f76b8b072bda81c7c5.jpg","text":"TemporaryFile(/tmp/multipartBody2391539193930043204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604419823,"filename":"image_21012025_18_24_03_097861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3cd86bee2d48cf6da69fb34bf40f57ae.jpg","text":"TemporaryFile(/tmp/multipartBody6814106169574007204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604419823,"filename":"image_21012025_18_23_02_989754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c146a2269db43c02d458994ad8db5106.jpg","text":"TemporaryFile(/tmp/multipartBody6992827048139013163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604419823,"filename":"image_21012025_18_24_03_097861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/398bd2a919bd1ed0cb612ca3bb809420.jpg","text":"TemporaryFile(/tmp/multipartBody620338749428736920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604419823,"filename":"image_21012025_18_23_02_989754_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f269089c59deb6aa5c01f2e19f995120.jpg","text":"TemporaryFile(/tmp/multipartBody7103426609556046625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604419823,"filename":"image_21012025_18_24_03_097861_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330745366","file1":"1330745363","file0":"1330745353","file4":"1330745396","file5":"1330745400","file3":"1330745391"},"map_files_photo_id_array":[{"photo_id":"1330745400","filename":"file5"},{"photo_id":"1330745366","filename":"file2"},{"photo_id":"1330745396","filename":"file4"},{"photo_id":"1330745363","filename":"file1"},{"photo_id":"1330745353","filename":"file0"},{"photo_id":"1330745391","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330745400":["hashtag1","hashtag2"]},{"1330745396":["hashtag1","hashtag2"]},{"1330745363":["hashtag1","hashtag2"]},{"1330745366":["hashtag1","hashtag2"]},{"1330745353":["hashtag1","hashtag2"]},{"1330745391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330745400, 1330745396, 1330745363, 1330745366, 1330745353, 1330745391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.05757403373718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:53:21.798954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/25/image_21012025_18_25_02_292279_0000.jpg', '/home/pi/Desktop/images/21012025/18/25/image_21012025_18_25_02_292279_0001.jpg', '/home/pi/Desktop/images/21012025/18/25/image_21012025_18_25_02_292279_0002.jpg', '/home/pi/Desktop/images/21012025/18/25/image_21012025_18_25_02_292279_0003.jpg', '/home/pi/Desktop/images/21012025/18/26/image_21012025_18_26_02_473903_0000.jpg', '/home/pi/Desktop/images/21012025/18/26/image_21012025_18_26_02_473903_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/25/image_21012025_18_25_02_292279_0000.jpg
/home/pi/Desktop/images/21012025/18/25/image_21012025_18_25_02_292279_0001.jpg
/home/pi/Desktop/images/21012025/18/25/image_21012025_18_25_02_292279_0002.jpg
/home/pi/Desktop/images/21012025/18/25/image_21012025_18_25_02_292279_0003.jpg
/home/pi/Desktop/images/21012025/18/26/image_21012025_18_26_02_473903_0000.jpg
/home/pi/Desktop/images/21012025/18/26/image_21012025_18_26_02_473903_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":["1330745468","1330745483","1330745504","1330745485","1330745440","1330745506"],"photo_ids_order":["1330745440","1330745468","1330745483","1330745485","1330745504","1330745506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1d9c29114c2a3be2e41260ca962d9a2.jpg","text":"TemporaryFile(/tmp/multipartBody3407258025143698971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604479792,"filename":"image_21012025_18_25_02_292279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24b5822a77039867a3816c7d0683ec74.jpg","text":"TemporaryFile(/tmp/multipartBody7885150152915254497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604479792,"filename":"image_21012025_18_25_02_292279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61f08f0e7406cade987a78897b2b6600.jpg","text":"TemporaryFile(/tmp/multipartBody5218770831359977100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604479792,"filename":"image_21012025_18_26_02_473903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca7a64a71ff820bb0f6142e392ed8f4b.jpg","text":"TemporaryFile(/tmp/multipartBody8657807671130403727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604479792,"filename":"image_21012025_18_25_02_292279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fb38b6d72f1391d4cf3f194e3579b63.jpg","text":"TemporaryFile(/tmp/multipartBody4093611750765017204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604479792,"filename":"image_21012025_18_25_02_292279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3147387da25dd24c3416cd96f68a8687.jpg","text":"TemporaryFile(/tmp/multipartBody2699697704987715219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604479792,"filename":"image_21012025_18_26_02_473903_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330745483","file1":"1330745468","file0":"1330745440","file4":"1330745504","file5":"1330745506","file3":"1330745485"},"map_files_photo_id_array":[{"photo_id":"1330745506","filename":"file5"},{"photo_id":"1330745483","filename":"file2"},{"photo_id":"1330745504","filename":"file4"},{"photo_id":"1330745468","filename":"file1"},{"photo_id":"1330745440","filename":"file0"},{"photo_id":"1330745485","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330745468":["hashtag1","hashtag2"]},{"1330745483":["hashtag1","hashtag2"]},{"1330745504":["hashtag1","hashtag2"]},{"1330745485":["hashtag1","hashtag2"]},{"1330745440":["hashtag1","hashtag2"]},{"1330745506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330745468, 1330745483, 1330745504, 1330745485, 1330745440, 1330745506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.23975872993469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:55:02.409629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/26/image_21012025_18_26_02_473903_0002.jpg', '/home/pi/Desktop/images/21012025/18/26/image_21012025_18_26_02_473903_0003.jpg', '/home/pi/Desktop/images/21012025/18/27/image_21012025_18_27_02_621140_0000.jpg', '/home/pi/Desktop/images/21012025/18/27/image_21012025_18_27_02_621140_0001.jpg', '/home/pi/Desktop/images/21012025/18/27/image_21012025_18_27_02_621140_0002.jpg', '/home/pi/Desktop/images/21012025/18/27/image_21012025_18_27_02_621140_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/26/image_21012025_18_26_02_473903_0002.jpg
/home/pi/Desktop/images/21012025/18/26/image_21012025_18_26_02_473903_0003.jpg
/home/pi/Desktop/images/21012025/18/27/image_21012025_18_27_02_621140_0000.jpg
/home/pi/Desktop/images/21012025/18/27/image_21012025_18_27_02_621140_0001.jpg
/home/pi/Desktop/images/21012025/18/27/image_21012025_18_27_02_621140_0002.jpg
/home/pi/Desktop/images/21012025/18/27/image_21012025_18_27_02_621140_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":["1330745552","1330745555","1330745540","1330745534","1330745537","1330745531"],"photo_ids_order":["1330745531","1330745534","1330745537","1330745540","1330745552","1330745555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e04bc4fc9b790156dd8dbdedcecde37.jpg","text":"TemporaryFile(/tmp/multipartBody3592908643181605762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604580607,"filename":"image_21012025_18_27_02_621140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d3e0b7499b50562046ac52edf6ef07e.jpg","text":"TemporaryFile(/tmp/multipartBody1350546907129874227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604580607,"filename":"image_21012025_18_27_02_621140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/841c4bd6e2e7aea19a9fa824bd36bdf2.jpg","text":"TemporaryFile(/tmp/multipartBody3634228303342011108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604580607,"filename":"image_21012025_18_27_02_621140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/237d589084c5e559051494349c2242a0.jpg","text":"TemporaryFile(/tmp/multipartBody6502655435746756156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604580607,"filename":"image_21012025_18_26_02_473903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e1a9d9009b111f4e646918b106e69fd.jpg","text":"TemporaryFile(/tmp/multipartBody2501335232563313815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604580607,"filename":"image_21012025_18_27_02_621140_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df35bb9ef5d2a795e66ca0a7681dc57f.jpg","text":"TemporaryFile(/tmp/multipartBody4043177198236982571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604580607,"filename":"image_21012025_18_26_02_473903_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330745537","file1":"1330745534","file0":"1330745531","file4":"1330745552","file5":"1330745555","file3":"1330745540"},"map_files_photo_id_array":[{"photo_id":"1330745555","filename":"file5"},{"photo_id":"1330745537","filename":"file2"},{"photo_id":"1330745552","filename":"file4"},{"photo_id":"1330745534","filename":"file1"},{"photo_id":"1330745531","filename":"file0"},{"photo_id":"1330745540","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330745552":["hashtag1","hashtag2"]},{"1330745555":["hashtag1","hashtag2"]},{"1330745540":["hashtag1","hashtag2"]},{"1330745534":["hashtag1","hashtag2"]},{"1330745537":["hashtag1","hashtag2"]},{"1330745531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330745552, 1330745555, 1330745540, 1330745534, 1330745537, 1330745531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.130367040634155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:56:22.491306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/28/image_21012025_18_28_02_846992_0000.jpg', '/home/pi/Desktop/images/21012025/18/28/image_21012025_18_28_02_846992_0001.jpg', '/home/pi/Desktop/images/21012025/18/28/image_21012025_18_28_02_846992_0002.jpg', '/home/pi/Desktop/images/21012025/18/28/image_21012025_18_28_02_846992_0003.jpg', '/home/pi/Desktop/images/21012025/18/29/image_21012025_18_29_02_995437_0000.jpg', '/home/pi/Desktop/images/21012025/18/29/image_21012025_18_29_02_995437_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/28/image_21012025_18_28_02_846992_0000.jpg
/home/pi/Desktop/images/21012025/18/28/image_21012025_18_28_02_846992_0001.jpg
/home/pi/Desktop/images/21012025/18/28/image_21012025_18_28_02_846992_0002.jpg
/home/pi/Desktop/images/21012025/18/28/image_21012025_18_28_02_846992_0003.jpg
/home/pi/Desktop/images/21012025/18/29/image_21012025_18_29_02_995437_0000.jpg
/home/pi/Desktop/images/21012025/18/29/image_21012025_18_29_02_995437_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330745571","1330745591","1330745576","1330745603","1330745612","1330745609"],"photo_ids_order":["1330745571","1330745576","1330745591","1330745603","1330745609","1330745612"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db42e79edb07d637a9bfe24e999fd1c7.jpg","text":"TemporaryFile(/tmp/multipartBody1820635360228255572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604660201,"filename":"image_21012025_18_28_02_846992_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d788d5b4889fb47b8e3812b5089c2e9.jpg","text":"TemporaryFile(/tmp/multipartBody5580055155690755364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604660201,"filename":"image_21012025_18_28_02_846992_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22d9770670795594185f2a9562dbc7e6.jpg","text":"TemporaryFile(/tmp/multipartBody5977418442692014380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604660201,"filename":"image_21012025_18_28_02_846992_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9aa20c81e82c666c7f80818e94903818.jpg","text":"TemporaryFile(/tmp/multipartBody2146972555270080696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604660201,"filename":"image_21012025_18_28_02_846992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f80baa3924e14d53e435e028ae9ec89c.jpg","text":"TemporaryFile(/tmp/multipartBody1243987641842536805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604660201,"filename":"image_21012025_18_29_02_995437_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0504496c96286e479da95a2479fbdf8.jpg","text":"TemporaryFile(/tmp/multipartBody9069327577233533157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604660201,"filename":"image_21012025_18_29_02_995437_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330745591","file1":"1330745576","file0":"1330745571","file4":"1330745609","file5":"1330745612","file3":"1330745603"},"map_files_photo_id_array":[{"photo_id":"1330745612","filename":"file5"},{"photo_id":"1330745591","filename":"file2"},{"photo_id":"1330745609","filename":"file4"},{"photo_id":"1330745576","filename":"file1"},{"photo_id":"1330745571","filename":"file0"},{"photo_id":"1330745603","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330745571":["hashtag1","hashtag2"]},{"1330745591":["hashtag1","hashtag2"]},{"1330745576":["hashtag1","hashtag2"]},{"1330745603":["hashtag1","hashtag2"]},{"1330745612":["hashtag1","hashtag2"]},{"1330745609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330745571, 1330745591, 1330745576, 1330745603, 1330745612, 1330745609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.39461350440979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 04:57:22.022068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/29/image_21012025_18_29_02_995437_0002.jpg', '/home/pi/Desktop/images/21012025/18/29/image_21012025_18_29_02_995437_0003.jpg', '/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0000.jpg', '/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0001.jpg', '/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0002.jpg', '/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/29/image_21012025_18_29_02_995437_0002.jpg
/home/pi/Desktop/images/21012025/18/29/image_21012025_18_29_02_995437_0003.jpg
/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0000.jpg
/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0001.jpg
/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0002.jpg
/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0003.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 04:59:03.326081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/29/image_21012025_18_29_02_995437_0002.jpg', '/home/pi/Desktop/images/21012025/18/29/image_21012025_18_29_02_995437_0003.jpg', '/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0000.jpg', '/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0001.jpg', '/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0002.jpg', '/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/29/image_21012025_18_29_02_995437_0002.jpg
/home/pi/Desktop/images/21012025/18/29/image_21012025_18_29_02_995437_0003.jpg
/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0000.jpg
/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0001.jpg
/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_0002.jpg
/home/pi/Desktop/images/21012025/18/30/image_21012025_18_30_02_179677_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":["1330745805","1330745795","1330745808","1330745798","1330745828","1330745788"],"photo_ids_order":["1330745788","1330745795","1330745798","1330745805","1330745808","1330745828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28f64e4d9eaef34f7d08acfacb21d8da.jpg","text":"TemporaryFile(/tmp/multipartBody96496379802826010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604821464,"filename":"image_21012025_18_30_02_179677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f37d220d012045165204ea141198e0a0.jpg","text":"TemporaryFile(/tmp/multipartBody1842293545619226424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604821464,"filename":"image_21012025_18_29_02_995437_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b13e7917e951583e8b82c5cc6cb61a6d.jpg","text":"TemporaryFile(/tmp/multipartBody9142921902871157734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604821464,"filename":"image_21012025_18_30_02_179677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09388c8d900ec9a4d2da211c68f852a4.jpg","text":"TemporaryFile(/tmp/multipartBody4693018783804561436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604821464,"filename":"image_21012025_18_30_02_179677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ead10b5ba1915e4be2ea2eb2bb0c605e.jpg","text":"TemporaryFile(/tmp/multipartBody3078079133146766662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604821464,"filename":"image_21012025_18_30_02_179677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25f5d5c4f658a70b2a79a59ee60a791b.jpg","text":"TemporaryFile(/tmp/multipartBody7318341757459947782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604821464,"filename":"image_21012025_18_29_02_995437_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330745798","file1":"1330745795","file0":"1330745788","file4":"1330745808","file5":"1330745828","file3":"1330745805"},"map_files_photo_id_array":[{"photo_id":"1330745828","filename":"file5"},{"photo_id":"1330745798","filename":"file2"},{"photo_id":"1330745808","filename":"file4"},{"photo_id":"1330745795","filename":"file1"},{"photo_id":"1330745788","filename":"file0"},{"photo_id":"1330745805","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330745805":["hashtag1","hashtag2"]},{"1330745795":["hashtag1","hashtag2"]},{"1330745808":["hashtag1","hashtag2"]},{"1330745798":["hashtag1","hashtag2"]},{"1330745828":["hashtag1","hashtag2"]},{"1330745788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330745805, 1330745795, 1330745808, 1330745798, 1330745828, 1330745788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.98735165596008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:00:22.304057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/31/image_21012025_18_31_02_280792_0000.jpg', '/home/pi/Desktop/images/21012025/18/31/image_21012025_18_31_02_280792_0001.jpg', '/home/pi/Desktop/images/21012025/18/31/image_21012025_18_31_02_280792_0002.jpg', '/home/pi/Desktop/images/21012025/18/31/image_21012025_18_31_02_280792_0003.jpg', '/home/pi/Desktop/images/21012025/18/32/image_21012025_18_32_02_553576_0000.jpg', '/home/pi/Desktop/images/21012025/18/32/image_21012025_18_32_02_553576_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/31/image_21012025_18_31_02_280792_0000.jpg
/home/pi/Desktop/images/21012025/18/31/image_21012025_18_31_02_280792_0001.jpg
/home/pi/Desktop/images/21012025/18/31/image_21012025_18_31_02_280792_0002.jpg
/home/pi/Desktop/images/21012025/18/31/image_21012025_18_31_02_280792_0003.jpg
/home/pi/Desktop/images/21012025/18/32/image_21012025_18_32_02_553576_0000.jpg
/home/pi/Desktop/images/21012025/18/32/image_21012025_18_32_02_553576_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":["1330745849","1330745900","1330745890","1330745878","1330745905","1330745853"],"photo_ids_order":["1330745849","1330745853","1330745878","1330745890","1330745900","1330745905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dee0f6863dfd56185cc0e9f67b263c0f.jpg","text":"TemporaryFile(/tmp/multipartBody2784489942257637265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604900592,"filename":"image_21012025_18_31_02_280792_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4dbe6ba3894a862124d6eab8aa5935cb.jpg","text":"TemporaryFile(/tmp/multipartBody4001899859188068110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604900592,"filename":"image_21012025_18_32_02_553576_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9ecfeca6fb5352a398fa7710e2db0c1.jpg","text":"TemporaryFile(/tmp/multipartBody3428097810346376398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604900592,"filename":"image_21012025_18_31_02_280792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/997fb284c65130428c8a2546bdc32034.jpg","text":"TemporaryFile(/tmp/multipartBody8350760109839779823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604900592,"filename":"image_21012025_18_31_02_280792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f57460ab65292bf6928ad7cbcd3fc6e7.jpg","text":"TemporaryFile(/tmp/multipartBody6814974766386656193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604900592,"filename":"image_21012025_18_32_02_553576_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0ae6ef689a3ab01da7c3e3722bdd86c.jpg","text":"TemporaryFile(/tmp/multipartBody3038459762682592662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604900592,"filename":"image_21012025_18_31_02_280792_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330745878","file1":"1330745853","file0":"1330745849","file4":"1330745900","file5":"1330745905","file3":"1330745890"},"map_files_photo_id_array":[{"photo_id":"1330745905","filename":"file5"},{"photo_id":"1330745878","filename":"file2"},{"photo_id":"1330745900","filename":"file4"},{"photo_id":"1330745853","filename":"file1"},{"photo_id":"1330745849","filename":"file0"},{"photo_id":"1330745890","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330745849":["hashtag1","hashtag2"]},{"1330745900":["hashtag1","hashtag2"]},{"1330745890":["hashtag1","hashtag2"]},{"1330745878":["hashtag1","hashtag2"]},{"1330745905":["hashtag1","hashtag2"]},{"1330745853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330745849, 1330745900, 1330745890, 1330745878, 1330745905, 1330745853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.058923959732056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:02:02.862902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/32/image_21012025_18_32_02_553576_0002.jpg', '/home/pi/Desktop/images/21012025/18/32/image_21012025_18_32_02_553576_0003.jpg', '/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0000.jpg', '/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0001.jpg', '/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0002.jpg', '/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/32/image_21012025_18_32_02_553576_0002.jpg
/home/pi/Desktop/images/21012025/18/32/image_21012025_18_32_02_553576_0003.jpg
/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0000.jpg
/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0001.jpg
/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0002.jpg
/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.513298749923706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:02:22.314364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/02/image_23012025_05_02_02_257989_0000.jpg', '/home/pi/Desktop/images/23012025/05/02/image_23012025_05_02_02_257989_0001.jpg', '/home/pi/Desktop/images/23012025/05/02/image_23012025_05_02_02_257989_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/02/image_23012025_05_02_02_257989_0000.jpg
/home/pi/Desktop/images/23012025/05/02/image_23012025_05_02_02_257989_0001.jpg
/home/pi/Desktop/images/23012025/05/02/image_23012025_05_02_02_257989_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330745975","1330745979","1330745970"],"photo_ids_order":["1330745970","1330745975","1330745979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f73dec0b4c2b00de6880b4699c70ae4e.jpg","text":"TemporaryFile(/tmp/multipartBody3096776989968829779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605010051,"filename":"image_23012025_05_02_02_257989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c5e93cc4965117579ee4da4b8a882e5.jpg","text":"TemporaryFile(/tmp/multipartBody435517098834238625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605010051,"filename":"image_23012025_05_02_02_257989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e55d9dc10b12f51b0ffba6263f9dd381.jpg","text":"TemporaryFile(/tmp/multipartBody2062739273016604445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605010051,"filename":"image_23012025_05_02_02_257989_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330745979","file1":"1330745975","file0":"1330745970"},"map_files_photo_id_array":[{"photo_id":"1330745979","filename":"file2"},{"photo_id":"1330745975","filename":"file1"},{"photo_id":"1330745970","filename":"file0"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330745975":["hashtag1","hashtag2"]},{"1330745979":["hashtag1","hashtag2"]},{"1330745970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330745975, 1330745979, 1330745970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.53421926498413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:03:02.501215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/32/image_21012025_18_32_02_553576_0002.jpg', '/home/pi/Desktop/images/21012025/18/32/image_21012025_18_32_02_553576_0003.jpg', '/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0000.jpg', '/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0001.jpg', '/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0002.jpg', '/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/32/image_21012025_18_32_02_553576_0002.jpg
/home/pi/Desktop/images/21012025/18/32/image_21012025_18_32_02_553576_0003.jpg
/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0000.jpg
/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0001.jpg
/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0002.jpg
/home/pi/Desktop/images/21012025/18/33/image_21012025_18_33_02_650129_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330746428","1330746784","1330746298","1330746640","1330746904","1330746907"],"photo_ids_order":["1330746298","1330746428","1330746640","1330746784","1330746904","1330746907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/075b46d53e8a619683276dca0797e438.jpg","text":"TemporaryFile(/tmp/multipartBody9055141792875844102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605060335,"filename":"image_21012025_18_32_02_553576_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17a3701250d335c99322c34562cc6eec.jpg","text":"TemporaryFile(/tmp/multipartBody5771900006332293779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605060335,"filename":"image_21012025_18_33_02_650129_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c4598825e0000fdff628915c02d39d1.jpg","text":"TemporaryFile(/tmp/multipartBody46659482114691872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605060335,"filename":"image_21012025_18_32_02_553576_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19d7edf0eb567f0f43c86b8f47b32255.jpg","text":"TemporaryFile(/tmp/multipartBody6372296431347973107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605060335,"filename":"image_21012025_18_33_02_650129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bc136a3132ffcc1674d1e36e313cf77.jpg","text":"TemporaryFile(/tmp/multipartBody3322039792126234807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605060335,"filename":"image_21012025_18_33_02_650129_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61b4d1907b9f38abf15e58be20b07aeb.jpg","text":"TemporaryFile(/tmp/multipartBody8074320980231575699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605060335,"filename":"image_21012025_18_33_02_650129_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330746640","file1":"1330746428","file0":"1330746298","file4":"1330746904","file5":"1330746907","file3":"1330746784"},"map_files_photo_id_array":[{"photo_id":"1330746907","filename":"file5"},{"photo_id":"1330746640","filename":"file2"},{"photo_id":"1330746904","filename":"file4"},{"photo_id":"1330746428","filename":"file1"},{"photo_id":"1330746298","filename":"file0"},{"photo_id":"1330746784","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330746428":["hashtag1","hashtag2"]},{"1330746784":["hashtag1","hashtag2"]},{"1330746298":["hashtag1","hashtag2"]},{"1330746640":["hashtag1","hashtag2"]},{"1330746904":["hashtag1","hashtag2"]},{"1330746907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330746428, 1330746784, 1330746298, 1330746640, 1330746904, 1330746907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.60556983947754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:04:03.066687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/02/image_23012025_05_02_02_257989_0003.jpg', '/home/pi/Desktop/images/23012025/05/03/image_23012025_05_03_02_793850_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/02/image_23012025_05_02_02_257989_0003.jpg
/home/pi/Desktop/images/23012025/05/03/image_23012025_05_03_02_793850_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330746958","1330746913"],"photo_ids_order":["1330746913","1330746958"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d14a6eea674efb167abdda820500e181.jpg","text":"TemporaryFile(/tmp/multipartBody95474708299181484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605108234,"filename":"image_23012025_05_03_02_793850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/594afb530cf66189dfe5d6be7cfe3147.jpg","text":"TemporaryFile(/tmp/multipartBody1137256743939724010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605108234,"filename":"image_23012025_05_02_02_257989_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330746958","file0":"1330746913"},"map_files_photo_id_array":[{"photo_id":"1330746958","filename":"file1"},{"photo_id":"1330746913","filename":"file0"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330746958":["hashtag1","hashtag2"]},{"1330746913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330746958, 1330746913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 28.682912826538086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:05:02.720617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/03/image_23012025_05_03_02_793850_0003.jpg', '/home/pi/Desktop/images/23012025/05/04/image_23012025_05_04_02_375195_0000.jpg', '/home/pi/Desktop/images/23012025/05/04/image_23012025_05_04_02_375195_0001.jpg', '/home/pi/Desktop/images/23012025/05/04/image_23012025_05_04_02_375195_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/03/image_23012025_05_03_02_793850_0003.jpg
/home/pi/Desktop/images/23012025/05/04/image_23012025_05_04_02_375195_0000.jpg
/home/pi/Desktop/images/23012025/05/04/image_23012025_05_04_02_375195_0001.jpg
/home/pi/Desktop/images/23012025/05/04/image_23012025_05_04_02_375195_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330747835","1330747828","1330747737","1330747833"],"photo_ids_order":["1330747737","1330747828","1330747833","1330747835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ac75fdee8612138a5292e1560fa627a.jpg","text":"TemporaryFile(/tmp/multipartBody5417465115266898829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605172662,"filename":"image_23012025_05_04_02_375195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57d0e88d90b5a62a2f7dc48b510a6356.jpg","text":"TemporaryFile(/tmp/multipartBody6467646077896584678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605172662,"filename":"image_23012025_05_04_02_375195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/abbd2ec8b5298463191764d5cabf1724.jpg","text":"TemporaryFile(/tmp/multipartBody4641896024851004490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605172662,"filename":"image_23012025_05_03_02_793850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/153a431d6874cf8d67399e5443394b1e.jpg","text":"TemporaryFile(/tmp/multipartBody5919872169266622329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605172662,"filename":"image_23012025_05_04_02_375195_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330747833","file1":"1330747828","file0":"1330747737","file3":"1330747835"},"map_files_photo_id_array":[{"photo_id":"1330747833","filename":"file2"},{"photo_id":"1330747828","filename":"file1"},{"photo_id":"1330747737","filename":"file0"},{"photo_id":"1330747835","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330747835":["hashtag1","hashtag2"]},{"1330747828":["hashtag1","hashtag2"]},{"1330747737":["hashtag1","hashtag2"]},{"1330747833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330747835, 1330747828, 1330747737, 1330747833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.13004112243652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:06:02.358410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/04/image_23012025_05_04_02_375195_0003.jpg', '/home/pi/Desktop/images/23012025/05/05/image_23012025_05_05_03_008212_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/04/image_23012025_05_04_02_375195_0003.jpg
/home/pi/Desktop/images/23012025/05/05/image_23012025_05_05_03_008212_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.930788993835449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:06:21.720448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/04/image_23012025_05_04_02_375195_0003.jpg', '/home/pi/Desktop/images/23012025/05/05/image_23012025_05_05_03_008212_0002.jpg', '/home/pi/Desktop/images/23012025/05/05/image_23012025_05_05_03_008212_0003.jpg', '/home/pi/Desktop/images/23012025/05/06/image_23012025_05_06_02_474281_0000.jpg', '/home/pi/Desktop/images/23012025/05/06/image_23012025_05_06_02_474281_0001.jpg', '/home/pi/Desktop/images/23012025/05/06/image_23012025_05_06_02_474281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/04/image_23012025_05_04_02_375195_0003.jpg
/home/pi/Desktop/images/23012025/05/05/image_23012025_05_05_03_008212_0002.jpg
/home/pi/Desktop/images/23012025/05/05/image_23012025_05_05_03_008212_0003.jpg
/home/pi/Desktop/images/23012025/05/06/image_23012025_05_06_02_474281_0000.jpg
/home/pi/Desktop/images/23012025/05/06/image_23012025_05_06_02_474281_0001.jpg
/home/pi/Desktop/images/23012025/05/06/image_23012025_05_06_02_474281_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330748071","1330748038","1330748047","1330748029","1330748076","1330748033"],"photo_ids_order":["1330748029","1330748033","1330748038","1330748047","1330748071","1330748076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74edc34de223c7c511d832a777d73a62.jpg","text":"TemporaryFile(/tmp/multipartBody4964285357635710116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605256772,"filename":"image_23012025_05_06_02_474281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/624e6ee02e735e3a7c0f582b6ae0b38b.jpg","text":"TemporaryFile(/tmp/multipartBody542283021737848425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605256772,"filename":"image_23012025_05_05_03_008212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c3b7f4c8fb0e3904815d90f66f8c1ac.jpg","text":"TemporaryFile(/tmp/multipartBody293330895620629677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605256772,"filename":"image_23012025_05_06_02_474281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d515072fb8ecdae5859d4b48735356d.jpg","text":"TemporaryFile(/tmp/multipartBody1132766860706116711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605256772,"filename":"image_23012025_05_04_02_375195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7809e7a47e4932f60b7fe8e2e9ed5c1f.jpg","text":"TemporaryFile(/tmp/multipartBody5776341755661421120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605256772,"filename":"image_23012025_05_06_02_474281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a239e457b093340a2f1c35ef7683f3e.jpg","text":"TemporaryFile(/tmp/multipartBody5036739961423285914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605256772,"filename":"image_23012025_05_05_03_008212_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330748038","file1":"1330748033","file0":"1330748029","file4":"1330748071","file5":"1330748076","file3":"1330748047"},"map_files_photo_id_array":[{"photo_id":"1330748076","filename":"file5"},{"photo_id":"1330748038","filename":"file2"},{"photo_id":"1330748071","filename":"file4"},{"photo_id":"1330748033","filename":"file1"},{"photo_id":"1330748029","filename":"file0"},{"photo_id":"1330748047","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330748071":["hashtag1","hashtag2"]},{"1330748038":["hashtag1","hashtag2"]},{"1330748047":["hashtag1","hashtag2"]},{"1330748029":["hashtag1","hashtag2"]},{"1330748076":["hashtag1","hashtag2"]},{"1330748033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330748071, 1330748038, 1330748047, 1330748029, 1330748076, 1330748033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.38967823982239 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:07:22.361041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/06/image_23012025_05_06_02_474281_0003.jpg', '/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_02_247608_0000.jpg', '/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_02_247608_0001.jpg', '/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_02_247608_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/06/image_23012025_05_06_02_474281_0003.jpg
/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_02_247608_0000.jpg
/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_02_247608_0001.jpg
/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_02_247608_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330748200","1330748229","1330748202","1330748225"],"photo_ids_order":["1330748200","1330748202","1330748225","1330748229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a88442f0765673d659583c42c15137ba.jpg","text":"TemporaryFile(/tmp/multipartBody7258357869679930670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605312784,"filename":"image_23012025_05_06_02_474281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5f38b4ba2a7e3f71f811bb02f709fa1.jpg","text":"TemporaryFile(/tmp/multipartBody3318791883688719406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605312784,"filename":"image_23012025_05_07_02_247608_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f7a8f07f62cd81604046111353f4a27.jpg","text":"TemporaryFile(/tmp/multipartBody1503773915646088511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605312784,"filename":"image_23012025_05_07_02_247608_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4e15cfbfd354df99505189929134762.jpg","text":"TemporaryFile(/tmp/multipartBody7830571867169172655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605312784,"filename":"image_23012025_05_07_02_247608_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330748225","file1":"1330748202","file0":"1330748200","file3":"1330748229"},"map_files_photo_id_array":[{"photo_id":"1330748225","filename":"file2"},{"photo_id":"1330748202","filename":"file1"},{"photo_id":"1330748200","filename":"file0"},{"photo_id":"1330748229","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330748200":["hashtag1","hashtag2"]},{"1330748229":["hashtag1","hashtag2"]},{"1330748202":["hashtag1","hashtag2"]},{"1330748225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330748200, 1330748229, 1330748202, 1330748225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.59481906890869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:08:21.936723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_02_247608_0003.jpg', '/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_02_743715_0000.jpg', '/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_02_743715_0001.jpg', '/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_02_743715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_02_247608_0003.jpg
/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_02_743715_0000.jpg
/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_02_743715_0001.jpg
/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_02_743715_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330748429","1330748521","1330748499","1330748529"],"photo_ids_order":["1330748429","1330748499","1330748521","1330748529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46fad24885db312d2a52cb0ea4877a42.jpg","text":"TemporaryFile(/tmp/multipartBody4669906784633887906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605372381,"filename":"image_23012025_05_07_02_247608_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab301880299dead957e0c1ebb7f9b7d6.jpg","text":"TemporaryFile(/tmp/multipartBody5800359204672645904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605372381,"filename":"image_23012025_05_08_02_743715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7694068bec42a7dc8d36e3a2697ad8fc.jpg","text":"TemporaryFile(/tmp/multipartBody424244515365501675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605372381,"filename":"image_23012025_05_08_02_743715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1b6396a68165e1e40017c4cf1de4514.jpg","text":"TemporaryFile(/tmp/multipartBody3106015316621590291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605372381,"filename":"image_23012025_05_08_02_743715_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330748521","file1":"1330748499","file0":"1330748429","file3":"1330748529"},"map_files_photo_id_array":[{"photo_id":"1330748521","filename":"file2"},{"photo_id":"1330748499","filename":"file1"},{"photo_id":"1330748429","filename":"file0"},{"photo_id":"1330748529","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330748429":["hashtag1","hashtag2"]},{"1330748521":["hashtag1","hashtag2"]},{"1330748499":["hashtag1","hashtag2"]},{"1330748529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330748429, 1330748521, 1330748499, 1330748529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.17566251754761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:09:22.370255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_02_743715_0003.jpg', '/home/pi/Desktop/images/23012025/05/09/image_23012025_05_09_02_269331_0000.jpg', '/home/pi/Desktop/images/23012025/05/09/image_23012025_05_09_02_269331_0001.jpg', '/home/pi/Desktop/images/23012025/05/09/image_23012025_05_09_02_269331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_02_743715_0003.jpg
/home/pi/Desktop/images/23012025/05/09/image_23012025_05_09_02_269331_0000.jpg
/home/pi/Desktop/images/23012025/05/09/image_23012025_05_09_02_269331_0001.jpg
/home/pi/Desktop/images/23012025/05/09/image_23012025_05_09_02_269331_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330748611","1330748605","1330748597","1330748601"],"photo_ids_order":["1330748597","1330748601","1330748605","1330748611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6b9dd79467d728730c8dd7c18ad1b3e.jpg","text":"TemporaryFile(/tmp/multipartBody3679803712491220422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605433494,"filename":"image_23012025_05_09_02_269331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9479210ec6454737265580cee6b21aaf.jpg","text":"TemporaryFile(/tmp/multipartBody5335117240379593695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605433494,"filename":"image_23012025_05_09_02_269331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce3a4a21ad3a82ef45aa11ae89f87c99.jpg","text":"TemporaryFile(/tmp/multipartBody200102237839400098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605433494,"filename":"image_23012025_05_08_02_743715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41a102f1c4e0e26a90e12f9e66594599.jpg","text":"TemporaryFile(/tmp/multipartBody2807495662450347231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605433494,"filename":"image_23012025_05_09_02_269331_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330748605","file1":"1330748601","file0":"1330748597","file3":"1330748611"},"map_files_photo_id_array":[{"photo_id":"1330748605","filename":"file2"},{"photo_id":"1330748601","filename":"file1"},{"photo_id":"1330748597","filename":"file0"},{"photo_id":"1330748611","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330748611":["hashtag1","hashtag2"]},{"1330748605":["hashtag1","hashtag2"]},{"1330748597":["hashtag1","hashtag2"]},{"1330748601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330748611, 1330748605, 1330748597, 1330748601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12739133834839 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:10:21.887834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/09/image_23012025_05_09_02_269331_0003.jpg', '/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_02_771433_0000.jpg', '/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_02_771433_0001.jpg', '/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_02_771433_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/09/image_23012025_05_09_02_269331_0003.jpg
/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_02_771433_0000.jpg
/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_02_771433_0001.jpg
/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_02_771433_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330748632","1330748626","1330748620","1330748636"],"photo_ids_order":["1330748620","1330748626","1330748632","1330748636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb0a30db3a2144c430ff5e03aa4012c9.jpg","text":"TemporaryFile(/tmp/multipartBody7516816373336625685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605493086,"filename":"image_23012025_05_10_02_771433_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1941db9a2926f6e8cdcf0631f8caa92f.jpg","text":"TemporaryFile(/tmp/multipartBody5205003315713522475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605493086,"filename":"image_23012025_05_10_02_771433_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f6ae6b301819d5e3f5ecef840fb05ee.jpg","text":"TemporaryFile(/tmp/multipartBody3484356558271928580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605493086,"filename":"image_23012025_05_09_02_269331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a3a9f03037d44fe58ae613cb5dfc329.jpg","text":"TemporaryFile(/tmp/multipartBody8922314119213866463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605493086,"filename":"image_23012025_05_10_02_771433_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330748632","file1":"1330748626","file0":"1330748620","file3":"1330748636"},"map_files_photo_id_array":[{"photo_id":"1330748632","filename":"file2"},{"photo_id":"1330748626","filename":"file1"},{"photo_id":"1330748620","filename":"file0"},{"photo_id":"1330748636","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330748632":["hashtag1","hashtag2"]},{"1330748626":["hashtag1","hashtag2"]},{"1330748620":["hashtag1","hashtag2"]},{"1330748636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330748632, 1330748626, 1330748620, 1330748636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.84644865989685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:11:22.478996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_02_771433_0003.jpg', '/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_02_343433_0000.jpg', '/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_02_343433_0001.jpg', '/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_02_343433_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_02_771433_0003.jpg
/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_02_343433_0000.jpg
/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_02_343433_0001.jpg
/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_02_343433_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330748698","1330748745","1330748720","1330748692"],"photo_ids_order":["1330748692","1330748698","1330748720","1330748745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60db8ef783a8045ebfb161d95bb46dd3.jpg","text":"TemporaryFile(/tmp/multipartBody1009763676441181287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605553961,"filename":"image_23012025_05_11_02_343433_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e9223735b28846b586610fcfac4f5bb.jpg","text":"TemporaryFile(/tmp/multipartBody8815019901181304711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605553961,"filename":"image_23012025_05_11_02_343433_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be0a5e187bda49402433126eb8160285.jpg","text":"TemporaryFile(/tmp/multipartBody7619303238156649033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605553961,"filename":"image_23012025_05_11_02_343433_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ba66f1213762cb7d743de3d2e7e61d6.jpg","text":"TemporaryFile(/tmp/multipartBody4767593956674724098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605553961,"filename":"image_23012025_05_10_02_771433_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330748720","file1":"1330748698","file0":"1330748692","file3":"1330748745"},"map_files_photo_id_array":[{"photo_id":"1330748720","filename":"file2"},{"photo_id":"1330748698","filename":"file1"},{"photo_id":"1330748692","filename":"file0"},{"photo_id":"1330748745","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330748698":["hashtag1","hashtag2"]},{"1330748745":["hashtag1","hashtag2"]},{"1330748720":["hashtag1","hashtag2"]},{"1330748692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330748698, 1330748745, 1330748720, 1330748692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 49.58071732521057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:12:21.994553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_02_343433_0003.jpg', '/home/pi/Desktop/images/23012025/05/12/image_23012025_05_12_02_835688_0000.jpg', '/home/pi/Desktop/images/23012025/05/12/image_23012025_05_12_02_835688_0001.jpg', '/home/pi/Desktop/images/23012025/05/12/image_23012025_05_12_02_835688_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_02_343433_0003.jpg
/home/pi/Desktop/images/23012025/05/12/image_23012025_05_12_02_835688_0000.jpg
/home/pi/Desktop/images/23012025/05/12/image_23012025_05_12_02_835688_0001.jpg
/home/pi/Desktop/images/23012025/05/12/image_23012025_05_12_02_835688_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330749013","1330749153","1330749179","1330749116"],"photo_ids_order":["1330749013","1330749116","1330749153","1330749179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a10a21159d19641815244580c23b9144.jpg","text":"TemporaryFile(/tmp/multipartBody5074303291662004846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605613404,"filename":"image_23012025_05_11_02_343433_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1159cea59ac6156298b5e5eb6279c996.jpg","text":"TemporaryFile(/tmp/multipartBody5841142046258902045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605613404,"filename":"image_23012025_05_12_02_835688_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c61e93f70358273527b13841c02c709b.jpg","text":"TemporaryFile(/tmp/multipartBody8775334777834798117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605613404,"filename":"image_23012025_05_12_02_835688_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/087f3edb70c8a95bafc14544d962a5aa.jpg","text":"TemporaryFile(/tmp/multipartBody5701220287245645415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605613404,"filename":"image_23012025_05_12_02_835688_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330749153","file1":"1330749116","file0":"1330749013","file3":"1330749179"},"map_files_photo_id_array":[{"photo_id":"1330749153","filename":"file2"},{"photo_id":"1330749116","filename":"file1"},{"photo_id":"1330749013","filename":"file0"},{"photo_id":"1330749179","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330749013":["hashtag1","hashtag2"]},{"1330749153":["hashtag1","hashtag2"]},{"1330749179":["hashtag1","hashtag2"]},{"1330749116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330749013, 1330749153, 1330749179, 1330749116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05607509613037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:13:03.163390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/34/image_21012025_18_34_02_813378_0000.jpg', '/home/pi/Desktop/images/21012025/18/34/image_21012025_18_34_02_813378_0001.jpg', '/home/pi/Desktop/images/21012025/18/34/image_21012025_18_34_02_813378_0002.jpg', '/home/pi/Desktop/images/21012025/18/34/image_21012025_18_34_02_813378_0003.jpg', '/home/pi/Desktop/images/21012025/18/35/image_21012025_18_35_02_925152_0000.jpg', '/home/pi/Desktop/images/21012025/18/35/image_21012025_18_35_02_925152_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/34/image_21012025_18_34_02_813378_0000.jpg
/home/pi/Desktop/images/21012025/18/34/image_21012025_18_34_02_813378_0001.jpg
/home/pi/Desktop/images/21012025/18/34/image_21012025_18_34_02_813378_0002.jpg
/home/pi/Desktop/images/21012025/18/34/image_21012025_18_34_02_813378_0003.jpg
/home/pi/Desktop/images/21012025/18/35/image_21012025_18_35_02_925152_0000.jpg
/home/pi/Desktop/images/21012025/18/35/image_21012025_18_35_02_925152_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":["1330749304","1330749296","1330749300","1330749272","1330749275","1330749302"],"photo_ids_order":["1330749272","1330749275","1330749296","1330749300","1330749302","1330749304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/366abbe2127a97f2f4796c9746d3b8a8.jpg","text":"TemporaryFile(/tmp/multipartBody779337879789799072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605661219,"filename":"image_21012025_18_35_02_925152_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70d8bff8b2ff2235465c274ced3441e4.jpg","text":"TemporaryFile(/tmp/multipartBody116308002940782693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605661219,"filename":"image_21012025_18_34_02_813378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c68489d67778ec3ac0f97c76d4b2d09d.jpg","text":"TemporaryFile(/tmp/multipartBody4055952870209929345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605661219,"filename":"image_21012025_18_34_02_813378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df3c533c17d72b1b55caeceec477cd0e.jpg","text":"TemporaryFile(/tmp/multipartBody1085300884456093878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605661219,"filename":"image_21012025_18_34_02_813378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4888ca94547cbd106857e14e4d96479.jpg","text":"TemporaryFile(/tmp/multipartBody4723045702533243209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605661219,"filename":"image_21012025_18_34_02_813378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/053684ee92c45a24de49649f0a8fd753.jpg","text":"TemporaryFile(/tmp/multipartBody1256803101969344283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605661219,"filename":"image_21012025_18_35_02_925152_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330749296","file1":"1330749275","file0":"1330749272","file4":"1330749302","file5":"1330749304","file3":"1330749300"},"map_files_photo_id_array":[{"photo_id":"1330749304","filename":"file5"},{"photo_id":"1330749296","filename":"file2"},{"photo_id":"1330749302","filename":"file4"},{"photo_id":"1330749275","filename":"file1"},{"photo_id":"1330749272","filename":"file0"},{"photo_id":"1330749300","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330749304":["hashtag1","hashtag2"]},{"1330749296":["hashtag1","hashtag2"]},{"1330749300":["hashtag1","hashtag2"]},{"1330749272":["hashtag1","hashtag2"]},{"1330749275":["hashtag1","hashtag2"]},{"1330749302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330749304, 1330749296, 1330749300, 1330749272, 1330749275, 1330749302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.85877060890198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:14:22.152152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/12/image_23012025_05_12_02_835688_0003.jpg', '/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_02_386500_0000.jpg', '/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_02_386500_0001.jpg', '/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_02_386500_0002.jpg', '/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_02_386500_0003.jpg', '/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_02_893520_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/12/image_23012025_05_12_02_835688_0003.jpg
/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_02_386500_0000.jpg
/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_02_386500_0001.jpg
/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_02_386500_0002.jpg
/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_02_386500_0003.jpg
/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_02_893520_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330749390","1330749384","1330749387","1330749339","1330749359","1330749380"],"photo_ids_order":["1330749339","1330749359","1330749380","1330749384","1330749387","1330749390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d98d0874d480f69390565bfb4355659.jpg","text":"TemporaryFile(/tmp/multipartBody7207884009362227340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605738695,"filename":"image_23012025_05_14_02_893520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ee9a4e5f43c290e2d113b75c3407ac4.jpg","text":"TemporaryFile(/tmp/multipartBody9173707653504322744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605738695,"filename":"image_23012025_05_13_02_386500_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ede4c817e16ee64164cda36bfb2d3cc.jpg","text":"TemporaryFile(/tmp/multipartBody8905233095028816646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605738695,"filename":"image_23012025_05_13_02_386500_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8165c67138d64294c72fb52c620a2b28.jpg","text":"TemporaryFile(/tmp/multipartBody3026770125718271687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605738695,"filename":"image_23012025_05_12_02_835688_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53f1ec7f3876a829dfc4cb6aa715bbcc.jpg","text":"TemporaryFile(/tmp/multipartBody4247873106124766888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605738695,"filename":"image_23012025_05_13_02_386500_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3916f68d3eb7237201e44e46f2d4e2f.jpg","text":"TemporaryFile(/tmp/multipartBody4910164440001370672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605738695,"filename":"image_23012025_05_13_02_386500_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330749380","file1":"1330749359","file0":"1330749339","file4":"1330749387","file5":"1330749390","file3":"1330749384"},"map_files_photo_id_array":[{"photo_id":"1330749390","filename":"file5"},{"photo_id":"1330749380","filename":"file2"},{"photo_id":"1330749387","filename":"file4"},{"photo_id":"1330749359","filename":"file1"},{"photo_id":"1330749339","filename":"file0"},{"photo_id":"1330749384","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330749390":["hashtag1","hashtag2"]},{"1330749384":["hashtag1","hashtag2"]},{"1330749387":["hashtag1","hashtag2"]},{"1330749339":["hashtag1","hashtag2"]},{"1330749359":["hashtag1","hashtag2"]},{"1330749380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330749390, 1330749384, 1330749387, 1330749339, 1330749359, 1330749380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.54031991958618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:15:22.631440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_02_893520_0001.jpg', '/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_02_893520_0002.jpg', '/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_02_893520_0003.jpg', '/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_02_516949_0000.jpg', '/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_02_516949_0001.jpg', '/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_02_516949_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_02_893520_0001.jpg
/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_02_893520_0002.jpg
/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_02_893520_0003.jpg
/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_02_516949_0000.jpg
/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_02_516949_0001.jpg
/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_02_516949_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.403883457183838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:16:02.652887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_02_893520_0001.jpg', '/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_02_893520_0002.jpg', '/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_02_893520_0003.jpg', '/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_02_516949_0000.jpg', '/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_02_516949_0001.jpg', '/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_02_516949_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_02_893520_0001.jpg
/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_02_893520_0002.jpg
/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_02_893520_0003.jpg
/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_02_516949_0000.jpg
/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_02_516949_0001.jpg
/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_02_516949_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330749472","1330749483","1330749486","1330749488","1330749484","1330749478"],"photo_ids_order":["1330749472","1330749478","1330749483","1330749484","1330749486","1330749488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf966cb176340b3aba42a409dd68793e.jpg","text":"TemporaryFile(/tmp/multipartBody5919079735728355316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605839441,"filename":"image_23012025_05_14_02_893520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b02f76dbcdc067a285e6177df69b8d5.jpg","text":"TemporaryFile(/tmp/multipartBody1562266736180816435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605839441,"filename":"image_23012025_05_14_02_893520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33811bf5a433500e2b1b4f04e80f808b.jpg","text":"TemporaryFile(/tmp/multipartBody962021438962404569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605839441,"filename":"image_23012025_05_15_02_516949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0f81f8646e2b804e5fb3c819d812246.jpg","text":"TemporaryFile(/tmp/multipartBody638163680176602884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605839441,"filename":"image_23012025_05_15_02_516949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f3b08e35e9f30cc09dba11dc46bdb5f.jpg","text":"TemporaryFile(/tmp/multipartBody3161907101867456358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605839441,"filename":"image_23012025_05_15_02_516949_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a319b9e02a95f13ea0a7ad869a301318.jpg","text":"TemporaryFile(/tmp/multipartBody6150542524716501643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605839441,"filename":"image_23012025_05_14_02_893520_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330749483","file1":"1330749478","file0":"1330749472","file4":"1330749486","file5":"1330749488","file3":"1330749484"},"map_files_photo_id_array":[{"photo_id":"1330749488","filename":"file5"},{"photo_id":"1330749483","filename":"file2"},{"photo_id":"1330749486","filename":"file4"},{"photo_id":"1330749478","filename":"file1"},{"photo_id":"1330749472","filename":"file0"},{"photo_id":"1330749484","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330749472":["hashtag1","hashtag2"]},{"1330749483":["hashtag1","hashtag2"]},{"1330749486":["hashtag1","hashtag2"]},{"1330749488":["hashtag1","hashtag2"]},{"1330749484":["hashtag1","hashtag2"]},{"1330749478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330749472, 1330749483, 1330749486, 1330749488, 1330749484, 1330749478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.25896096229553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:17:03.203501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_02_516949_0003.jpg', '/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_03_004456_0000.jpg', '/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_03_004456_0001.jpg', '/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_03_004456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_02_516949_0003.jpg
/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_03_004456_0000.jpg
/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_03_004456_0001.jpg
/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_03_004456_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330749529","1330749513","1330749548","1330749541"],"photo_ids_order":["1330749513","1330749529","1330749541","1330749548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4faf6a4509d11943a85d9c10b0928046.jpg","text":"TemporaryFile(/tmp/multipartBody6430212194551809548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605894573,"filename":"image_23012025_05_16_03_004456_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da73affbb4d995109ebc9f24f2b4a768.jpg","text":"TemporaryFile(/tmp/multipartBody1332792366667627020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605894573,"filename":"image_23012025_05_15_02_516949_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/284272cadae156e96d9b79e5cc511ebe.jpg","text":"TemporaryFile(/tmp/multipartBody3675152636722233391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605894573,"filename":"image_23012025_05_16_03_004456_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81e0e3286a3194f4f1dacc07a705727f.jpg","text":"TemporaryFile(/tmp/multipartBody6074283633149709496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605894573,"filename":"image_23012025_05_16_03_004456_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330749541","file1":"1330749529","file0":"1330749513","file3":"1330749548"},"map_files_photo_id_array":[{"photo_id":"1330749541","filename":"file2"},{"photo_id":"1330749529","filename":"file1"},{"photo_id":"1330749513","filename":"file0"},{"photo_id":"1330749548","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330749529":["hashtag1","hashtag2"]},{"1330749513":["hashtag1","hashtag2"]},{"1330749548":["hashtag1","hashtag2"]},{"1330749541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330749529, 1330749513, 1330749548, 1330749541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.35458302497864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:18:02.853535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_03_004456_0003.jpg', '/home/pi/Desktop/images/23012025/05/17/image_23012025_05_17_02_567929_0000.jpg', '/home/pi/Desktop/images/23012025/05/17/image_23012025_05_17_02_567929_0001.jpg', '/home/pi/Desktop/images/23012025/05/17/image_23012025_05_17_02_567929_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_03_004456_0003.jpg
/home/pi/Desktop/images/23012025/05/17/image_23012025_05_17_02_567929_0000.jpg
/home/pi/Desktop/images/23012025/05/17/image_23012025_05_17_02_567929_0001.jpg
/home/pi/Desktop/images/23012025/05/17/image_23012025_05_17_02_567929_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330749613","1330749621","1330749609","1330749618"],"photo_ids_order":["1330749609","1330749613","1330749618","1330749621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3526960a3e0d08ab144e4a5f44bff704.jpg","text":"TemporaryFile(/tmp/multipartBody9177671186071578054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605954880,"filename":"image_23012025_05_17_02_567929_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8840ef081a666ced026f5bc6abc82c41.jpg","text":"TemporaryFile(/tmp/multipartBody3285938093063587455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605954880,"filename":"image_23012025_05_17_02_567929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00f728279143a62c840ec27f4549ad53.jpg","text":"TemporaryFile(/tmp/multipartBody9162850722454956010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605954880,"filename":"image_23012025_05_16_03_004456_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d218cc0cdfe430cdac64116a3333ef5.jpg","text":"TemporaryFile(/tmp/multipartBody3512560796825788232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605954880,"filename":"image_23012025_05_17_02_567929_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330749618","file1":"1330749613","file0":"1330749609","file3":"1330749621"},"map_files_photo_id_array":[{"photo_id":"1330749618","filename":"file2"},{"photo_id":"1330749613","filename":"file1"},{"photo_id":"1330749609","filename":"file0"},{"photo_id":"1330749621","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330749613":["hashtag1","hashtag2"]},{"1330749621":["hashtag1","hashtag2"]},{"1330749609":["hashtag1","hashtag2"]},{"1330749618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330749613, 1330749621, 1330749609, 1330749618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09335136413574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:19:02.518371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/17/image_23012025_05_17_02_567929_0003.jpg', '/home/pi/Desktop/images/23012025/05/18/image_23012025_05_18_03_125749_0000.jpg', '/home/pi/Desktop/images/23012025/05/18/image_23012025_05_18_03_125749_0001.jpg', '/home/pi/Desktop/images/23012025/05/18/image_23012025_05_18_03_125749_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/17/image_23012025_05_17_02_567929_0003.jpg
/home/pi/Desktop/images/23012025/05/18/image_23012025_05_18_03_125749_0000.jpg
/home/pi/Desktop/images/23012025/05/18/image_23012025_05_18_03_125749_0001.jpg
/home/pi/Desktop/images/23012025/05/18/image_23012025_05_18_03_125749_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330749708","1330749711","1330749713","1330749704"],"photo_ids_order":["1330749704","1330749708","1330749711","1330749713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cab16c5f789eec9cacca976a554ce104.jpg","text":"TemporaryFile(/tmp/multipartBody1121206559588553408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606013883,"filename":"image_23012025_05_18_03_125749_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3d89c33f3d6f4ce59ed22ac1277fe6d.jpg","text":"TemporaryFile(/tmp/multipartBody4808042928934334615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606013883,"filename":"image_23012025_05_18_03_125749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ec335e0c2a65e16f3b0a36140f8fa2e.jpg","text":"TemporaryFile(/tmp/multipartBody3107946839477452832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606013883,"filename":"image_23012025_05_18_03_125749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ccea2d9a52d457a45b990c19762b23c1.jpg","text":"TemporaryFile(/tmp/multipartBody4527252000094647209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606013883,"filename":"image_23012025_05_17_02_567929_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330749711","file1":"1330749708","file0":"1330749704","file3":"1330749713"},"map_files_photo_id_array":[{"photo_id":"1330749711","filename":"file2"},{"photo_id":"1330749708","filename":"file1"},{"photo_id":"1330749704","filename":"file0"},{"photo_id":"1330749713","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330749708":["hashtag1","hashtag2"]},{"1330749711":["hashtag1","hashtag2"]},{"1330749713":["hashtag1","hashtag2"]},{"1330749704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330749708, 1330749711, 1330749713, 1330749704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51927137374878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:20:03.081186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/18/image_23012025_05_18_03_125749_0003.jpg', '/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_02_745832_0000.jpg', '/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_02_745832_0001.jpg', '/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_02_745832_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/18/image_23012025_05_18_03_125749_0003.jpg
/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_02_745832_0000.jpg
/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_02_745832_0001.jpg
/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_02_745832_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330749730","1330749741","1330749737","1330749733"],"photo_ids_order":["1330749730","1330749733","1330749737","1330749741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6dbd7172cd57a522d9bb3bcf7ef5c1cd.jpg","text":"TemporaryFile(/tmp/multipartBody2186229610049254866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606074382,"filename":"image_23012025_05_18_03_125749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e978bbb6de8b93a60190ae63bbaef6c0.jpg","text":"TemporaryFile(/tmp/multipartBody2386783502537251127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606074382,"filename":"image_23012025_05_19_02_745832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1327cd2e1e9d1be3c2a1666e8f631ba.jpg","text":"TemporaryFile(/tmp/multipartBody446320488663380218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606074382,"filename":"image_23012025_05_19_02_745832_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/226ef1a02c1c788fbe88c9f37b3d4510.jpg","text":"TemporaryFile(/tmp/multipartBody2298737835381443507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606074382,"filename":"image_23012025_05_19_02_745832_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330749737","file1":"1330749733","file0":"1330749730","file3":"1330749741"},"map_files_photo_id_array":[{"photo_id":"1330749737","filename":"file2"},{"photo_id":"1330749733","filename":"file1"},{"photo_id":"1330749730","filename":"file0"},{"photo_id":"1330749741","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330749730":["hashtag1","hashtag2"]},{"1330749741":["hashtag1","hashtag2"]},{"1330749737":["hashtag1","hashtag2"]},{"1330749733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330749730, 1330749741, 1330749737, 1330749733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.968403816223145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:21:02.731676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_02_745832_0003.jpg', '/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_02_294150_0000.jpg', '/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_02_294150_0001.jpg', '/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_02_294150_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_02_745832_0003.jpg
/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_02_294150_0000.jpg
/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_02_294150_0001.jpg
/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_02_294150_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.907357692718506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:21:22.176270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_02_745832_0003.jpg', '/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_02_294150_0000.jpg', '/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_02_294150_0001.jpg', '/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_02_294150_0002.jpg', '/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_02_294150_0003.jpg', '/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_03_019518_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_02_745832_0003.jpg
/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_02_294150_0000.jpg
/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_02_294150_0001.jpg
/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_02_294150_0002.jpg
/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_02_294150_0003.jpg
/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_03_019518_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330749778","1330749772","1330749766","1330749781","1330749775","1330749769"],"photo_ids_order":["1330749766","1330749769","1330749772","1330749775","1330749778","1330749781"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38b533eb1d85fd34b35083fa1f2eb7b7.jpg","text":"TemporaryFile(/tmp/multipartBody3428368327645677027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606158620,"filename":"image_23012025_05_20_02_294150_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc3c5c1d742f15a127cda4796ace4565.jpg","text":"TemporaryFile(/tmp/multipartBody3803192704932336176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606158620,"filename":"image_23012025_05_20_02_294150_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c61b2b2e08cbf458ac73032f0ce2f685.jpg","text":"TemporaryFile(/tmp/multipartBody3712274778061141131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606158620,"filename":"image_23012025_05_19_02_745832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1cad637f70ba6d9ee697bdfa520644bb.jpg","text":"TemporaryFile(/tmp/multipartBody2442015962788738119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606158620,"filename":"image_23012025_05_21_03_019518_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d802ab72fcb924068117b6a9f66fe9e1.jpg","text":"TemporaryFile(/tmp/multipartBody1458594483238587751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606158620,"filename":"image_23012025_05_20_02_294150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d7edbe823e8db221e3c2637514ea8e0.jpg","text":"TemporaryFile(/tmp/multipartBody6909794452626421253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606158620,"filename":"image_23012025_05_20_02_294150_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330749772","file1":"1330749769","file0":"1330749766","file4":"1330749778","file5":"1330749781","file3":"1330749775"},"map_files_photo_id_array":[{"photo_id":"1330749781","filename":"file5"},{"photo_id":"1330749772","filename":"file2"},{"photo_id":"1330749778","filename":"file4"},{"photo_id":"1330749769","filename":"file1"},{"photo_id":"1330749766","filename":"file0"},{"photo_id":"1330749775","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330749778":["hashtag1","hashtag2"]},{"1330749772":["hashtag1","hashtag2"]},{"1330749766":["hashtag1","hashtag2"]},{"1330749781":["hashtag1","hashtag2"]},{"1330749775":["hashtag1","hashtag2"]},{"1330749769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330749778, 1330749772, 1330749766, 1330749781, 1330749775, 1330749769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.310962200164795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:22:21.838366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_03_019518_0001.jpg', '/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_03_019518_0002.jpg', '/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_03_019518_0003.jpg', '/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_02_516259_0000.jpg', '/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_02_516259_0001.jpg', '/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_02_516259_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_03_019518_0001.jpg
/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_03_019518_0002.jpg
/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_03_019518_0003.jpg
/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_02_516259_0000.jpg
/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_02_516259_0001.jpg
/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_02_516259_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330749805","1330749792","1330749816","1330749812","1330749809","1330749799"],"photo_ids_order":["1330749792","1330749799","1330749805","1330749809","1330749812","1330749816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e735b372242eac533bc5cdb7a369d4b6.jpg","text":"TemporaryFile(/tmp/multipartBody1332368383338424962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606218952,"filename":"image_23012025_05_21_03_019518_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39822bc40fe6358f66a731cf743f2835.jpg","text":"TemporaryFile(/tmp/multipartBody3209758168801138655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606218952,"filename":"image_23012025_05_21_03_019518_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51be0738e55d8ba6dda0ab740308c2ff.jpg","text":"TemporaryFile(/tmp/multipartBody5492142390624203785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606218952,"filename":"image_23012025_05_22_02_516259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4058df93b78703a1fe21bbf8bafe2ccf.jpg","text":"TemporaryFile(/tmp/multipartBody7201953956074073752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606218952,"filename":"image_23012025_05_22_02_516259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e478c5082da467bf389da6cbb7af7df7.jpg","text":"TemporaryFile(/tmp/multipartBody3203052524112187744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606218952,"filename":"image_23012025_05_22_02_516259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56054455b77f3bab40dcd1dcfb6644d7.jpg","text":"TemporaryFile(/tmp/multipartBody9111389275717724329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606218952,"filename":"image_23012025_05_21_03_019518_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330749805","file1":"1330749799","file0":"1330749792","file4":"1330749812","file5":"1330749816","file3":"1330749809"},"map_files_photo_id_array":[{"photo_id":"1330749816","filename":"file5"},{"photo_id":"1330749805","filename":"file2"},{"photo_id":"1330749812","filename":"file4"},{"photo_id":"1330749799","filename":"file1"},{"photo_id":"1330749792","filename":"file0"},{"photo_id":"1330749809","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330749805":["hashtag1","hashtag2"]},{"1330749792":["hashtag1","hashtag2"]},{"1330749816":["hashtag1","hashtag2"]},{"1330749812":["hashtag1","hashtag2"]},{"1330749809":["hashtag1","hashtag2"]},{"1330749799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330749805, 1330749792, 1330749816, 1330749812, 1330749809, 1330749799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.43974852561951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:24:02.272324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_02_516259_0003.jpg', '/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_02_183198_0000.jpg', '/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_02_183198_0001.jpg', '/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_02_183198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_02_516259_0003.jpg
/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_02_183198_0000.jpg
/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_02_183198_0001.jpg
/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_02_183198_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.945747137069702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:24:21.830266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_02_516259_0003.jpg', '/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_02_183198_0000.jpg', '/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_02_183198_0001.jpg', '/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_02_183198_0002.jpg', '/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_02_183198_0003.jpg', '/home/pi/Desktop/images/23012025/05/24/image_23012025_05_24_02_680484_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_02_516259_0003.jpg
/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_02_183198_0000.jpg
/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_02_183198_0001.jpg
/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_02_183198_0002.jpg
/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_02_183198_0003.jpg
/home/pi/Desktop/images/23012025/05/24/image_23012025_05_24_02_680484_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":["1330750127","1330750069","1330750108","1330750095","1330750050","1330750110"],"photo_ids_order":["1330750050","1330750069","1330750095","1330750108","1330750110","1330750127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7799589e1cdc5da964416db6bb979088.jpg","text":"TemporaryFile(/tmp/multipartBody233637936991053739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606338470,"filename":"image_23012025_05_24_02_680484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ea43e8ea248eb4984a06f5481db042c.jpg","text":"TemporaryFile(/tmp/multipartBody2481186333587968736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606338470,"filename":"image_23012025_05_23_02_183198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a1af54519917d9b8ff98a961964e492.jpg","text":"TemporaryFile(/tmp/multipartBody2761309030815646697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606338470,"filename":"image_23012025_05_23_02_183198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/418d6723f9ac962266dfbc47e6712b2b.jpg","text":"TemporaryFile(/tmp/multipartBody4231703175590269758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606338470,"filename":"image_23012025_05_23_02_183198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/312ca1b2236f8a8043b75cf07ace4762.jpg","text":"TemporaryFile(/tmp/multipartBody8571583193906146403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606338470,"filename":"image_23012025_05_22_02_516259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbb99f05d62c1733c2f9716f448795f9.jpg","text":"TemporaryFile(/tmp/multipartBody9183427331013198597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606338470,"filename":"image_23012025_05_23_02_183198_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330750095","file1":"1330750069","file0":"1330750050","file4":"1330750110","file5":"1330750127","file3":"1330750108"},"map_files_photo_id_array":[{"photo_id":"1330750127","filename":"file5"},{"photo_id":"1330750095","filename":"file2"},{"photo_id":"1330750110","filename":"file4"},{"photo_id":"1330750069","filename":"file1"},{"photo_id":"1330750050","filename":"file0"},{"photo_id":"1330750108","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330750127":["hashtag1","hashtag2"]},{"1330750069":["hashtag1","hashtag2"]},{"1330750108":["hashtag1","hashtag2"]},{"1330750095":["hashtag1","hashtag2"]},{"1330750050":["hashtag1","hashtag2"]},{"1330750110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330750127, 1330750069, 1330750108, 1330750095, 1330750050, 1330750110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.94915056228638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:26:02.238497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/24/image_23012025_05_24_02_680484_0001.jpg', '/home/pi/Desktop/images/23012025/05/24/image_23012025_05_24_02_680484_0002.jpg', '/home/pi/Desktop/images/23012025/05/24/image_23012025_05_24_02_680484_0003.jpg', '/home/pi/Desktop/images/23012025/05/25/image_23012025_05_25_02_173354_0000.jpg', '/home/pi/Desktop/images/23012025/05/25/image_23012025_05_25_02_173354_0001.jpg', '/home/pi/Desktop/images/23012025/05/25/image_23012025_05_25_02_173354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/24/image_23012025_05_24_02_680484_0001.jpg
/home/pi/Desktop/images/23012025/05/24/image_23012025_05_24_02_680484_0002.jpg
/home/pi/Desktop/images/23012025/05/24/image_23012025_05_24_02_680484_0003.jpg
/home/pi/Desktop/images/23012025/05/25/image_23012025_05_25_02_173354_0000.jpg
/home/pi/Desktop/images/23012025/05/25/image_23012025_05_25_02_173354_0001.jpg
/home/pi/Desktop/images/23012025/05/25/image_23012025_05_25_02_173354_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330750624","1330750609","1330750590","1330750619","1330750532","1330750613"],"photo_ids_order":["1330750532","1330750590","1330750609","1330750613","1330750619","1330750624"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4437713138fff0620c23c9fa75f4ac26.jpg","text":"TemporaryFile(/tmp/multipartBody6098266250359031399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606438609,"filename":"image_23012025_05_25_02_173354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68be8579e1c474ff399105f555c94cd5.jpg","text":"TemporaryFile(/tmp/multipartBody3590875634098606154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606438609,"filename":"image_23012025_05_24_02_680484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95d641ba0b86bcd8e0a6e7c7530a1045.jpg","text":"TemporaryFile(/tmp/multipartBody5504179995880143217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606438609,"filename":"image_23012025_05_24_02_680484_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7408a92cb09110a471264c84384be12f.jpg","text":"TemporaryFile(/tmp/multipartBody3026630211748806231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606438609,"filename":"image_23012025_05_25_02_173354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/017f7c70e10bac2998a6e3541ba9a196.jpg","text":"TemporaryFile(/tmp/multipartBody6734072208742583627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606438609,"filename":"image_23012025_05_24_02_680484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcfe5804442a5ccc4b7222a8964e5b55.jpg","text":"TemporaryFile(/tmp/multipartBody6133807662021971712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606438609,"filename":"image_23012025_05_25_02_173354_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330750609","file1":"1330750590","file0":"1330750532","file4":"1330750619","file5":"1330750624","file3":"1330750613"},"map_files_photo_id_array":[{"photo_id":"1330750624","filename":"file5"},{"photo_id":"1330750609","filename":"file2"},{"photo_id":"1330750619","filename":"file4"},{"photo_id":"1330750590","filename":"file1"},{"photo_id":"1330750532","filename":"file0"},{"photo_id":"1330750613","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330750624":["hashtag1","hashtag2"]},{"1330750609":["hashtag1","hashtag2"]},{"1330750590":["hashtag1","hashtag2"]},{"1330750619":["hashtag1","hashtag2"]},{"1330750532":["hashtag1","hashtag2"]},{"1330750613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330750624, 1330750609, 1330750590, 1330750619, 1330750532, 1330750613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.41433382034302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:27:22.278698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/25/image_23012025_05_25_02_173354_0003.jpg', '/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_02_706074_0000.jpg', '/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_02_706074_0001.jpg', '/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_02_706074_0002.jpg', '/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_02_706074_0003.jpg', '/home/pi/Desktop/images/23012025/05/27/image_23012025_05_27_02_201171_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/25/image_23012025_05_25_02_173354_0003.jpg
/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_02_706074_0000.jpg
/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_02_706074_0001.jpg
/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_02_706074_0002.jpg
/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_02_706074_0003.jpg
/home/pi/Desktop/images/23012025/05/27/image_23012025_05_27_02_201171_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330750695","1330750698","1330750754","1330750748","1330750721","1330750751"],"photo_ids_order":["1330750695","1330750698","1330750721","1330750748","1330750751","1330750754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7ba120bd22ca840c46519db7bdf6235.jpg","text":"TemporaryFile(/tmp/multipartBody8140823872726959128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606518586,"filename":"image_23012025_05_25_02_173354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a7ec8c5f722c5070415eb3515b3681e.jpg","text":"TemporaryFile(/tmp/multipartBody8246393921163234159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606518586,"filename":"image_23012025_05_26_02_706074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9e0da8fc043049ce3cafd68b48a034f.jpg","text":"TemporaryFile(/tmp/multipartBody299354860053143490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606518586,"filename":"image_23012025_05_27_02_201171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ef5a65eb51d978b8a2382b78f94f14d.jpg","text":"TemporaryFile(/tmp/multipartBody8151070514006617587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606518586,"filename":"image_23012025_05_26_02_706074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff8ed20578d8c53100b7f7e66dc2f557.jpg","text":"TemporaryFile(/tmp/multipartBody1112467785809537942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606518586,"filename":"image_23012025_05_26_02_706074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ec8a38f9da07934ce03de379353fdc3.jpg","text":"TemporaryFile(/tmp/multipartBody7095152825130766847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606518586,"filename":"image_23012025_05_26_02_706074_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330750721","file1":"1330750698","file0":"1330750695","file4":"1330750751","file5":"1330750754","file3":"1330750748"},"map_files_photo_id_array":[{"photo_id":"1330750754","filename":"file5"},{"photo_id":"1330750721","filename":"file2"},{"photo_id":"1330750751","filename":"file4"},{"photo_id":"1330750698","filename":"file1"},{"photo_id":"1330750695","filename":"file0"},{"photo_id":"1330750748","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330750695":["hashtag1","hashtag2"]},{"1330750698":["hashtag1","hashtag2"]},{"1330750754":["hashtag1","hashtag2"]},{"1330750748":["hashtag1","hashtag2"]},{"1330750721":["hashtag1","hashtag2"]},{"1330750751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330750695, 1330750698, 1330750754, 1330750748, 1330750721, 1330750751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.05787706375122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:28:22.348333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/27/image_23012025_05_27_02_201171_0001.jpg', '/home/pi/Desktop/images/23012025/05/27/image_23012025_05_27_02_201171_0002.jpg', '/home/pi/Desktop/images/23012025/05/27/image_23012025_05_27_02_201171_0003.jpg', '/home/pi/Desktop/images/23012025/05/28/image_23012025_05_28_02_702461_0000.jpg', '/home/pi/Desktop/images/23012025/05/28/image_23012025_05_28_02_702461_0001.jpg', '/home/pi/Desktop/images/23012025/05/28/image_23012025_05_28_02_702461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/27/image_23012025_05_27_02_201171_0001.jpg
/home/pi/Desktop/images/23012025/05/27/image_23012025_05_27_02_201171_0002.jpg
/home/pi/Desktop/images/23012025/05/27/image_23012025_05_27_02_201171_0003.jpg
/home/pi/Desktop/images/23012025/05/28/image_23012025_05_28_02_702461_0000.jpg
/home/pi/Desktop/images/23012025/05/28/image_23012025_05_28_02_702461_0001.jpg
/home/pi/Desktop/images/23012025/05/28/image_23012025_05_28_02_702461_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330750798","1330750786","1330750782","1330750779","1330750790","1330750775"],"photo_ids_order":["1330750775","1330750779","1330750782","1330750786","1330750790","1330750798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6168ca8009152d5c45ffda7cd8d7d73.jpg","text":"TemporaryFile(/tmp/multipartBody1683850677563717358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606578505,"filename":"image_23012025_05_28_02_702461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3babd95a723ce50342a30dd6227e803.jpg","text":"TemporaryFile(/tmp/multipartBody3557762163112171073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606578505,"filename":"image_23012025_05_28_02_702461_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a90661bcdb02f4a837f5a83b4edcb619.jpg","text":"TemporaryFile(/tmp/multipartBody5828817052862130462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606578505,"filename":"image_23012025_05_27_02_201171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2903d456b53b4aae626936d0b9a31d69.jpg","text":"TemporaryFile(/tmp/multipartBody5177320046282266671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606578505,"filename":"image_23012025_05_27_02_201171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7531cb0758ab62764f549dbfe4bad61f.jpg","text":"TemporaryFile(/tmp/multipartBody1127244248525207558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606578505,"filename":"image_23012025_05_28_02_702461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0dfb88d360fad45cc7bdbdd13696b6c.jpg","text":"TemporaryFile(/tmp/multipartBody5412822707588265539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606578505,"filename":"image_23012025_05_27_02_201171_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330750782","file1":"1330750779","file0":"1330750775","file4":"1330750790","file5":"1330750798","file3":"1330750786"},"map_files_photo_id_array":[{"photo_id":"1330750798","filename":"file5"},{"photo_id":"1330750782","filename":"file2"},{"photo_id":"1330750790","filename":"file4"},{"photo_id":"1330750779","filename":"file1"},{"photo_id":"1330750775","filename":"file0"},{"photo_id":"1330750786","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330750798":["hashtag1","hashtag2"]},{"1330750786":["hashtag1","hashtag2"]},{"1330750782":["hashtag1","hashtag2"]},{"1330750779":["hashtag1","hashtag2"]},{"1330750790":["hashtag1","hashtag2"]},{"1330750775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330750798, 1330750786, 1330750782, 1330750779, 1330750790, 1330750775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.7801353931427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:29:21.723621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/28/image_23012025_05_28_02_702461_0003.jpg', '/home/pi/Desktop/images/23012025/05/29/image_23012025_05_29_02_652775_0000.jpg', '/home/pi/Desktop/images/23012025/05/29/image_23012025_05_29_02_652775_0001.jpg', '/home/pi/Desktop/images/23012025/05/29/image_23012025_05_29_02_652775_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/28/image_23012025_05_28_02_702461_0003.jpg
/home/pi/Desktop/images/23012025/05/29/image_23012025_05_29_02_652775_0000.jpg
/home/pi/Desktop/images/23012025/05/29/image_23012025_05_29_02_652775_0001.jpg
/home/pi/Desktop/images/23012025/05/29/image_23012025_05_29_02_652775_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330750828","1330750824","1330750833","1330750821"],"photo_ids_order":["1330750821","1330750824","1330750828","1330750833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27e6efdd5868a8ba4f8a50ab5cfb1162.jpg","text":"TemporaryFile(/tmp/multipartBody6388858393405400673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606633193,"filename":"image_23012025_05_29_02_652775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49b99467452bea35c338b8d623437b5e.jpg","text":"TemporaryFile(/tmp/multipartBody2728148012461759222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606633193,"filename":"image_23012025_05_29_02_652775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25e0f08a21e380a6779c8d545ab57443.jpg","text":"TemporaryFile(/tmp/multipartBody5857168026565835313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606633193,"filename":"image_23012025_05_29_02_652775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ccc2a86266ac6839c9d455ef57a5a816.jpg","text":"TemporaryFile(/tmp/multipartBody7134985239509680059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606633193,"filename":"image_23012025_05_28_02_702461_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330750828","file1":"1330750824","file0":"1330750821","file3":"1330750833"},"map_files_photo_id_array":[{"photo_id":"1330750828","filename":"file2"},{"photo_id":"1330750824","filename":"file1"},{"photo_id":"1330750821","filename":"file0"},{"photo_id":"1330750833","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330750828":["hashtag1","hashtag2"]},{"1330750824":["hashtag1","hashtag2"]},{"1330750833":["hashtag1","hashtag2"]},{"1330750821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330750828, 1330750824, 1330750833, 1330750821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20788359642029 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:30:22.233809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/29/image_23012025_05_29_02_652775_0003.jpg', '/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0000.jpg', '/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0001.jpg', '/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/29/image_23012025_05_29_02_652775_0003.jpg
/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0000.jpg
/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0001.jpg
/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.781826734542847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:31:02.507251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/29/image_23012025_05_29_02_652775_0003.jpg', '/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0000.jpg', '/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0001.jpg', '/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/29/image_23012025_05_29_02_652775_0003.jpg
/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0000.jpg
/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0001.jpg
/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330751037","1330751031","1330751039","1330751027"],"photo_ids_order":["1330751027","1330751031","1330751037","1330751039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f498fa190b22d1ebdc1c005b5d31636.jpg","text":"TemporaryFile(/tmp/multipartBody171182550122919054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606733705,"filename":"image_23012025_05_30_02_149435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7899838242dc9cefa25149e43d198f8.jpg","text":"TemporaryFile(/tmp/multipartBody7627066118156994219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606733705,"filename":"image_23012025_05_30_02_149435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a98ff3006b6c24bb37807fa8724ea140.jpg","text":"TemporaryFile(/tmp/multipartBody3326684412051359643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606733705,"filename":"image_23012025_05_30_02_149435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7741f492f83e9ae0038838622ef908f8.jpg","text":"TemporaryFile(/tmp/multipartBody40387168443971620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606733705,"filename":"image_23012025_05_29_02_652775_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330751037","file1":"1330751031","file0":"1330751027","file3":"1330751039"},"map_files_photo_id_array":[{"photo_id":"1330751037","filename":"file2"},{"photo_id":"1330751031","filename":"file1"},{"photo_id":"1330751027","filename":"file0"},{"photo_id":"1330751039","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330751037":["hashtag1","hashtag2"]},{"1330751031":["hashtag1","hashtag2"]},{"1330751039":["hashtag1","hashtag2"]},{"1330751027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330751037, 1330751031, 1330751039, 1330751027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.15749931335449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:32:02.762642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0003.jpg', '/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_02_650703_0000.jpg', '/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_02_650703_0001.jpg', '/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_02_650703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0003.jpg
/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_02_650703_0000.jpg
/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_02_650703_0001.jpg
/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_02_650703_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.517506837844849 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:32:22.433561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0003.jpg', '/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_02_650703_0000.jpg', '/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_02_650703_0001.jpg', '/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_02_650703_0002.jpg', '/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_02_650703_0003.jpg', '/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_02_209643_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_02_149435_0003.jpg
/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_02_650703_0000.jpg
/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_02_650703_0001.jpg
/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_02_650703_0002.jpg
/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_02_650703_0003.jpg
/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_02_209643_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":["1330751110","1330751116","1330751154","1330751130","1330751159","1330751102"],"photo_ids_order":["1330751102","1330751110","1330751116","1330751130","1330751154","1330751159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1214da2ff892765919faa97435ce90cc.jpg","text":"TemporaryFile(/tmp/multipartBody2228537065998149603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606819126,"filename":"image_23012025_05_31_02_650703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cfa159afc88ccc1ee9a6c64751f1963.jpg","text":"TemporaryFile(/tmp/multipartBody572287359669015379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606819126,"filename":"image_23012025_05_31_02_650703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/954e1441d9352b42b5cdf5a3724a04d8.jpg","text":"TemporaryFile(/tmp/multipartBody8200405356244092655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606819126,"filename":"image_23012025_05_31_02_650703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9e2c3bddb0fc2a1a4c5b1f26d2b6c7e.jpg","text":"TemporaryFile(/tmp/multipartBody1260986007009294158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606819126,"filename":"image_23012025_05_31_02_650703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d51c194c2e4e709c613370d98fbd401a.jpg","text":"TemporaryFile(/tmp/multipartBody4414271847084265816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606819126,"filename":"image_23012025_05_32_02_209643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3053f796ceb1224a12097e9b7dda1c8.jpg","text":"TemporaryFile(/tmp/multipartBody4691013627739482500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606819126,"filename":"image_23012025_05_30_02_149435_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330751116","file1":"1330751110","file0":"1330751102","file4":"1330751154","file5":"1330751159","file3":"1330751130"},"map_files_photo_id_array":[{"photo_id":"1330751159","filename":"file5"},{"photo_id":"1330751116","filename":"file2"},{"photo_id":"1330751154","filename":"file4"},{"photo_id":"1330751110","filename":"file1"},{"photo_id":"1330751102","filename":"file0"},{"photo_id":"1330751130","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330751110":["hashtag1","hashtag2"]},{"1330751116":["hashtag1","hashtag2"]},{"1330751154":["hashtag1","hashtag2"]},{"1330751130":["hashtag1","hashtag2"]},{"1330751159":["hashtag1","hashtag2"]},{"1330751102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330751110, 1330751116, 1330751154, 1330751130, 1330751159, 1330751102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.76473259925842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:34:02.991196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_02_209643_0001.jpg', '/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_02_209643_0002.jpg', '/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_02_209643_0003.jpg', '/home/pi/Desktop/images/23012025/05/33/image_23012025_05_33_02_865296_0000.jpg', '/home/pi/Desktop/images/23012025/05/33/image_23012025_05_33_02_865296_0001.jpg', '/home/pi/Desktop/images/23012025/05/33/image_23012025_05_33_02_865296_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_02_209643_0001.jpg
/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_02_209643_0002.jpg
/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_02_209643_0003.jpg
/home/pi/Desktop/images/23012025/05/33/image_23012025_05_33_02_865296_0000.jpg
/home/pi/Desktop/images/23012025/05/33/image_23012025_05_33_02_865296_0001.jpg
/home/pi/Desktop/images/23012025/05/33/image_23012025_05_33_02_865296_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330751305","1330751301","1330751276","1330751312","1330751315","1330751303"],"photo_ids_order":["1330751276","1330751301","1330751303","1330751305","1330751312","1330751315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1339e34b639b956c0c266aaf60092ac.jpg","text":"TemporaryFile(/tmp/multipartBody6134828297152816228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606919822,"filename":"image_23012025_05_33_02_865296_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/208c0b2ef5a3acdae169895bddacd29a.jpg","text":"TemporaryFile(/tmp/multipartBody4939569093937230902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606919822,"filename":"image_23012025_05_32_02_209643_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/295860a7a8f2ef951f799e079b8e819a.jpg","text":"TemporaryFile(/tmp/multipartBody3537872821609031894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606919822,"filename":"image_23012025_05_32_02_209643_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b627bda71a958b7b3b028ef227603d6.jpg","text":"TemporaryFile(/tmp/multipartBody535905168565122312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606919822,"filename":"image_23012025_05_33_02_865296_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c1260cccf04e5001dd31a74473f3827.jpg","text":"TemporaryFile(/tmp/multipartBody5535264855857943712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606919822,"filename":"image_23012025_05_33_02_865296_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42f7a3b4b8eb8945c06c884803bd9f62.jpg","text":"TemporaryFile(/tmp/multipartBody3251645592068505214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606919822,"filename":"image_23012025_05_32_02_209643_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330751303","file1":"1330751301","file0":"1330751276","file4":"1330751312","file5":"1330751315","file3":"1330751305"},"map_files_photo_id_array":[{"photo_id":"1330751315","filename":"file5"},{"photo_id":"1330751303","filename":"file2"},{"photo_id":"1330751312","filename":"file4"},{"photo_id":"1330751301","filename":"file1"},{"photo_id":"1330751276","filename":"file0"},{"photo_id":"1330751305","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330751305":["hashtag1","hashtag2"]},{"1330751301":["hashtag1","hashtag2"]},{"1330751276":["hashtag1","hashtag2"]},{"1330751312":["hashtag1","hashtag2"]},{"1330751315":["hashtag1","hashtag2"]},{"1330751303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330751305, 1330751301, 1330751276, 1330751312, 1330751315, 1330751303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.66522002220154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:35:02.552169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/33/image_23012025_05_33_02_865296_0003.jpg', '/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_02_357001_0000.jpg', '/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_02_357001_0001.jpg', '/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_02_357001_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/33/image_23012025_05_33_02_865296_0003.jpg
/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_02_357001_0000.jpg
/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_02_357001_0001.jpg
/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_02_357001_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330751350","1330751352","1330751342","1330751347"],"photo_ids_order":["1330751342","1330751347","1330751350","1330751352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2dc7869a9827339c9a59d4ca13d0b7d7.jpg","text":"TemporaryFile(/tmp/multipartBody1691303609067515467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606974025,"filename":"image_23012025_05_34_02_357001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e436e041b2d95d7a239bec2403a6f54.jpg","text":"TemporaryFile(/tmp/multipartBody474218341407022618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606974025,"filename":"image_23012025_05_34_02_357001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92e621c8f5ea75602f79687a40ec8103.jpg","text":"TemporaryFile(/tmp/multipartBody6782634336182797969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606974025,"filename":"image_23012025_05_33_02_865296_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3938acc83f4f85e734a88dd79e5b0a4d.jpg","text":"TemporaryFile(/tmp/multipartBody197010252264490279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606974025,"filename":"image_23012025_05_34_02_357001_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330751350","file1":"1330751347","file0":"1330751342","file3":"1330751352"},"map_files_photo_id_array":[{"photo_id":"1330751350","filename":"file2"},{"photo_id":"1330751347","filename":"file1"},{"photo_id":"1330751342","filename":"file0"},{"photo_id":"1330751352","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330751350":["hashtag1","hashtag2"]},{"1330751352":["hashtag1","hashtag2"]},{"1330751342":["hashtag1","hashtag2"]},{"1330751347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330751350, 1330751352, 1330751342, 1330751347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.70644497871399 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:36:03.008517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_02_357001_0003.jpg', '/home/pi/Desktop/images/23012025/05/35/image_23012025_05_35_02_833111_0000.jpg', '/home/pi/Desktop/images/23012025/05/35/image_23012025_05_35_02_833111_0001.jpg', '/home/pi/Desktop/images/23012025/05/35/image_23012025_05_35_02_833111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_02_357001_0003.jpg
/home/pi/Desktop/images/23012025/05/35/image_23012025_05_35_02_833111_0000.jpg
/home/pi/Desktop/images/23012025/05/35/image_23012025_05_35_02_833111_0001.jpg
/home/pi/Desktop/images/23012025/05/35/image_23012025_05_35_02_833111_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330751362","1330751372","1330751375","1330751368"],"photo_ids_order":["1330751362","1330751368","1330751372","1330751375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e26b40a43bf12e4a9f2f70aad2c8f456.jpg","text":"TemporaryFile(/tmp/multipartBody7558534056449764917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607034471,"filename":"image_23012025_05_34_02_357001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/048ccb8fe56dfde17104ba0fb67f1ac3.jpg","text":"TemporaryFile(/tmp/multipartBody6376769958064060312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607034471,"filename":"image_23012025_05_35_02_833111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1515dd9e5cb0a1eb195da3d6ebab695c.jpg","text":"TemporaryFile(/tmp/multipartBody3343616949041497716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607034471,"filename":"image_23012025_05_35_02_833111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28ec7b2afd0f2ef2b86c0521f946753b.jpg","text":"TemporaryFile(/tmp/multipartBody2638018671590851156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607034471,"filename":"image_23012025_05_35_02_833111_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330751372","file1":"1330751368","file0":"1330751362","file3":"1330751375"},"map_files_photo_id_array":[{"photo_id":"1330751372","filename":"file2"},{"photo_id":"1330751368","filename":"file1"},{"photo_id":"1330751362","filename":"file0"},{"photo_id":"1330751375","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330751362":["hashtag1","hashtag2"]},{"1330751372":["hashtag1","hashtag2"]},{"1330751375":["hashtag1","hashtag2"]},{"1330751368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330751362, 1330751372, 1330751375, 1330751368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.16882276535034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:37:02.656182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/35/image_23012025_05_35_02_833111_0003.jpg', '/home/pi/Desktop/images/23012025/05/36/image_23012025_05_36_02_381528_0000.jpg', '/home/pi/Desktop/images/23012025/05/36/image_23012025_05_36_02_381528_0001.jpg', '/home/pi/Desktop/images/23012025/05/36/image_23012025_05_36_02_381528_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/35/image_23012025_05_35_02_833111_0003.jpg
/home/pi/Desktop/images/23012025/05/36/image_23012025_05_36_02_381528_0000.jpg
/home/pi/Desktop/images/23012025/05/36/image_23012025_05_36_02_381528_0001.jpg
/home/pi/Desktop/images/23012025/05/36/image_23012025_05_36_02_381528_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330751394","1330751387","1330751392","1330751389"],"photo_ids_order":["1330751387","1330751389","1330751392","1330751394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/977920bed489bc074a1b96b593bef1a7.jpg","text":"TemporaryFile(/tmp/multipartBody4904380425928876371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607094033,"filename":"image_23012025_05_36_02_381528_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca51519f3e8ece3b5b83876bac75ffb4.jpg","text":"TemporaryFile(/tmp/multipartBody7244876058387984154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607094033,"filename":"image_23012025_05_35_02_833111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e423aaa10f084432121caf76262483c1.jpg","text":"TemporaryFile(/tmp/multipartBody7788897969488229137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607094033,"filename":"image_23012025_05_36_02_381528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1552e08a74b10893d87c73fa62b1e469.jpg","text":"TemporaryFile(/tmp/multipartBody2227798256937977972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607094033,"filename":"image_23012025_05_36_02_381528_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330751392","file1":"1330751389","file0":"1330751387","file3":"1330751394"},"map_files_photo_id_array":[{"photo_id":"1330751392","filename":"file2"},{"photo_id":"1330751389","filename":"file1"},{"photo_id":"1330751387","filename":"file0"},{"photo_id":"1330751394","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330751394":["hashtag1","hashtag2"]},{"1330751387":["hashtag1","hashtag2"]},{"1330751392":["hashtag1","hashtag2"]},{"1330751389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330751394, 1330751387, 1330751392, 1330751389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.96636891365051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:38:03.171118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/36/image_23012025_05_36_02_381528_0003.jpg', '/home/pi/Desktop/images/23012025/05/37/image_23012025_05_37_02_960573_0000.jpg', '/home/pi/Desktop/images/23012025/05/37/image_23012025_05_37_02_960573_0001.jpg', '/home/pi/Desktop/images/23012025/05/37/image_23012025_05_37_02_960573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/36/image_23012025_05_36_02_381528_0003.jpg
/home/pi/Desktop/images/23012025/05/37/image_23012025_05_37_02_960573_0000.jpg
/home/pi/Desktop/images/23012025/05/37/image_23012025_05_37_02_960573_0001.jpg
/home/pi/Desktop/images/23012025/05/37/image_23012025_05_37_02_960573_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330751455","1330751535","1330751468","1330751539"],"photo_ids_order":["1330751455","1330751468","1330751535","1330751539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce1de9f590a3c510e49d733433840db5.jpg","text":"TemporaryFile(/tmp/multipartBody4212140501506583974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607154665,"filename":"image_23012025_05_36_02_381528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25b23b237cb1df8a7acda6fc022ea75c.jpg","text":"TemporaryFile(/tmp/multipartBody8799086303501895025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607154665,"filename":"image_23012025_05_37_02_960573_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c5a790e2c8df3c8c1eff71e3578b018.jpg","text":"TemporaryFile(/tmp/multipartBody5857038220488712814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607154665,"filename":"image_23012025_05_37_02_960573_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85a1f2ae73d1d3ea02b90081405b335d.jpg","text":"TemporaryFile(/tmp/multipartBody1291541054105426756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607154665,"filename":"image_23012025_05_37_02_960573_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330751535","file1":"1330751468","file0":"1330751455","file3":"1330751539"},"map_files_photo_id_array":[{"photo_id":"1330751535","filename":"file2"},{"photo_id":"1330751468","filename":"file1"},{"photo_id":"1330751455","filename":"file0"},{"photo_id":"1330751539","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330751455":["hashtag1","hashtag2"]},{"1330751535":["hashtag1","hashtag2"]},{"1330751468":["hashtag1","hashtag2"]},{"1330751539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330751455, 1330751535, 1330751468, 1330751539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98977613449097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:39:02.775201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/37/image_23012025_05_37_02_960573_0003.jpg', '/home/pi/Desktop/images/23012025/05/38/image_23012025_05_38_02_451501_0000.jpg', '/home/pi/Desktop/images/23012025/05/38/image_23012025_05_38_02_451501_0001.jpg', '/home/pi/Desktop/images/23012025/05/38/image_23012025_05_38_02_451501_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/37/image_23012025_05_37_02_960573_0003.jpg
/home/pi/Desktop/images/23012025/05/38/image_23012025_05_38_02_451501_0000.jpg
/home/pi/Desktop/images/23012025/05/38/image_23012025_05_38_02_451501_0001.jpg
/home/pi/Desktop/images/23012025/05/38/image_23012025_05_38_02_451501_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330751585","1330751579","1330751588","1330751590"],"photo_ids_order":["1330751579","1330751585","1330751588","1330751590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73253cd52c8ec2fa77bc3bccd41c5062.jpg","text":"TemporaryFile(/tmp/multipartBody3950990301250939138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607214221,"filename":"image_23012025_05_38_02_451501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82a66889f06a87aab27159875b7e3499.jpg","text":"TemporaryFile(/tmp/multipartBody5540590460671540232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607214221,"filename":"image_23012025_05_37_02_960573_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31c8666d4cf27d50cf6508f3dee90745.jpg","text":"TemporaryFile(/tmp/multipartBody7794356302998534745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607214221,"filename":"image_23012025_05_38_02_451501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea2871de6a00ea86ab356134d3cc7d97.jpg","text":"TemporaryFile(/tmp/multipartBody7237635692061310321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607214221,"filename":"image_23012025_05_38_02_451501_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330751588","file1":"1330751585","file0":"1330751579","file3":"1330751590"},"map_files_photo_id_array":[{"photo_id":"1330751588","filename":"file2"},{"photo_id":"1330751585","filename":"file1"},{"photo_id":"1330751579","filename":"file0"},{"photo_id":"1330751590","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330751585":["hashtag1","hashtag2"]},{"1330751579":["hashtag1","hashtag2"]},{"1330751588":["hashtag1","hashtag2"]},{"1330751590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330751585, 1330751579, 1330751588, 1330751590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81587553024292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:40:02.237166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/38/image_23012025_05_38_02_451501_0003.jpg', '/home/pi/Desktop/images/23012025/05/39/image_23012025_05_39_03_107627_0000.jpg', '/home/pi/Desktop/images/23012025/05/39/image_23012025_05_39_03_107627_0001.jpg', '/home/pi/Desktop/images/23012025/05/39/image_23012025_05_39_03_107627_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/38/image_23012025_05_38_02_451501_0003.jpg
/home/pi/Desktop/images/23012025/05/39/image_23012025_05_39_03_107627_0000.jpg
/home/pi/Desktop/images/23012025/05/39/image_23012025_05_39_03_107627_0001.jpg
/home/pi/Desktop/images/23012025/05/39/image_23012025_05_39_03_107627_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330752609","1330752662","1330752667","1330752358"],"photo_ids_order":["1330752358","1330752609","1330752662","1330752667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d892008441a6992e1442480c5caf32ad.jpg","text":"TemporaryFile(/tmp/multipartBody6163122329174508741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607274070,"filename":"image_23012025_05_39_03_107627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/849bb5c2c284fde2db1de5e4a346bbef.jpg","text":"TemporaryFile(/tmp/multipartBody7673971617684433774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607274070,"filename":"image_23012025_05_39_03_107627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98800a79ef7d9139d307bde997512fef.jpg","text":"TemporaryFile(/tmp/multipartBody526576530151451264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607274070,"filename":"image_23012025_05_39_03_107627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd7fece936660637bb7ab36ebdd2c52b.jpg","text":"TemporaryFile(/tmp/multipartBody5684003290199756995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607274070,"filename":"image_23012025_05_38_02_451501_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330752662","file1":"1330752609","file0":"1330752358","file3":"1330752667"},"map_files_photo_id_array":[{"photo_id":"1330752662","filename":"file2"},{"photo_id":"1330752609","filename":"file1"},{"photo_id":"1330752358","filename":"file0"},{"photo_id":"1330752667","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330752609":["hashtag1","hashtag2"]},{"1330752662":["hashtag1","hashtag2"]},{"1330752667":["hashtag1","hashtag2"]},{"1330752358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330752609, 1330752662, 1330752667, 1330752358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.9561128616333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:41:03.088745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/39/image_23012025_05_39_03_107627_0003.jpg', '/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_02_586787_0000.jpg', '/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_02_586787_0001.jpg', '/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_02_586787_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/39/image_23012025_05_39_03_107627_0003.jpg
/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_02_586787_0000.jpg
/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_02_586787_0001.jpg
/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_02_586787_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330752699","1330752717","1330752695","1330752697"],"photo_ids_order":["1330752695","1330752697","1330752699","1330752717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d801db87fafcaf6def9f6be1cf090351.jpg","text":"TemporaryFile(/tmp/multipartBody3169584787233546315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607334631,"filename":"image_23012025_05_40_02_586787_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a668be1ecc41e1e356da31f6df73ba4.jpg","text":"TemporaryFile(/tmp/multipartBody9221274834590324135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607334631,"filename":"image_23012025_05_40_02_586787_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c34717a3543a7e79bb9ef03eb691576a.jpg","text":"TemporaryFile(/tmp/multipartBody7305052487324203101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607334631,"filename":"image_23012025_05_39_03_107627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ed84aa54766930a37fe8a3a8c487c64.jpg","text":"TemporaryFile(/tmp/multipartBody5551492723127602420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607334631,"filename":"image_23012025_05_40_02_586787_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330752699","file1":"1330752697","file0":"1330752695","file3":"1330752717"},"map_files_photo_id_array":[{"photo_id":"1330752699","filename":"file2"},{"photo_id":"1330752697","filename":"file1"},{"photo_id":"1330752695","filename":"file0"},{"photo_id":"1330752717","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330752699":["hashtag1","hashtag2"]},{"1330752717":["hashtag1","hashtag2"]},{"1330752695":["hashtag1","hashtag2"]},{"1330752697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330752699, 1330752717, 1330752695, 1330752697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25331377983093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:42:02.516215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_02_586787_0003.jpg', '/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_02_335042_0000.jpg', '/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_02_335042_0001.jpg', '/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_02_335042_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_02_586787_0003.jpg
/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_02_335042_0000.jpg
/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_02_335042_0001.jpg
/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_02_335042_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330753044","1330752876","1330752761","1330753161"],"photo_ids_order":["1330752761","1330752876","1330753044","1330753161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3938cf7e6c0751ea74dbd44a8c0b4af.jpg","text":"TemporaryFile(/tmp/multipartBody7513005504530313673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607393992,"filename":"image_23012025_05_41_02_335042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4eabc3eb1ef79eedc9435b3b00d0a1d3.jpg","text":"TemporaryFile(/tmp/multipartBody1203399709579470426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607393992,"filename":"image_23012025_05_41_02_335042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb228ebebd1ec758f3627a3b88c2674a.jpg","text":"TemporaryFile(/tmp/multipartBody9222430270435442492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607393992,"filename":"image_23012025_05_40_02_586787_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcd528e1672ae9cde3522720fb44f0ff.jpg","text":"TemporaryFile(/tmp/multipartBody4670908022352411820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607393992,"filename":"image_23012025_05_41_02_335042_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330753044","file1":"1330752876","file0":"1330752761","file3":"1330753161"},"map_files_photo_id_array":[{"photo_id":"1330753044","filename":"file2"},{"photo_id":"1330752876","filename":"file1"},{"photo_id":"1330752761","filename":"file0"},{"photo_id":"1330753161","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330753044":["hashtag1","hashtag2"]},{"1330752876":["hashtag1","hashtag2"]},{"1330752761":["hashtag1","hashtag2"]},{"1330753161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330753044, 1330752876, 1330752761, 1330753161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.23360776901245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:43:03.133507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_02_335042_0003.jpg', '/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_02_867179_0000.jpg', '/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_02_867179_0001.jpg', '/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_02_867179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_02_335042_0003.jpg
/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_02_867179_0000.jpg
/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_02_867179_0001.jpg
/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_02_867179_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.30601191520691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:43:22.642484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_02_335042_0003.jpg', '/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_02_867179_0000.jpg', '/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_02_867179_0001.jpg', '/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_02_867179_0002.jpg', '/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_02_867179_0003.jpg', '/home/pi/Desktop/images/23012025/05/43/image_23012025_05_43_02_501750_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_02_335042_0003.jpg
/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_02_867179_0000.jpg
/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_02_867179_0001.jpg
/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_02_867179_0002.jpg
/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_02_867179_0003.jpg
/home/pi/Desktop/images/23012025/05/43/image_23012025_05_43_02_501750_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":["1330753434","1330753421","1330753474","1330753441","1330753444","1330753470"],"photo_ids_order":["1330753421","1330753434","1330753441","1330753444","1330753470","1330753474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22179902d30b8d397faf05c092536759.jpg","text":"TemporaryFile(/tmp/multipartBody8007839026056241347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607479612,"filename":"image_23012025_05_42_02_867179_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e86f7932f34a862375233b3a4ea1be31.jpg","text":"TemporaryFile(/tmp/multipartBody7150577071305096755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607479612,"filename":"image_23012025_05_41_02_335042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50e87aeac9231e8857fc545bd1e3f8c6.jpg","text":"TemporaryFile(/tmp/multipartBody8014225975006733550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607479612,"filename":"image_23012025_05_43_02_501750_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee0188a80f7d49109c3d9c326b085167.jpg","text":"TemporaryFile(/tmp/multipartBody2328376221908314052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607479612,"filename":"image_23012025_05_42_02_867179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c41d084a768b3d5275a39ca363f63bf5.jpg","text":"TemporaryFile(/tmp/multipartBody7711969816444319876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607479612,"filename":"image_23012025_05_42_02_867179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ad10786b3ca67ece1775a34ee29c5ea.jpg","text":"TemporaryFile(/tmp/multipartBody2398093682166689552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607479612,"filename":"image_23012025_05_42_02_867179_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330753441","file1":"1330753434","file0":"1330753421","file4":"1330753470","file5":"1330753474","file3":"1330753444"},"map_files_photo_id_array":[{"photo_id":"1330753474","filename":"file5"},{"photo_id":"1330753441","filename":"file2"},{"photo_id":"1330753470","filename":"file4"},{"photo_id":"1330753434","filename":"file1"},{"photo_id":"1330753421","filename":"file0"},{"photo_id":"1330753444","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330753434":["hashtag1","hashtag2"]},{"1330753421":["hashtag1","hashtag2"]},{"1330753474":["hashtag1","hashtag2"]},{"1330753441":["hashtag1","hashtag2"]},{"1330753444":["hashtag1","hashtag2"]},{"1330753470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330753434, 1330753421, 1330753474, 1330753441, 1330753444, 1330753470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.47360444068909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:45:03.186468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/43/image_23012025_05_43_02_501750_0001.jpg', '/home/pi/Desktop/images/23012025/05/43/image_23012025_05_43_02_501750_0002.jpg', '/home/pi/Desktop/images/23012025/05/43/image_23012025_05_43_02_501750_0003.jpg', '/home/pi/Desktop/images/23012025/05/44/image_23012025_05_44_02_984527_0000.jpg', '/home/pi/Desktop/images/23012025/05/44/image_23012025_05_44_02_984527_0001.jpg', '/home/pi/Desktop/images/23012025/05/44/image_23012025_05_44_02_984527_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/43/image_23012025_05_43_02_501750_0001.jpg
/home/pi/Desktop/images/23012025/05/43/image_23012025_05_43_02_501750_0002.jpg
/home/pi/Desktop/images/23012025/05/43/image_23012025_05_43_02_501750_0003.jpg
/home/pi/Desktop/images/23012025/05/44/image_23012025_05_44_02_984527_0000.jpg
/home/pi/Desktop/images/23012025/05/44/image_23012025_05_44_02_984527_0001.jpg
/home/pi/Desktop/images/23012025/05/44/image_23012025_05_44_02_984527_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330753556","1330753565","1330753607","1330753552","1330753549","1330753575"],"photo_ids_order":["1330753549","1330753552","1330753556","1330753565","1330753575","1330753607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2dce82d91a75639e50f8b2b511712346.jpg","text":"TemporaryFile(/tmp/multipartBody4286854897233623409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607580350,"filename":"image_23012025_05_43_02_501750_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0704ab73445168407d70b76e4533080d.jpg","text":"TemporaryFile(/tmp/multipartBody1779935073043274110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607580350,"filename":"image_23012025_05_44_02_984527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6354b3f3037d1cac194b15bd08e5f80d.jpg","text":"TemporaryFile(/tmp/multipartBody1843051506557022566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607580350,"filename":"image_23012025_05_44_02_984527_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7b553471c922506098095649915b62d.jpg","text":"TemporaryFile(/tmp/multipartBody6086275433179479243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607580350,"filename":"image_23012025_05_43_02_501750_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9b4386d0b67011528bbcff23785be23.jpg","text":"TemporaryFile(/tmp/multipartBody2239988442620173830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607580350,"filename":"image_23012025_05_43_02_501750_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f26970f9046b8ec35de8269952ab6bc0.jpg","text":"TemporaryFile(/tmp/multipartBody8494768362035506475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607580350,"filename":"image_23012025_05_44_02_984527_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330753556","file1":"1330753552","file0":"1330753549","file4":"1330753575","file5":"1330753607","file3":"1330753565"},"map_files_photo_id_array":[{"photo_id":"1330753607","filename":"file5"},{"photo_id":"1330753556","filename":"file2"},{"photo_id":"1330753575","filename":"file4"},{"photo_id":"1330753552","filename":"file1"},{"photo_id":"1330753549","filename":"file0"},{"photo_id":"1330753565","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330753556":["hashtag1","hashtag2"]},{"1330753565":["hashtag1","hashtag2"]},{"1330753607":["hashtag1","hashtag2"]},{"1330753552":["hashtag1","hashtag2"]},{"1330753549":["hashtag1","hashtag2"]},{"1330753575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330753556, 1330753565, 1330753607, 1330753552, 1330753549, 1330753575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.35273337364197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:46:22.373578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/44/image_23012025_05_44_02_984527_0003.jpg', '/home/pi/Desktop/images/23012025/05/45/image_23012025_05_45_02_550795_0000.jpg', '/home/pi/Desktop/images/23012025/05/45/image_23012025_05_45_02_550795_0001.jpg', '/home/pi/Desktop/images/23012025/05/45/image_23012025_05_45_02_550795_0002.jpg', '/home/pi/Desktop/images/23012025/05/45/image_23012025_05_45_02_550795_0003.jpg', '/home/pi/Desktop/images/23012025/05/46/image_23012025_05_46_03_058707_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/44/image_23012025_05_44_02_984527_0003.jpg
/home/pi/Desktop/images/23012025/05/45/image_23012025_05_45_02_550795_0000.jpg
/home/pi/Desktop/images/23012025/05/45/image_23012025_05_45_02_550795_0001.jpg
/home/pi/Desktop/images/23012025/05/45/image_23012025_05_45_02_550795_0002.jpg
/home/pi/Desktop/images/23012025/05/45/image_23012025_05_45_02_550795_0003.jpg
/home/pi/Desktop/images/23012025/05/46/image_23012025_05_46_03_058707_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":["1330753704","1330753730","1330753712","1330753709","1330753750","1330753735"],"photo_ids_order":["1330753704","1330753709","1330753712","1330753730","1330753735","1330753750"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4ef12700e5ac82a95aa2a502e0453b7.jpg","text":"TemporaryFile(/tmp/multipartBody3583758525554045679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607658975,"filename":"image_23012025_05_44_02_984527_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2707781cc776b35f69cab2ae66fadf1.jpg","text":"TemporaryFile(/tmp/multipartBody6896861285308217734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607658975,"filename":"image_23012025_05_45_02_550795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d56c30d194430d23811b767daabc6f97.jpg","text":"TemporaryFile(/tmp/multipartBody6973569060088452836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607658975,"filename":"image_23012025_05_45_02_550795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/abe5885c01193ac5d1a65f85d204698f.jpg","text":"TemporaryFile(/tmp/multipartBody3218083809033799548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607658975,"filename":"image_23012025_05_45_02_550795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/587b0a93ee091efff8dfc84c7b85d30a.jpg","text":"TemporaryFile(/tmp/multipartBody5146000194534759473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607658975,"filename":"image_23012025_05_46_03_058707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d7e05fa67ab8d1e9db4586cc126c971.jpg","text":"TemporaryFile(/tmp/multipartBody4865040166722642221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607658975,"filename":"image_23012025_05_45_02_550795_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330753712","file1":"1330753709","file0":"1330753704","file4":"1330753735","file5":"1330753750","file3":"1330753730"},"map_files_photo_id_array":[{"photo_id":"1330753750","filename":"file5"},{"photo_id":"1330753712","filename":"file2"},{"photo_id":"1330753735","filename":"file4"},{"photo_id":"1330753709","filename":"file1"},{"photo_id":"1330753704","filename":"file0"},{"photo_id":"1330753730","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330753704":["hashtag1","hashtag2"]},{"1330753730":["hashtag1","hashtag2"]},{"1330753712":["hashtag1","hashtag2"]},{"1330753709":["hashtag1","hashtag2"]},{"1330753750":["hashtag1","hashtag2"]},{"1330753735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330753704, 1330753730, 1330753712, 1330753709, 1330753750, 1330753735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.04273533821106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:48:02.959217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/46/image_23012025_05_46_03_058707_0001.jpg', '/home/pi/Desktop/images/23012025/05/46/image_23012025_05_46_03_058707_0002.jpg', '/home/pi/Desktop/images/23012025/05/46/image_23012025_05_46_03_058707_0003.jpg', '/home/pi/Desktop/images/23012025/05/47/image_23012025_05_47_02_701553_0000.jpg', '/home/pi/Desktop/images/23012025/05/47/image_23012025_05_47_02_701553_0001.jpg', '/home/pi/Desktop/images/23012025/05/47/image_23012025_05_47_02_701553_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/46/image_23012025_05_46_03_058707_0001.jpg
/home/pi/Desktop/images/23012025/05/46/image_23012025_05_46_03_058707_0002.jpg
/home/pi/Desktop/images/23012025/05/46/image_23012025_05_46_03_058707_0003.jpg
/home/pi/Desktop/images/23012025/05/47/image_23012025_05_47_02_701553_0000.jpg
/home/pi/Desktop/images/23012025/05/47/image_23012025_05_47_02_701553_0001.jpg
/home/pi/Desktop/images/23012025/05/47/image_23012025_05_47_02_701553_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330754540","1330754537","1330754525","1330754507","1330754443","1330754437"],"photo_ids_order":["1330754437","1330754443","1330754507","1330754525","1330754537","1330754540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/87369d4b92de3d8455349808e741b259.jpg","text":"TemporaryFile(/tmp/multipartBody4105184144349949124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607760092,"filename":"image_23012025_05_47_02_701553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbaa66d2c18442ada50687683bbd89b2.jpg","text":"TemporaryFile(/tmp/multipartBody7975414905962003133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607760092,"filename":"image_23012025_05_47_02_701553_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2290b83350e757eb12874c88d67562ed.jpg","text":"TemporaryFile(/tmp/multipartBody7195684762919485400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607760092,"filename":"image_23012025_05_47_02_701553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27459edc13684ad5e779c1064ab63604.jpg","text":"TemporaryFile(/tmp/multipartBody631954698439156143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607760092,"filename":"image_23012025_05_46_03_058707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be75c7f44434d0472fd092ba319f0e5d.jpg","text":"TemporaryFile(/tmp/multipartBody8601651059422234049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607760092,"filename":"image_23012025_05_46_03_058707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e9d0556a33ed0c03b4e09813f5f4eac.jpg","text":"TemporaryFile(/tmp/multipartBody5763500011034834118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607760092,"filename":"image_23012025_05_46_03_058707_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330754507","file1":"1330754443","file0":"1330754437","file4":"1330754537","file5":"1330754540","file3":"1330754525"},"map_files_photo_id_array":[{"photo_id":"1330754540","filename":"file5"},{"photo_id":"1330754507","filename":"file2"},{"photo_id":"1330754537","filename":"file4"},{"photo_id":"1330754443","filename":"file1"},{"photo_id":"1330754437","filename":"file0"},{"photo_id":"1330754525","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330754540":["hashtag1","hashtag2"]},{"1330754537":["hashtag1","hashtag2"]},{"1330754525":["hashtag1","hashtag2"]},{"1330754507":["hashtag1","hashtag2"]},{"1330754443":["hashtag1","hashtag2"]},{"1330754437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330754540, 1330754537, 1330754525, 1330754507, 1330754443, 1330754437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.563915967941284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:49:21.876253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/47/image_23012025_05_47_02_701553_0003.jpg', '/home/pi/Desktop/images/23012025/05/48/image_23012025_05_48_02_260336_0000.jpg', '/home/pi/Desktop/images/23012025/05/48/image_23012025_05_48_02_260336_0001.jpg', '/home/pi/Desktop/images/23012025/05/48/image_23012025_05_48_02_260336_0002.jpg', '/home/pi/Desktop/images/23012025/05/48/image_23012025_05_48_02_260336_0003.jpg', '/home/pi/Desktop/images/23012025/05/49/image_23012025_05_49_02_770888_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/47/image_23012025_05_47_02_701553_0003.jpg
/home/pi/Desktop/images/23012025/05/48/image_23012025_05_48_02_260336_0000.jpg
/home/pi/Desktop/images/23012025/05/48/image_23012025_05_48_02_260336_0001.jpg
/home/pi/Desktop/images/23012025/05/48/image_23012025_05_48_02_260336_0002.jpg
/home/pi/Desktop/images/23012025/05/48/image_23012025_05_48_02_260336_0003.jpg
/home/pi/Desktop/images/23012025/05/49/image_23012025_05_49_02_770888_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":["1330754621","1330754662","1330754659","1330754667","1330754649","1330754664"],"photo_ids_order":["1330754621","1330754649","1330754659","1330754662","1330754664","1330754667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb900b2ebf7513fa041de29074371f36.jpg","text":"TemporaryFile(/tmp/multipartBody1172995067563921189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607839057,"filename":"image_23012025_05_47_02_701553_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84c27deba6582d0ae25bc5b6c325233d.jpg","text":"TemporaryFile(/tmp/multipartBody2019078027721324210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607839057,"filename":"image_23012025_05_48_02_260336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/063dd7d5452375b42ded374d1505afae.jpg","text":"TemporaryFile(/tmp/multipartBody6102714172258992672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607839057,"filename":"image_23012025_05_48_02_260336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/456eed918469a1eb9ef72b0f7d299fcb.jpg","text":"TemporaryFile(/tmp/multipartBody1436414308896880794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607839057,"filename":"image_23012025_05_49_02_770888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d60f8081ccbcd07b3a184f3f308934d.jpg","text":"TemporaryFile(/tmp/multipartBody184442225841637726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607839057,"filename":"image_23012025_05_48_02_260336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e17606d1b8da993fb1ff2c352bd2e2a.jpg","text":"TemporaryFile(/tmp/multipartBody3960860746718840901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607839057,"filename":"image_23012025_05_48_02_260336_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330754659","file1":"1330754649","file0":"1330754621","file4":"1330754664","file5":"1330754667","file3":"1330754662"},"map_files_photo_id_array":[{"photo_id":"1330754667","filename":"file5"},{"photo_id":"1330754659","filename":"file2"},{"photo_id":"1330754664","filename":"file4"},{"photo_id":"1330754649","filename":"file1"},{"photo_id":"1330754621","filename":"file0"},{"photo_id":"1330754662","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330754621":["hashtag1","hashtag2"]},{"1330754662":["hashtag1","hashtag2"]},{"1330754659":["hashtag1","hashtag2"]},{"1330754667":["hashtag1","hashtag2"]},{"1330754649":["hashtag1","hashtag2"]},{"1330754664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330754621, 1330754662, 1330754659, 1330754667, 1330754649, 1330754664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.98495316505432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:51:02.431802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/49/image_23012025_05_49_02_770888_0001.jpg', '/home/pi/Desktop/images/23012025/05/49/image_23012025_05_49_02_770888_0002.jpg', '/home/pi/Desktop/images/23012025/05/49/image_23012025_05_49_02_770888_0003.jpg', '/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_02_255704_0000.jpg', '/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_02_255704_0001.jpg', '/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_02_255704_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/49/image_23012025_05_49_02_770888_0001.jpg
/home/pi/Desktop/images/23012025/05/49/image_23012025_05_49_02_770888_0002.jpg
/home/pi/Desktop/images/23012025/05/49/image_23012025_05_49_02_770888_0003.jpg
/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_02_255704_0000.jpg
/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_02_255704_0001.jpg
/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_02_255704_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330754776","1330754764","1330754743","1330754731","1330754745","1330754780"],"photo_ids_order":["1330754731","1330754743","1330754745","1330754764","1330754776","1330754780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a41e4d99489fba5ea47e57f9b6e215b.jpg","text":"TemporaryFile(/tmp/multipartBody1890312347482364172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607938778,"filename":"image_23012025_05_50_02_255704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2bb80a909000e84515b3fc57f2b07f8f.jpg","text":"TemporaryFile(/tmp/multipartBody3654953380458949077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607938778,"filename":"image_23012025_05_50_02_255704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4eb59412ad5830dadfc0f98fa82e51cf.jpg","text":"TemporaryFile(/tmp/multipartBody3637857887024008032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607938778,"filename":"image_23012025_05_49_02_770888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bfa6e3d4a35e595ece92de26364196d.jpg","text":"TemporaryFile(/tmp/multipartBody365375720589239949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607938778,"filename":"image_23012025_05_49_02_770888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a4a061deb589fc3085867c4873e99db.jpg","text":"TemporaryFile(/tmp/multipartBody459407484983375279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607938778,"filename":"image_23012025_05_49_02_770888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a2e7cf2382b5a54306f041603b75245.jpg","text":"TemporaryFile(/tmp/multipartBody6060459093476012166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607938778,"filename":"image_23012025_05_50_02_255704_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330754745","file1":"1330754743","file0":"1330754731","file4":"1330754776","file5":"1330754780","file3":"1330754764"},"map_files_photo_id_array":[{"photo_id":"1330754780","filename":"file5"},{"photo_id":"1330754745","filename":"file2"},{"photo_id":"1330754776","filename":"file4"},{"photo_id":"1330754743","filename":"file1"},{"photo_id":"1330754731","filename":"file0"},{"photo_id":"1330754764","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330754776":["hashtag1","hashtag2"]},{"1330754764":["hashtag1","hashtag2"]},{"1330754743":["hashtag1","hashtag2"]},{"1330754731":["hashtag1","hashtag2"]},{"1330754745":["hashtag1","hashtag2"]},{"1330754780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330754776, 1330754764, 1330754743, 1330754731, 1330754745, 1330754780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.3136830329895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:52:22.387408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_02_255704_0003.jpg', '/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_02_720387_0000.jpg', '/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_02_720387_0001.jpg', '/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_02_720387_0002.jpg', '/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_02_720387_0003.jpg', '/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_02_223976_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_02_255704_0003.jpg
/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_02_720387_0000.jpg
/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_02_720387_0001.jpg
/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_02_720387_0002.jpg
/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_02_720387_0003.jpg
/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_02_223976_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":["1330754858","1330754884","1330754887","1330754869","1330754932","1330754937"],"photo_ids_order":["1330754858","1330754869","1330754884","1330754887","1330754932","1330754937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a66411e37640e78e57ad75992fb229bb.jpg","text":"TemporaryFile(/tmp/multipartBody8852303273894135673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608019109,"filename":"image_23012025_05_50_02_255704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6a7e58106a6506efa84454a8229910f.jpg","text":"TemporaryFile(/tmp/multipartBody508670855637264990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608019109,"filename":"image_23012025_05_51_02_720387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3d39d05251f1fa46c6cb926221c4faf.jpg","text":"TemporaryFile(/tmp/multipartBody1696474710622689111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608019109,"filename":"image_23012025_05_51_02_720387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f16f939a03f5b550a8ac0f4c1d97489.jpg","text":"TemporaryFile(/tmp/multipartBody908844979748886967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608019109,"filename":"image_23012025_05_51_02_720387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9fd6b7bf6454b881224516181139ea0.jpg","text":"TemporaryFile(/tmp/multipartBody2065033373510411663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608019109,"filename":"image_23012025_05_51_02_720387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b2f5281f20f8915ddc870416a1f6114.jpg","text":"TemporaryFile(/tmp/multipartBody6395247431549613300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608019109,"filename":"image_23012025_05_52_02_223976_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330754884","file1":"1330754869","file0":"1330754858","file4":"1330754932","file5":"1330754937","file3":"1330754887"},"map_files_photo_id_array":[{"photo_id":"1330754937","filename":"file5"},{"photo_id":"1330754884","filename":"file2"},{"photo_id":"1330754932","filename":"file4"},{"photo_id":"1330754869","filename":"file1"},{"photo_id":"1330754858","filename":"file0"},{"photo_id":"1330754887","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330754858":["hashtag1","hashtag2"]},{"1330754884":["hashtag1","hashtag2"]},{"1330754887":["hashtag1","hashtag2"]},{"1330754869":["hashtag1","hashtag2"]},{"1330754932":["hashtag1","hashtag2"]},{"1330754937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330754858, 1330754884, 1330754887, 1330754869, 1330754932, 1330754937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.07372832298279 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:54:02.746138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_02_223976_0001.jpg', '/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_02_223976_0002.jpg', '/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_02_223976_0003.jpg', '/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_02_755471_0000.jpg', '/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_02_755471_0001.jpg', '/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_02_755471_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_02_223976_0001.jpg
/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_02_223976_0002.jpg
/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_02_223976_0003.jpg
/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_02_755471_0000.jpg
/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_02_755471_0001.jpg
/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_02_755471_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330755101","1330755094","1330755148","1330755124","1330755129","1330755108"],"photo_ids_order":["1330755094","1330755101","1330755108","1330755124","1330755129","1330755148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b5a28c04766455973cd8cc261f6ea05.jpg","text":"TemporaryFile(/tmp/multipartBody2689976668779140797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608119404,"filename":"image_23012025_05_52_02_223976_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5a611a798439ebb90dcc96ac69dbb4b.jpg","text":"TemporaryFile(/tmp/multipartBody4214008723243108576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608119404,"filename":"image_23012025_05_52_02_223976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a136dd5cabe4ec291510d19972746fe.jpg","text":"TemporaryFile(/tmp/multipartBody2551863863127780859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608119404,"filename":"image_23012025_05_53_02_755471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72e53923b423b3d6fd2a47a9afb6d425.jpg","text":"TemporaryFile(/tmp/multipartBody6603628576601770281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608119404,"filename":"image_23012025_05_53_02_755471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3633547319d00ea73155db28358c588.jpg","text":"TemporaryFile(/tmp/multipartBody6110909048033269031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608119404,"filename":"image_23012025_05_53_02_755471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd8bff2934ce5235cde26ed573e3b510.jpg","text":"TemporaryFile(/tmp/multipartBody524322109579179230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608119404,"filename":"image_23012025_05_52_02_223976_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330755108","file1":"1330755101","file0":"1330755094","file4":"1330755129","file5":"1330755148","file3":"1330755124"},"map_files_photo_id_array":[{"photo_id":"1330755148","filename":"file5"},{"photo_id":"1330755108","filename":"file2"},{"photo_id":"1330755129","filename":"file4"},{"photo_id":"1330755101","filename":"file1"},{"photo_id":"1330755094","filename":"file0"},{"photo_id":"1330755124","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330755101":["hashtag1","hashtag2"]},{"1330755094":["hashtag1","hashtag2"]},{"1330755148":["hashtag1","hashtag2"]},{"1330755124":["hashtag1","hashtag2"]},{"1330755129":["hashtag1","hashtag2"]},{"1330755108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330755101, 1330755094, 1330755148, 1330755124, 1330755129, 1330755108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.66354417800903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:55:02.732040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_02_755471_0003.jpg', '/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_02_307476_0000.jpg', '/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_02_307476_0001.jpg', '/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_02_307476_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_02_755471_0003.jpg
/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_02_307476_0000.jpg
/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_02_307476_0001.jpg
/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_02_307476_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330755302","1330755305","1330755291","1330755287"],"photo_ids_order":["1330755287","1330755291","1330755302","1330755305"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d7fb7facdd88d97d756fc4730182b34.jpg","text":"TemporaryFile(/tmp/multipartBody8644971253205779495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608174102,"filename":"image_23012025_05_54_02_307476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/684f74d1a90fbc2505ea49749acd5e95.jpg","text":"TemporaryFile(/tmp/multipartBody8671429935081859179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608174102,"filename":"image_23012025_05_54_02_307476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/766dfc8c8dd9a7fdfcd127b118c573ce.jpg","text":"TemporaryFile(/tmp/multipartBody5795534994428560389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608174102,"filename":"image_23012025_05_54_02_307476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6b2dfd37bc342a59e4b40aed77c93d2.jpg","text":"TemporaryFile(/tmp/multipartBody6522723700795536903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608174102,"filename":"image_23012025_05_53_02_755471_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330755302","file1":"1330755291","file0":"1330755287","file3":"1330755305"},"map_files_photo_id_array":[{"photo_id":"1330755302","filename":"file2"},{"photo_id":"1330755291","filename":"file1"},{"photo_id":"1330755287","filename":"file0"},{"photo_id":"1330755305","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330755302":["hashtag1","hashtag2"]},{"1330755305":["hashtag1","hashtag2"]},{"1330755291":["hashtag1","hashtag2"]},{"1330755287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330755302, 1330755305, 1330755291, 1330755287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.858437299728394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 05:56:02.921015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_02_307476_0003.jpg', '/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_02_835483_0000.jpg', '/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_02_835483_0001.jpg', '/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_02_835483_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_02_307476_0003.jpg
/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_02_835483_0000.jpg
/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_02_835483_0001.jpg
/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_02_835483_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.797789573669434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:56:22.607055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_02_307476_0003.jpg', '/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_02_835483_0000.jpg', '/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_02_835483_0001.jpg', '/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_02_835483_0002.jpg', '/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_02_835483_0003.jpg', '/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_02_307476_0003.jpg
/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_02_835483_0000.jpg
/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_02_835483_0001.jpg
/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_02_835483_0002.jpg
/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_02_835483_0003.jpg
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330755382","1330755364","1330755367","1330755369","1330755383","1330755371"],"photo_ids_order":["1330755364","1330755367","1330755369","1330755371","1330755382","1330755383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b719774084bb997c72b5574f37e6b6b.jpg","text":"TemporaryFile(/tmp/multipartBody7986871002619357443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608258910,"filename":"image_23012025_05_55_02_835483_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3cd0c3c823e01eceeaecbcb669a94be2.jpg","text":"TemporaryFile(/tmp/multipartBody942457545857169352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608258910,"filename":"image_23012025_05_54_02_307476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b227f2254d0cf1aa9679f386ceeeb53a.jpg","text":"TemporaryFile(/tmp/multipartBody5434880256424678634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608258910,"filename":"image_23012025_05_55_02_835483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1170d4c62b17bb0296ff9f8c85a85a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4444540734182709827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608258910,"filename":"image_23012025_05_55_02_835483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55e02e12f7be2138efa2ab42122fd3c6.jpg","text":"TemporaryFile(/tmp/multipartBody2872568905273502018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608258910,"filename":"image_23012025_05_56_02_369153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c47db405512bae2036d836a4a4095a67.jpg","text":"TemporaryFile(/tmp/multipartBody4050609967766978689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608258910,"filename":"image_23012025_05_55_02_835483_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330755369","file1":"1330755367","file0":"1330755364","file4":"1330755382","file5":"1330755383","file3":"1330755371"},"map_files_photo_id_array":[{"photo_id":"1330755383","filename":"file5"},{"photo_id":"1330755369","filename":"file2"},{"photo_id":"1330755382","filename":"file4"},{"photo_id":"1330755367","filename":"file1"},{"photo_id":"1330755364","filename":"file0"},{"photo_id":"1330755371","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330755382":["hashtag1","hashtag2"]},{"1330755364":["hashtag1","hashtag2"]},{"1330755367":["hashtag1","hashtag2"]},{"1330755369":["hashtag1","hashtag2"]},{"1330755383":["hashtag1","hashtag2"]},{"1330755371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330755382, 1330755364, 1330755367, 1330755369, 1330755383, 1330755371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.76136493682861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:57:22.201268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0001.jpg', '/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0002.jpg', '/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0003.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0000.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0001.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0001.jpg
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0002.jpg
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0003.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0000.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0001.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_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-23 05:59:02.506907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0001.jpg', '/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0002.jpg', '/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0003.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0000.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0001.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0001.jpg
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0002.jpg
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0003.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0000.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0001.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.635417938232422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 05:59:21.853132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0001.jpg', '/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0002.jpg', '/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0003.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0000.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0001.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0001.jpg
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0002.jpg
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_02_369153_0003.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0000.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0001.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330755472","1330755460","1330755463","1330755465","1330755468","1330755458"],"photo_ids_order":["1330755458","1330755460","1330755463","1330755465","1330755468","1330755472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4000c268e5fb1f5dee36a0b9984f53f6.jpg","text":"TemporaryFile(/tmp/multipartBody9044857408774869067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608437757,"filename":"image_23012025_05_57_03_020714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86dfd773809078302285947e6b35baec.jpg","text":"TemporaryFile(/tmp/multipartBody1683463076174966233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608437757,"filename":"image_23012025_05_56_02_369153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4949c3f955f3fc4324c51a3d315a9767.jpg","text":"TemporaryFile(/tmp/multipartBody6374706624912743130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608437757,"filename":"image_23012025_05_56_02_369153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ecbb179d6af375575c4d0f00a0d44fa.jpg","text":"TemporaryFile(/tmp/multipartBody1711379505830871932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608437757,"filename":"image_23012025_05_57_03_020714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8d495ccab8e6cdff45707532e6e6e25.jpg","text":"TemporaryFile(/tmp/multipartBody5923012867883842571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608437757,"filename":"image_23012025_05_57_03_020714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2fde7008521c62ea8a022b7f36496400.jpg","text":"TemporaryFile(/tmp/multipartBody7312414088072935495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608437757,"filename":"image_23012025_05_56_02_369153_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330755463","file1":"1330755460","file0":"1330755458","file4":"1330755468","file5":"1330755472","file3":"1330755465"},"map_files_photo_id_array":[{"photo_id":"1330755472","filename":"file5"},{"photo_id":"1330755463","filename":"file2"},{"photo_id":"1330755468","filename":"file4"},{"photo_id":"1330755460","filename":"file1"},{"photo_id":"1330755458","filename":"file0"},{"photo_id":"1330755465","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330755472":["hashtag1","hashtag2"]},{"1330755460":["hashtag1","hashtag2"]},{"1330755463":["hashtag1","hashtag2"]},{"1330755465":["hashtag1","hashtag2"]},{"1330755468":["hashtag1","hashtag2"]},{"1330755458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330755472, 1330755460, 1330755463, 1330755465, 1330755468, 1330755458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.06020164489746 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:01:02.756503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0003.jpg', '/home/pi/Desktop/images/23012025/05/58/image_23012025_05_58_02_640162_0000.jpg', '/home/pi/Desktop/images/23012025/05/58/image_23012025_05_58_02_640162_0001.jpg', '/home/pi/Desktop/images/23012025/05/58/image_23012025_05_58_02_640162_0002.jpg', '/home/pi/Desktop/images/23012025/05/58/image_23012025_05_58_02_640162_0003.jpg', '/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_02_111973_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_03_020714_0003.jpg
/home/pi/Desktop/images/23012025/05/58/image_23012025_05_58_02_640162_0000.jpg
/home/pi/Desktop/images/23012025/05/58/image_23012025_05_58_02_640162_0001.jpg
/home/pi/Desktop/images/23012025/05/58/image_23012025_05_58_02_640162_0002.jpg
/home/pi/Desktop/images/23012025/05/58/image_23012025_05_58_02_640162_0003.jpg
/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_02_111973_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":["1330755647","1330755586","1330755631","1330755669","1330755615","1330755572"],"photo_ids_order":["1330755572","1330755586","1330755615","1330755631","1330755647","1330755669"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/feb7cdaf7ee2d16edc42cd5a609cec70.jpg","text":"TemporaryFile(/tmp/multipartBody3683134357514777796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608540106,"filename":"image_23012025_05_58_02_640162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecf24bc282fa846e5954d745520ce1a5.jpg","text":"TemporaryFile(/tmp/multipartBody7785986974947352669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608540106,"filename":"image_23012025_05_58_02_640162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ee182a67ce85d7ef31bbee3de61bb5b.jpg","text":"TemporaryFile(/tmp/multipartBody1336784118280283305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608540106,"filename":"image_23012025_05_58_02_640162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1617f8bcc9639a3a752ce212543b0670.jpg","text":"TemporaryFile(/tmp/multipartBody6878671847116182938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608540106,"filename":"image_23012025_05_59_02_111973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd84556034aa7d36cd0479e1b02bdd4b.jpg","text":"TemporaryFile(/tmp/multipartBody8967344179033710402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608540106,"filename":"image_23012025_05_58_02_640162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/217822506182d77ab89a0c495571372a.jpg","text":"TemporaryFile(/tmp/multipartBody847341884868331052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608540106,"filename":"image_23012025_05_57_03_020714_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330755615","file1":"1330755586","file0":"1330755572","file4":"1330755647","file5":"1330755669","file3":"1330755631"},"map_files_photo_id_array":[{"photo_id":"1330755669","filename":"file5"},{"photo_id":"1330755615","filename":"file2"},{"photo_id":"1330755647","filename":"file4"},{"photo_id":"1330755586","filename":"file1"},{"photo_id":"1330755572","filename":"file0"},{"photo_id":"1330755631","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330755647":["hashtag1","hashtag2"]},{"1330755586":["hashtag1","hashtag2"]},{"1330755631":["hashtag1","hashtag2"]},{"1330755669":["hashtag1","hashtag2"]},{"1330755615":["hashtag1","hashtag2"]},{"1330755572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330755647, 1330755586, 1330755631, 1330755669, 1330755615, 1330755572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.808027505874634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:02:21.843570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_02_111973_0001.jpg', '/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_02_111973_0002.jpg', '/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_02_111973_0003.jpg', '/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_02_298917_0000.jpg', '/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_02_298917_0001.jpg', '/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_02_298917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_02_111973_0001.jpg
/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_02_111973_0002.jpg
/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_02_111973_0003.jpg
/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_02_298917_0000.jpg
/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_02_298917_0001.jpg
/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_02_298917_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.21265745162964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:03:02.993733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_02_111973_0001.jpg', '/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_02_111973_0002.jpg', '/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_02_111973_0003.jpg', '/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_02_298917_0000.jpg', '/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_02_298917_0001.jpg', '/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_02_298917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_02_111973_0001.jpg
/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_02_111973_0002.jpg
/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_02_111973_0003.jpg
/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_02_298917_0000.jpg
/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_02_298917_0001.jpg
/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_02_298917_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330755905","1330755928","1330755937","1330755901","1330755896","1330755899"],"photo_ids_order":["1330755896","1330755899","1330755901","1330755905","1330755928","1330755937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15dcf81df6bcf8ef353221c2aef6225b.jpg","text":"TemporaryFile(/tmp/multipartBody9005038068068111928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608659673,"filename":"image_23012025_06_00_02_298917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/699f62b1b763ffc38eeac397136ef40a.jpg","text":"TemporaryFile(/tmp/multipartBody7624195399227698346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608659673,"filename":"image_23012025_06_00_02_298917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31d5e28ab99eb1ddf2c6f87c09842e2e.jpg","text":"TemporaryFile(/tmp/multipartBody6624541443954684538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608659673,"filename":"image_23012025_06_00_02_298917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfaad4ebaf02cccf5c85782a6d8df3ad.jpg","text":"TemporaryFile(/tmp/multipartBody1389226710625186023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608659673,"filename":"image_23012025_05_59_02_111973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/040914923de7ea38173f5589921bed83.jpg","text":"TemporaryFile(/tmp/multipartBody3201176871349739709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608659673,"filename":"image_23012025_05_59_02_111973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a983301b720334517031195fd9bf5b7d.jpg","text":"TemporaryFile(/tmp/multipartBody8592174541874006300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608659673,"filename":"image_23012025_05_59_02_111973_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330755901","file1":"1330755899","file0":"1330755896","file4":"1330755928","file5":"1330755937","file3":"1330755905"},"map_files_photo_id_array":[{"photo_id":"1330755937","filename":"file5"},{"photo_id":"1330755901","filename":"file2"},{"photo_id":"1330755928","filename":"file4"},{"photo_id":"1330755899","filename":"file1"},{"photo_id":"1330755896","filename":"file0"},{"photo_id":"1330755905","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330755905":["hashtag1","hashtag2"]},{"1330755928":["hashtag1","hashtag2"]},{"1330755937":["hashtag1","hashtag2"]},{"1330755901":["hashtag1","hashtag2"]},{"1330755896":["hashtag1","hashtag2"]},{"1330755899":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330755905, 1330755928, 1330755937, 1330755901, 1330755896, 1330755899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.6578643321991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:04:21.934535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_02_298917_0003.jpg', '/home/pi/Desktop/images/23012025/06/01/image_23012025_06_01_02_997116_0000.jpg', '/home/pi/Desktop/images/23012025/06/01/image_23012025_06_01_02_997116_0001.jpg', '/home/pi/Desktop/images/23012025/06/01/image_23012025_06_01_02_997116_0002.jpg', '/home/pi/Desktop/images/23012025/06/01/image_23012025_06_01_02_997116_0003.jpg', '/home/pi/Desktop/images/23012025/06/02/image_23012025_06_02_02_592809_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_02_298917_0003.jpg
/home/pi/Desktop/images/23012025/06/01/image_23012025_06_01_02_997116_0000.jpg
/home/pi/Desktop/images/23012025/06/01/image_23012025_06_01_02_997116_0001.jpg
/home/pi/Desktop/images/23012025/06/01/image_23012025_06_01_02_997116_0002.jpg
/home/pi/Desktop/images/23012025/06/01/image_23012025_06_01_02_997116_0003.jpg
/home/pi/Desktop/images/23012025/06/02/image_23012025_06_02_02_592809_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330756030","1330756035","1330756050","1330756026","1330756020","1330756022"],"photo_ids_order":["1330756020","1330756022","1330756026","1330756030","1330756035","1330756050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0621e33fd8c086126d77a52c38c7b1bf.jpg","text":"TemporaryFile(/tmp/multipartBody8703801244165753989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608738950,"filename":"image_23012025_06_01_02_997116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf0e118df075a49c96de63c9e356861d.jpg","text":"TemporaryFile(/tmp/multipartBody7502152761236863276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608738950,"filename":"image_23012025_06_01_02_997116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4045ac7573d3c101b478989fe495e86d.jpg","text":"TemporaryFile(/tmp/multipartBody8972203357825601855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608738950,"filename":"image_23012025_06_02_02_592809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c685c7dc8ec70280c87961274808a13.jpg","text":"TemporaryFile(/tmp/multipartBody4888216082468937586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608738950,"filename":"image_23012025_06_01_02_997116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e892c0f1e56e21aa38f335d2cf89816.jpg","text":"TemporaryFile(/tmp/multipartBody776457008762210258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608738950,"filename":"image_23012025_06_00_02_298917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e143de44ed65989aeaedbf455c20befc.jpg","text":"TemporaryFile(/tmp/multipartBody8079605817192037163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608738950,"filename":"image_23012025_06_01_02_997116_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330756026","file1":"1330756022","file0":"1330756020","file4":"1330756035","file5":"1330756050","file3":"1330756030"},"map_files_photo_id_array":[{"photo_id":"1330756050","filename":"file5"},{"photo_id":"1330756026","filename":"file2"},{"photo_id":"1330756035","filename":"file4"},{"photo_id":"1330756022","filename":"file1"},{"photo_id":"1330756020","filename":"file0"},{"photo_id":"1330756030","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330756030":["hashtag1","hashtag2"]},{"1330756035":["hashtag1","hashtag2"]},{"1330756050":["hashtag1","hashtag2"]},{"1330756026":["hashtag1","hashtag2"]},{"1330756020":["hashtag1","hashtag2"]},{"1330756022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330756030, 1330756035, 1330756050, 1330756026, 1330756020, 1330756022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.909862756729126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:05:22.413557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/02/image_23012025_06_02_02_592809_0001.jpg', '/home/pi/Desktop/images/23012025/06/02/image_23012025_06_02_02_592809_0002.jpg', '/home/pi/Desktop/images/23012025/06/02/image_23012025_06_02_02_592809_0003.jpg', '/home/pi/Desktop/images/23012025/06/03/image_23012025_06_03_02_213857_0000.jpg', '/home/pi/Desktop/images/23012025/06/03/image_23012025_06_03_02_213857_0001.jpg', '/home/pi/Desktop/images/23012025/06/03/image_23012025_06_03_02_213857_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/02/image_23012025_06_02_02_592809_0001.jpg
/home/pi/Desktop/images/23012025/06/02/image_23012025_06_02_02_592809_0002.jpg
/home/pi/Desktop/images/23012025/06/02/image_23012025_06_02_02_592809_0003.jpg
/home/pi/Desktop/images/23012025/06/03/image_23012025_06_03_02_213857_0000.jpg
/home/pi/Desktop/images/23012025/06/03/image_23012025_06_03_02_213857_0001.jpg
/home/pi/Desktop/images/23012025/06/03/image_23012025_06_03_02_213857_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330756255","1330756258","1330756251","1330756263","1330756250","1330756253"],"photo_ids_order":["1330756250","1330756251","1330756253","1330756255","1330756258","1330756263"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4a26b9efa8238fb2a2cc940264a02a6.jpg","text":"TemporaryFile(/tmp/multipartBody7253222383868168594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608798839,"filename":"image_23012025_06_03_02_213857_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ddc26237e42f75454e443e7960eadca.jpg","text":"TemporaryFile(/tmp/multipartBody6332223640250008664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608798839,"filename":"image_23012025_06_03_02_213857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb63a7cce7c9c32799f1996a248f997b.jpg","text":"TemporaryFile(/tmp/multipartBody4029048171102032504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608798839,"filename":"image_23012025_06_02_02_592809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afc1cb9f1410ddc3106c0ef84fbab9b7.jpg","text":"TemporaryFile(/tmp/multipartBody718378835690421440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608798839,"filename":"image_23012025_06_03_02_213857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38408864bff9e256df7ca6305aaa5344.jpg","text":"TemporaryFile(/tmp/multipartBody5403991630377701949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608798839,"filename":"image_23012025_06_02_02_592809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55423522f1f83ebe7766fe891388b553.jpg","text":"TemporaryFile(/tmp/multipartBody1100989830594122801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608798839,"filename":"image_23012025_06_02_02_592809_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330756253","file1":"1330756251","file0":"1330756250","file4":"1330756258","file5":"1330756263","file3":"1330756255"},"map_files_photo_id_array":[{"photo_id":"1330756263","filename":"file5"},{"photo_id":"1330756253","filename":"file2"},{"photo_id":"1330756258","filename":"file4"},{"photo_id":"1330756251","filename":"file1"},{"photo_id":"1330756250","filename":"file0"},{"photo_id":"1330756255","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330756255":["hashtag1","hashtag2"]},{"1330756258":["hashtag1","hashtag2"]},{"1330756251":["hashtag1","hashtag2"]},{"1330756263":["hashtag1","hashtag2"]},{"1330756250":["hashtag1","hashtag2"]},{"1330756253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330756255, 1330756258, 1330756251, 1330756263, 1330756250, 1330756253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.914870500564575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:06:21.905361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/03/image_23012025_06_03_02_213857_0003.jpg', '/home/pi/Desktop/images/23012025/06/04/image_23012025_06_04_02_717198_0000.jpg', '/home/pi/Desktop/images/23012025/06/04/image_23012025_06_04_02_717198_0001.jpg', '/home/pi/Desktop/images/23012025/06/04/image_23012025_06_04_02_717198_0002.jpg', '/home/pi/Desktop/images/23012025/06/04/image_23012025_06_04_02_717198_0003.jpg', '/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_02_285064_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/03/image_23012025_06_03_02_213857_0003.jpg
/home/pi/Desktop/images/23012025/06/04/image_23012025_06_04_02_717198_0000.jpg
/home/pi/Desktop/images/23012025/06/04/image_23012025_06_04_02_717198_0001.jpg
/home/pi/Desktop/images/23012025/06/04/image_23012025_06_04_02_717198_0002.jpg
/home/pi/Desktop/images/23012025/06/04/image_23012025_06_04_02_717198_0003.jpg
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_02_285064_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330756284","1330756287","1330756302","1330756292","1330756295","1330756298"],"photo_ids_order":["1330756284","1330756287","1330756292","1330756295","1330756298","1330756302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c540253638b5f02a0db4a7ecc7c95e09.jpg","text":"TemporaryFile(/tmp/multipartBody4879565652795938663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608858156,"filename":"image_23012025_06_03_02_213857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f04ab076637da91144d6ea5142eb497c.jpg","text":"TemporaryFile(/tmp/multipartBody3973305390819924120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608858156,"filename":"image_23012025_06_04_02_717198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c229da73193524a177de6cde38b25dc.jpg","text":"TemporaryFile(/tmp/multipartBody413015561910601358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608858156,"filename":"image_23012025_06_05_02_285064_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d37ae9695c0d9e95cf5e812086a7430.jpg","text":"TemporaryFile(/tmp/multipartBody4436333177090122557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608858156,"filename":"image_23012025_06_04_02_717198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28f94a53ba23ab7d3af275cf7c8bdd58.jpg","text":"TemporaryFile(/tmp/multipartBody2405985828059941474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608858156,"filename":"image_23012025_06_04_02_717198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b629eb0e913e35b3a0a399f07dd49e56.jpg","text":"TemporaryFile(/tmp/multipartBody3263888342821379937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608858156,"filename":"image_23012025_06_04_02_717198_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330756292","file1":"1330756287","file0":"1330756284","file4":"1330756298","file5":"1330756302","file3":"1330756295"},"map_files_photo_id_array":[{"photo_id":"1330756302","filename":"file5"},{"photo_id":"1330756292","filename":"file2"},{"photo_id":"1330756298","filename":"file4"},{"photo_id":"1330756287","filename":"file1"},{"photo_id":"1330756284","filename":"file0"},{"photo_id":"1330756295","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330756284":["hashtag1","hashtag2"]},{"1330756287":["hashtag1","hashtag2"]},{"1330756302":["hashtag1","hashtag2"]},{"1330756292":["hashtag1","hashtag2"]},{"1330756295":["hashtag1","hashtag2"]},{"1330756298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330756284, 1330756287, 1330756302, 1330756292, 1330756295, 1330756298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.57070970535278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:07:22.405802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_02_285064_0001.jpg', '/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_02_285064_0002.jpg', '/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_02_285064_0003.jpg', '/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_02_788185_0000.jpg', '/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_02_788185_0001.jpg', '/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_02_788185_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_02_285064_0001.jpg
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_02_285064_0002.jpg
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_02_285064_0003.jpg
/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_02_788185_0000.jpg
/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_02_788185_0001.jpg
/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_02_788185_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330756797","1330756683","1330756503","1330756388","1330756319","1330756322"],"photo_ids_order":["1330756319","1330756322","1330756388","1330756503","1330756683","1330756797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b73b454bbb4cf92e2ab95479b41e8891.jpg","text":"TemporaryFile(/tmp/multipartBody2587427789263759639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608918896,"filename":"image_23012025_06_06_02_788185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7d09a5e95a4ad3e5473c1d607d29695.jpg","text":"TemporaryFile(/tmp/multipartBody2223354015016363507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608918896,"filename":"image_23012025_06_06_02_788185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d58cbe13d0d48e5ffc5092eb4d344e8.jpg","text":"TemporaryFile(/tmp/multipartBody5816783661216756307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608918896,"filename":"image_23012025_06_06_02_788185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/054e3983d53d3b5e629ece29301cc5ca.jpg","text":"TemporaryFile(/tmp/multipartBody1275421289446431876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608918896,"filename":"image_23012025_06_05_02_285064_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3eb457cc97d9f091aef46bb5fd8fec10.jpg","text":"TemporaryFile(/tmp/multipartBody2382123606150827992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608918896,"filename":"image_23012025_06_05_02_285064_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/532ac4ed3d0c7df9adf1cf1c85a61813.jpg","text":"TemporaryFile(/tmp/multipartBody5559471942804594690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608918896,"filename":"image_23012025_06_05_02_285064_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330756388","file1":"1330756322","file0":"1330756319","file4":"1330756683","file5":"1330756797","file3":"1330756503"},"map_files_photo_id_array":[{"photo_id":"1330756797","filename":"file5"},{"photo_id":"1330756388","filename":"file2"},{"photo_id":"1330756683","filename":"file4"},{"photo_id":"1330756322","filename":"file1"},{"photo_id":"1330756319","filename":"file0"},{"photo_id":"1330756503","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330756797":["hashtag1","hashtag2"]},{"1330756683":["hashtag1","hashtag2"]},{"1330756503":["hashtag1","hashtag2"]},{"1330756388":["hashtag1","hashtag2"]},{"1330756319":["hashtag1","hashtag2"]},{"1330756322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330756797, 1330756683, 1330756503, 1330756388, 1330756319, 1330756322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.23509240150452 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:09:03.184121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_02_788185_0003.jpg', '/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_02_292450_0000.jpg', '/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_02_292450_0001.jpg', '/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_02_292450_0002.jpg', '/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_02_292450_0003.jpg', '/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_02_859191_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_02_788185_0003.jpg
/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_02_292450_0000.jpg
/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_02_292450_0001.jpg
/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_02_292450_0002.jpg
/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_02_292450_0003.jpg
/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_02_859191_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":["1330757256","1330757265","1330757252","1330757272","1330757275","1330757248"],"photo_ids_order":["1330757248","1330757252","1330757256","1330757265","1330757272","1330757275"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfa528915c2329854429b51635a5bec8.jpg","text":"TemporaryFile(/tmp/multipartBody5858342371426713125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609019756,"filename":"image_23012025_06_07_02_292450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/253d40d7963b39205bdbb57715eaceb2.jpg","text":"TemporaryFile(/tmp/multipartBody970393241885434215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609019756,"filename":"image_23012025_06_07_02_292450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd160b89a14e042bfed8c18d8d3e0fcf.jpg","text":"TemporaryFile(/tmp/multipartBody5841433801588028049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609019756,"filename":"image_23012025_06_07_02_292450_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5dfeccfe280aa4e5a53d79dcb657694a.jpg","text":"TemporaryFile(/tmp/multipartBody78692653956619767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609019756,"filename":"image_23012025_06_07_02_292450_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee41c3ae2ce4a3eb1ef268ddb7039915.jpg","text":"TemporaryFile(/tmp/multipartBody578045442636654190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609019756,"filename":"image_23012025_06_08_02_859191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ac06796bd56950d88d34fd502ee2693.jpg","text":"TemporaryFile(/tmp/multipartBody2997536681375283015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609019756,"filename":"image_23012025_06_06_02_788185_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330757256","file1":"1330757252","file0":"1330757248","file4":"1330757272","file5":"1330757275","file3":"1330757265"},"map_files_photo_id_array":[{"photo_id":"1330757275","filename":"file5"},{"photo_id":"1330757256","filename":"file2"},{"photo_id":"1330757272","filename":"file4"},{"photo_id":"1330757252","filename":"file1"},{"photo_id":"1330757248","filename":"file0"},{"photo_id":"1330757265","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330757256":["hashtag1","hashtag2"]},{"1330757265":["hashtag1","hashtag2"]},{"1330757252":["hashtag1","hashtag2"]},{"1330757272":["hashtag1","hashtag2"]},{"1330757275":["hashtag1","hashtag2"]},{"1330757248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330757256, 1330757265, 1330757252, 1330757272, 1330757275, 1330757248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.6204571723938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:10:22.211559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_02_859191_0001.jpg', '/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_02_859191_0002.jpg', '/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_02_859191_0003.jpg', '/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0000.jpg', '/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0001.jpg', '/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_02_859191_0001.jpg
/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_02_859191_0002.jpg
/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_02_859191_0003.jpg
/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0000.jpg
/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0001.jpg
/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.326574087142944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:11:02.339838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_02_859191_0001.jpg', '/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_02_859191_0002.jpg', '/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_02_859191_0003.jpg', '/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0000.jpg', '/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0001.jpg', '/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_02_859191_0001.jpg
/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_02_859191_0002.jpg
/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_02_859191_0003.jpg
/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0000.jpg
/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0001.jpg
/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330757911","1330757898","1330757897","1330757900","1330757890","1330757893"],"photo_ids_order":["1330757890","1330757893","1330757897","1330757898","1330757900","1330757911"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c06e744839c5c864ecd83d2fdca922bb.jpg","text":"TemporaryFile(/tmp/multipartBody8565749428349827275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609139119,"filename":"image_23012025_06_09_02_442071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4447fe87e49d6592c2cdbf3b52419ec0.jpg","text":"TemporaryFile(/tmp/multipartBody5197082308328859447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609139119,"filename":"image_23012025_06_09_02_442071_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ed23537e91187aa6559910d40bcb0f9.jpg","text":"TemporaryFile(/tmp/multipartBody7242952781282631034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609139119,"filename":"image_23012025_06_08_02_859191_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/226c1572f0feadfd6bbbf527b452e140.jpg","text":"TemporaryFile(/tmp/multipartBody9180479514765884005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609139119,"filename":"image_23012025_06_09_02_442071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/838ecfc688dd708f97c08985c58be105.jpg","text":"TemporaryFile(/tmp/multipartBody5863814896731224631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609139119,"filename":"image_23012025_06_08_02_859191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/179e3de618db693550a852241bac461a.jpg","text":"TemporaryFile(/tmp/multipartBody3015489659795597398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609139119,"filename":"image_23012025_06_08_02_859191_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330757897","file1":"1330757893","file0":"1330757890","file4":"1330757900","file5":"1330757911","file3":"1330757898"},"map_files_photo_id_array":[{"photo_id":"1330757911","filename":"file5"},{"photo_id":"1330757897","filename":"file2"},{"photo_id":"1330757900","filename":"file4"},{"photo_id":"1330757893","filename":"file1"},{"photo_id":"1330757890","filename":"file0"},{"photo_id":"1330757898","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330757911":["hashtag1","hashtag2"]},{"1330757898":["hashtag1","hashtag2"]},{"1330757897":["hashtag1","hashtag2"]},{"1330757900":["hashtag1","hashtag2"]},{"1330757890":["hashtag1","hashtag2"]},{"1330757893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330757911, 1330757898, 1330757897, 1330757900, 1330757890, 1330757893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.02307200431824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:12:02.799004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0003.jpg', '/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0000.jpg', '/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0001.jpg', '/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0002.jpg', '/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0003.jpg', '/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_02_635626_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0003.jpg
/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0000.jpg
/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0001.jpg
/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0002.jpg
/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0003.jpg
/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_02_635626_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.357736825942993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:12:22.409376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0003.jpg', '/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0000.jpg', '/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0001.jpg', '/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0002.jpg', '/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0003.jpg', '/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_02_635626_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_02_442071_0003.jpg
/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0000.jpg
/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0001.jpg
/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0002.jpg
/home/pi/Desktop/images/23012025/06/10/image_23012025_06_10_02_921308_0003.jpg
/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_02_635626_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":["1330758023","1330757948","1330757936","1330758020","1330757945","1330757941"],"photo_ids_order":["1330757936","1330757941","1330757945","1330757948","1330758020","1330758023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4c60ac71d02c19e8777bb17029ae027.jpg","text":"TemporaryFile(/tmp/multipartBody3929164247400454414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609219104,"filename":"image_23012025_06_11_02_635626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6806d236790a476d18fb9ccd0537855.jpg","text":"TemporaryFile(/tmp/multipartBody5588170928161672288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609219104,"filename":"image_23012025_06_10_02_921308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1ae81a23fabc4ed20eca3a33f18f3ec.jpg","text":"TemporaryFile(/tmp/multipartBody4024384165230081822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609219104,"filename":"image_23012025_06_09_02_442071_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/949c545b28263183b6faa95e4d3a192f.jpg","text":"TemporaryFile(/tmp/multipartBody5612024124377247245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609219104,"filename":"image_23012025_06_10_02_921308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7cbc9b7f68c569b0353d86813b2db320.jpg","text":"TemporaryFile(/tmp/multipartBody3300117975505797669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609219104,"filename":"image_23012025_06_10_02_921308_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7d8e14f0b32f4556eb899593d414835.jpg","text":"TemporaryFile(/tmp/multipartBody7986218353257323641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609219104,"filename":"image_23012025_06_10_02_921308_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330757945","file1":"1330757941","file0":"1330757936","file4":"1330758020","file5":"1330758023","file3":"1330757948"},"map_files_photo_id_array":[{"photo_id":"1330758023","filename":"file5"},{"photo_id":"1330757945","filename":"file2"},{"photo_id":"1330758020","filename":"file4"},{"photo_id":"1330757941","filename":"file1"},{"photo_id":"1330757936","filename":"file0"},{"photo_id":"1330757948","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330758023":["hashtag1","hashtag2"]},{"1330757948":["hashtag1","hashtag2"]},{"1330757936":["hashtag1","hashtag2"]},{"1330758020":["hashtag1","hashtag2"]},{"1330757945":["hashtag1","hashtag2"]},{"1330757941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330758023, 1330757948, 1330757936, 1330758020, 1330757945, 1330757941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.6788649559021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:14:02.962160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_02_635626_0001.jpg', '/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_02_635626_0002.jpg', '/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_02_635626_0003.jpg', '/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_02_192130_0000.jpg', '/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_02_192130_0001.jpg', '/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_02_192130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_02_635626_0001.jpg
/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_02_635626_0002.jpg
/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_02_635626_0003.jpg
/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_02_192130_0000.jpg
/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_02_192130_0001.jpg
/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_02_192130_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330758165","1330758159","1330758144","1330758114","1330758179","1330758181"],"photo_ids_order":["1330758114","1330758144","1330758159","1330758165","1330758179","1330758181"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2269efba47ca3bb044b190c9f603377a.jpg","text":"TemporaryFile(/tmp/multipartBody4684298792674493724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609319654,"filename":"image_23012025_06_12_02_192130_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4392a999057d42effe08aae8ffd1b283.jpg","text":"TemporaryFile(/tmp/multipartBody7529158807240264677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609319654,"filename":"image_23012025_06_11_02_635626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41495d49696a6f0b1daad181208df489.jpg","text":"TemporaryFile(/tmp/multipartBody4475033214160733298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609319654,"filename":"image_23012025_06_11_02_635626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54af86d4d2a23903aba5b456fe7137a5.jpg","text":"TemporaryFile(/tmp/multipartBody175809134646767646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609319654,"filename":"image_23012025_06_11_02_635626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68951efef22554c382500de8bbf7ce58.jpg","text":"TemporaryFile(/tmp/multipartBody1088832123468362082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609319654,"filename":"image_23012025_06_12_02_192130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2dc353584761d36a1d3efba903ac676.jpg","text":"TemporaryFile(/tmp/multipartBody4902647193817365895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609319654,"filename":"image_23012025_06_12_02_192130_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330758159","file1":"1330758144","file0":"1330758114","file4":"1330758179","file5":"1330758181","file3":"1330758165"},"map_files_photo_id_array":[{"photo_id":"1330758181","filename":"file5"},{"photo_id":"1330758159","filename":"file2"},{"photo_id":"1330758179","filename":"file4"},{"photo_id":"1330758144","filename":"file1"},{"photo_id":"1330758114","filename":"file0"},{"photo_id":"1330758165","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330758165":["hashtag1","hashtag2"]},{"1330758159":["hashtag1","hashtag2"]},{"1330758144":["hashtag1","hashtag2"]},{"1330758114":["hashtag1","hashtag2"]},{"1330758179":["hashtag1","hashtag2"]},{"1330758181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330758165, 1330758159, 1330758144, 1330758114, 1330758179, 1330758181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.37680435180664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:15:21.936679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_02_192130_0003.jpg', '/home/pi/Desktop/images/23012025/06/13/image_23012025_06_13_02_804811_0000.jpg', '/home/pi/Desktop/images/23012025/06/13/image_23012025_06_13_02_804811_0001.jpg', '/home/pi/Desktop/images/23012025/06/13/image_23012025_06_13_02_804811_0002.jpg', '/home/pi/Desktop/images/23012025/06/13/image_23012025_06_13_02_804811_0003.jpg', '/home/pi/Desktop/images/23012025/06/14/image_23012025_06_14_02_337941_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_02_192130_0003.jpg
/home/pi/Desktop/images/23012025/06/13/image_23012025_06_13_02_804811_0000.jpg
/home/pi/Desktop/images/23012025/06/13/image_23012025_06_13_02_804811_0001.jpg
/home/pi/Desktop/images/23012025/06/13/image_23012025_06_13_02_804811_0002.jpg
/home/pi/Desktop/images/23012025/06/13/image_23012025_06_13_02_804811_0003.jpg
/home/pi/Desktop/images/23012025/06/14/image_23012025_06_14_02_337941_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":["1330758255","1330758249","1330758243","1330758246","1330758251","1330758253"],"photo_ids_order":["1330758243","1330758246","1330758249","1330758251","1330758253","1330758255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a538746f22ca350ebff3da629dfeda6.jpg","text":"TemporaryFile(/tmp/multipartBody7338126132826063233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609398953,"filename":"image_23012025_06_14_02_337941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff03d5f319372b9d458386e673c220b9.jpg","text":"TemporaryFile(/tmp/multipartBody7909946749904489043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609398953,"filename":"image_23012025_06_13_02_804811_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed1e55042e9045a5739bb7433fb4ace4.jpg","text":"TemporaryFile(/tmp/multipartBody3816248505748090555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609398953,"filename":"image_23012025_06_12_02_192130_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7e8f9c471f943ba75a940476403e174.jpg","text":"TemporaryFile(/tmp/multipartBody8871538830774875158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609398953,"filename":"image_23012025_06_13_02_804811_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3b65b6398888d8bc6db53005ace6f01.jpg","text":"TemporaryFile(/tmp/multipartBody5946637902435444860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609398953,"filename":"image_23012025_06_13_02_804811_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a51e83e630c5b5708fd98ee3f7833cf9.jpg","text":"TemporaryFile(/tmp/multipartBody8945841417718745904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609398953,"filename":"image_23012025_06_13_02_804811_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330758249","file1":"1330758246","file0":"1330758243","file4":"1330758253","file5":"1330758255","file3":"1330758251"},"map_files_photo_id_array":[{"photo_id":"1330758255","filename":"file5"},{"photo_id":"1330758249","filename":"file2"},{"photo_id":"1330758253","filename":"file4"},{"photo_id":"1330758246","filename":"file1"},{"photo_id":"1330758243","filename":"file0"},{"photo_id":"1330758251","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330758255":["hashtag1","hashtag2"]},{"1330758249":["hashtag1","hashtag2"]},{"1330758243":["hashtag1","hashtag2"]},{"1330758246":["hashtag1","hashtag2"]},{"1330758251":["hashtag1","hashtag2"]},{"1330758253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330758255, 1330758249, 1330758243, 1330758246, 1330758251, 1330758253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.14372396469116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:17:02.693256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/14/image_23012025_06_14_02_337941_0001.jpg', '/home/pi/Desktop/images/23012025/06/14/image_23012025_06_14_02_337941_0002.jpg', '/home/pi/Desktop/images/23012025/06/14/image_23012025_06_14_02_337941_0003.jpg', '/home/pi/Desktop/images/23012025/06/15/image_23012025_06_15_02_802497_0000.jpg', '/home/pi/Desktop/images/23012025/06/15/image_23012025_06_15_02_802497_0001.jpg', '/home/pi/Desktop/images/23012025/06/15/image_23012025_06_15_02_802497_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/14/image_23012025_06_14_02_337941_0001.jpg
/home/pi/Desktop/images/23012025/06/14/image_23012025_06_14_02_337941_0002.jpg
/home/pi/Desktop/images/23012025/06/14/image_23012025_06_14_02_337941_0003.jpg
/home/pi/Desktop/images/23012025/06/15/image_23012025_06_15_02_802497_0000.jpg
/home/pi/Desktop/images/23012025/06/15/image_23012025_06_15_02_802497_0001.jpg
/home/pi/Desktop/images/23012025/06/15/image_23012025_06_15_02_802497_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330758432","1330758360","1330758599","1330758516","1330758382","1330758346"],"photo_ids_order":["1330758346","1330758360","1330758382","1330758432","1330758516","1330758599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/509b8b611b1a814d90b97963d4578137.jpg","text":"TemporaryFile(/tmp/multipartBody2162661962499804175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609499642,"filename":"image_23012025_06_15_02_802497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef85a14db4ac17d01889c96952b895d0.jpg","text":"TemporaryFile(/tmp/multipartBody2902328375895485688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609499642,"filename":"image_23012025_06_14_02_337941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3308d2b9063a22e99b9e6c02cba39d8.jpg","text":"TemporaryFile(/tmp/multipartBody8886619239879626432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609499642,"filename":"image_23012025_06_15_02_802497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b6bc45f701900f51fb294b36bb1d022.jpg","text":"TemporaryFile(/tmp/multipartBody4028496468606865429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609499642,"filename":"image_23012025_06_15_02_802497_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a07f30ae206ace79496cdf3b59e096e.jpg","text":"TemporaryFile(/tmp/multipartBody9074328103740489015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609499642,"filename":"image_23012025_06_14_02_337941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a0b1a1e43d90a82c3dcd8ea9556d119.jpg","text":"TemporaryFile(/tmp/multipartBody20016339419284273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609499642,"filename":"image_23012025_06_14_02_337941_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330758382","file1":"1330758360","file0":"1330758346","file4":"1330758516","file5":"1330758599","file3":"1330758432"},"map_files_photo_id_array":[{"photo_id":"1330758599","filename":"file5"},{"photo_id":"1330758382","filename":"file2"},{"photo_id":"1330758516","filename":"file4"},{"photo_id":"1330758360","filename":"file1"},{"photo_id":"1330758346","filename":"file0"},{"photo_id":"1330758432","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330758432":["hashtag1","hashtag2"]},{"1330758360":["hashtag1","hashtag2"]},{"1330758599":["hashtag1","hashtag2"]},{"1330758516":["hashtag1","hashtag2"]},{"1330758382":["hashtag1","hashtag2"]},{"1330758346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330758432, 1330758360, 1330758599, 1330758516, 1330758382, 1330758346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.2639319896698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:18:21.753166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/15/image_23012025_06_15_02_802497_0003.jpg', '/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0000.jpg', '/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0001.jpg', '/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0002.jpg', '/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0003.jpg', '/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/15/image_23012025_06_15_02_802497_0003.jpg
/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0000.jpg
/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0001.jpg
/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0002.jpg
/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0003.jpg
/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.930636882781982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:19:02.962924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/15/image_23012025_06_15_02_802497_0003.jpg', '/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0000.jpg', '/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0001.jpg', '/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0002.jpg', '/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0003.jpg', '/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/15/image_23012025_06_15_02_802497_0003.jpg
/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0000.jpg
/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0001.jpg
/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0002.jpg
/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_02_354641_0003.jpg
/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330758756","1330758710","1330758786","1330758718","1330758789","1330758780"],"photo_ids_order":["1330758710","1330758718","1330758756","1330758780","1330758786","1330758789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d42de4d8c53875dce9b7a1c93d30a90.jpg","text":"TemporaryFile(/tmp/multipartBody7485925232721610344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609619345,"filename":"image_23012025_06_16_02_354641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4038b6fea13d5cd543b09802db5bf9f0.jpg","text":"TemporaryFile(/tmp/multipartBody5919905359678511336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609619345,"filename":"image_23012025_06_15_02_802497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b244d7671dfb8475fff0f8ff637aec7.jpg","text":"TemporaryFile(/tmp/multipartBody3164230911759937740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609619345,"filename":"image_23012025_06_16_02_354641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e37f0b9aa4cf1ebb170ac031da0f6d8.jpg","text":"TemporaryFile(/tmp/multipartBody3712550846104102354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609619345,"filename":"image_23012025_06_16_02_354641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73a9b4aa2206011b4b9b0dc759f7465d.jpg","text":"TemporaryFile(/tmp/multipartBody7305584603404266796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609619345,"filename":"image_23012025_06_17_02_879173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cec7e9455ee6b2516aff3667aacdb11c.jpg","text":"TemporaryFile(/tmp/multipartBody8443124897887744297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609619345,"filename":"image_23012025_06_16_02_354641_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330758756","file1":"1330758718","file0":"1330758710","file4":"1330758786","file5":"1330758789","file3":"1330758780"},"map_files_photo_id_array":[{"photo_id":"1330758789","filename":"file5"},{"photo_id":"1330758756","filename":"file2"},{"photo_id":"1330758786","filename":"file4"},{"photo_id":"1330758718","filename":"file1"},{"photo_id":"1330758710","filename":"file0"},{"photo_id":"1330758780","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330758756":["hashtag1","hashtag2"]},{"1330758710":["hashtag1","hashtag2"]},{"1330758786":["hashtag1","hashtag2"]},{"1330758718":["hashtag1","hashtag2"]},{"1330758789":["hashtag1","hashtag2"]},{"1330758780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330758756, 1330758710, 1330758786, 1330758718, 1330758789, 1330758780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.11118745803833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:20:02.533474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0001.jpg', '/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0002.jpg', '/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0003.jpg', '/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_02_427134_0000.jpg', '/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_02_427134_0001.jpg', '/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_02_427134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0001.jpg
/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0002.jpg
/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0003.jpg
/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_02_427134_0000.jpg
/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_02_427134_0001.jpg
/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_02_427134_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.675132513046265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:20:22.052635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0001.jpg', '/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0002.jpg', '/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0003.jpg', '/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_02_427134_0000.jpg', '/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_02_427134_0001.jpg', '/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_02_427134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0001.jpg
/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0002.jpg
/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_02_879173_0003.jpg
/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_02_427134_0000.jpg
/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_02_427134_0001.jpg
/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_02_427134_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330759595","1330759562","1330759643","1330759572","1330759575","1330759557"],"photo_ids_order":["1330759557","1330759562","1330759572","1330759575","1330759595","1330759643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d5bf60d6a249b6f4e09b86ae2eda70e.jpg","text":"TemporaryFile(/tmp/multipartBody7095686318857105161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609699058,"filename":"image_23012025_06_18_02_427134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d333f09e5a1d5f8492605580d4b44052.jpg","text":"TemporaryFile(/tmp/multipartBody2132445794090680183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609699058,"filename":"image_23012025_06_17_02_879173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5788a249b2b7b7ab04dc7ca9c13a32a4.jpg","text":"TemporaryFile(/tmp/multipartBody5166795486132885306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609699058,"filename":"image_23012025_06_18_02_427134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60767a98f2f6ed20cd087a220b218332.jpg","text":"TemporaryFile(/tmp/multipartBody4272494186725771781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609699058,"filename":"image_23012025_06_17_02_879173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd8c7c2311ab3fa9ffc6838def261e4b.jpg","text":"TemporaryFile(/tmp/multipartBody3377210796559029464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609699058,"filename":"image_23012025_06_18_02_427134_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9b411ff4f77aa6f640282bfc62e3a38.jpg","text":"TemporaryFile(/tmp/multipartBody2927540630616886458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609699058,"filename":"image_23012025_06_17_02_879173_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330759572","file1":"1330759562","file0":"1330759557","file4":"1330759595","file5":"1330759643","file3":"1330759575"},"map_files_photo_id_array":[{"photo_id":"1330759643","filename":"file5"},{"photo_id":"1330759572","filename":"file2"},{"photo_id":"1330759595","filename":"file4"},{"photo_id":"1330759562","filename":"file1"},{"photo_id":"1330759557","filename":"file0"},{"photo_id":"1330759575","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330759595":["hashtag1","hashtag2"]},{"1330759562":["hashtag1","hashtag2"]},{"1330759643":["hashtag1","hashtag2"]},{"1330759572":["hashtag1","hashtag2"]},{"1330759575":["hashtag1","hashtag2"]},{"1330759557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330759595, 1330759562, 1330759643, 1330759572, 1330759575, 1330759557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.93997144699097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:21:22.634302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_02_427134_0003.jpg', '/home/pi/Desktop/images/23012025/06/19/image_23012025_06_19_02_169199_0000.jpg', '/home/pi/Desktop/images/23012025/06/19/image_23012025_06_19_02_169199_0001.jpg', '/home/pi/Desktop/images/23012025/06/19/image_23012025_06_19_02_169199_0002.jpg', '/home/pi/Desktop/images/23012025/06/19/image_23012025_06_19_02_169199_0003.jpg', '/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_02_676186_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_02_427134_0003.jpg
/home/pi/Desktop/images/23012025/06/19/image_23012025_06_19_02_169199_0000.jpg
/home/pi/Desktop/images/23012025/06/19/image_23012025_06_19_02_169199_0001.jpg
/home/pi/Desktop/images/23012025/06/19/image_23012025_06_19_02_169199_0002.jpg
/home/pi/Desktop/images/23012025/06/19/image_23012025_06_19_02_169199_0003.jpg
/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_02_676186_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330759845","1330759839","1330759856","1330759849","1330759852","1330759842"],"photo_ids_order":["1330759839","1330759842","1330759845","1330759849","1330759852","1330759856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0893b617c66c64de0fb15467be9e3e6d.jpg","text":"TemporaryFile(/tmp/multipartBody2949897679906929536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609759574,"filename":"image_23012025_06_19_02_169199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/393e8fcccd3fd727d08c75cb4f3ce8d7.jpg","text":"TemporaryFile(/tmp/multipartBody8922569312133178397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609759574,"filename":"image_23012025_06_18_02_427134_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa1aaad008a2091b98783bc3cd51f305.jpg","text":"TemporaryFile(/tmp/multipartBody5269765497209214710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609759574,"filename":"image_23012025_06_20_02_676186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4487d82b87bcbf68cce0de8f3bb2fc03.jpg","text":"TemporaryFile(/tmp/multipartBody6478577264360267895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609759574,"filename":"image_23012025_06_19_02_169199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32e7ccf2f16aff7f3cd90dcf43f4f4af.jpg","text":"TemporaryFile(/tmp/multipartBody5547852518434093629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609759574,"filename":"image_23012025_06_19_02_169199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/537cd9de88b762bd4c02058f90b52620.jpg","text":"TemporaryFile(/tmp/multipartBody4003516572165890733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609759574,"filename":"image_23012025_06_19_02_169199_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330759845","file1":"1330759842","file0":"1330759839","file4":"1330759852","file5":"1330759856","file3":"1330759849"},"map_files_photo_id_array":[{"photo_id":"1330759856","filename":"file5"},{"photo_id":"1330759845","filename":"file2"},{"photo_id":"1330759852","filename":"file4"},{"photo_id":"1330759842","filename":"file1"},{"photo_id":"1330759839","filename":"file0"},{"photo_id":"1330759849","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330759845":["hashtag1","hashtag2"]},{"1330759839":["hashtag1","hashtag2"]},{"1330759856":["hashtag1","hashtag2"]},{"1330759849":["hashtag1","hashtag2"]},{"1330759852":["hashtag1","hashtag2"]},{"1330759842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330759845, 1330759839, 1330759856, 1330759849, 1330759852, 1330759842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.78764247894287 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:22:22.117928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_02_676186_0001.jpg', '/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_02_676186_0002.jpg', '/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_02_676186_0003.jpg', '/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0000.jpg', '/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0001.jpg', '/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_02_676186_0001.jpg
/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_02_676186_0002.jpg
/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_02_676186_0003.jpg
/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0000.jpg
/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0001.jpg
/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.053464889526367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:23:03.235226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_02_676186_0001.jpg', '/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_02_676186_0002.jpg', '/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_02_676186_0003.jpg', '/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0000.jpg', '/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0001.jpg', '/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_02_676186_0001.jpg
/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_02_676186_0002.jpg
/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_02_676186_0003.jpg
/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0000.jpg
/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0001.jpg
/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330759940","1330759948","1330759989","1330759933","1330759950","1330759968"],"photo_ids_order":["1330759933","1330759940","1330759948","1330759950","1330759968","1330759989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/744d276a8edcb68e0fea05a79832877d.jpg","text":"TemporaryFile(/tmp/multipartBody4224852889496127526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609859763,"filename":"image_23012025_06_20_02_676186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29b4fc297fb19fc6834c22e26c9d6b39.jpg","text":"TemporaryFile(/tmp/multipartBody2709455534884665470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609859763,"filename":"image_23012025_06_20_02_676186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5675dfa468ff3766276c5379c7552a9e.jpg","text":"TemporaryFile(/tmp/multipartBody8298624831869704507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609859763,"filename":"image_23012025_06_21_02_449915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/826962698ddc140ad05e1f5f042c6994.jpg","text":"TemporaryFile(/tmp/multipartBody6136318561838223575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609859763,"filename":"image_23012025_06_20_02_676186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d21b2b138c76dcae02dd4c871f338d00.jpg","text":"TemporaryFile(/tmp/multipartBody6473202243049210213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609859763,"filename":"image_23012025_06_21_02_449915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5f885f31ddc7798458ba3cf1ba6c534.jpg","text":"TemporaryFile(/tmp/multipartBody1480688004881304607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609859763,"filename":"image_23012025_06_21_02_449915_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330759948","file1":"1330759940","file0":"1330759933","file4":"1330759968","file5":"1330759989","file3":"1330759950"},"map_files_photo_id_array":[{"photo_id":"1330759989","filename":"file5"},{"photo_id":"1330759948","filename":"file2"},{"photo_id":"1330759968","filename":"file4"},{"photo_id":"1330759940","filename":"file1"},{"photo_id":"1330759933","filename":"file0"},{"photo_id":"1330759950","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330759940":["hashtag1","hashtag2"]},{"1330759948":["hashtag1","hashtag2"]},{"1330759989":["hashtag1","hashtag2"]},{"1330759933":["hashtag1","hashtag2"]},{"1330759950":["hashtag1","hashtag2"]},{"1330759968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330759940, 1330759948, 1330759989, 1330759933, 1330759950, 1330759968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.09317922592163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:24:02.988765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0003.jpg', '/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0000.jpg', '/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0001.jpg', '/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0002.jpg', '/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0003.jpg', '/home/pi/Desktop/images/23012025/06/23/image_23012025_06_23_02_490868_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0003.jpg
/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0000.jpg
/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0001.jpg
/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0002.jpg
/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0003.jpg
/home/pi/Desktop/images/23012025/06/23/image_23012025_06_23_02_490868_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.503993272781372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:24:22.256551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0003.jpg', '/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0000.jpg', '/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0001.jpg', '/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0002.jpg', '/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0003.jpg', '/home/pi/Desktop/images/23012025/06/23/image_23012025_06_23_02_490868_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_02_449915_0003.jpg
/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0000.jpg
/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0001.jpg
/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0002.jpg
/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_02_980423_0003.jpg
/home/pi/Desktop/images/23012025/06/23/image_23012025_06_23_02_490868_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330760031","1330760075","1330760071","1330760080","1330760083","1330760077"],"photo_ids_order":["1330760031","1330760071","1330760075","1330760077","1330760080","1330760083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/506c2c87ccb1de0afcc63057c82f4662.jpg","text":"TemporaryFile(/tmp/multipartBody6986762404599648618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609939097,"filename":"image_23012025_06_21_02_449915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c1dacfa72f1ab171a24988f0a3cc0bd.jpg","text":"TemporaryFile(/tmp/multipartBody8156185319124295467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609939097,"filename":"image_23012025_06_22_02_980423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0774d29798050b444c640705e29a02cb.jpg","text":"TemporaryFile(/tmp/multipartBody4152511272193924345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609939097,"filename":"image_23012025_06_22_02_980423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/890ca8088b36834d647174f9c6291244.jpg","text":"TemporaryFile(/tmp/multipartBody2162242207569821747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609939097,"filename":"image_23012025_06_22_02_980423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb0e18bb2ea6a2bb7392d738454c8168.jpg","text":"TemporaryFile(/tmp/multipartBody3013114263043249980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609939097,"filename":"image_23012025_06_23_02_490868_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ccf68e7c5815a738dbb6550725453a8a.jpg","text":"TemporaryFile(/tmp/multipartBody5325085910450823433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609939097,"filename":"image_23012025_06_22_02_980423_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330760075","file1":"1330760071","file0":"1330760031","file4":"1330760080","file5":"1330760083","file3":"1330760077"},"map_files_photo_id_array":[{"photo_id":"1330760083","filename":"file5"},{"photo_id":"1330760075","filename":"file2"},{"photo_id":"1330760080","filename":"file4"},{"photo_id":"1330760071","filename":"file1"},{"photo_id":"1330760031","filename":"file0"},{"photo_id":"1330760077","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330760031":["hashtag1","hashtag2"]},{"1330760075":["hashtag1","hashtag2"]},{"1330760071":["hashtag1","hashtag2"]},{"1330760080":["hashtag1","hashtag2"]},{"1330760083":["hashtag1","hashtag2"]},{"1330760077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330760031, 1330760075, 1330760071, 1330760080, 1330760083, 1330760077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.808165311813354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:25:21.811883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/23/image_23012025_06_23_02_490868_0001.jpg', '/home/pi/Desktop/images/23012025/06/23/image_23012025_06_23_02_490868_0002.jpg', '/home/pi/Desktop/images/23012025/06/23/image_23012025_06_23_02_490868_0003.jpg', '/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_03_019483_0000.jpg', '/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_03_019483_0001.jpg', '/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_03_019483_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/23/image_23012025_06_23_02_490868_0001.jpg
/home/pi/Desktop/images/23012025/06/23/image_23012025_06_23_02_490868_0002.jpg
/home/pi/Desktop/images/23012025/06/23/image_23012025_06_23_02_490868_0003.jpg
/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_03_019483_0000.jpg
/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_03_019483_0001.jpg
/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_03_019483_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330760133","1330760135","1330760120","1330760137","1330760131","1330760128"],"photo_ids_order":["1330760120","1330760128","1330760131","1330760133","1330760135","1330760137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11e3921df390afa969ef6b9eecf71fdf.jpg","text":"TemporaryFile(/tmp/multipartBody3575304485930554587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609998756,"filename":"image_23012025_06_24_03_019483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db61cee6b443ed803d210565a70cc7b4.jpg","text":"TemporaryFile(/tmp/multipartBody6397251762504395615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609998756,"filename":"image_23012025_06_24_03_019483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f448801cb1f5be3e04006e825292aea5.jpg","text":"TemporaryFile(/tmp/multipartBody1685812415740847540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609998756,"filename":"image_23012025_06_23_02_490868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f785475eb126b4d1a75fe92933a758ef.jpg","text":"TemporaryFile(/tmp/multipartBody2583557167815426912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609998756,"filename":"image_23012025_06_24_03_019483_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d436e4cb9bdccbde4cb67c7d1d2210e7.jpg","text":"TemporaryFile(/tmp/multipartBody2041147411436959583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609998756,"filename":"image_23012025_06_23_02_490868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb62c09818bf8a22f77ad49749f6c8ad.jpg","text":"TemporaryFile(/tmp/multipartBody1587260201536827752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609998756,"filename":"image_23012025_06_23_02_490868_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330760131","file1":"1330760128","file0":"1330760120","file4":"1330760135","file5":"1330760137","file3":"1330760133"},"map_files_photo_id_array":[{"photo_id":"1330760137","filename":"file5"},{"photo_id":"1330760131","filename":"file2"},{"photo_id":"1330760135","filename":"file4"},{"photo_id":"1330760128","filename":"file1"},{"photo_id":"1330760120","filename":"file0"},{"photo_id":"1330760133","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330760133":["hashtag1","hashtag2"]},{"1330760135":["hashtag1","hashtag2"]},{"1330760120":["hashtag1","hashtag2"]},{"1330760137":["hashtag1","hashtag2"]},{"1330760131":["hashtag1","hashtag2"]},{"1330760128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330760133, 1330760135, 1330760120, 1330760137, 1330760131, 1330760128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.002888441085815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:26:22.339786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_03_019483_0003.jpg', '/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_02_683987_0000.jpg', '/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_02_683987_0001.jpg', '/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_02_683987_0002.jpg', '/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_02_683987_0003.jpg', '/home/pi/Desktop/images/23012025/06/26/image_23012025_06_26_02_216396_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_03_019483_0003.jpg
/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_02_683987_0000.jpg
/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_02_683987_0001.jpg
/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_02_683987_0002.jpg
/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_02_683987_0003.jpg
/home/pi/Desktop/images/23012025/06/26/image_23012025_06_26_02_216396_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330760172","1330760153","1330760170","1330760161","1330760158","1330760196"],"photo_ids_order":["1330760153","1330760158","1330760161","1330760170","1330760172","1330760196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c759a5c3a7591c2aef5847fcb817820.jpg","text":"TemporaryFile(/tmp/multipartBody184072054830558737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610059202,"filename":"image_23012025_06_25_02_683987_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/515d438e2bcc54f81c8bbdf71a13b1a0.jpg","text":"TemporaryFile(/tmp/multipartBody8756851832165492404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610059202,"filename":"image_23012025_06_24_03_019483_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26f0eb22af9526e530e641a825df2e1d.jpg","text":"TemporaryFile(/tmp/multipartBody5768515152833701280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610059202,"filename":"image_23012025_06_25_02_683987_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc295796930343e12c4ae7e4d718f94c.jpg","text":"TemporaryFile(/tmp/multipartBody4086551011915570893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610059202,"filename":"image_23012025_06_25_02_683987_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc8c507dd64bc157fa38ba19453381a2.jpg","text":"TemporaryFile(/tmp/multipartBody5633526442203903423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610059202,"filename":"image_23012025_06_25_02_683987_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a917124e82f07f39ec576f14543368b9.jpg","text":"TemporaryFile(/tmp/multipartBody8538788430466540476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610059202,"filename":"image_23012025_06_26_02_216396_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330760161","file1":"1330760158","file0":"1330760153","file4":"1330760172","file5":"1330760196","file3":"1330760170"},"map_files_photo_id_array":[{"photo_id":"1330760196","filename":"file5"},{"photo_id":"1330760161","filename":"file2"},{"photo_id":"1330760172","filename":"file4"},{"photo_id":"1330760158","filename":"file1"},{"photo_id":"1330760153","filename":"file0"},{"photo_id":"1330760170","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330760172":["hashtag1","hashtag2"]},{"1330760153":["hashtag1","hashtag2"]},{"1330760170":["hashtag1","hashtag2"]},{"1330760161":["hashtag1","hashtag2"]},{"1330760158":["hashtag1","hashtag2"]},{"1330760196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330760172, 1330760153, 1330760170, 1330760161, 1330760158, 1330760196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.61378359794617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:27:21.837870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/26/image_23012025_06_26_02_216396_0001.jpg', '/home/pi/Desktop/images/23012025/06/26/image_23012025_06_26_02_216396_0002.jpg', '/home/pi/Desktop/images/23012025/06/26/image_23012025_06_26_02_216396_0003.jpg', '/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_02_694224_0000.jpg', '/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_02_694224_0001.jpg', '/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_02_694224_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/26/image_23012025_06_26_02_216396_0001.jpg
/home/pi/Desktop/images/23012025/06/26/image_23012025_06_26_02_216396_0002.jpg
/home/pi/Desktop/images/23012025/06/26/image_23012025_06_26_02_216396_0003.jpg
/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_02_694224_0000.jpg
/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_02_694224_0001.jpg
/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_02_694224_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330760244","1330760346","1330760240","1330760246","1330760251","1330760242"],"photo_ids_order":["1330760240","1330760242","1330760244","1330760246","1330760251","1330760346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/216bc50c260942f1806aa1598bb4e540.jpg","text":"TemporaryFile(/tmp/multipartBody5018257244331931323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610118985,"filename":"image_23012025_06_26_02_216396_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c70366964d4d4a17eebeb52d1cf47206.jpg","text":"TemporaryFile(/tmp/multipartBody6186638012904335778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610118985,"filename":"image_23012025_06_27_02_694224_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0f05798d5fbe2311179c767fc089382.jpg","text":"TemporaryFile(/tmp/multipartBody820189143469379579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610118985,"filename":"image_23012025_06_26_02_216396_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee10d56f1f6d815530deaed1596d279f.jpg","text":"TemporaryFile(/tmp/multipartBody2319359333043643964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610118985,"filename":"image_23012025_06_27_02_694224_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d035c95a8daf1283064de8a11508eb31.jpg","text":"TemporaryFile(/tmp/multipartBody8291120391428054068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610118985,"filename":"image_23012025_06_27_02_694224_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7efc6edf6dccb7516c3bd7c348e1030b.jpg","text":"TemporaryFile(/tmp/multipartBody8394546179380111234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610118985,"filename":"image_23012025_06_26_02_216396_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330760244","file1":"1330760242","file0":"1330760240","file4":"1330760251","file5":"1330760346","file3":"1330760246"},"map_files_photo_id_array":[{"photo_id":"1330760346","filename":"file5"},{"photo_id":"1330760244","filename":"file2"},{"photo_id":"1330760251","filename":"file4"},{"photo_id":"1330760242","filename":"file1"},{"photo_id":"1330760240","filename":"file0"},{"photo_id":"1330760246","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330760244":["hashtag1","hashtag2"]},{"1330760346":["hashtag1","hashtag2"]},{"1330760240":["hashtag1","hashtag2"]},{"1330760246":["hashtag1","hashtag2"]},{"1330760251":["hashtag1","hashtag2"]},{"1330760242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330760244, 1330760346, 1330760240, 1330760246, 1330760251, 1330760242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.188650369644165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:28:22.365408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_02_694224_0003.jpg', '/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_02_224549_0000.jpg', '/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_02_224549_0001.jpg', '/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_02_224549_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_02_694224_0003.jpg
/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_02_224549_0000.jpg
/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_02_224549_0001.jpg
/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_02_224549_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.338419675827026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:29:02.437695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_02_694224_0003.jpg', '/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_02_224549_0000.jpg', '/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_02_224549_0001.jpg', '/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_02_224549_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_02_694224_0003.jpg
/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_02_224549_0000.jpg
/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_02_224549_0001.jpg
/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_02_224549_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330761065","1330761068","1330760956","1330761060"],"photo_ids_order":["1330760956","1330761060","1330761065","1330761068"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a0c2c3eb814d070d4839a9dfddb2b0a.jpg","text":"TemporaryFile(/tmp/multipartBody7160342493158674947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610214249,"filename":"image_23012025_06_28_02_224549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0cbc3db39c4057f2ab5ad12c28b66a0.jpg","text":"TemporaryFile(/tmp/multipartBody7309970707820419239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610214249,"filename":"image_23012025_06_28_02_224549_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6c43a3f0585a78019252201a4876dac.jpg","text":"TemporaryFile(/tmp/multipartBody6552593722783202428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610214249,"filename":"image_23012025_06_27_02_694224_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b77d84e0958938a2f48428b8ae21273.jpg","text":"TemporaryFile(/tmp/multipartBody8234128072402231231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610214249,"filename":"image_23012025_06_28_02_224549_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330761065","file1":"1330761060","file0":"1330760956","file3":"1330761068"},"map_files_photo_id_array":[{"photo_id":"1330761065","filename":"file2"},{"photo_id":"1330761060","filename":"file1"},{"photo_id":"1330760956","filename":"file0"},{"photo_id":"1330761068","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330761065":["hashtag1","hashtag2"]},{"1330761068":["hashtag1","hashtag2"]},{"1330760956":["hashtag1","hashtag2"]},{"1330761060":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330761065, 1330761068, 1330760956, 1330761060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.219759702682495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:30:03.087381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_02_224549_0003.jpg', '/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_02_709570_0000.jpg', '/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_02_709570_0001.jpg', '/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_02_709570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_02_224549_0003.jpg
/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_02_709570_0000.jpg
/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_02_709570_0001.jpg
/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_02_709570_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330761245","1330761193","1330761235","1330761195"],"photo_ids_order":["1330761193","1330761195","1330761235","1330761245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a00fbd07aead10afcb142825cae2f382.jpg","text":"TemporaryFile(/tmp/multipartBody4180168453873668316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610274702,"filename":"image_23012025_06_29_02_709570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f15e51eeb58cd2cf496466c13dfcbe04.jpg","text":"TemporaryFile(/tmp/multipartBody1904539954970109798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610274702,"filename":"image_23012025_06_28_02_224549_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/246b1b701a23df93dc3acf806b215f15.jpg","text":"TemporaryFile(/tmp/multipartBody7497386731811336941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610274702,"filename":"image_23012025_06_29_02_709570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0edd91cad17af86f5aaf52037ca5f17.jpg","text":"TemporaryFile(/tmp/multipartBody1780773191737845552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610274702,"filename":"image_23012025_06_29_02_709570_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330761235","file1":"1330761195","file0":"1330761193","file3":"1330761245"},"map_files_photo_id_array":[{"photo_id":"1330761235","filename":"file2"},{"photo_id":"1330761195","filename":"file1"},{"photo_id":"1330761193","filename":"file0"},{"photo_id":"1330761245","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330761245":["hashtag1","hashtag2"]},{"1330761193":["hashtag1","hashtag2"]},{"1330761235":["hashtag1","hashtag2"]},{"1330761195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330761245, 1330761193, 1330761235, 1330761195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.96040940284729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:31:02.755308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_02_709570_0003.jpg', '/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_02_271546_0000.jpg', '/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_02_271546_0001.jpg', '/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_02_271546_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_02_709570_0003.jpg
/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_02_271546_0000.jpg
/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_02_271546_0001.jpg
/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_02_271546_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.048549175262451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:31:22.066280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_02_709570_0003.jpg', '/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_02_271546_0000.jpg', '/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_02_271546_0001.jpg', '/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_02_271546_0002.jpg', '/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_02_271546_0003.jpg', '/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_02_937627_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_02_709570_0003.jpg
/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_02_271546_0000.jpg
/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_02_271546_0001.jpg
/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_02_271546_0002.jpg
/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_02_271546_0003.jpg
/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_02_937627_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330761347","1330761332","1330761335","1330761338","1330761323","1330761328"],"photo_ids_order":["1330761323","1330761328","1330761332","1330761335","1330761338","1330761347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08e24144113661d4a89df87d42d07253.jpg","text":"TemporaryFile(/tmp/multipartBody8990976573041035376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610358620,"filename":"image_23012025_06_31_02_937627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1efbb69f6fa3ec3a2ea7018edf549198.jpg","text":"TemporaryFile(/tmp/multipartBody6549461747008888785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610358620,"filename":"image_23012025_06_30_02_271546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e443ac2c4713ce82df3bbc212fb0751c.jpg","text":"TemporaryFile(/tmp/multipartBody3075083281273915274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610358620,"filename":"image_23012025_06_30_02_271546_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e34c6518c9aee3285af73b61dd24ad9c.jpg","text":"TemporaryFile(/tmp/multipartBody1931576493996096182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610358620,"filename":"image_23012025_06_30_02_271546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e5a85c50da651b1488d0c7ee8cce897.jpg","text":"TemporaryFile(/tmp/multipartBody1664276028458462563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610358620,"filename":"image_23012025_06_29_02_709570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28378447560ced08b380070b84253f36.jpg","text":"TemporaryFile(/tmp/multipartBody1647709111508806552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610358620,"filename":"image_23012025_06_30_02_271546_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330761332","file1":"1330761328","file0":"1330761323","file4":"1330761338","file5":"1330761347","file3":"1330761335"},"map_files_photo_id_array":[{"photo_id":"1330761347","filename":"file5"},{"photo_id":"1330761332","filename":"file2"},{"photo_id":"1330761338","filename":"file4"},{"photo_id":"1330761328","filename":"file1"},{"photo_id":"1330761323","filename":"file0"},{"photo_id":"1330761335","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330761347":["hashtag1","hashtag2"]},{"1330761332":["hashtag1","hashtag2"]},{"1330761335":["hashtag1","hashtag2"]},{"1330761338":["hashtag1","hashtag2"]},{"1330761323":["hashtag1","hashtag2"]},{"1330761328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330761347, 1330761332, 1330761335, 1330761338, 1330761323, 1330761328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.91777968406677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:32:21.797918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_02_937627_0001.jpg', '/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_02_937627_0002.jpg', '/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_02_937627_0003.jpg', '/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_02_537207_0000.jpg', '/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_02_537207_0001.jpg', '/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_02_537207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_02_937627_0001.jpg
/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_02_937627_0002.jpg
/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_02_937627_0003.jpg
/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_02_537207_0000.jpg
/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_02_537207_0001.jpg
/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_02_537207_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330761501","1330761467","1330761509","1330761439","1330761489","1330761513"],"photo_ids_order":["1330761439","1330761467","1330761489","1330761501","1330761509","1330761513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1e22632ccf8ad5cd674a2924fdb8bf4.jpg","text":"TemporaryFile(/tmp/multipartBody8797541284193271406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610418497,"filename":"image_23012025_06_32_02_537207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53a1de589881acd7d2f7fcbf01dec6a0.jpg","text":"TemporaryFile(/tmp/multipartBody194472580128438424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610418497,"filename":"image_23012025_06_31_02_937627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6298b801e758fd8289b51ef05bb43a9.jpg","text":"TemporaryFile(/tmp/multipartBody2024014086518874497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610418497,"filename":"image_23012025_06_32_02_537207_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be3814c2add2ca5d4c727746578a3cde.jpg","text":"TemporaryFile(/tmp/multipartBody7006445668411431420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610418497,"filename":"image_23012025_06_31_02_937627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfece19bb7958449e19dc4e469c96be7.jpg","text":"TemporaryFile(/tmp/multipartBody9016697611635257112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610418497,"filename":"image_23012025_06_31_02_937627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99d796b606a23e57013f95f5b5dc738f.jpg","text":"TemporaryFile(/tmp/multipartBody6860418956107914759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610418497,"filename":"image_23012025_06_32_02_537207_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330761489","file1":"1330761467","file0":"1330761439","file4":"1330761509","file5":"1330761513","file3":"1330761501"},"map_files_photo_id_array":[{"photo_id":"1330761513","filename":"file5"},{"photo_id":"1330761489","filename":"file2"},{"photo_id":"1330761509","filename":"file4"},{"photo_id":"1330761467","filename":"file1"},{"photo_id":"1330761439","filename":"file0"},{"photo_id":"1330761501","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330761501":["hashtag1","hashtag2"]},{"1330761467":["hashtag1","hashtag2"]},{"1330761509":["hashtag1","hashtag2"]},{"1330761439":["hashtag1","hashtag2"]},{"1330761489":["hashtag1","hashtag2"]},{"1330761513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330761501, 1330761467, 1330761509, 1330761439, 1330761489, 1330761513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.96778655052185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:34:03.194459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_02_537207_0003.jpg', '/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_02_149089_0000.jpg', '/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_02_149089_0001.jpg', '/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_02_149089_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_02_537207_0003.jpg
/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_02_149089_0000.jpg
/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_02_149089_0001.jpg
/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_02_149089_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.913654804229736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:34:22.722879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_02_537207_0003.jpg', '/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_02_149089_0000.jpg', '/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_02_149089_0001.jpg', '/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_02_149089_0002.jpg', '/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_02_149089_0003.jpg', '/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_02_597216_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_02_537207_0003.jpg
/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_02_149089_0000.jpg
/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_02_149089_0001.jpg
/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_02_149089_0002.jpg
/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_02_149089_0003.jpg
/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_02_597216_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330762460","1330762672","1330762264","1330762144","1330762182","1330762179"],"photo_ids_order":["1330762144","1330762179","1330762182","1330762264","1330762460","1330762672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71452a89ff763e9e63d42ce45bc591b7.jpg","text":"TemporaryFile(/tmp/multipartBody3542820034297982792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610539289,"filename":"image_23012025_06_33_02_149089_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9042c1dd0b61fd9d6abf8e9e9a9ea530.jpg","text":"TemporaryFile(/tmp/multipartBody1948589666455063210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610539289,"filename":"image_23012025_06_34_02_597216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cace3cd12c0158fcff8cee52051df6fe.jpg","text":"TemporaryFile(/tmp/multipartBody1897111537055102552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610539289,"filename":"image_23012025_06_33_02_149089_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32df33967c74dce657aa0e712f8ca1d3.jpg","text":"TemporaryFile(/tmp/multipartBody3833539140324066496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610539289,"filename":"image_23012025_06_32_02_537207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a431ffbf4afa11b7a49e8c810ca921e.jpg","text":"TemporaryFile(/tmp/multipartBody658514745298313774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610539289,"filename":"image_23012025_06_33_02_149089_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4cd2f961ac5e4f093ccda2ecde09d21.jpg","text":"TemporaryFile(/tmp/multipartBody8791625039181840554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610539289,"filename":"image_23012025_06_33_02_149089_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330762182","file1":"1330762179","file0":"1330762144","file4":"1330762460","file5":"1330762672","file3":"1330762264"},"map_files_photo_id_array":[{"photo_id":"1330762672","filename":"file5"},{"photo_id":"1330762182","filename":"file2"},{"photo_id":"1330762460","filename":"file4"},{"photo_id":"1330762179","filename":"file1"},{"photo_id":"1330762144","filename":"file0"},{"photo_id":"1330762264","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330762460":["hashtag1","hashtag2"]},{"1330762672":["hashtag1","hashtag2"]},{"1330762264":["hashtag1","hashtag2"]},{"1330762144":["hashtag1","hashtag2"]},{"1330762182":["hashtag1","hashtag2"]},{"1330762179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330762460, 1330762672, 1330762264, 1330762144, 1330762182, 1330762179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.15043497085571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:35:22.243558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_02_597216_0001.jpg', '/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_02_597216_0002.jpg', '/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_02_597216_0003.jpg', '/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_03_096873_0000.jpg', '/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_03_096873_0001.jpg', '/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_03_096873_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_02_597216_0001.jpg
/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_02_597216_0002.jpg
/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_02_597216_0003.jpg
/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_03_096873_0000.jpg
/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_03_096873_0001.jpg
/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_03_096873_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330763225","1330763278","1330763390","1330763217","1330763205","1330763222"],"photo_ids_order":["1330763205","1330763217","1330763222","1330763225","1330763278","1330763390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6cdf40f97d81eb0aa7d8db19420912d4.jpg","text":"TemporaryFile(/tmp/multipartBody6270626384542581453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610598767,"filename":"image_23012025_06_35_03_096873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/299d9db4df094386bf93ce82f20db2ae.jpg","text":"TemporaryFile(/tmp/multipartBody3714536610865498205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610598767,"filename":"image_23012025_06_35_03_096873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5be5fe5e36420fdb3d452ce298ff339b.jpg","text":"TemporaryFile(/tmp/multipartBody5165903905276350602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610598767,"filename":"image_23012025_06_35_03_096873_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dacad8a728aa6669a6820cff97744113.jpg","text":"TemporaryFile(/tmp/multipartBody4448505533521483366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610598767,"filename":"image_23012025_06_34_02_597216_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee376483bbaa1d8f0e1c03e38befdb15.jpg","text":"TemporaryFile(/tmp/multipartBody7771932615359479858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610598767,"filename":"image_23012025_06_34_02_597216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a367f08541d9ffdeb244ad1d0adf317.jpg","text":"TemporaryFile(/tmp/multipartBody1131483732534844940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610598767,"filename":"image_23012025_06_34_02_597216_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330763222","file1":"1330763217","file0":"1330763205","file4":"1330763278","file5":"1330763390","file3":"1330763225"},"map_files_photo_id_array":[{"photo_id":"1330763390","filename":"file5"},{"photo_id":"1330763222","filename":"file2"},{"photo_id":"1330763278","filename":"file4"},{"photo_id":"1330763217","filename":"file1"},{"photo_id":"1330763205","filename":"file0"},{"photo_id":"1330763225","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330763225":["hashtag1","hashtag2"]},{"1330763278":["hashtag1","hashtag2"]},{"1330763390":["hashtag1","hashtag2"]},{"1330763217":["hashtag1","hashtag2"]},{"1330763205":["hashtag1","hashtag2"]},{"1330763222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330763225, 1330763278, 1330763390, 1330763217, 1330763205, 1330763222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.44900441169739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:37:02.806806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_03_096873_0003.jpg', '/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_02_681323_0000.jpg', '/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_02_681323_0001.jpg', '/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_02_681323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_03_096873_0003.jpg
/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_02_681323_0000.jpg
/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_02_681323_0001.jpg
/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_02_681323_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330763461","1330763455","1330763458","1330763463"],"photo_ids_order":["1330763455","1330763458","1330763461","1330763463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a164681b4a3995b9c54301be7fb4505e.jpg","text":"TemporaryFile(/tmp/multipartBody3312317396397693032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610693929,"filename":"image_23012025_06_36_02_681323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2e251844496a6e209f9fae8bc3975e3.jpg","text":"TemporaryFile(/tmp/multipartBody4130788423338125705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610693929,"filename":"image_23012025_06_35_03_096873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b146f1f26371cc9c331e910fe10168d.jpg","text":"TemporaryFile(/tmp/multipartBody7595306950464211721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610693929,"filename":"image_23012025_06_36_02_681323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e4380c4373799bc529a6b988d0bd054.jpg","text":"TemporaryFile(/tmp/multipartBody8057761301314171490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610693929,"filename":"image_23012025_06_36_02_681323_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330763461","file1":"1330763458","file0":"1330763455","file3":"1330763463"},"map_files_photo_id_array":[{"photo_id":"1330763461","filename":"file2"},{"photo_id":"1330763458","filename":"file1"},{"photo_id":"1330763455","filename":"file0"},{"photo_id":"1330763463","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330763461":["hashtag1","hashtag2"]},{"1330763455":["hashtag1","hashtag2"]},{"1330763458":["hashtag1","hashtag2"]},{"1330763463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330763461, 1330763455, 1330763458, 1330763463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.50322389602661 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:38:02.409280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_02_681323_0003.jpg', '/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_02_147636_0000.jpg', '/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_02_147636_0001.jpg', '/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_02_147636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_02_681323_0003.jpg
/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_02_147636_0000.jpg
/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_02_147636_0001.jpg
/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_02_147636_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330763543","1330763539","1330763533","1330763546"],"photo_ids_order":["1330763533","1330763539","1330763543","1330763546"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a00cfcb0553201c7211d461272327f3d.jpg","text":"TemporaryFile(/tmp/multipartBody8098694587483070416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610753814,"filename":"image_23012025_06_37_02_147636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae6f57f78c2bbf99224523722181b768.jpg","text":"TemporaryFile(/tmp/multipartBody323269864712501185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610753814,"filename":"image_23012025_06_37_02_147636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d85f9d24710471d5e54c0eac9e90195f.jpg","text":"TemporaryFile(/tmp/multipartBody1668565929906282237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610753814,"filename":"image_23012025_06_36_02_681323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25e87914a146a5f6bb612fcce6f3a299.jpg","text":"TemporaryFile(/tmp/multipartBody7277570057284087450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610753814,"filename":"image_23012025_06_37_02_147636_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330763543","file1":"1330763539","file0":"1330763533","file3":"1330763546"},"map_files_photo_id_array":[{"photo_id":"1330763543","filename":"file2"},{"photo_id":"1330763539","filename":"file1"},{"photo_id":"1330763533","filename":"file0"},{"photo_id":"1330763546","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330763543":["hashtag1","hashtag2"]},{"1330763539":["hashtag1","hashtag2"]},{"1330763533":["hashtag1","hashtag2"]},{"1330763546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330763543, 1330763539, 1330763533, 1330763546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.522162675857544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:39:03.027584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_02_147636_0003.jpg', '/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_02_744905_0000.jpg', '/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_02_744905_0001.jpg', '/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_02_744905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_02_147636_0003.jpg
/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_02_744905_0000.jpg
/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_02_744905_0001.jpg
/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_02_744905_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330763594","1330763588","1330763597","1330763591"],"photo_ids_order":["1330763588","1330763591","1330763594","1330763597"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58777b7f42fc4b515ecfa7794e027162.jpg","text":"TemporaryFile(/tmp/multipartBody8391611066181702794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610815271,"filename":"image_23012025_06_38_02_744905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/468bdac38929ba7a55dc21fa92e0c157.jpg","text":"TemporaryFile(/tmp/multipartBody1647548181231727840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610815271,"filename":"image_23012025_06_37_02_147636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7159bd2fe8ce594c50533af78d838948.jpg","text":"TemporaryFile(/tmp/multipartBody9164221269922833336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610815271,"filename":"image_23012025_06_38_02_744905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81fdcd6d53e1ca60e343906809d6a52a.jpg","text":"TemporaryFile(/tmp/multipartBody7327594168029879880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610815271,"filename":"image_23012025_06_38_02_744905_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330763594","file1":"1330763591","file0":"1330763588","file3":"1330763597"},"map_files_photo_id_array":[{"photo_id":"1330763594","filename":"file2"},{"photo_id":"1330763591","filename":"file1"},{"photo_id":"1330763588","filename":"file0"},{"photo_id":"1330763597","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330763594":["hashtag1","hashtag2"]},{"1330763588":["hashtag1","hashtag2"]},{"1330763597":["hashtag1","hashtag2"]},{"1330763591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330763594, 1330763588, 1330763597, 1330763591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.08383274078369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:40:02.594829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_02_744905_0003.jpg', '/home/pi/Desktop/images/23012025/06/39/image_23012025_06_39_02_349062_0000.jpg', '/home/pi/Desktop/images/23012025/06/39/image_23012025_06_39_02_349062_0001.jpg', '/home/pi/Desktop/images/23012025/06/39/image_23012025_06_39_02_349062_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_02_744905_0003.jpg
/home/pi/Desktop/images/23012025/06/39/image_23012025_06_39_02_349062_0000.jpg
/home/pi/Desktop/images/23012025/06/39/image_23012025_06_39_02_349062_0001.jpg
/home/pi/Desktop/images/23012025/06/39/image_23012025_06_39_02_349062_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330763797","1330763816","1330763803","1330763792"],"photo_ids_order":["1330763792","1330763797","1330763803","1330763816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a42b3553d3b56fa7b0de1b31f23dec4.jpg","text":"TemporaryFile(/tmp/multipartBody6301772331471203833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610873997,"filename":"image_23012025_06_39_02_349062_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca122068a9f64864a91408bb4371041c.jpg","text":"TemporaryFile(/tmp/multipartBody5402945507537211870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610873997,"filename":"image_23012025_06_39_02_349062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2800993359a334f4e80d50213fc5fb89.jpg","text":"TemporaryFile(/tmp/multipartBody8540955863211298059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610873997,"filename":"image_23012025_06_39_02_349062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ae9102389223e0ba8647c0b4020cb04.jpg","text":"TemporaryFile(/tmp/multipartBody1938995698226274474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610873997,"filename":"image_23012025_06_38_02_744905_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330763803","file1":"1330763797","file0":"1330763792","file3":"1330763816"},"map_files_photo_id_array":[{"photo_id":"1330763803","filename":"file2"},{"photo_id":"1330763797","filename":"file1"},{"photo_id":"1330763792","filename":"file0"},{"photo_id":"1330763816","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330763797":["hashtag1","hashtag2"]},{"1330763816":["hashtag1","hashtag2"]},{"1330763803":["hashtag1","hashtag2"]},{"1330763792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330763797, 1330763816, 1330763803, 1330763792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.634411334991455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:41:03.212312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/39/image_23012025_06_39_02_349062_0003.jpg', '/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_02_854466_0000.jpg', '/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_02_854466_0001.jpg', '/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_02_854466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/39/image_23012025_06_39_02_349062_0003.jpg
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_02_854466_0000.jpg
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_02_854466_0001.jpg
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_02_854466_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.907129049301147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:41:22.638813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/39/image_23012025_06_39_02_349062_0003.jpg', '/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_02_854466_0000.jpg', '/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_02_854466_0001.jpg', '/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_02_854466_0002.jpg', '/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_02_854466_0003.jpg', '/home/pi/Desktop/images/23012025/06/41/image_23012025_06_41_02_548457_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/39/image_23012025_06_39_02_349062_0003.jpg
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_02_854466_0000.jpg
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_02_854466_0001.jpg
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_02_854466_0002.jpg
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_02_854466_0003.jpg
/home/pi/Desktop/images/23012025/06/41/image_23012025_06_41_02_548457_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330763920","1330763902","1330763913","1330763891","1330763904","1330763888"],"photo_ids_order":["1330763888","1330763891","1330763902","1330763904","1330763913","1330763920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2396ad604cf3fccc5b20ca4cdc7525c.jpg","text":"TemporaryFile(/tmp/multipartBody8094318700326272865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610959326,"filename":"image_23012025_06_41_02_548457_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0869e0f3f2e47f5b4caf9aae759280f4.jpg","text":"TemporaryFile(/tmp/multipartBody2982732548917544692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610959326,"filename":"image_23012025_06_40_02_854466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2229d4f6b43fffa58d1f054f8a0835b.jpg","text":"TemporaryFile(/tmp/multipartBody4363160154267115479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610959326,"filename":"image_23012025_06_40_02_854466_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6921eaca072df30551c3b34fa083e28.jpg","text":"TemporaryFile(/tmp/multipartBody6662167944216988727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610959326,"filename":"image_23012025_06_40_02_854466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a6c9ce7c947f6aa9a3d17beebbc9138.jpg","text":"TemporaryFile(/tmp/multipartBody5054298825030244469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610959326,"filename":"image_23012025_06_40_02_854466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a17cc0b2a58ae8136055e8177a14e316.jpg","text":"TemporaryFile(/tmp/multipartBody6469275121097641963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610959326,"filename":"image_23012025_06_39_02_349062_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330763902","file1":"1330763891","file0":"1330763888","file4":"1330763913","file5":"1330763920","file3":"1330763904"},"map_files_photo_id_array":[{"photo_id":"1330763920","filename":"file5"},{"photo_id":"1330763902","filename":"file2"},{"photo_id":"1330763913","filename":"file4"},{"photo_id":"1330763891","filename":"file1"},{"photo_id":"1330763888","filename":"file0"},{"photo_id":"1330763904","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330763920":["hashtag1","hashtag2"]},{"1330763902":["hashtag1","hashtag2"]},{"1330763913":["hashtag1","hashtag2"]},{"1330763891":["hashtag1","hashtag2"]},{"1330763904":["hashtag1","hashtag2"]},{"1330763888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330763920, 1330763902, 1330763913, 1330763891, 1330763904, 1330763888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.93408918380737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:42:22.430722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/41/image_23012025_06_41_02_548457_0001.jpg', '/home/pi/Desktop/images/23012025/06/41/image_23012025_06_41_02_548457_0002.jpg', '/home/pi/Desktop/images/23012025/06/41/image_23012025_06_41_02_548457_0003.jpg', '/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_03_162665_0000.jpg', '/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_03_162665_0001.jpg', '/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_03_162665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/41/image_23012025_06_41_02_548457_0001.jpg
/home/pi/Desktop/images/23012025/06/41/image_23012025_06_41_02_548457_0002.jpg
/home/pi/Desktop/images/23012025/06/41/image_23012025_06_41_02_548457_0003.jpg
/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_03_162665_0000.jpg
/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_03_162665_0001.jpg
/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_03_162665_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330764010","1330764003","1330764074","1330764020","1330763987","1330764017"],"photo_ids_order":["1330763987","1330764003","1330764010","1330764017","1330764020","1330764074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89161e65dd45356f1f76c52674b9785a.jpg","text":"TemporaryFile(/tmp/multipartBody4660447500168355155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611019087,"filename":"image_23012025_06_41_02_548457_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/098bff2ac1c04ee18486cf2fb8f5ff90.jpg","text":"TemporaryFile(/tmp/multipartBody3603895043334959070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611019087,"filename":"image_23012025_06_41_02_548457_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d54b7c1da08298fc5d99c123ce75e4c.jpg","text":"TemporaryFile(/tmp/multipartBody6527529041542884968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611019087,"filename":"image_23012025_06_42_03_162665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a5d94955d30965ab8c4c05ce765e0ac.jpg","text":"TemporaryFile(/tmp/multipartBody6605210180553097750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611019087,"filename":"image_23012025_06_42_03_162665_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4527bc517095416a30b8eb5b7561514b.jpg","text":"TemporaryFile(/tmp/multipartBody8533631153656549489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611019087,"filename":"image_23012025_06_41_02_548457_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52530140444fcda6b58f8f18a529b186.jpg","text":"TemporaryFile(/tmp/multipartBody6480900715359206222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611019087,"filename":"image_23012025_06_42_03_162665_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330764010","file1":"1330764003","file0":"1330763987","file4":"1330764020","file5":"1330764074","file3":"1330764017"},"map_files_photo_id_array":[{"photo_id":"1330764074","filename":"file5"},{"photo_id":"1330764010","filename":"file2"},{"photo_id":"1330764020","filename":"file4"},{"photo_id":"1330764003","filename":"file1"},{"photo_id":"1330763987","filename":"file0"},{"photo_id":"1330764017","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330764010":["hashtag1","hashtag2"]},{"1330764003":["hashtag1","hashtag2"]},{"1330764074":["hashtag1","hashtag2"]},{"1330764020":["hashtag1","hashtag2"]},{"1330763987":["hashtag1","hashtag2"]},{"1330764017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330764010, 1330764003, 1330764074, 1330764020, 1330763987, 1330764017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.972742319107056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:43:22.016892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_03_162665_0003.jpg', '/home/pi/Desktop/images/23012025/06/43/image_23012025_06_43_02_869327_0000.jpg', '/home/pi/Desktop/images/23012025/06/43/image_23012025_06_43_02_869327_0001.jpg', '/home/pi/Desktop/images/23012025/06/43/image_23012025_06_43_02_869327_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_03_162665_0003.jpg
/home/pi/Desktop/images/23012025/06/43/image_23012025_06_43_02_869327_0000.jpg
/home/pi/Desktop/images/23012025/06/43/image_23012025_06_43_02_869327_0001.jpg
/home/pi/Desktop/images/23012025/06/43/image_23012025_06_43_02_869327_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330764109","1330764105","1330764102","1330764110"],"photo_ids_order":["1330764102","1330764105","1330764109","1330764110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09b0d1ab2c1f33547a61658a5546d570.jpg","text":"TemporaryFile(/tmp/multipartBody8394299890991640610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611073323,"filename":"image_23012025_06_43_02_869327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2ab1d5c05b3c6347ecd279940d184ee.jpg","text":"TemporaryFile(/tmp/multipartBody7714131673039933203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611073323,"filename":"image_23012025_06_43_02_869327_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb629d6d229ecd7559e17625a2dece76.jpg","text":"TemporaryFile(/tmp/multipartBody483563811156393752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611073323,"filename":"image_23012025_06_42_03_162665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/105fd0a6911a1b610f20378d956ccde8.jpg","text":"TemporaryFile(/tmp/multipartBody4101985919077799285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611073323,"filename":"image_23012025_06_43_02_869327_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330764109","file1":"1330764105","file0":"1330764102","file3":"1330764110"},"map_files_photo_id_array":[{"photo_id":"1330764109","filename":"file2"},{"photo_id":"1330764105","filename":"file1"},{"photo_id":"1330764102","filename":"file0"},{"photo_id":"1330764110","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330764109":["hashtag1","hashtag2"]},{"1330764105":["hashtag1","hashtag2"]},{"1330764102":["hashtag1","hashtag2"]},{"1330764110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330764109, 1330764105, 1330764102, 1330764110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63440251350403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:44:02.826790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/35/image_21012025_18_35_02_925152_0002.jpg', '/home/pi/Desktop/images/21012025/18/35/image_21012025_18_35_02_925152_0003.jpg', '/home/pi/Desktop/images/21012025/18/36/image_21012025_18_36_03_203274_0000.jpg', '/home/pi/Desktop/images/21012025/18/36/image_21012025_18_36_03_203274_0001.jpg', '/home/pi/Desktop/images/21012025/18/36/image_21012025_18_36_03_203274_0002.jpg', '/home/pi/Desktop/images/21012025/18/36/image_21012025_18_36_03_203274_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/35/image_21012025_18_35_02_925152_0002.jpg
/home/pi/Desktop/images/21012025/18/35/image_21012025_18_35_02_925152_0003.jpg
/home/pi/Desktop/images/21012025/18/36/image_21012025_18_36_03_203274_0000.jpg
/home/pi/Desktop/images/21012025/18/36/image_21012025_18_36_03_203274_0001.jpg
/home/pi/Desktop/images/21012025/18/36/image_21012025_18_36_03_203274_0002.jpg
/home/pi/Desktop/images/21012025/18/36/image_21012025_18_36_03_203274_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":["1330764124","1330764133","1330764136","1330764135","1330764129","1330764131"],"photo_ids_order":["1330764124","1330764129","1330764131","1330764133","1330764135","1330764136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b1e3d631f3bf01aa7a3c55e995a0b06.jpg","text":"TemporaryFile(/tmp/multipartBody8496663227707965476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611120814,"filename":"image_21012025_18_35_02_925152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5553983c97d15a0191c46c15d53f4f87.jpg","text":"TemporaryFile(/tmp/multipartBody2141483087541412382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611120814,"filename":"image_21012025_18_36_03_203274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/842e55a7e178bd410e077bef1453a335.jpg","text":"TemporaryFile(/tmp/multipartBody7097811427314736345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611120814,"filename":"image_21012025_18_36_03_203274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f91e3233e962c13ae9016c18fdb99ae.jpg","text":"TemporaryFile(/tmp/multipartBody5033534963498802091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611120814,"filename":"image_21012025_18_36_03_203274_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5226455e2168111cb5c833cf2517c3fb.jpg","text":"TemporaryFile(/tmp/multipartBody3084849125589964930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611120814,"filename":"image_21012025_18_35_02_925152_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f02b32c5b380f6e691819e988760e285.jpg","text":"TemporaryFile(/tmp/multipartBody1753232555772630524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611120814,"filename":"image_21012025_18_36_03_203274_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330764131","file1":"1330764129","file0":"1330764124","file4":"1330764135","file5":"1330764136","file3":"1330764133"},"map_files_photo_id_array":[{"photo_id":"1330764136","filename":"file5"},{"photo_id":"1330764131","filename":"file2"},{"photo_id":"1330764135","filename":"file4"},{"photo_id":"1330764129","filename":"file1"},{"photo_id":"1330764124","filename":"file0"},{"photo_id":"1330764133","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330764124":["hashtag1","hashtag2"]},{"1330764133":["hashtag1","hashtag2"]},{"1330764136":["hashtag1","hashtag2"]},{"1330764135":["hashtag1","hashtag2"]},{"1330764129":["hashtag1","hashtag2"]},{"1330764131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330764124, 1330764133, 1330764136, 1330764135, 1330764129, 1330764131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.44409942626953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:45:22.031619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/43/image_23012025_06_43_02_869327_0003.jpg', '/home/pi/Desktop/images/23012025/06/44/image_23012025_06_44_02_369857_0000.jpg', '/home/pi/Desktop/images/23012025/06/44/image_23012025_06_44_02_369857_0001.jpg', '/home/pi/Desktop/images/23012025/06/44/image_23012025_06_44_02_369857_0002.jpg', '/home/pi/Desktop/images/23012025/06/44/image_23012025_06_44_02_369857_0003.jpg', '/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_02_904580_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/43/image_23012025_06_43_02_869327_0003.jpg
/home/pi/Desktop/images/23012025/06/44/image_23012025_06_44_02_369857_0000.jpg
/home/pi/Desktop/images/23012025/06/44/image_23012025_06_44_02_369857_0001.jpg
/home/pi/Desktop/images/23012025/06/44/image_23012025_06_44_02_369857_0002.jpg
/home/pi/Desktop/images/23012025/06/44/image_23012025_06_44_02_369857_0003.jpg
/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_02_904580_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330764241","1330764244","1330764205","1330764208","1330764239","1330764236"],"photo_ids_order":["1330764205","1330764208","1330764236","1330764239","1330764241","1330764244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c31a8aa80df6225b26eeadc7ff2cbb9f.jpg","text":"TemporaryFile(/tmp/multipartBody427372356138652433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611198367,"filename":"image_23012025_06_44_02_369857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4a16de06adb10d5fc93d69f9de1593f.jpg","text":"TemporaryFile(/tmp/multipartBody5639395609190234000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611198367,"filename":"image_23012025_06_45_02_904580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33989bc5798f4cfc626a0bfbe01294dc.jpg","text":"TemporaryFile(/tmp/multipartBody6139473860778619689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611198367,"filename":"image_23012025_06_43_02_869327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de1239ea3b9223a9dd0846cb558058a4.jpg","text":"TemporaryFile(/tmp/multipartBody6148517723409682422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611198367,"filename":"image_23012025_06_44_02_369857_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdcd316cc826ec30b8a64db7cb3acfe8.jpg","text":"TemporaryFile(/tmp/multipartBody6257467699754015297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611198367,"filename":"image_23012025_06_44_02_369857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f1be2b8fad37a502a6f747b3ce15192.jpg","text":"TemporaryFile(/tmp/multipartBody6778030831798195574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611198367,"filename":"image_23012025_06_44_02_369857_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330764236","file1":"1330764208","file0":"1330764205","file4":"1330764241","file5":"1330764244","file3":"1330764239"},"map_files_photo_id_array":[{"photo_id":"1330764244","filename":"file5"},{"photo_id":"1330764236","filename":"file2"},{"photo_id":"1330764241","filename":"file4"},{"photo_id":"1330764208","filename":"file1"},{"photo_id":"1330764205","filename":"file0"},{"photo_id":"1330764239","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330764241":["hashtag1","hashtag2"]},{"1330764244":["hashtag1","hashtag2"]},{"1330764205":["hashtag1","hashtag2"]},{"1330764208":["hashtag1","hashtag2"]},{"1330764239":["hashtag1","hashtag2"]},{"1330764236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330764241, 1330764244, 1330764205, 1330764208, 1330764239, 1330764236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.29604172706604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:46:22.582908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_02_904580_0001.jpg', '/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_02_904580_0002.jpg', '/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_02_904580_0003.jpg', '/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_02_414282_0000.jpg', '/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_02_414282_0001.jpg', '/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_02_414282_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_02_904580_0001.jpg
/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_02_904580_0002.jpg
/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_02_904580_0003.jpg
/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_02_414282_0000.jpg
/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_02_414282_0001.jpg
/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_02_414282_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330764334","1330764279","1330764270","1330764365","1330764266","1330764260"],"photo_ids_order":["1330764260","1330764266","1330764270","1330764279","1330764334","1330764365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a88c152d13e4d75fbb03fe13db7d8e7.jpg","text":"TemporaryFile(/tmp/multipartBody4827247281815121081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611259046,"filename":"image_23012025_06_46_02_414282_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a4e58f00887b95b34ea17cbc28c3695.jpg","text":"TemporaryFile(/tmp/multipartBody4909166522542948038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611259046,"filename":"image_23012025_06_46_02_414282_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/911e65d07913f5a4e7292bd6c8120a4b.jpg","text":"TemporaryFile(/tmp/multipartBody460546314173544217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611259046,"filename":"image_23012025_06_45_02_904580_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e97b637203a22d6069e32b32e5243b33.jpg","text":"TemporaryFile(/tmp/multipartBody1540998852013531719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611259046,"filename":"image_23012025_06_46_02_414282_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ad6743a37e403d1ec02fd67ff342329.jpg","text":"TemporaryFile(/tmp/multipartBody4054419192153455869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611259046,"filename":"image_23012025_06_45_02_904580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69b264d443202fcd95c9e0240144fb7f.jpg","text":"TemporaryFile(/tmp/multipartBody4814223630026709914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611259046,"filename":"image_23012025_06_45_02_904580_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330764270","file1":"1330764266","file0":"1330764260","file4":"1330764334","file5":"1330764365","file3":"1330764279"},"map_files_photo_id_array":[{"photo_id":"1330764365","filename":"file5"},{"photo_id":"1330764270","filename":"file2"},{"photo_id":"1330764334","filename":"file4"},{"photo_id":"1330764266","filename":"file1"},{"photo_id":"1330764260","filename":"file0"},{"photo_id":"1330764279","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330764334":["hashtag1","hashtag2"]},{"1330764279":["hashtag1","hashtag2"]},{"1330764270":["hashtag1","hashtag2"]},{"1330764365":["hashtag1","hashtag2"]},{"1330764266":["hashtag1","hashtag2"]},{"1330764260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330764334, 1330764279, 1330764270, 1330764365, 1330764266, 1330764260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.746838331222534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:48:02.641552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_02_414282_0003.jpg', '/home/pi/Desktop/images/23012025/06/47/image_23012025_06_47_02_947253_0000.jpg', '/home/pi/Desktop/images/23012025/06/47/image_23012025_06_47_02_947253_0001.jpg', '/home/pi/Desktop/images/23012025/06/47/image_23012025_06_47_02_947253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_02_414282_0003.jpg
/home/pi/Desktop/images/23012025/06/47/image_23012025_06_47_02_947253_0000.jpg
/home/pi/Desktop/images/23012025/06/47/image_23012025_06_47_02_947253_0001.jpg
/home/pi/Desktop/images/23012025/06/47/image_23012025_06_47_02_947253_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330764730","1330764840","1330764858","1330764846"],"photo_ids_order":["1330764730","1330764840","1330764846","1330764858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ae6eacb3a619f7afe1eec48ba03dde5.jpg","text":"TemporaryFile(/tmp/multipartBody4468412731838760163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611353867,"filename":"image_23012025_06_46_02_414282_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c8cb63f364eaa0f79fb44f9e775c69f.jpg","text":"TemporaryFile(/tmp/multipartBody7428337474325289571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611353867,"filename":"image_23012025_06_47_02_947253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5269ebc3f6a3b120a9f0b022f37aa0e5.jpg","text":"TemporaryFile(/tmp/multipartBody8352308751876187769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611353867,"filename":"image_23012025_06_47_02_947253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57aea32716465faf0562a18eaf2e1343.jpg","text":"TemporaryFile(/tmp/multipartBody6474913865289416560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611353867,"filename":"image_23012025_06_47_02_947253_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330764846","file1":"1330764840","file0":"1330764730","file3":"1330764858"},"map_files_photo_id_array":[{"photo_id":"1330764846","filename":"file2"},{"photo_id":"1330764840","filename":"file1"},{"photo_id":"1330764730","filename":"file0"},{"photo_id":"1330764858","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330764730":["hashtag1","hashtag2"]},{"1330764840":["hashtag1","hashtag2"]},{"1330764858":["hashtag1","hashtag2"]},{"1330764846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330764730, 1330764840, 1330764858, 1330764846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.5740487575531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:49:02.388382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/47/image_23012025_06_47_02_947253_0003.jpg', '/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_02_520312_0000.jpg', '/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_02_520312_0001.jpg', '/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_02_520312_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/47/image_23012025_06_47_02_947253_0003.jpg
/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_02_520312_0000.jpg
/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_02_520312_0001.jpg
/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_02_520312_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330764952","1330765035","1330765023","1330765040"],"photo_ids_order":["1330764952","1330765023","1330765035","1330765040"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4194e5613521da044cecba042dea6b3.jpg","text":"TemporaryFile(/tmp/multipartBody7407782498567540017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611413710,"filename":"image_23012025_06_47_02_947253_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb87c7879510ceddabcfe68172e3bf17.jpg","text":"TemporaryFile(/tmp/multipartBody6556939958938876161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611413710,"filename":"image_23012025_06_48_02_520312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6439616988e08988eda992d79eefc30a.jpg","text":"TemporaryFile(/tmp/multipartBody1088518768648938284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611413710,"filename":"image_23012025_06_48_02_520312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63033d0a5fb13008d6c9f3a895a90d25.jpg","text":"TemporaryFile(/tmp/multipartBody8025563878147729239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611413710,"filename":"image_23012025_06_48_02_520312_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330765035","file1":"1330765023","file0":"1330764952","file3":"1330765040"},"map_files_photo_id_array":[{"photo_id":"1330765035","filename":"file2"},{"photo_id":"1330765023","filename":"file1"},{"photo_id":"1330764952","filename":"file0"},{"photo_id":"1330765040","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330764952":["hashtag1","hashtag2"]},{"1330765035":["hashtag1","hashtag2"]},{"1330765023":["hashtag1","hashtag2"]},{"1330765040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330764952, 1330765035, 1330765023, 1330765040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 49.92724347114563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:50:02.782309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_02_520312_0003.jpg', '/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_02_616414_0000.jpg', '/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_02_616414_0001.jpg', '/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_02_616414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_02_520312_0003.jpg
/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_02_616414_0000.jpg
/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_02_616414_0001.jpg
/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_02_616414_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330765095","1330765099","1330765090","1330765093"],"photo_ids_order":["1330765090","1330765093","1330765095","1330765099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/415b354b5a353d9cd3e883adb0789eda.jpg","text":"TemporaryFile(/tmp/multipartBody3097606415701206779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611474454,"filename":"image_23012025_06_49_02_616414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3c8c838654c6cc90c40dbc35e623d9e.jpg","text":"TemporaryFile(/tmp/multipartBody6763592693245845689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611474454,"filename":"image_23012025_06_49_02_616414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afe15f996846c34f7ba093aa8cb3ca3e.jpg","text":"TemporaryFile(/tmp/multipartBody2207469300419648777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611474454,"filename":"image_23012025_06_48_02_520312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afabc02d3941f4de6b2e16037d12b5bc.jpg","text":"TemporaryFile(/tmp/multipartBody8243862852792022982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611474454,"filename":"image_23012025_06_49_02_616414_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330765095","file1":"1330765093","file0":"1330765090","file3":"1330765099"},"map_files_photo_id_array":[{"photo_id":"1330765095","filename":"file2"},{"photo_id":"1330765093","filename":"file1"},{"photo_id":"1330765090","filename":"file0"},{"photo_id":"1330765099","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330765095":["hashtag1","hashtag2"]},{"1330765099":["hashtag1","hashtag2"]},{"1330765090":["hashtag1","hashtag2"]},{"1330765093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330765095, 1330765099, 1330765090, 1330765093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.33326697349548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:51:02.412822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_02_616414_0003.jpg', '/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_02_157351_0000.jpg', '/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_02_157351_0001.jpg', '/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_02_157351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_02_616414_0003.jpg
/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_02_157351_0000.jpg
/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_02_157351_0001.jpg
/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_02_157351_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330765139","1330765133","1330765136","1330765141"],"photo_ids_order":["1330765133","1330765136","1330765139","1330765141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28e3f0da15ee630227822c9620377adf.jpg","text":"TemporaryFile(/tmp/multipartBody3155175280839398441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611534081,"filename":"image_23012025_06_50_02_157351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81cfded72732fc9ba0f87bed9c96df08.jpg","text":"TemporaryFile(/tmp/multipartBody8510816418224395860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611534081,"filename":"image_23012025_06_49_02_616414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96d4b0990f183a6efd2ca7b680dc4795.jpg","text":"TemporaryFile(/tmp/multipartBody6615374425627361256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611534081,"filename":"image_23012025_06_50_02_157351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de9bdfa634990e9f1d3dd988d2abf41d.jpg","text":"TemporaryFile(/tmp/multipartBody8151972157854401172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611534081,"filename":"image_23012025_06_50_02_157351_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330765139","file1":"1330765136","file0":"1330765133","file3":"1330765141"},"map_files_photo_id_array":[{"photo_id":"1330765139","filename":"file2"},{"photo_id":"1330765136","filename":"file1"},{"photo_id":"1330765133","filename":"file0"},{"photo_id":"1330765141","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330765139":["hashtag1","hashtag2"]},{"1330765133":["hashtag1","hashtag2"]},{"1330765136":["hashtag1","hashtag2"]},{"1330765141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330765139, 1330765133, 1330765136, 1330765141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98656916618347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:52:02.823781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_02_157351_0003.jpg', '/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_02_746391_0000.jpg', '/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_02_746391_0001.jpg', '/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_02_746391_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_02_157351_0003.jpg
/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_02_746391_0000.jpg
/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_02_746391_0001.jpg
/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_02_746391_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330765169","1330765172","1330765166","1330765162"],"photo_ids_order":["1330765162","1330765166","1330765169","1330765172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a83bf531e165d19e87f337d87d852444.jpg","text":"TemporaryFile(/tmp/multipartBody6393735904274402560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611594179,"filename":"image_23012025_06_51_02_746391_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/095e20b16d69e2c34dff78b3dfcc0322.jpg","text":"TemporaryFile(/tmp/multipartBody4508746232543779142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611594179,"filename":"image_23012025_06_51_02_746391_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9df7e2f650efc8373b730ac0992ea896.jpg","text":"TemporaryFile(/tmp/multipartBody4080470821255905134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611594179,"filename":"image_23012025_06_51_02_746391_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/217b9c25b1ab51b925fb74a719bfbad8.jpg","text":"TemporaryFile(/tmp/multipartBody126727159084533592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611594179,"filename":"image_23012025_06_50_02_157351_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330765169","file1":"1330765166","file0":"1330765162","file3":"1330765172"},"map_files_photo_id_array":[{"photo_id":"1330765169","filename":"file2"},{"photo_id":"1330765166","filename":"file1"},{"photo_id":"1330765162","filename":"file0"},{"photo_id":"1330765172","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330765169":["hashtag1","hashtag2"]},{"1330765172":["hashtag1","hashtag2"]},{"1330765166":["hashtag1","hashtag2"]},{"1330765162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330765169, 1330765172, 1330765166, 1330765162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.97739243507385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:53:02.541945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_02_746391_0003.jpg', '/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_02_248096_0000.jpg', '/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_02_248096_0001.jpg', '/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_02_248096_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_02_746391_0003.jpg
/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_02_248096_0000.jpg
/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_02_248096_0001.jpg
/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_02_248096_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.289406538009644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:53:21.958877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_02_746391_0003.jpg', '/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_02_248096_0000.jpg', '/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_02_248096_0001.jpg', '/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_02_248096_0002.jpg', '/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_02_248096_0003.jpg', '/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_02_865347_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_02_746391_0003.jpg
/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_02_248096_0000.jpg
/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_02_248096_0001.jpg
/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_02_248096_0002.jpg
/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_02_248096_0003.jpg
/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_02_865347_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330765210","1330765207","1330765212","1330765203","1330765214","1330765217"],"photo_ids_order":["1330765203","1330765207","1330765210","1330765212","1330765214","1330765217"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea41807af4d6318ceeb66c4f3ac62bd4.jpg","text":"TemporaryFile(/tmp/multipartBody8339653464065148843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611678824,"filename":"image_23012025_06_52_02_248096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/910cc5ae5ba6dff185d0328a1160475d.jpg","text":"TemporaryFile(/tmp/multipartBody7483063137951860914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611678824,"filename":"image_23012025_06_52_02_248096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/700484a3a6eef8ef692994cc94d21b0b.jpg","text":"TemporaryFile(/tmp/multipartBody2098388565333873708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611678824,"filename":"image_23012025_06_52_02_248096_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3bab91b9d803e0a29696380e234b4e7.jpg","text":"TemporaryFile(/tmp/multipartBody7683220326484685389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611678824,"filename":"image_23012025_06_51_02_746391_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2de8c1a74a814a8af2622d8e162bba01.jpg","text":"TemporaryFile(/tmp/multipartBody6767792186957110622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611678824,"filename":"image_23012025_06_52_02_248096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5353cf4cc1bc6b8d9db277dfcbbb92d6.jpg","text":"TemporaryFile(/tmp/multipartBody1699663340528100595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611678824,"filename":"image_23012025_06_53_02_865347_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330765210","file1":"1330765207","file0":"1330765203","file4":"1330765214","file5":"1330765217","file3":"1330765212"},"map_files_photo_id_array":[{"photo_id":"1330765217","filename":"file5"},{"photo_id":"1330765210","filename":"file2"},{"photo_id":"1330765214","filename":"file4"},{"photo_id":"1330765207","filename":"file1"},{"photo_id":"1330765203","filename":"file0"},{"photo_id":"1330765212","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330765210":["hashtag1","hashtag2"]},{"1330765207":["hashtag1","hashtag2"]},{"1330765212":["hashtag1","hashtag2"]},{"1330765203":["hashtag1","hashtag2"]},{"1330765214":["hashtag1","hashtag2"]},{"1330765217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330765210, 1330765207, 1330765212, 1330765203, 1330765214, 1330765217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.33612775802612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:54:21.769506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_02_865347_0001.jpg', '/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_02_865347_0002.jpg', '/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_02_865347_0003.jpg', '/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_02_360964_0000.jpg', '/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_02_360964_0001.jpg', '/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_02_360964_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_02_865347_0001.jpg
/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_02_865347_0002.jpg
/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_02_865347_0003.jpg
/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_02_360964_0000.jpg
/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_02_360964_0001.jpg
/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_02_360964_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330765275","1330765251","1330765271","1330765259","1330765297","1330765273"],"photo_ids_order":["1330765251","1330765259","1330765271","1330765273","1330765275","1330765297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/104f27b55ee6139c05a9b3c1d2ba6576.jpg","text":"TemporaryFile(/tmp/multipartBody8906442663388039748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611738561,"filename":"image_23012025_06_54_02_360964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82f7fee22b5f0008251cb70ec219d3f3.jpg","text":"TemporaryFile(/tmp/multipartBody3598667493076651874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611738561,"filename":"image_23012025_06_53_02_865347_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33b9d788053d68df7f898fe3bfd7d43f.jpg","text":"TemporaryFile(/tmp/multipartBody1282418628007111021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611738561,"filename":"image_23012025_06_53_02_865347_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67a82de85f550aa6ab3092478fbd74bf.jpg","text":"TemporaryFile(/tmp/multipartBody1680811131616264699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611738561,"filename":"image_23012025_06_53_02_865347_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91457e15d18f10d867151e7663aadaac.jpg","text":"TemporaryFile(/tmp/multipartBody1731372377727258865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611738561,"filename":"image_23012025_06_54_02_360964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25529842d0c15121c428bdea1fd159d7.jpg","text":"TemporaryFile(/tmp/multipartBody7059594331493077177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611738561,"filename":"image_23012025_06_54_02_360964_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330765271","file1":"1330765259","file0":"1330765251","file4":"1330765275","file5":"1330765297","file3":"1330765273"},"map_files_photo_id_array":[{"photo_id":"1330765297","filename":"file5"},{"photo_id":"1330765271","filename":"file2"},{"photo_id":"1330765275","filename":"file4"},{"photo_id":"1330765259","filename":"file1"},{"photo_id":"1330765251","filename":"file0"},{"photo_id":"1330765273","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330765275":["hashtag1","hashtag2"]},{"1330765251":["hashtag1","hashtag2"]},{"1330765271":["hashtag1","hashtag2"]},{"1330765259":["hashtag1","hashtag2"]},{"1330765297":["hashtag1","hashtag2"]},{"1330765273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330765275, 1330765251, 1330765271, 1330765259, 1330765297, 1330765273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.52897119522095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:55:22.205582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_02_360964_0003.jpg', '/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_02_129110_0000.jpg', '/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_02_129110_0001.jpg', '/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_02_129110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_02_360964_0003.jpg
/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_02_129110_0000.jpg
/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_02_129110_0001.jpg
/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_02_129110_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330765312","1330765304","1330765315","1330765309"],"photo_ids_order":["1330765304","1330765309","1330765312","1330765315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c3fa55470c2705909ca9a476ff52072.jpg","text":"TemporaryFile(/tmp/multipartBody1174520791654884418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611793581,"filename":"image_23012025_06_55_02_129110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ad2e789b01253d2cd96b9fe3b894966.jpg","text":"TemporaryFile(/tmp/multipartBody8905754713039038481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611793581,"filename":"image_23012025_06_54_02_360964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6efd863f871b34e1160f2d5afd6acbe4.jpg","text":"TemporaryFile(/tmp/multipartBody1768107836855603907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611793581,"filename":"image_23012025_06_55_02_129110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6510f4c3ee1e9ebf5ae85fd5fa391772.jpg","text":"TemporaryFile(/tmp/multipartBody2456528808833264367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611793581,"filename":"image_23012025_06_55_02_129110_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330765312","file1":"1330765309","file0":"1330765304","file3":"1330765315"},"map_files_photo_id_array":[{"photo_id":"1330765312","filename":"file2"},{"photo_id":"1330765309","filename":"file1"},{"photo_id":"1330765304","filename":"file0"},{"photo_id":"1330765315","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330765312":["hashtag1","hashtag2"]},{"1330765304":["hashtag1","hashtag2"]},{"1330765315":["hashtag1","hashtag2"]},{"1330765309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330765312, 1330765304, 1330765315, 1330765309)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.11257743835449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 06:56:22.777213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_02_129110_0003.jpg', '/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_02_579111_0000.jpg', '/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_02_579111_0001.jpg', '/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_02_579111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_02_129110_0003.jpg
/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_02_579111_0000.jpg
/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_02_579111_0001.jpg
/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_02_579111_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.24040174484253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:57:02.779772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_02_129110_0003.jpg', '/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_02_579111_0000.jpg', '/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_02_579111_0001.jpg', '/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_02_579111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_02_129110_0003.jpg
/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_02_579111_0000.jpg
/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_02_579111_0001.jpg
/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_02_579111_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330765405","1330765449","1330765401","1330765390"],"photo_ids_order":["1330765390","1330765401","1330765405","1330765449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4fd61a083b69938b77fdcf62ff2b796d.jpg","text":"TemporaryFile(/tmp/multipartBody1889625776430335075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611894467,"filename":"image_23012025_06_56_02_579111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1809e7505d377202c4358f8c8b8e40b4.jpg","text":"TemporaryFile(/tmp/multipartBody1065693302759953185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611894467,"filename":"image_23012025_06_56_02_579111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a64c9acfd3a8a3313c694cec0dc5c581.jpg","text":"TemporaryFile(/tmp/multipartBody5390197361043892923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611894467,"filename":"image_23012025_06_56_02_579111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63d58de25bbbfc34696290fb57f3c07d.jpg","text":"TemporaryFile(/tmp/multipartBody5076500512356530452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611894467,"filename":"image_23012025_06_55_02_129110_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330765405","file1":"1330765401","file0":"1330765390","file3":"1330765449"},"map_files_photo_id_array":[{"photo_id":"1330765405","filename":"file2"},{"photo_id":"1330765401","filename":"file1"},{"photo_id":"1330765390","filename":"file0"},{"photo_id":"1330765449","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330765405":["hashtag1","hashtag2"]},{"1330765449":["hashtag1","hashtag2"]},{"1330765401":["hashtag1","hashtag2"]},{"1330765390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330765405, 1330765449, 1330765401, 1330765390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.18379068374634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 06:59:02.666252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_02_579111_0003.jpg', '/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_03_046008_0000.jpg', '/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_03_046008_0001.jpg', '/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_03_046008_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_02_579111_0003.jpg
/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_03_046008_0000.jpg
/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_03_046008_0001.jpg
/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_03_046008_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330765812","1330765844","1330765646","1330765832"],"photo_ids_order":["1330765646","1330765812","1330765832","1330765844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3070857d5e84f3b68bda161f4a3067a.jpg","text":"TemporaryFile(/tmp/multipartBody2715510399465555150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612013779,"filename":"image_23012025_06_57_03_046008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e59890a1d06ad0d0b91e1b3250651634.jpg","text":"TemporaryFile(/tmp/multipartBody2380514258444561651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612013779,"filename":"image_23012025_06_57_03_046008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53a1c232e83a47e7e9cfbe8ccccd03c3.jpg","text":"TemporaryFile(/tmp/multipartBody4007594053571776540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612013779,"filename":"image_23012025_06_56_02_579111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ac436d1608d7187ccf02ff20ab411a9.jpg","text":"TemporaryFile(/tmp/multipartBody2469950400666954717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612013779,"filename":"image_23012025_06_57_03_046008_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330765832","file1":"1330765812","file0":"1330765646","file3":"1330765844"},"map_files_photo_id_array":[{"photo_id":"1330765832","filename":"file2"},{"photo_id":"1330765812","filename":"file1"},{"photo_id":"1330765646","filename":"file0"},{"photo_id":"1330765844","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330765812":["hashtag1","hashtag2"]},{"1330765844":["hashtag1","hashtag2"]},{"1330765646":["hashtag1","hashtag2"]},{"1330765832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330765812, 1330765844, 1330765646, 1330765832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.308427572250366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:00:02.904647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_03_046008_0003.jpg', '/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_02_516501_0000.jpg', '/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_02_516501_0001.jpg', '/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_02_516501_0002.jpg', '/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_02_516501_0003.jpg', '/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_03_088661_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_03_046008_0003.jpg
/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_02_516501_0000.jpg
/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_02_516501_0001.jpg
/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_02_516501_0002.jpg
/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_02_516501_0003.jpg
/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_03_088661_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330765927","1330765926","1330765931","1330765925","1330765907","1330765921"],"photo_ids_order":["1330765907","1330765921","1330765925","1330765926","1330765927","1330765931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/505cac2360a5c38096f5d16e4314a382.jpg","text":"TemporaryFile(/tmp/multipartBody1987266150746709096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612079538,"filename":"image_23012025_06_58_02_516501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc25050a3ff834b0623665f4afc84c4b.jpg","text":"TemporaryFile(/tmp/multipartBody7710718169367469874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612079538,"filename":"image_23012025_06_58_02_516501_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3fd3f1f79c58e09e97bfd6b6be84edf.jpg","text":"TemporaryFile(/tmp/multipartBody3106117674422249393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612079538,"filename":"image_23012025_06_59_03_088661_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5059628f97b0c23ec42fcff9e6b345a9.jpg","text":"TemporaryFile(/tmp/multipartBody930830232397191190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612079538,"filename":"image_23012025_06_58_02_516501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02c92cb35df6ef6ac6b01882a87cc835.jpg","text":"TemporaryFile(/tmp/multipartBody6749354634751963015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612079538,"filename":"image_23012025_06_57_03_046008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b31b6febade7e5560650465e318efe55.jpg","text":"TemporaryFile(/tmp/multipartBody1491179912808804311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612079538,"filename":"image_23012025_06_58_02_516501_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330765925","file1":"1330765921","file0":"1330765907","file4":"1330765927","file5":"1330765931","file3":"1330765926"},"map_files_photo_id_array":[{"photo_id":"1330765931","filename":"file5"},{"photo_id":"1330765925","filename":"file2"},{"photo_id":"1330765927","filename":"file4"},{"photo_id":"1330765921","filename":"file1"},{"photo_id":"1330765907","filename":"file0"},{"photo_id":"1330765926","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330765927":["hashtag1","hashtag2"]},{"1330765926":["hashtag1","hashtag2"]},{"1330765931":["hashtag1","hashtag2"]},{"1330765925":["hashtag1","hashtag2"]},{"1330765907":["hashtag1","hashtag2"]},{"1330765921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330765927, 1330765926, 1330765931, 1330765925, 1330765907, 1330765921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.022642612457275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:01:02.545337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_03_088661_0001.jpg', '/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_03_088661_0002.jpg', '/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_03_088661_0003.jpg', '/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_02_256633_0000.jpg', '/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_02_256633_0001.jpg', '/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_02_256633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_03_088661_0001.jpg
/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_03_088661_0002.jpg
/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_03_088661_0003.jpg
/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_02_256633_0000.jpg
/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_02_256633_0001.jpg
/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_02_256633_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330765949","1330766101","1330765960","1330765954","1330766094","1330765957"],"photo_ids_order":["1330765949","1330765954","1330765957","1330765960","1330766094","1330766101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8d2d3186e5b9147df092b84e1cae7c6.jpg","text":"TemporaryFile(/tmp/multipartBody7179080668963594544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612139485,"filename":"image_23012025_06_59_03_088661_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2164a4b89ef038aba1c192ee7ac77000.jpg","text":"TemporaryFile(/tmp/multipartBody2864020443010111456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612139485,"filename":"image_23012025_07_00_02_256633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a9669677573b85f8cdb329660a6ca14.jpg","text":"TemporaryFile(/tmp/multipartBody1422514395847583015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612139485,"filename":"image_23012025_07_00_02_256633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5082e24bd557edbf0bdc4b6b1c659691.jpg","text":"TemporaryFile(/tmp/multipartBody8258331687800422333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612139485,"filename":"image_23012025_06_59_03_088661_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21fb069f9ae29a7577f33013d435d1cd.jpg","text":"TemporaryFile(/tmp/multipartBody3915708059400949945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612139485,"filename":"image_23012025_07_00_02_256633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5791891318785ab07ff048b59ba170ca.jpg","text":"TemporaryFile(/tmp/multipartBody5128041519115174229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612139485,"filename":"image_23012025_06_59_03_088661_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330765957","file1":"1330765954","file0":"1330765949","file4":"1330766094","file5":"1330766101","file3":"1330765960"},"map_files_photo_id_array":[{"photo_id":"1330766101","filename":"file5"},{"photo_id":"1330765957","filename":"file2"},{"photo_id":"1330766094","filename":"file4"},{"photo_id":"1330765954","filename":"file1"},{"photo_id":"1330765949","filename":"file0"},{"photo_id":"1330765960","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330765949":["hashtag1","hashtag2"]},{"1330766101":["hashtag1","hashtag2"]},{"1330765960":["hashtag1","hashtag2"]},{"1330765954":["hashtag1","hashtag2"]},{"1330766094":["hashtag1","hashtag2"]},{"1330765957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330765949, 1330766101, 1330765960, 1330765954, 1330766094, 1330765957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.33486819267273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:02:03.089892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_02_256633_0003.jpg', '/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_02_819993_0000.jpg', '/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_02_819993_0001.jpg', '/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_02_819993_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_02_256633_0003.jpg
/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_02_819993_0000.jpg
/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_02_819993_0001.jpg
/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_02_819993_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330766124","1330766159","1330766161","1330766122"],"photo_ids_order":["1330766122","1330766124","1330766159","1330766161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ab21b429696fe4e9457faefa191347f.jpg","text":"TemporaryFile(/tmp/multipartBody2829631246584354805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612194638,"filename":"image_23012025_07_01_02_819993_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7e14f8e12956bb3797aab611aba37f0.jpg","text":"TemporaryFile(/tmp/multipartBody866709151989790967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612194638,"filename":"image_23012025_07_01_02_819993_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d23a5a76934be9d8095a4fb5948eb1f3.jpg","text":"TemporaryFile(/tmp/multipartBody525460526509165904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612194638,"filename":"image_23012025_07_01_02_819993_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/820e164e31217419e21c88a51f428127.jpg","text":"TemporaryFile(/tmp/multipartBody895297528735980052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612194638,"filename":"image_23012025_07_00_02_256633_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330766159","file1":"1330766124","file0":"1330766122","file3":"1330766161"},"map_files_photo_id_array":[{"photo_id":"1330766159","filename":"file2"},{"photo_id":"1330766124","filename":"file1"},{"photo_id":"1330766122","filename":"file0"},{"photo_id":"1330766161","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330766124":["hashtag1","hashtag2"]},{"1330766159":["hashtag1","hashtag2"]},{"1330766161":["hashtag1","hashtag2"]},{"1330766122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330766124, 1330766159, 1330766161, 1330766122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.33475089073181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:03:02.665447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_02_819993_0003.jpg', '/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_02_367395_0000.jpg', '/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_02_367395_0001.jpg', '/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_02_367395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_02_819993_0003.jpg
/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_02_367395_0000.jpg
/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_02_367395_0001.jpg
/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_02_367395_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.142839431762695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:03:22.028187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_02_819993_0003.jpg', '/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_02_367395_0000.jpg', '/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_02_367395_0001.jpg', '/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_02_367395_0002.jpg', '/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_02_367395_0003.jpg', '/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_02_894552_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_02_819993_0003.jpg
/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_02_367395_0000.jpg
/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_02_367395_0001.jpg
/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_02_367395_0002.jpg
/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_02_367395_0003.jpg
/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_02_894552_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":["1330766346","1330766334","1330766342","1330766336","1330766338","1330766329"],"photo_ids_order":["1330766329","1330766334","1330766336","1330766338","1330766342","1330766346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be6ab5dc748d8e582aa7926d8c9dbc73.jpg","text":"TemporaryFile(/tmp/multipartBody3453709160212988601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612280047,"filename":"image_23012025_07_03_02_894552_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/491136e20cf467444c103359f311d39b.jpg","text":"TemporaryFile(/tmp/multipartBody1009602388569207521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612280047,"filename":"image_23012025_07_02_02_367395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f011f68f6a7ddbf9b2567fdc78ad6b9.jpg","text":"TemporaryFile(/tmp/multipartBody6705513245461559498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612280047,"filename":"image_23012025_07_02_02_367395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/274e14896fca731af6edec345cf97b54.jpg","text":"TemporaryFile(/tmp/multipartBody5844896144750418447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612280047,"filename":"image_23012025_07_02_02_367395_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc3dae02567bab6290acbc09c2c05099.jpg","text":"TemporaryFile(/tmp/multipartBody1077837155007061936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612280047,"filename":"image_23012025_07_02_02_367395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de56bfcea285aa0d63c4e5d128bb9805.jpg","text":"TemporaryFile(/tmp/multipartBody4652668836243991965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612280047,"filename":"image_23012025_07_01_02_819993_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330766336","file1":"1330766334","file0":"1330766329","file4":"1330766342","file5":"1330766346","file3":"1330766338"},"map_files_photo_id_array":[{"photo_id":"1330766346","filename":"file5"},{"photo_id":"1330766336","filename":"file2"},{"photo_id":"1330766342","filename":"file4"},{"photo_id":"1330766334","filename":"file1"},{"photo_id":"1330766329","filename":"file0"},{"photo_id":"1330766338","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330766346":["hashtag1","hashtag2"]},{"1330766334":["hashtag1","hashtag2"]},{"1330766342":["hashtag1","hashtag2"]},{"1330766336":["hashtag1","hashtag2"]},{"1330766338":["hashtag1","hashtag2"]},{"1330766329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330766346, 1330766334, 1330766342, 1330766336, 1330766338, 1330766329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.15372085571289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:05:02.844152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_02_894552_0001.jpg', '/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_02_894552_0002.jpg', '/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_02_894552_0003.jpg', '/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_02_451379_0000.jpg', '/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_02_451379_0001.jpg', '/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_02_451379_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_02_894552_0001.jpg
/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_02_894552_0002.jpg
/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_02_894552_0003.jpg
/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_02_451379_0000.jpg
/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_02_451379_0001.jpg
/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_02_451379_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.56813669204712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:05:22.206768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_02_894552_0001.jpg', '/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_02_894552_0002.jpg', '/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_02_894552_0003.jpg', '/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_02_451379_0000.jpg', '/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_02_451379_0001.jpg', '/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_02_451379_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_02_894552_0001.jpg
/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_02_894552_0002.jpg
/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_02_894552_0003.jpg
/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_02_451379_0000.jpg
/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_02_451379_0001.jpg
/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_02_451379_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330766412","1330766409","1330766405","1330766407","1330766416","1330766401"],"photo_ids_order":["1330766401","1330766405","1330766407","1330766409","1330766412","1330766416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86fa8e5c4139ddd81506db345eab5003.jpg","text":"TemporaryFile(/tmp/multipartBody7427125739472319202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612399083,"filename":"image_23012025_07_04_02_451379_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/64f972be4d2e383499b431d8d3f80f7e.jpg","text":"TemporaryFile(/tmp/multipartBody7014220297273892322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612399083,"filename":"image_23012025_07_04_02_451379_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f82647fd7f9f1c6b5c125ebe4f7d24f.jpg","text":"TemporaryFile(/tmp/multipartBody7554096723800634561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612399083,"filename":"image_23012025_07_03_02_894552_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72ef8e2c8f9ec0ca4cffab29bf551dcc.jpg","text":"TemporaryFile(/tmp/multipartBody5553847141818585628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612399083,"filename":"image_23012025_07_03_02_894552_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fddcd932f047320215c9afea4a19425f.jpg","text":"TemporaryFile(/tmp/multipartBody3328168103738751902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612399083,"filename":"image_23012025_07_04_02_451379_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb69c942993f2c1ce1a66553e3a712b7.jpg","text":"TemporaryFile(/tmp/multipartBody63395025141779752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612399083,"filename":"image_23012025_07_03_02_894552_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330766407","file1":"1330766405","file0":"1330766401","file4":"1330766412","file5":"1330766416","file3":"1330766409"},"map_files_photo_id_array":[{"photo_id":"1330766416","filename":"file5"},{"photo_id":"1330766407","filename":"file2"},{"photo_id":"1330766412","filename":"file4"},{"photo_id":"1330766405","filename":"file1"},{"photo_id":"1330766401","filename":"file0"},{"photo_id":"1330766409","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330766412":["hashtag1","hashtag2"]},{"1330766409":["hashtag1","hashtag2"]},{"1330766405":["hashtag1","hashtag2"]},{"1330766407":["hashtag1","hashtag2"]},{"1330766416":["hashtag1","hashtag2"]},{"1330766401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330766412, 1330766409, 1330766405, 1330766407, 1330766416, 1330766401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.628191232681274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:06:21.873735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_02_451379_0003.jpg', '/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_03_094383_0000.jpg', '/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_03_094383_0001.jpg', '/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_03_094383_0002.jpg', '/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_03_094383_0003.jpg', '/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_02_620466_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_02_451379_0003.jpg
/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_03_094383_0000.jpg
/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_03_094383_0001.jpg
/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_03_094383_0002.jpg
/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_03_094383_0003.jpg
/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_02_620466_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330766445","1330766427","1330766483","1330766477","1330766458","1330766431"],"photo_ids_order":["1330766427","1330766431","1330766445","1330766458","1330766477","1330766483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe308ecda87b12bee0811c80dcf19a0e.jpg","text":"TemporaryFile(/tmp/multipartBody6973989827459660671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612458949,"filename":"image_23012025_07_05_03_094383_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a76237fe79cd399202cf6e0c8611738.jpg","text":"TemporaryFile(/tmp/multipartBody6472761424614280933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612458949,"filename":"image_23012025_07_04_02_451379_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/adbccd8a68d19f90b1ce3b1d4717ec77.jpg","text":"TemporaryFile(/tmp/multipartBody4948810897291655293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612458949,"filename":"image_23012025_07_06_02_620466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3f70e2585e0a0769285015f2f088d3a.jpg","text":"TemporaryFile(/tmp/multipartBody8327428268107826477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612458949,"filename":"image_23012025_07_05_03_094383_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89e7acb195f5d39bc3d8ffe82ae88c4e.jpg","text":"TemporaryFile(/tmp/multipartBody8886955865350444971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612458949,"filename":"image_23012025_07_05_03_094383_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1ad32cf010cca275ca498eb6948a43d.jpg","text":"TemporaryFile(/tmp/multipartBody329568563137660804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612458949,"filename":"image_23012025_07_05_03_094383_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330766445","file1":"1330766431","file0":"1330766427","file4":"1330766477","file5":"1330766483","file3":"1330766458"},"map_files_photo_id_array":[{"photo_id":"1330766483","filename":"file5"},{"photo_id":"1330766445","filename":"file2"},{"photo_id":"1330766477","filename":"file4"},{"photo_id":"1330766431","filename":"file1"},{"photo_id":"1330766427","filename":"file0"},{"photo_id":"1330766458","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330766445":["hashtag1","hashtag2"]},{"1330766427":["hashtag1","hashtag2"]},{"1330766483":["hashtag1","hashtag2"]},{"1330766477":["hashtag1","hashtag2"]},{"1330766458":["hashtag1","hashtag2"]},{"1330766431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330766445, 1330766427, 1330766483, 1330766477, 1330766458, 1330766431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.47256684303284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:07:22.430393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_02_620466_0001.jpg', '/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_02_620466_0002.jpg', '/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_02_620466_0003.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0000.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0001.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_02_620466_0001.jpg
/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_02_620466_0002.jpg
/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_02_620466_0003.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0000.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0001.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330766505","1330766498","1330766513","1330766501","1330766512","1330766509"],"photo_ids_order":["1330766498","1330766501","1330766505","1330766509","1330766512","1330766513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1eae257c67d2d4f4777b1b981cc38609.jpg","text":"TemporaryFile(/tmp/multipartBody7498078825755401189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612519018,"filename":"image_23012025_07_06_02_620466_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6381ac5fe496238da41ee911c08b3e41.jpg","text":"TemporaryFile(/tmp/multipartBody1372774922939863901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612519018,"filename":"image_23012025_07_06_02_620466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3716c5f8c467f8fc2120d4e5d1afc629.jpg","text":"TemporaryFile(/tmp/multipartBody7451480749959065528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612519018,"filename":"image_23012025_07_07_02_315690_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd74a51b964e1660b8399644985140c1.jpg","text":"TemporaryFile(/tmp/multipartBody3464823882932446148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612519018,"filename":"image_23012025_07_06_02_620466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/378fc1fa5a0658214f539caf51416d2a.jpg","text":"TemporaryFile(/tmp/multipartBody2526173546171804344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612519018,"filename":"image_23012025_07_07_02_315690_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ac3533fb8b70a11be6afc86215cd5cd.jpg","text":"TemporaryFile(/tmp/multipartBody6377194711692624320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612519018,"filename":"image_23012025_07_07_02_315690_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330766505","file1":"1330766501","file0":"1330766498","file4":"1330766512","file5":"1330766513","file3":"1330766509"},"map_files_photo_id_array":[{"photo_id":"1330766513","filename":"file5"},{"photo_id":"1330766505","filename":"file2"},{"photo_id":"1330766512","filename":"file4"},{"photo_id":"1330766501","filename":"file1"},{"photo_id":"1330766498","filename":"file0"},{"photo_id":"1330766509","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330766505":["hashtag1","hashtag2"]},{"1330766498":["hashtag1","hashtag2"]},{"1330766513":["hashtag1","hashtag2"]},{"1330766501":["hashtag1","hashtag2"]},{"1330766512":["hashtag1","hashtag2"]},{"1330766509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330766505, 1330766498, 1330766513, 1330766501, 1330766512, 1330766509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.054734230041504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:08:21.981016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.122474908828735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:09:03.135548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_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>888mje1kc</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>888mje1kc</strong>.
uploaded 0 photos
time to upload: 41.213398933410645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:10:02.467687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0003.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0003.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.47867202758789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:10:22.110437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0003.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0003.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>888mjim9n</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>888mjim9n</strong>.
uploaded 0 photos
time to upload: 46.4641854763031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:11:22.533257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0003.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0003.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>888mjm7jl</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>888mjm7jl</strong>.
uploaded 0 photos
time to upload: 46.46416711807251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:12:22.336180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0003.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0003.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>888mjpi6n</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>888mjpi6n</strong>.
uploaded 0 photos
time to upload: 46.488985538482666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:13:21.890665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0003.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0003.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>888mk329l</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>888mk329l</strong>.
uploaded 0 photos
time to upload: 46.498783349990845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:14:22.303094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0003.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_02_315690_0003.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0000.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0001.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0002.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_02_851626_0003.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330766631","1330766649","1330766642","1330766645","1330766636","1330766647"],"photo_ids_order":["1330766631","1330766636","1330766642","1330766645","1330766647","1330766649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96daf518f35c82a68c26a2e6d0e617ce.jpg","text":"TemporaryFile(/tmp/multipartBody1162406557529983117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612939129,"filename":"image_23012025_07_07_02_315690_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfeafc4fd54689ffc530694116da631a.jpg","text":"TemporaryFile(/tmp/multipartBody7222481521015135156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612939129,"filename":"image_23012025_07_09_02_399139_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aef8a85c50e19c7ef6fc6fcf07eead55.jpg","text":"TemporaryFile(/tmp/multipartBody5993549108782498157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612939129,"filename":"image_23012025_07_08_02_851626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3043082e7f5c58dddcf0ffbd23dbd8bd.jpg","text":"TemporaryFile(/tmp/multipartBody9009514298748156850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612939129,"filename":"image_23012025_07_08_02_851626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e728f01fdfc2002b56253645e6ff35a8.jpg","text":"TemporaryFile(/tmp/multipartBody189715342895721169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612939129,"filename":"image_23012025_07_08_02_851626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/730da38923906ef872d5f079b01ff0c8.jpg","text":"TemporaryFile(/tmp/multipartBody3799501315415872867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612939129,"filename":"image_23012025_07_08_02_851626_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330766642","file1":"1330766636","file0":"1330766631","file4":"1330766647","file5":"1330766649","file3":"1330766645"},"map_files_photo_id_array":[{"photo_id":"1330766649","filename":"file5"},{"photo_id":"1330766642","filename":"file2"},{"photo_id":"1330766647","filename":"file4"},{"photo_id":"1330766636","filename":"file1"},{"photo_id":"1330766631","filename":"file0"},{"photo_id":"1330766645","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330766631":["hashtag1","hashtag2"]},{"1330766649":["hashtag1","hashtag2"]},{"1330766642":["hashtag1","hashtag2"]},{"1330766645":["hashtag1","hashtag2"]},{"1330766636":["hashtag1","hashtag2"]},{"1330766647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330766631, 1330766649, 1330766642, 1330766645, 1330766636, 1330766647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.29889106750488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:15:22.747792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0001.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0002.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0003.jpg', '/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_03_000573_0000.jpg', '/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_03_000573_0001.jpg', '/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_03_000573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0001.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0002.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0003.jpg
/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_03_000573_0000.jpg
/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_03_000573_0001.jpg
/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_03_000573_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.976440668106079 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:16:02.844935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0001.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0002.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0003.jpg', '/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_03_000573_0000.jpg', '/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_03_000573_0001.jpg', '/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_03_000573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0001.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0002.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_02_399139_0003.jpg
/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_03_000573_0000.jpg
/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_03_000573_0001.jpg
/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_03_000573_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330766885","1330766879","1330766711","1330766828","1330766874","1330766868"],"photo_ids_order":["1330766711","1330766828","1330766868","1330766874","1330766879","1330766885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ceaa76802953f70bbed8fa8c90e0d341.jpg","text":"TemporaryFile(/tmp/multipartBody7157604981464460666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613039227,"filename":"image_23012025_07_10_03_000573_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84be72ec46abba65ac8d40bd7e8fbd10.jpg","text":"TemporaryFile(/tmp/multipartBody2851846516878562513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613039227,"filename":"image_23012025_07_10_03_000573_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfed5a6c790d68266dc5089429107378.jpg","text":"TemporaryFile(/tmp/multipartBody7047027726963821745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613039227,"filename":"image_23012025_07_09_02_399139_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/854403432e6fa87fd3afa9b6571cd5b2.jpg","text":"TemporaryFile(/tmp/multipartBody8945786785154954719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613039227,"filename":"image_23012025_07_09_02_399139_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bcae4c024dc723f81930ae9bd51e3f6e.jpg","text":"TemporaryFile(/tmp/multipartBody4201241284992234720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613039227,"filename":"image_23012025_07_10_03_000573_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71933f445907fbb031e679ebc27a2b4c.jpg","text":"TemporaryFile(/tmp/multipartBody4965169218653924170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613039227,"filename":"image_23012025_07_09_02_399139_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330766868","file1":"1330766828","file0":"1330766711","file4":"1330766879","file5":"1330766885","file3":"1330766874"},"map_files_photo_id_array":[{"photo_id":"1330766885","filename":"file5"},{"photo_id":"1330766868","filename":"file2"},{"photo_id":"1330766879","filename":"file4"},{"photo_id":"1330766828","filename":"file1"},{"photo_id":"1330766711","filename":"file0"},{"photo_id":"1330766874","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330766885":["hashtag1","hashtag2"]},{"1330766879":["hashtag1","hashtag2"]},{"1330766711":["hashtag1","hashtag2"]},{"1330766828":["hashtag1","hashtag2"]},{"1330766874":["hashtag1","hashtag2"]},{"1330766868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330766885, 1330766879, 1330766711, 1330766828, 1330766874, 1330766868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.28034210205078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:17:02.593477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_03_000573_0003.jpg', '/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_02_460505_0000.jpg', '/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_02_460505_0001.jpg', '/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_02_460505_0002.jpg', '/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_02_460505_0003.jpg', '/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_02_949446_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_03_000573_0003.jpg
/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_02_460505_0000.jpg
/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_02_460505_0001.jpg
/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_02_460505_0002.jpg
/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_02_460505_0003.jpg
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_02_949446_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330766969","1330766954","1330766963","1330766921","1330766924","1330766906"],"photo_ids_order":["1330766906","1330766921","1330766924","1330766954","1330766963","1330766969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72de03116cb9377d2859dd395e128ba4.jpg","text":"TemporaryFile(/tmp/multipartBody8453865936704342507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613099565,"filename":"image_23012025_07_12_02_949446_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d71a8ec8532cd137e2c78be3f95992e6.jpg","text":"TemporaryFile(/tmp/multipartBody2963552332150671877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613099565,"filename":"image_23012025_07_11_02_460505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c8eec7f77f717ddce16bf6d801ff88e.jpg","text":"TemporaryFile(/tmp/multipartBody6386627168727884105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613099565,"filename":"image_23012025_07_11_02_460505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52a4d7648cc32b14373ec99446b78f75.jpg","text":"TemporaryFile(/tmp/multipartBody742483136141428166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613099565,"filename":"image_23012025_07_11_02_460505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca1b04c5ad20b6c1df5962b34bb563b1.jpg","text":"TemporaryFile(/tmp/multipartBody1798317284969707861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613099565,"filename":"image_23012025_07_11_02_460505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9360fecfbdac96bb0d3960825bf13422.jpg","text":"TemporaryFile(/tmp/multipartBody4461729853319456298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613099565,"filename":"image_23012025_07_10_03_000573_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330766924","file1":"1330766921","file0":"1330766906","file4":"1330766963","file5":"1330766969","file3":"1330766954"},"map_files_photo_id_array":[{"photo_id":"1330766969","filename":"file5"},{"photo_id":"1330766924","filename":"file2"},{"photo_id":"1330766963","filename":"file4"},{"photo_id":"1330766921","filename":"file1"},{"photo_id":"1330766906","filename":"file0"},{"photo_id":"1330766954","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330766969":["hashtag1","hashtag2"]},{"1330766954":["hashtag1","hashtag2"]},{"1330766963":["hashtag1","hashtag2"]},{"1330766921":["hashtag1","hashtag2"]},{"1330766924":["hashtag1","hashtag2"]},{"1330766906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330766969, 1330766954, 1330766963, 1330766921, 1330766924, 1330766906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.50794768333435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:18:02.887560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_02_949446_0001.jpg', '/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_02_949446_0002.jpg', '/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_02_949446_0003.jpg', '/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_02_702231_0000.jpg', '/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_02_702231_0001.jpg', '/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_02_702231_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_02_949446_0001.jpg
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_02_949446_0002.jpg
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_02_949446_0003.jpg
/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_02_702231_0000.jpg
/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_02_702231_0001.jpg
/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_02_702231_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330766996","1330766978","1330766993","1330766998","1330767013","1330766986"],"photo_ids_order":["1330766978","1330766986","1330766993","1330766996","1330766998","1330767013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/236e986adbe2c3443c51fac8bd8becb1.jpg","text":"TemporaryFile(/tmp/multipartBody6429912501536276482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613159702,"filename":"image_23012025_07_13_02_702231_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9b2f4a91cd6d0de87d086ce1272f3e4.jpg","text":"TemporaryFile(/tmp/multipartBody5052713271978244561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613159702,"filename":"image_23012025_07_12_02_949446_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd6b6f380029d594b616f2e9494fd3cd.jpg","text":"TemporaryFile(/tmp/multipartBody4604352647582516745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613159702,"filename":"image_23012025_07_12_02_949446_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdb8eea6ff4085455c8141ce9c67f99b.jpg","text":"TemporaryFile(/tmp/multipartBody2987961456411713387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613159702,"filename":"image_23012025_07_13_02_702231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/205074d2fda7778deae2c9f5c2d28271.jpg","text":"TemporaryFile(/tmp/multipartBody5590912671520611256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613159702,"filename":"image_23012025_07_13_02_702231_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18318ec1096d0217628d1e3df0dd2f71.jpg","text":"TemporaryFile(/tmp/multipartBody7237777697699262537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613159702,"filename":"image_23012025_07_12_02_949446_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330766993","file1":"1330766986","file0":"1330766978","file4":"1330766998","file5":"1330767013","file3":"1330766996"},"map_files_photo_id_array":[{"photo_id":"1330767013","filename":"file5"},{"photo_id":"1330766993","filename":"file2"},{"photo_id":"1330766998","filename":"file4"},{"photo_id":"1330766986","filename":"file1"},{"photo_id":"1330766978","filename":"file0"},{"photo_id":"1330766996","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330766996":["hashtag1","hashtag2"]},{"1330766978":["hashtag1","hashtag2"]},{"1330766993":["hashtag1","hashtag2"]},{"1330766998":["hashtag1","hashtag2"]},{"1330767013":["hashtag1","hashtag2"]},{"1330766986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330766996, 1330766978, 1330766993, 1330766998, 1330767013, 1330766986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.40167307853699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:19:02.494680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_02_702231_0003.jpg', '/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_02_153548_0000.jpg', '/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_02_153548_0001.jpg', '/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_02_153548_0002.jpg', '/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_02_153548_0003.jpg', '/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_02_629618_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_02_702231_0003.jpg
/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_02_153548_0000.jpg
/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_02_153548_0001.jpg
/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_02_153548_0002.jpg
/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_02_153548_0003.jpg
/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_02_629618_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330767095","1330767083","1330767080","1330767044","1330767063","1330767039"],"photo_ids_order":["1330767039","1330767044","1330767063","1330767080","1330767083","1330767095"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99d3c7c0aec2c0c8c7c83dc3972f00ed.jpg","text":"TemporaryFile(/tmp/multipartBody8216816833032303866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613219177,"filename":"image_23012025_07_15_02_629618_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/129a614c01d156e94783c24f11fca2e0.jpg","text":"TemporaryFile(/tmp/multipartBody6879727208848481498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613219177,"filename":"image_23012025_07_14_02_153548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/272f42b660901ad033baf0efb92944ab.jpg","text":"TemporaryFile(/tmp/multipartBody8749885185990298975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613219177,"filename":"image_23012025_07_14_02_153548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54f367cf31fba20c19582a216ab33f7d.jpg","text":"TemporaryFile(/tmp/multipartBody5524471508107794197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613219177,"filename":"image_23012025_07_14_02_153548_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f86eaf2869a49430385f8a971e7bfc6.jpg","text":"TemporaryFile(/tmp/multipartBody1250494525438246193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613219177,"filename":"image_23012025_07_14_02_153548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afdc19de633a485a4e259bf84627cdc9.jpg","text":"TemporaryFile(/tmp/multipartBody2478487524569017060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613219177,"filename":"image_23012025_07_13_02_702231_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330767063","file1":"1330767044","file0":"1330767039","file4":"1330767083","file5":"1330767095","file3":"1330767080"},"map_files_photo_id_array":[{"photo_id":"1330767095","filename":"file5"},{"photo_id":"1330767063","filename":"file2"},{"photo_id":"1330767083","filename":"file4"},{"photo_id":"1330767044","filename":"file1"},{"photo_id":"1330767039","filename":"file0"},{"photo_id":"1330767080","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330767095":["hashtag1","hashtag2"]},{"1330767083":["hashtag1","hashtag2"]},{"1330767080":["hashtag1","hashtag2"]},{"1330767044":["hashtag1","hashtag2"]},{"1330767063":["hashtag1","hashtag2"]},{"1330767039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330767095, 1330767083, 1330767080, 1330767044, 1330767063, 1330767039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.66831922531128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:20:03.079044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_02_629618_0001.jpg', '/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_02_629618_0002.jpg', '/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_02_629618_0003.jpg', '/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_03_169340_0000.jpg', '/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_03_169340_0001.jpg', '/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_03_169340_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_02_629618_0001.jpg
/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_02_629618_0002.jpg
/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_02_629618_0003.jpg
/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_03_169340_0000.jpg
/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_03_169340_0001.jpg
/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_03_169340_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330767140","1330767119","1330767166","1330767148","1330767133","1330767171"],"photo_ids_order":["1330767119","1330767133","1330767140","1330767148","1330767166","1330767171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ae8e88eb8ae6f31e488973b122f120e.jpg","text":"TemporaryFile(/tmp/multipartBody8074491688866762267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613279890,"filename":"image_23012025_07_15_02_629618_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b732f3346ea82037c8ba11e4523ca128.jpg","text":"TemporaryFile(/tmp/multipartBody8657563258857341532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613279890,"filename":"image_23012025_07_15_02_629618_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1cb424f00a8e5fc8547b090297bfef74.jpg","text":"TemporaryFile(/tmp/multipartBody6335015476771360770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613279890,"filename":"image_23012025_07_16_03_169340_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6010fc4bbcbbcc72e01f8d9310b4827.jpg","text":"TemporaryFile(/tmp/multipartBody4695105046862722580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613279890,"filename":"image_23012025_07_16_03_169340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/093fb3325276441ccc0c2927318382e7.jpg","text":"TemporaryFile(/tmp/multipartBody2088796244736908859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613279890,"filename":"image_23012025_07_15_02_629618_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc7c56ac749410cf97fa17cf0ab08960.jpg","text":"TemporaryFile(/tmp/multipartBody2403538146699666304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613279890,"filename":"image_23012025_07_16_03_169340_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330767140","file1":"1330767133","file0":"1330767119","file4":"1330767166","file5":"1330767171","file3":"1330767148"},"map_files_photo_id_array":[{"photo_id":"1330767171","filename":"file5"},{"photo_id":"1330767140","filename":"file2"},{"photo_id":"1330767166","filename":"file4"},{"photo_id":"1330767133","filename":"file1"},{"photo_id":"1330767119","filename":"file0"},{"photo_id":"1330767148","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330767140":["hashtag1","hashtag2"]},{"1330767119":["hashtag1","hashtag2"]},{"1330767166":["hashtag1","hashtag2"]},{"1330767148":["hashtag1","hashtag2"]},{"1330767133":["hashtag1","hashtag2"]},{"1330767171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330767140, 1330767119, 1330767166, 1330767148, 1330767133, 1330767171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.87382793426514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:21:22.070699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_03_169340_0003.jpg', '/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_02_749376_0000.jpg', '/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_02_749376_0001.jpg', '/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_02_749376_0002.jpg', '/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_02_749376_0003.jpg', '/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_02_307525_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_03_169340_0003.jpg
/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_02_749376_0000.jpg
/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_02_749376_0001.jpg
/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_02_749376_0002.jpg
/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_02_749376_0003.jpg
/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_02_307525_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":["1330767275","1330767278","1330767269","1330767253","1330767283","1330767273"],"photo_ids_order":["1330767253","1330767269","1330767273","1330767275","1330767278","1330767283"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95e392666e909a3ede3cb98ffe75d562.jpg","text":"TemporaryFile(/tmp/multipartBody6197892492912765313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613359770,"filename":"image_23012025_07_17_02_749376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d9a021ac182613fd8705bbc33082a0e.jpg","text":"TemporaryFile(/tmp/multipartBody5081549415695478457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613359770,"filename":"image_23012025_07_17_02_749376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c97bfb9d91175db5b3065d49bba5999e.jpg","text":"TemporaryFile(/tmp/multipartBody5172673689892198241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613359770,"filename":"image_23012025_07_17_02_749376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95ebe375f799fca1fef2790b4432d007.jpg","text":"TemporaryFile(/tmp/multipartBody2776964113811561664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613359770,"filename":"image_23012025_07_16_03_169340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c24adc775325bd6bcd8ad82a6fc1f26.jpg","text":"TemporaryFile(/tmp/multipartBody3372323287908592211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613359770,"filename":"image_23012025_07_18_02_307525_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50a74fa73e8df1a60a1d02a77402ee5e.jpg","text":"TemporaryFile(/tmp/multipartBody2680461693151452559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613359770,"filename":"image_23012025_07_17_02_749376_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330767273","file1":"1330767269","file0":"1330767253","file4":"1330767278","file5":"1330767283","file3":"1330767275"},"map_files_photo_id_array":[{"photo_id":"1330767283","filename":"file5"},{"photo_id":"1330767273","filename":"file2"},{"photo_id":"1330767278","filename":"file4"},{"photo_id":"1330767269","filename":"file1"},{"photo_id":"1330767253","filename":"file0"},{"photo_id":"1330767275","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330767275":["hashtag1","hashtag2"]},{"1330767278":["hashtag1","hashtag2"]},{"1330767269":["hashtag1","hashtag2"]},{"1330767253":["hashtag1","hashtag2"]},{"1330767283":["hashtag1","hashtag2"]},{"1330767273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330767275, 1330767278, 1330767269, 1330767253, 1330767283, 1330767273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.30601358413696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:23:02.811182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_02_307525_0001.jpg', '/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_02_307525_0002.jpg', '/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_02_307525_0003.jpg', '/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_02_835468_0000.jpg', '/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_02_835468_0001.jpg', '/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_02_835468_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_02_307525_0001.jpg
/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_02_307525_0002.jpg
/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_02_307525_0003.jpg
/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_02_835468_0000.jpg
/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_02_835468_0001.jpg
/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_02_835468_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330767356","1330767371","1330767367","1330767364","1330767358","1330767360"],"photo_ids_order":["1330767356","1330767358","1330767360","1330767364","1330767367","1330767371"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6a43a781e6083737ea17d1b5d1250eb.jpg","text":"TemporaryFile(/tmp/multipartBody846117675677299290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613459860,"filename":"image_23012025_07_18_02_307525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/875154cf7998b8d41ea31fd6853deedb.jpg","text":"TemporaryFile(/tmp/multipartBody7147418496323697172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613459860,"filename":"image_23012025_07_19_02_835468_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4a0eb652499d7d68fa19cb48f217723.jpg","text":"TemporaryFile(/tmp/multipartBody8032402802983328012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613459860,"filename":"image_23012025_07_19_02_835468_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88a518f3ea55da1ab55e67d7fb119b41.jpg","text":"TemporaryFile(/tmp/multipartBody9091940115312124020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613459860,"filename":"image_23012025_07_19_02_835468_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/630686f33ad8e35744efc174d3664165.jpg","text":"TemporaryFile(/tmp/multipartBody1728073591195891561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613459860,"filename":"image_23012025_07_18_02_307525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf955c33ef5fabd5257ddb792af9853e.jpg","text":"TemporaryFile(/tmp/multipartBody1827378452459962496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613459860,"filename":"image_23012025_07_18_02_307525_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330767360","file1":"1330767358","file0":"1330767356","file4":"1330767367","file5":"1330767371","file3":"1330767364"},"map_files_photo_id_array":[{"photo_id":"1330767371","filename":"file5"},{"photo_id":"1330767360","filename":"file2"},{"photo_id":"1330767367","filename":"file4"},{"photo_id":"1330767358","filename":"file1"},{"photo_id":"1330767356","filename":"file0"},{"photo_id":"1330767364","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330767356":["hashtag1","hashtag2"]},{"1330767371":["hashtag1","hashtag2"]},{"1330767367":["hashtag1","hashtag2"]},{"1330767364":["hashtag1","hashtag2"]},{"1330767358":["hashtag1","hashtag2"]},{"1330767360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330767356, 1330767371, 1330767367, 1330767364, 1330767358, 1330767360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.36768865585327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:24:21.803597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_02_835468_0003.jpg', '/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_02_319968_0000.jpg', '/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_02_319968_0001.jpg', '/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_02_319968_0002.jpg', '/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_02_319968_0003.jpg', '/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_03_027356_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_02_835468_0003.jpg
/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_02_319968_0000.jpg
/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_02_319968_0001.jpg
/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_02_319968_0002.jpg
/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_02_319968_0003.jpg
/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_03_027356_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330767403","1330767406","1330767396","1330767409","1330767400","1330767393"],"photo_ids_order":["1330767393","1330767396","1330767400","1330767403","1330767406","1330767409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f674e6b6b3380ae184f4cd396fa2a6f.jpg","text":"TemporaryFile(/tmp/multipartBody4993956422204265384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613538593,"filename":"image_23012025_07_20_02_319968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/480db851316db5faed2ca4f3ed666313.jpg","text":"TemporaryFile(/tmp/multipartBody7026262732309453958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613538593,"filename":"image_23012025_07_20_02_319968_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0dfd2a5bd8fae7918c3a75393255fcb.jpg","text":"TemporaryFile(/tmp/multipartBody7715194839433182472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613538593,"filename":"image_23012025_07_20_02_319968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7cbc7d1a26d15ffc6967fb8db2bb0a7.jpg","text":"TemporaryFile(/tmp/multipartBody2411584373841715130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613538593,"filename":"image_23012025_07_21_03_027356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3cd4970ea7525d6b289c42a3c3b5f2c2.jpg","text":"TemporaryFile(/tmp/multipartBody531407602170271971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613538593,"filename":"image_23012025_07_20_02_319968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bce571b130b893e52da232f19204a66c.jpg","text":"TemporaryFile(/tmp/multipartBody8997194045614140658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613538593,"filename":"image_23012025_07_19_02_835468_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330767400","file1":"1330767396","file0":"1330767393","file4":"1330767406","file5":"1330767409","file3":"1330767403"},"map_files_photo_id_array":[{"photo_id":"1330767409","filename":"file5"},{"photo_id":"1330767400","filename":"file2"},{"photo_id":"1330767406","filename":"file4"},{"photo_id":"1330767396","filename":"file1"},{"photo_id":"1330767393","filename":"file0"},{"photo_id":"1330767403","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330767403":["hashtag1","hashtag2"]},{"1330767406":["hashtag1","hashtag2"]},{"1330767396":["hashtag1","hashtag2"]},{"1330767409":["hashtag1","hashtag2"]},{"1330767400":["hashtag1","hashtag2"]},{"1330767393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330767403, 1330767406, 1330767396, 1330767409, 1330767400, 1330767393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.75039601325989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:25:22.224592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_03_027356_0001.jpg', '/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_03_027356_0002.jpg', '/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_03_027356_0003.jpg', '/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_02_500639_0000.jpg', '/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_02_500639_0001.jpg', '/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_02_500639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_03_027356_0001.jpg
/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_03_027356_0002.jpg
/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_03_027356_0003.jpg
/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_02_500639_0000.jpg
/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_02_500639_0001.jpg
/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_02_500639_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.247174739837646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:26:02.396268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_03_027356_0001.jpg', '/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_03_027356_0002.jpg', '/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_03_027356_0003.jpg', '/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_02_500639_0000.jpg', '/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_02_500639_0001.jpg', '/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_02_500639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_03_027356_0001.jpg
/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_03_027356_0002.jpg
/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_03_027356_0003.jpg
/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_02_500639_0000.jpg
/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_02_500639_0001.jpg
/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_02_500639_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330767584","1330767554","1330767580","1330767588","1330767573","1330767528"],"photo_ids_order":["1330767528","1330767554","1330767573","1330767580","1330767584","1330767588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d58db7927345b1c7307ec246e9d40961.jpg","text":"TemporaryFile(/tmp/multipartBody4183088033521146625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613639006,"filename":"image_23012025_07_22_02_500639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d73ef3b40394989c2b35ba15583ca1ae.jpg","text":"TemporaryFile(/tmp/multipartBody3684863018394486485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613639006,"filename":"image_23012025_07_21_03_027356_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b067c76b74249bd77ffc546e741df14c.jpg","text":"TemporaryFile(/tmp/multipartBody7121195255747503343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613639006,"filename":"image_23012025_07_22_02_500639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e05e8861bdb2b576c958990dce7db8b1.jpg","text":"TemporaryFile(/tmp/multipartBody2309892951581634542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613639006,"filename":"image_23012025_07_22_02_500639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ccc98c8a7a873b93265288aee2132c33.jpg","text":"TemporaryFile(/tmp/multipartBody7689288485717781516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613639006,"filename":"image_23012025_07_21_03_027356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03c92c7c194fe8ab09d47c8170931622.jpg","text":"TemporaryFile(/tmp/multipartBody8417805957980364348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613639006,"filename":"image_23012025_07_21_03_027356_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330767573","file1":"1330767554","file0":"1330767528","file4":"1330767584","file5":"1330767588","file3":"1330767580"},"map_files_photo_id_array":[{"photo_id":"1330767588","filename":"file5"},{"photo_id":"1330767573","filename":"file2"},{"photo_id":"1330767584","filename":"file4"},{"photo_id":"1330767554","filename":"file1"},{"photo_id":"1330767528","filename":"file0"},{"photo_id":"1330767580","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330767584":["hashtag1","hashtag2"]},{"1330767554":["hashtag1","hashtag2"]},{"1330767580":["hashtag1","hashtag2"]},{"1330767588":["hashtag1","hashtag2"]},{"1330767573":["hashtag1","hashtag2"]},{"1330767528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330767584, 1330767554, 1330767580, 1330767588, 1330767573, 1330767528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.9198215007782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:27:02.964324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_02_500639_0003.jpg', '/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_03_011579_0000.jpg', '/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_03_011579_0001.jpg', '/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_03_011579_0002.jpg', '/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_03_011579_0003.jpg', '/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_02_464029_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_02_500639_0003.jpg
/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_03_011579_0000.jpg
/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_03_011579_0001.jpg
/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_03_011579_0002.jpg
/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_03_011579_0003.jpg
/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_02_464029_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330767665","1330767626","1330767649","1330767610","1330767630","1330767633"],"photo_ids_order":["1330767610","1330767626","1330767630","1330767633","1330767649","1330767665"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d947bca258b18809e9a1eeaa4fe254bd.jpg","text":"TemporaryFile(/tmp/multipartBody1153554444316770036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613699320,"filename":"image_23012025_07_24_02_464029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d225affe4c7563de4072c55f3b3041fc.jpg","text":"TemporaryFile(/tmp/multipartBody3318043272054632037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613699320,"filename":"image_23012025_07_23_03_011579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe6ca932362527b3d68f2f96c0ccf496.jpg","text":"TemporaryFile(/tmp/multipartBody8066465770628616562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613699320,"filename":"image_23012025_07_23_03_011579_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99d96239952a75a36bc445b76f0f644b.jpg","text":"TemporaryFile(/tmp/multipartBody4795123012481901462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613699320,"filename":"image_23012025_07_22_02_500639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/183991d61ac05dc6a038ff0df4243b04.jpg","text":"TemporaryFile(/tmp/multipartBody4650193645116204787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613699320,"filename":"image_23012025_07_23_03_011579_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45a2304a5d949b6ac229a7a2b84211a5.jpg","text":"TemporaryFile(/tmp/multipartBody1702257617303536194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613699320,"filename":"image_23012025_07_23_03_011579_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330767630","file1":"1330767626","file0":"1330767610","file4":"1330767649","file5":"1330767665","file3":"1330767633"},"map_files_photo_id_array":[{"photo_id":"1330767665","filename":"file5"},{"photo_id":"1330767630","filename":"file2"},{"photo_id":"1330767649","filename":"file4"},{"photo_id":"1330767626","filename":"file1"},{"photo_id":"1330767610","filename":"file0"},{"photo_id":"1330767633","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330767665":["hashtag1","hashtag2"]},{"1330767626":["hashtag1","hashtag2"]},{"1330767649":["hashtag1","hashtag2"]},{"1330767610":["hashtag1","hashtag2"]},{"1330767630":["hashtag1","hashtag2"]},{"1330767633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330767665, 1330767626, 1330767649, 1330767610, 1330767630, 1330767633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.46081590652466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:28:02.535023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_02_464029_0001.jpg', '/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_02_464029_0002.jpg', '/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_02_464029_0003.jpg', '/home/pi/Desktop/images/23012025/07/25/image_23012025_07_25_02_169830_0000.jpg', '/home/pi/Desktop/images/23012025/07/25/image_23012025_07_25_02_169830_0001.jpg', '/home/pi/Desktop/images/23012025/07/25/image_23012025_07_25_02_169830_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_02_464029_0001.jpg
/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_02_464029_0002.jpg
/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_02_464029_0003.jpg
/home/pi/Desktop/images/23012025/07/25/image_23012025_07_25_02_169830_0000.jpg
/home/pi/Desktop/images/23012025/07/25/image_23012025_07_25_02_169830_0001.jpg
/home/pi/Desktop/images/23012025/07/25/image_23012025_07_25_02_169830_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330767782","1330767764","1330767824","1330767883","1330767795","1330767777"],"photo_ids_order":["1330767764","1330767777","1330767782","1330767795","1330767824","1330767883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/87a90c2b4094ff35df60dd52fe8d8eab.jpg","text":"TemporaryFile(/tmp/multipartBody5988422495545493972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613759533,"filename":"image_23012025_07_24_02_464029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c8a77e360da357b094681582de0273f.jpg","text":"TemporaryFile(/tmp/multipartBody490389692364008612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613759533,"filename":"image_23012025_07_24_02_464029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77580ec3b33a8e59a3ca68708ef99d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2970222321357507495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613759533,"filename":"image_23012025_07_25_02_169830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5fb4c45a66cc62510377c09747acd25.jpg","text":"TemporaryFile(/tmp/multipartBody3102897580339735880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613759533,"filename":"image_23012025_07_25_02_169830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0273be9fecfda6686f4a795d3695ccae.jpg","text":"TemporaryFile(/tmp/multipartBody8005752473687367627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613759533,"filename":"image_23012025_07_25_02_169830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16571a5bc32d91593ff2538778b23fe0.jpg","text":"TemporaryFile(/tmp/multipartBody4181724396375691046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613759533,"filename":"image_23012025_07_24_02_464029_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330767782","file1":"1330767777","file0":"1330767764","file4":"1330767824","file5":"1330767883","file3":"1330767795"},"map_files_photo_id_array":[{"photo_id":"1330767883","filename":"file5"},{"photo_id":"1330767782","filename":"file2"},{"photo_id":"1330767824","filename":"file4"},{"photo_id":"1330767777","filename":"file1"},{"photo_id":"1330767764","filename":"file0"},{"photo_id":"1330767795","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330767782":["hashtag1","hashtag2"]},{"1330767764":["hashtag1","hashtag2"]},{"1330767824":["hashtag1","hashtag2"]},{"1330767883":["hashtag1","hashtag2"]},{"1330767795":["hashtag1","hashtag2"]},{"1330767777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330767782, 1330767764, 1330767824, 1330767883, 1330767795, 1330767777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.681593894958496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:29:22.547554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/25/image_23012025_07_25_02_169830_0003.jpg', '/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_02_732464_0000.jpg', '/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_02_732464_0001.jpg', '/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_02_732464_0002.jpg', '/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_02_732464_0003.jpg', '/home/pi/Desktop/images/23012025/07/27/image_23012025_07_27_02_275973_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/25/image_23012025_07_25_02_169830_0003.jpg
/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_02_732464_0000.jpg
/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_02_732464_0001.jpg
/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_02_732464_0002.jpg
/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_02_732464_0003.jpg
/home/pi/Desktop/images/23012025/07/27/image_23012025_07_27_02_275973_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330767906","1330767909","1330767893","1330767917","1330767902","1330767898"],"photo_ids_order":["1330767893","1330767898","1330767902","1330767906","1330767909","1330767917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d9f0045294ec1271bac4a263b8f51ae.jpg","text":"TemporaryFile(/tmp/multipartBody4153040444396381273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613839368,"filename":"image_23012025_07_26_02_732464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cadda18dbadf89ce3338e65d16af441d.jpg","text":"TemporaryFile(/tmp/multipartBody7215187494381435021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613839368,"filename":"image_23012025_07_26_02_732464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e28bcaf26365c4a2bd90633705154a88.jpg","text":"TemporaryFile(/tmp/multipartBody2454386110857833592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613839368,"filename":"image_23012025_07_25_02_169830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ef38238819ba3ae9fcdfb08db71a65a.jpg","text":"TemporaryFile(/tmp/multipartBody8146307386879011746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613839368,"filename":"image_23012025_07_27_02_275973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b235c69a7bc1cade8b96efcd5846b0f9.jpg","text":"TemporaryFile(/tmp/multipartBody3628028130074144265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613839368,"filename":"image_23012025_07_26_02_732464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd9c23bf6ef1d74d2753487f46dae92c.jpg","text":"TemporaryFile(/tmp/multipartBody8574745248116502766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613839368,"filename":"image_23012025_07_26_02_732464_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330767902","file1":"1330767898","file0":"1330767893","file4":"1330767909","file5":"1330767917","file3":"1330767906"},"map_files_photo_id_array":[{"photo_id":"1330767917","filename":"file5"},{"photo_id":"1330767902","filename":"file2"},{"photo_id":"1330767909","filename":"file4"},{"photo_id":"1330767898","filename":"file1"},{"photo_id":"1330767893","filename":"file0"},{"photo_id":"1330767906","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330767906":["hashtag1","hashtag2"]},{"1330767909":["hashtag1","hashtag2"]},{"1330767893":["hashtag1","hashtag2"]},{"1330767917":["hashtag1","hashtag2"]},{"1330767902":["hashtag1","hashtag2"]},{"1330767898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330767906, 1330767909, 1330767893, 1330767917, 1330767902, 1330767898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.975738763809204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:30:22.130535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/27/image_23012025_07_27_02_275973_0001.jpg', '/home/pi/Desktop/images/23012025/07/27/image_23012025_07_27_02_275973_0002.jpg', '/home/pi/Desktop/images/23012025/07/27/image_23012025_07_27_02_275973_0003.jpg', '/home/pi/Desktop/images/23012025/07/28/image_23012025_07_28_02_822640_0000.jpg', '/home/pi/Desktop/images/23012025/07/28/image_23012025_07_28_02_822640_0001.jpg', '/home/pi/Desktop/images/23012025/07/28/image_23012025_07_28_02_822640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/27/image_23012025_07_27_02_275973_0001.jpg
/home/pi/Desktop/images/23012025/07/27/image_23012025_07_27_02_275973_0002.jpg
/home/pi/Desktop/images/23012025/07/27/image_23012025_07_27_02_275973_0003.jpg
/home/pi/Desktop/images/23012025/07/28/image_23012025_07_28_02_822640_0000.jpg
/home/pi/Desktop/images/23012025/07/28/image_23012025_07_28_02_822640_0001.jpg
/home/pi/Desktop/images/23012025/07/28/image_23012025_07_28_02_822640_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330767983","1330768048","1330767985","1330767988","1330767976","1330767981"],"photo_ids_order":["1330767976","1330767981","1330767983","1330767985","1330767988","1330768048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1183296031a2000fcbb1cfc9dafeca83.jpg","text":"TemporaryFile(/tmp/multipartBody3218241068923999337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613899046,"filename":"image_23012025_07_27_02_275973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dcec8ff414a49cd048f68bb7e269f258.jpg","text":"TemporaryFile(/tmp/multipartBody863019493742546827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613899046,"filename":"image_23012025_07_28_02_822640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb7c1c2ea0e8c2994aefbf4cdffa0801.jpg","text":"TemporaryFile(/tmp/multipartBody4113437309261769967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613899046,"filename":"image_23012025_07_28_02_822640_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2976a59e29185b2cb5373f84501b119d.jpg","text":"TemporaryFile(/tmp/multipartBody605820215292567403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613899046,"filename":"image_23012025_07_28_02_822640_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e193897b5171e30a9757be9715460dc.jpg","text":"TemporaryFile(/tmp/multipartBody2906773748060031640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613899046,"filename":"image_23012025_07_27_02_275973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ca3076d83286790e6036a784a895f9d.jpg","text":"TemporaryFile(/tmp/multipartBody3942792479436829521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613899046,"filename":"image_23012025_07_27_02_275973_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330767983","file1":"1330767981","file0":"1330767976","file4":"1330767988","file5":"1330768048","file3":"1330767985"},"map_files_photo_id_array":[{"photo_id":"1330768048","filename":"file5"},{"photo_id":"1330767983","filename":"file2"},{"photo_id":"1330767988","filename":"file4"},{"photo_id":"1330767981","filename":"file1"},{"photo_id":"1330767976","filename":"file0"},{"photo_id":"1330767985","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330767983":["hashtag1","hashtag2"]},{"1330768048":["hashtag1","hashtag2"]},{"1330767985":["hashtag1","hashtag2"]},{"1330767988":["hashtag1","hashtag2"]},{"1330767976":["hashtag1","hashtag2"]},{"1330767981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330767983, 1330768048, 1330767985, 1330767988, 1330767976, 1330767981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.41763401031494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:32:02.654736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/28/image_23012025_07_28_02_822640_0003.jpg', '/home/pi/Desktop/images/23012025/07/29/image_23012025_07_29_02_433775_0000.jpg', '/home/pi/Desktop/images/23012025/07/29/image_23012025_07_29_02_433775_0001.jpg', '/home/pi/Desktop/images/23012025/07/29/image_23012025_07_29_02_433775_0002.jpg', '/home/pi/Desktop/images/23012025/07/29/image_23012025_07_29_02_433775_0003.jpg', '/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_02_953884_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/28/image_23012025_07_28_02_822640_0003.jpg
/home/pi/Desktop/images/23012025/07/29/image_23012025_07_29_02_433775_0000.jpg
/home/pi/Desktop/images/23012025/07/29/image_23012025_07_29_02_433775_0001.jpg
/home/pi/Desktop/images/23012025/07/29/image_23012025_07_29_02_433775_0002.jpg
/home/pi/Desktop/images/23012025/07/29/image_23012025_07_29_02_433775_0003.jpg
/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_02_953884_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330768148","1330768192","1330768150","1330768173","1330768146","1330768187"],"photo_ids_order":["1330768146","1330768148","1330768150","1330768173","1330768187","1330768192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd4ed3e3a162ab01d4bddb5392251d34.jpg","text":"TemporaryFile(/tmp/multipartBody3310188701491231759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613999659,"filename":"image_23012025_07_29_02_433775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7eae0fd7be61451d7ed0ee2072a0a9fb.jpg","text":"TemporaryFile(/tmp/multipartBody36341655179977327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613999659,"filename":"image_23012025_07_30_02_953884_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/506881c61d8a2fb5c9458fdc9413c995.jpg","text":"TemporaryFile(/tmp/multipartBody6307181538079656114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613999659,"filename":"image_23012025_07_29_02_433775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c8143a261640a091d79a989193fc428.jpg","text":"TemporaryFile(/tmp/multipartBody2974370468220843289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613999659,"filename":"image_23012025_07_29_02_433775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e71a79551ec652611f1323d8d2f7379.jpg","text":"TemporaryFile(/tmp/multipartBody5926326966466722770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613999659,"filename":"image_23012025_07_28_02_822640_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df486ce9d7d29f7eff43ecd5870b9c8a.jpg","text":"TemporaryFile(/tmp/multipartBody2609542343714545990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613999659,"filename":"image_23012025_07_29_02_433775_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330768150","file1":"1330768148","file0":"1330768146","file4":"1330768187","file5":"1330768192","file3":"1330768173"},"map_files_photo_id_array":[{"photo_id":"1330768192","filename":"file5"},{"photo_id":"1330768150","filename":"file2"},{"photo_id":"1330768187","filename":"file4"},{"photo_id":"1330768148","filename":"file1"},{"photo_id":"1330768146","filename":"file0"},{"photo_id":"1330768173","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330768148":["hashtag1","hashtag2"]},{"1330768192":["hashtag1","hashtag2"]},{"1330768150":["hashtag1","hashtag2"]},{"1330768173":["hashtag1","hashtag2"]},{"1330768146":["hashtag1","hashtag2"]},{"1330768187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330768148, 1330768192, 1330768150, 1330768173, 1330768146, 1330768187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.91021704673767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:33:03.359529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_02_953884_0001.jpg', '/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_02_953884_0002.jpg', '/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_02_953884_0003.jpg', '/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_02_531375_0000.jpg', '/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_02_531375_0001.jpg', '/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_02_531375_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_02_953884_0001.jpg
/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_02_953884_0002.jpg
/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_02_953884_0003.jpg
/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_02_531375_0000.jpg
/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_02_531375_0001.jpg
/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_02_531375_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330768270","1330768281","1330768275","1330768278","1330768272","1330768266"],"photo_ids_order":["1330768266","1330768270","1330768272","1330768275","1330768278","1330768281"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f794424088b74157104a9ca1d8c56ea.jpg","text":"TemporaryFile(/tmp/multipartBody2045540658588227618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614060179,"filename":"image_23012025_07_30_02_953884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef9a72ea727a7f17d40dc22ec025e8b8.jpg","text":"TemporaryFile(/tmp/multipartBody307447045931836592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614060179,"filename":"image_23012025_07_31_02_531375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/285566c4171ced29ab455741d81d7961.jpg","text":"TemporaryFile(/tmp/multipartBody4749907910478527812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614060179,"filename":"image_23012025_07_31_02_531375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a08ada76ec6de63a903bfe536c83ee34.jpg","text":"TemporaryFile(/tmp/multipartBody2999819117251910367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614060179,"filename":"image_23012025_07_31_02_531375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98826231f7cd692638b21ca0fddff77e.jpg","text":"TemporaryFile(/tmp/multipartBody2189731712191369954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614060179,"filename":"image_23012025_07_30_02_953884_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31e9d1724ae1b1b31379eef8deb66369.jpg","text":"TemporaryFile(/tmp/multipartBody1568972374493257986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614060179,"filename":"image_23012025_07_30_02_953884_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330768272","file1":"1330768270","file0":"1330768266","file4":"1330768278","file5":"1330768281","file3":"1330768275"},"map_files_photo_id_array":[{"photo_id":"1330768281","filename":"file5"},{"photo_id":"1330768272","filename":"file2"},{"photo_id":"1330768278","filename":"file4"},{"photo_id":"1330768270","filename":"file1"},{"photo_id":"1330768266","filename":"file0"},{"photo_id":"1330768275","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330768270":["hashtag1","hashtag2"]},{"1330768281":["hashtag1","hashtag2"]},{"1330768275":["hashtag1","hashtag2"]},{"1330768278":["hashtag1","hashtag2"]},{"1330768272":["hashtag1","hashtag2"]},{"1330768266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330768270, 1330768281, 1330768275, 1330768278, 1330768272, 1330768266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.02088379859924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:34:02.766962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_02_531375_0003.jpg', '/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0000.jpg', '/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0001.jpg', '/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0002.jpg', '/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0003.jpg', '/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_02_595127_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_02_531375_0003.jpg
/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0000.jpg
/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0001.jpg
/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0002.jpg
/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0003.jpg
/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_02_595127_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.520474910736084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:34:22.331416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_02_531375_0003.jpg', '/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0000.jpg', '/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0001.jpg', '/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0002.jpg', '/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0003.jpg', '/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_02_595127_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_02_531375_0003.jpg
/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0000.jpg
/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0001.jpg
/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0002.jpg
/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_03_054758_0003.jpg
/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_02_595127_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330768753","1330768486","1330768339","1330768589","1330768379","1330768679"],"photo_ids_order":["1330768339","1330768379","1330768486","1330768589","1330768679","1330768753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8dd4e44eeb129b7c341d744b72fbefbf.jpg","text":"TemporaryFile(/tmp/multipartBody6799892989795712456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614139164,"filename":"image_23012025_07_33_02_595127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/244d2a46504325dc5080044dab067144.jpg","text":"TemporaryFile(/tmp/multipartBody3540745152290149156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614139164,"filename":"image_23012025_07_32_03_054758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3afcdca234f49410437ffe0c186ccc14.jpg","text":"TemporaryFile(/tmp/multipartBody9164320151400767455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614139164,"filename":"image_23012025_07_31_02_531375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33298810987dfd6d6ca112e484b3c238.jpg","text":"TemporaryFile(/tmp/multipartBody1991733217471649714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614139164,"filename":"image_23012025_07_32_03_054758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e64ccac42abad098f65084d5192e46f2.jpg","text":"TemporaryFile(/tmp/multipartBody8623912046887556259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614139164,"filename":"image_23012025_07_32_03_054758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90f0558f77400b5229a6f1fecce6dba9.jpg","text":"TemporaryFile(/tmp/multipartBody6848710800347715934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614139164,"filename":"image_23012025_07_32_03_054758_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330768486","file1":"1330768379","file0":"1330768339","file4":"1330768679","file5":"1330768753","file3":"1330768589"},"map_files_photo_id_array":[{"photo_id":"1330768753","filename":"file5"},{"photo_id":"1330768486","filename":"file2"},{"photo_id":"1330768679","filename":"file4"},{"photo_id":"1330768379","filename":"file1"},{"photo_id":"1330768339","filename":"file0"},{"photo_id":"1330768589","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330768753":["hashtag1","hashtag2"]},{"1330768486":["hashtag1","hashtag2"]},{"1330768339":["hashtag1","hashtag2"]},{"1330768589":["hashtag1","hashtag2"]},{"1330768379":["hashtag1","hashtag2"]},{"1330768679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330768753, 1330768486, 1330768339, 1330768589, 1330768379, 1330768679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.31345796585083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:35:21.916891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_02_595127_0001.jpg', '/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_02_595127_0002.jpg', '/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_02_595127_0003.jpg', '/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_03_089154_0000.jpg', '/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_03_089154_0001.jpg', '/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_03_089154_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_02_595127_0001.jpg
/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_02_595127_0002.jpg
/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_02_595127_0003.jpg
/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_03_089154_0000.jpg
/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_03_089154_0001.jpg
/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_03_089154_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330768922","1330768931","1330768939","1330768918","1330768926","1330768941"],"photo_ids_order":["1330768918","1330768922","1330768926","1330768931","1330768939","1330768941"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c80245cdc93a7606cbebbe33f4df26b1.jpg","text":"TemporaryFile(/tmp/multipartBody728936859236476456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614198538,"filename":"image_23012025_07_33_02_595127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e418a5be8a0819875360e98ed806188.jpg","text":"TemporaryFile(/tmp/multipartBody2758664114527849293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614198538,"filename":"image_23012025_07_34_03_089154_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8697a871aac1fae5f449e6ec5dd3b1d8.jpg","text":"TemporaryFile(/tmp/multipartBody8602610827803543154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614198538,"filename":"image_23012025_07_34_03_089154_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a0b98229eb07b6d97bf6531f1e53429.jpg","text":"TemporaryFile(/tmp/multipartBody6517863395952857199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614198538,"filename":"image_23012025_07_33_02_595127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2c9fafc79f41dbd79731ecae30712b5.jpg","text":"TemporaryFile(/tmp/multipartBody5789895919383073792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614198538,"filename":"image_23012025_07_33_02_595127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/890e903bab840b509b783ceacf6697e5.jpg","text":"TemporaryFile(/tmp/multipartBody4368155021641047761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614198538,"filename":"image_23012025_07_34_03_089154_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330768926","file1":"1330768922","file0":"1330768918","file4":"1330768939","file5":"1330768941","file3":"1330768931"},"map_files_photo_id_array":[{"photo_id":"1330768941","filename":"file5"},{"photo_id":"1330768926","filename":"file2"},{"photo_id":"1330768939","filename":"file4"},{"photo_id":"1330768922","filename":"file1"},{"photo_id":"1330768918","filename":"file0"},{"photo_id":"1330768931","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330768922":["hashtag1","hashtag2"]},{"1330768931":["hashtag1","hashtag2"]},{"1330768939":["hashtag1","hashtag2"]},{"1330768918":["hashtag1","hashtag2"]},{"1330768926":["hashtag1","hashtag2"]},{"1330768941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330768922, 1330768931, 1330768939, 1330768918, 1330768926, 1330768941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.41632437705994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:36:22.361880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_03_089154_0003.jpg', '/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0000.jpg', '/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0001.jpg', '/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0002.jpg', '/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0003.jpg', '/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_02_256390_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_03_089154_0003.jpg
/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0000.jpg
/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0001.jpg
/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0002.jpg
/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0003.jpg
/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_02_256390_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.708956956863403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:37:02.430325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_03_089154_0003.jpg', '/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0000.jpg', '/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0001.jpg', '/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0002.jpg', '/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0003.jpg', '/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_02_256390_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_03_089154_0003.jpg
/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0000.jpg
/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0001.jpg
/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0002.jpg
/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_02_730572_0003.jpg
/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_02_256390_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330769330","1330769332","1330769340","1330769343","1330769328","1330769336"],"photo_ids_order":["1330769328","1330769330","1330769332","1330769336","1330769340","1330769343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4695f3c4d2c74173f157718b1e22b39.jpg","text":"TemporaryFile(/tmp/multipartBody1036288361188570820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614299614,"filename":"image_23012025_07_35_02_730572_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f6b20d9a963d4ecf5a714e245e97b4f.jpg","text":"TemporaryFile(/tmp/multipartBody4209945394258429985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614299614,"filename":"image_23012025_07_35_02_730572_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d15a1decf610d5f18a6de3ff5017471d.jpg","text":"TemporaryFile(/tmp/multipartBody8187365940466191667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614299614,"filename":"image_23012025_07_35_02_730572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2423a687792091f3bf486c89a5b3cd55.jpg","text":"TemporaryFile(/tmp/multipartBody5430812651665709628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614299614,"filename":"image_23012025_07_36_02_256390_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/860350222de61b6487f1b66a5bcd93d8.jpg","text":"TemporaryFile(/tmp/multipartBody5422178013183277822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614299614,"filename":"image_23012025_07_34_03_089154_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6357dcd569f7423a59e4c87f154b1094.jpg","text":"TemporaryFile(/tmp/multipartBody4869816967745601461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614299614,"filename":"image_23012025_07_35_02_730572_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330769332","file1":"1330769330","file0":"1330769328","file4":"1330769340","file5":"1330769343","file3":"1330769336"},"map_files_photo_id_array":[{"photo_id":"1330769343","filename":"file5"},{"photo_id":"1330769332","filename":"file2"},{"photo_id":"1330769340","filename":"file4"},{"photo_id":"1330769330","filename":"file1"},{"photo_id":"1330769328","filename":"file0"},{"photo_id":"1330769336","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330769330":["hashtag1","hashtag2"]},{"1330769332":["hashtag1","hashtag2"]},{"1330769340":["hashtag1","hashtag2"]},{"1330769343":["hashtag1","hashtag2"]},{"1330769328":["hashtag1","hashtag2"]},{"1330769336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330769330, 1330769332, 1330769340, 1330769343, 1330769328, 1330769336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.378172159194946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:38:02.926491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_02_256390_0001.jpg', '/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_02_256390_0002.jpg', '/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_02_256390_0003.jpg', '/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_02_747799_0000.jpg', '/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_02_747799_0001.jpg', '/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_02_747799_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_02_256390_0001.jpg
/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_02_256390_0002.jpg
/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_02_256390_0003.jpg
/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_02_747799_0000.jpg
/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_02_747799_0001.jpg
/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_02_747799_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330769405","1330769410","1330769413","1330769424","1330769372","1330769420"],"photo_ids_order":["1330769372","1330769405","1330769410","1330769413","1330769420","1330769424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86ece489aead46e358c74b49b242ef54.jpg","text":"TemporaryFile(/tmp/multipartBody3335655681442749187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614359572,"filename":"image_23012025_07_36_02_256390_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7864f8e22b4e9b9847c3b5a2c4b1409c.jpg","text":"TemporaryFile(/tmp/multipartBody3545819764782316367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614359572,"filename":"image_23012025_07_36_02_256390_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1318bf6f69439f8ac7049682d02f3feb.jpg","text":"TemporaryFile(/tmp/multipartBody67667793558474594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614359572,"filename":"image_23012025_07_37_02_747799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4da9f9becc4595370a0a394324dde5b.jpg","text":"TemporaryFile(/tmp/multipartBody464390185688485783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614359572,"filename":"image_23012025_07_37_02_747799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27dbfde26edc449bea5b77b42319501f.jpg","text":"TemporaryFile(/tmp/multipartBody6074305937910472699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614359572,"filename":"image_23012025_07_36_02_256390_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d677e8e6f0d0e11d406843b15aee748c.jpg","text":"TemporaryFile(/tmp/multipartBody1270420538768623002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614359572,"filename":"image_23012025_07_37_02_747799_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330769410","file1":"1330769405","file0":"1330769372","file4":"1330769420","file5":"1330769424","file3":"1330769413"},"map_files_photo_id_array":[{"photo_id":"1330769424","filename":"file5"},{"photo_id":"1330769410","filename":"file2"},{"photo_id":"1330769420","filename":"file4"},{"photo_id":"1330769405","filename":"file1"},{"photo_id":"1330769372","filename":"file0"},{"photo_id":"1330769413","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330769405":["hashtag1","hashtag2"]},{"1330769410":["hashtag1","hashtag2"]},{"1330769413":["hashtag1","hashtag2"]},{"1330769424":["hashtag1","hashtag2"]},{"1330769372":["hashtag1","hashtag2"]},{"1330769420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330769405, 1330769410, 1330769413, 1330769424, 1330769372, 1330769420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.81287121772766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:39:02.758075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_02_747799_0003.jpg', '/home/pi/Desktop/images/23012025/07/38/image_23012025_07_38_02_260878_0000.jpg', '/home/pi/Desktop/images/23012025/07/38/image_23012025_07_38_02_260878_0001.jpg', '/home/pi/Desktop/images/23012025/07/38/image_23012025_07_38_02_260878_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_02_747799_0003.jpg
/home/pi/Desktop/images/23012025/07/38/image_23012025_07_38_02_260878_0000.jpg
/home/pi/Desktop/images/23012025/07/38/image_23012025_07_38_02_260878_0001.jpg
/home/pi/Desktop/images/23012025/07/38/image_23012025_07_38_02_260878_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330769455","1330769451","1330769459","1330769447"],"photo_ids_order":["1330769447","1330769451","1330769455","1330769459"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f64e218c40f4f83c90a3df2a47492b8a.jpg","text":"TemporaryFile(/tmp/multipartBody7334995916526868411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614414318,"filename":"image_23012025_07_38_02_260878_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9c6e8513ea302483ddfff41b2436a28.jpg","text":"TemporaryFile(/tmp/multipartBody1703178207044214484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614414318,"filename":"image_23012025_07_38_02_260878_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/812b32b868912c403cdf2b9ff6b00331.jpg","text":"TemporaryFile(/tmp/multipartBody999490445859752873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614414318,"filename":"image_23012025_07_38_02_260878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/236899d28462b9687c3fce9660574965.jpg","text":"TemporaryFile(/tmp/multipartBody3652675188784129241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614414318,"filename":"image_23012025_07_37_02_747799_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330769455","file1":"1330769451","file0":"1330769447","file3":"1330769459"},"map_files_photo_id_array":[{"photo_id":"1330769455","filename":"file2"},{"photo_id":"1330769451","filename":"file1"},{"photo_id":"1330769447","filename":"file0"},{"photo_id":"1330769459","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330769455":["hashtag1","hashtag2"]},{"1330769451":["hashtag1","hashtag2"]},{"1330769459":["hashtag1","hashtag2"]},{"1330769447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330769455, 1330769451, 1330769459, 1330769447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.68049621582031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:40:02.285539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/38/image_23012025_07_38_02_260878_0003.jpg', '/home/pi/Desktop/images/23012025/07/39/image_23012025_07_39_02_971972_0000.jpg', '/home/pi/Desktop/images/23012025/07/39/image_23012025_07_39_02_971972_0001.jpg', '/home/pi/Desktop/images/23012025/07/39/image_23012025_07_39_02_971972_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/38/image_23012025_07_38_02_260878_0003.jpg
/home/pi/Desktop/images/23012025/07/39/image_23012025_07_39_02_971972_0000.jpg
/home/pi/Desktop/images/23012025/07/39/image_23012025_07_39_02_971972_0001.jpg
/home/pi/Desktop/images/23012025/07/39/image_23012025_07_39_02_971972_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330769566","1330769571","1330769579","1330769552"],"photo_ids_order":["1330769552","1330769566","1330769571","1330769579"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e1aac871151fdb409e3957ec58f2b6d.jpg","text":"TemporaryFile(/tmp/multipartBody822750086848550756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614473743,"filename":"image_23012025_07_39_02_971972_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab8cc95468bd3a56f94863759bb1e867.jpg","text":"TemporaryFile(/tmp/multipartBody914920934947520715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614473743,"filename":"image_23012025_07_39_02_971972_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/527e78e78ff7ee7747577653b67fcc0d.jpg","text":"TemporaryFile(/tmp/multipartBody2559017743513838181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614473743,"filename":"image_23012025_07_39_02_971972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1481ccb6d4e69f323adb9dc4d3a3622.jpg","text":"TemporaryFile(/tmp/multipartBody7307335857163354109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614473743,"filename":"image_23012025_07_38_02_260878_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330769571","file1":"1330769566","file0":"1330769552","file3":"1330769579"},"map_files_photo_id_array":[{"photo_id":"1330769571","filename":"file2"},{"photo_id":"1330769566","filename":"file1"},{"photo_id":"1330769552","filename":"file0"},{"photo_id":"1330769579","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330769566":["hashtag1","hashtag2"]},{"1330769571":["hashtag1","hashtag2"]},{"1330769579":["hashtag1","hashtag2"]},{"1330769552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330769566, 1330769571, 1330769579, 1330769552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.1054425239563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:41:02.921360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/39/image_23012025_07_39_02_971972_0003.jpg', '/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_02_481071_0000.jpg', '/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_02_481071_0001.jpg', '/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_02_481071_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/39/image_23012025_07_39_02_971972_0003.jpg
/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_02_481071_0000.jpg
/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_02_481071_0001.jpg
/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_02_481071_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.543100118637085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:41:22.276186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/39/image_23012025_07_39_02_971972_0003.jpg', '/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_02_481071_0000.jpg', '/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_02_481071_0001.jpg', '/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_02_481071_0002.jpg', '/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_02_481071_0003.jpg', '/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_02_218593_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/39/image_23012025_07_39_02_971972_0003.jpg
/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_02_481071_0000.jpg
/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_02_481071_0001.jpg
/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_02_481071_0002.jpg
/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_02_481071_0003.jpg
/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_02_218593_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330769728","1330769725","1330769727","1330769712","1330769721","1330769717"],"photo_ids_order":["1330769712","1330769717","1330769721","1330769725","1330769727","1330769728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e429fd7224ce78beb0d2bd30b76b8762.jpg","text":"TemporaryFile(/tmp/multipartBody6889103460885424967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614559355,"filename":"image_23012025_07_41_02_218593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5ca220caca031d3f8d898cae84b2fad.jpg","text":"TemporaryFile(/tmp/multipartBody2770938126110144349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614559355,"filename":"image_23012025_07_40_02_481071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0eb9515493a0010aa5b6a6753e5859e1.jpg","text":"TemporaryFile(/tmp/multipartBody213826867207903628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614559355,"filename":"image_23012025_07_40_02_481071_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e85cd68475bd542b4e9534364722f97c.jpg","text":"TemporaryFile(/tmp/multipartBody7688240945882560146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614559355,"filename":"image_23012025_07_39_02_971972_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f933598544ed29faa4be5760990b42f.jpg","text":"TemporaryFile(/tmp/multipartBody4661442359265579816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614559355,"filename":"image_23012025_07_40_02_481071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6441fb6e958d0c60498af62e03310867.jpg","text":"TemporaryFile(/tmp/multipartBody2735526176796081129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614559355,"filename":"image_23012025_07_40_02_481071_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330769721","file1":"1330769717","file0":"1330769712","file4":"1330769727","file5":"1330769728","file3":"1330769725"},"map_files_photo_id_array":[{"photo_id":"1330769728","filename":"file5"},{"photo_id":"1330769721","filename":"file2"},{"photo_id":"1330769727","filename":"file4"},{"photo_id":"1330769717","filename":"file1"},{"photo_id":"1330769712","filename":"file0"},{"photo_id":"1330769725","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330769728":["hashtag1","hashtag2"]},{"1330769725":["hashtag1","hashtag2"]},{"1330769727":["hashtag1","hashtag2"]},{"1330769712":["hashtag1","hashtag2"]},{"1330769721":["hashtag1","hashtag2"]},{"1330769717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330769728, 1330769725, 1330769727, 1330769712, 1330769721, 1330769717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.61534261703491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:42:22.126452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_02_218593_0001.jpg', '/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_02_218593_0002.jpg', '/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_02_218593_0003.jpg', '/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_02_743820_0000.jpg', '/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_02_743820_0001.jpg', '/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_02_743820_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_02_218593_0001.jpg
/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_02_218593_0002.jpg
/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_02_218593_0003.jpg
/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_02_743820_0000.jpg
/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_02_743820_0001.jpg
/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_02_743820_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330769854","1330769902","1330769824","1330769818","1330769913","1330769835"],"photo_ids_order":["1330769818","1330769824","1330769835","1330769854","1330769902","1330769913"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f18c5cb605c52ab7891b83153e50c510.jpg","text":"TemporaryFile(/tmp/multipartBody8422941545491650797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614619369,"filename":"image_23012025_07_42_02_743820_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c2f5c59a77baf340eddcb14bae4f7e9.jpg","text":"TemporaryFile(/tmp/multipartBody3471207441075262667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614619369,"filename":"image_23012025_07_42_02_743820_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b54a5a6df485949320f7d5f163678e9.jpg","text":"TemporaryFile(/tmp/multipartBody6287619485069328876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614619369,"filename":"image_23012025_07_41_02_218593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06ef2feedb6218a5a0924ec9dad343a0.jpg","text":"TemporaryFile(/tmp/multipartBody3854609983496545152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614619369,"filename":"image_23012025_07_41_02_218593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ae9416e400bacebb14e6f0fcddaa32e.jpg","text":"TemporaryFile(/tmp/multipartBody8947448270310299481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614619369,"filename":"image_23012025_07_42_02_743820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14e588455f6c0c54583081b75f745f8a.jpg","text":"TemporaryFile(/tmp/multipartBody2925244291055346986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614619369,"filename":"image_23012025_07_41_02_218593_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330769835","file1":"1330769824","file0":"1330769818","file4":"1330769902","file5":"1330769913","file3":"1330769854"},"map_files_photo_id_array":[{"photo_id":"1330769913","filename":"file5"},{"photo_id":"1330769835","filename":"file2"},{"photo_id":"1330769902","filename":"file4"},{"photo_id":"1330769824","filename":"file1"},{"photo_id":"1330769818","filename":"file0"},{"photo_id":"1330769854","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330769854":["hashtag1","hashtag2"]},{"1330769902":["hashtag1","hashtag2"]},{"1330769824":["hashtag1","hashtag2"]},{"1330769818":["hashtag1","hashtag2"]},{"1330769913":["hashtag1","hashtag2"]},{"1330769835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330769854, 1330769902, 1330769824, 1330769818, 1330769913, 1330769835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.720316886901855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:44:02.494985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_02_743820_0003.jpg', '/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_02_510324_0000.jpg', '/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_02_510324_0001.jpg', '/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_02_510324_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_02_743820_0003.jpg
/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_02_510324_0000.jpg
/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_02_510324_0001.jpg
/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_02_510324_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.346628904342651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:44:22.147090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_02_743820_0003.jpg', '/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_02_510324_0000.jpg', '/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_02_510324_0001.jpg', '/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_02_510324_0002.jpg', '/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_02_510324_0003.jpg', '/home/pi/Desktop/images/23012025/07/44/image_23012025_07_44_03_018379_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_02_743820_0003.jpg
/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_02_510324_0000.jpg
/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_02_510324_0001.jpg
/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_02_510324_0002.jpg
/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_02_510324_0003.jpg
/home/pi/Desktop/images/23012025/07/44/image_23012025_07_44_03_018379_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330770064","1330770067","1330770066","1330770060","1330770054","1330770039"],"photo_ids_order":["1330770039","1330770054","1330770060","1330770064","1330770066","1330770067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3622abff0db2cffd7ec45bb689bf7967.jpg","text":"TemporaryFile(/tmp/multipartBody2806782990902893897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614739203,"filename":"image_23012025_07_43_02_510324_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67d39c36d4b559b6441ac69588a3105d.jpg","text":"TemporaryFile(/tmp/multipartBody2161809349498436174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614739203,"filename":"image_23012025_07_44_03_018379_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90757e9ca8ee6392a0639803ad1b1523.jpg","text":"TemporaryFile(/tmp/multipartBody4969134712701909740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614739203,"filename":"image_23012025_07_43_02_510324_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d44d96278e16a36735fa677fb433f22.jpg","text":"TemporaryFile(/tmp/multipartBody5429574249962961100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614739203,"filename":"image_23012025_07_43_02_510324_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fbd346cc19e39e0f1720c259390a2cfa.jpg","text":"TemporaryFile(/tmp/multipartBody6389184446172617716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614739203,"filename":"image_23012025_07_43_02_510324_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8feacffee74a3f283f9d2e1460ef1a0b.jpg","text":"TemporaryFile(/tmp/multipartBody4298660479224473442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614739203,"filename":"image_23012025_07_42_02_743820_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330770060","file1":"1330770054","file0":"1330770039","file4":"1330770066","file5":"1330770067","file3":"1330770064"},"map_files_photo_id_array":[{"photo_id":"1330770067","filename":"file5"},{"photo_id":"1330770060","filename":"file2"},{"photo_id":"1330770066","filename":"file4"},{"photo_id":"1330770054","filename":"file1"},{"photo_id":"1330770039","filename":"file0"},{"photo_id":"1330770064","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330770064":["hashtag1","hashtag2"]},{"1330770067":["hashtag1","hashtag2"]},{"1330770066":["hashtag1","hashtag2"]},{"1330770060":["hashtag1","hashtag2"]},{"1330770054":["hashtag1","hashtag2"]},{"1330770039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330770064, 1330770067, 1330770066, 1330770060, 1330770054, 1330770039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.786932945251465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:45:21.753415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/44/image_23012025_07_44_03_018379_0001.jpg', '/home/pi/Desktop/images/23012025/07/44/image_23012025_07_44_03_018379_0002.jpg', '/home/pi/Desktop/images/23012025/07/44/image_23012025_07_44_03_018379_0003.jpg', '/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_02_623708_0000.jpg', '/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_02_623708_0001.jpg', '/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_02_623708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/44/image_23012025_07_44_03_018379_0001.jpg
/home/pi/Desktop/images/23012025/07/44/image_23012025_07_44_03_018379_0002.jpg
/home/pi/Desktop/images/23012025/07/44/image_23012025_07_44_03_018379_0003.jpg
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_02_623708_0000.jpg
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_02_623708_0001.jpg
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_02_623708_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330770254","1330770143","1330770139","1330770105","1330770120","1330770191"],"photo_ids_order":["1330770105","1330770120","1330770139","1330770143","1330770191","1330770254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b6fb15cf117b9b75adcf40b585e3dbf.jpg","text":"TemporaryFile(/tmp/multipartBody4182912455466868123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614798275,"filename":"image_23012025_07_45_02_623708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c07fb18fe973aea356c5d29cfbe01674.jpg","text":"TemporaryFile(/tmp/multipartBody3432530976051646046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614798275,"filename":"image_23012025_07_45_02_623708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba0e2aea6da9bbbdcc9fb85a7cfbceb6.jpg","text":"TemporaryFile(/tmp/multipartBody4157412498989724117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614798275,"filename":"image_23012025_07_44_03_018379_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5630bb2e16c042b244ac9438ab5a63b3.jpg","text":"TemporaryFile(/tmp/multipartBody8851184626488466366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614798275,"filename":"image_23012025_07_44_03_018379_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6bee460d660f535719beee9ec4590517.jpg","text":"TemporaryFile(/tmp/multipartBody575205662763522966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614798275,"filename":"image_23012025_07_44_03_018379_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6640f3b640ccd5517b6d0b98a1005bc.jpg","text":"TemporaryFile(/tmp/multipartBody3250329638268946794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614798275,"filename":"image_23012025_07_45_02_623708_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330770139","file1":"1330770120","file0":"1330770105","file4":"1330770191","file5":"1330770254","file3":"1330770143"},"map_files_photo_id_array":[{"photo_id":"1330770254","filename":"file5"},{"photo_id":"1330770139","filename":"file2"},{"photo_id":"1330770191","filename":"file4"},{"photo_id":"1330770120","filename":"file1"},{"photo_id":"1330770105","filename":"file0"},{"photo_id":"1330770143","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330770254":["hashtag1","hashtag2"]},{"1330770143":["hashtag1","hashtag2"]},{"1330770139":["hashtag1","hashtag2"]},{"1330770105":["hashtag1","hashtag2"]},{"1330770120":["hashtag1","hashtag2"]},{"1330770191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330770254, 1330770143, 1330770139, 1330770105, 1330770120, 1330770191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.28418755531311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:46:22.252407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_02_623708_0003.jpg', '/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_02_149850_0000.jpg', '/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_02_149850_0001.jpg', '/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_02_149850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_02_623708_0003.jpg
/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_02_149850_0000.jpg
/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_02_149850_0001.jpg
/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_02_149850_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330770341","1330770463","1330770457","1330770374"],"photo_ids_order":["1330770341","1330770374","1330770457","1330770463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5dee9a7406995035193d23050b34560.jpg","text":"TemporaryFile(/tmp/multipartBody3945503681987830072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614853500,"filename":"image_23012025_07_45_02_623708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/033aad3526e79619b291753cff9f95af.jpg","text":"TemporaryFile(/tmp/multipartBody3479392773580618012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614853500,"filename":"image_23012025_07_46_02_149850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d5fa4e34e079d4ae530d29c2f58a619.jpg","text":"TemporaryFile(/tmp/multipartBody5122349710955678818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614853500,"filename":"image_23012025_07_46_02_149850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3399466f3969544b49d2459ac7ac8417.jpg","text":"TemporaryFile(/tmp/multipartBody2687906416009874927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614853500,"filename":"image_23012025_07_46_02_149850_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330770457","file1":"1330770374","file0":"1330770341","file3":"1330770463"},"map_files_photo_id_array":[{"photo_id":"1330770457","filename":"file2"},{"photo_id":"1330770374","filename":"file1"},{"photo_id":"1330770341","filename":"file0"},{"photo_id":"1330770463","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330770341":["hashtag1","hashtag2"]},{"1330770463":["hashtag1","hashtag2"]},{"1330770457":["hashtag1","hashtag2"]},{"1330770374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330770341, 1330770463, 1330770457, 1330770374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.773266077041626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:47:21.725199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_02_149850_0003.jpg', '/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_02_646901_0000.jpg', '/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_02_646901_0001.jpg', '/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_02_646901_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_02_149850_0003.jpg
/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_02_646901_0000.jpg
/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_02_646901_0001.jpg
/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_02_646901_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330770490","1330770484","1330770493","1330770486"],"photo_ids_order":["1330770484","1330770486","1330770490","1330770493"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a0248384d96e7c58bcb2247f8f550b4.jpg","text":"TemporaryFile(/tmp/multipartBody7257756551085287074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614912602,"filename":"image_23012025_07_47_02_646901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbe6d26f40ac3a00a6c42b616d44703f.jpg","text":"TemporaryFile(/tmp/multipartBody268079110213702552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614912602,"filename":"image_23012025_07_46_02_149850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c4ed7771df47d580fb7d4dd025866c2.jpg","text":"TemporaryFile(/tmp/multipartBody7022955806686667102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614912602,"filename":"image_23012025_07_47_02_646901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4208f6e619ac33ecdae764ecbcf88567.jpg","text":"TemporaryFile(/tmp/multipartBody8968254137359122841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614912602,"filename":"image_23012025_07_47_02_646901_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330770490","file1":"1330770486","file0":"1330770484","file3":"1330770493"},"map_files_photo_id_array":[{"photo_id":"1330770490","filename":"file2"},{"photo_id":"1330770486","filename":"file1"},{"photo_id":"1330770484","filename":"file0"},{"photo_id":"1330770493","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330770490":["hashtag1","hashtag2"]},{"1330770484":["hashtag1","hashtag2"]},{"1330770493":["hashtag1","hashtag2"]},{"1330770486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330770490, 1330770484, 1330770493, 1330770486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.50318741798401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:48:02.671915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0000.jpg', '/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0001.jpg', '/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0002.jpg', '/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0003.jpg', '/home/pi/Desktop/images/21012025/18/38/image_21012025_18_38_02_596332_0000.jpg', '/home/pi/Desktop/images/21012025/18/38/image_21012025_18_38_02_596332_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0000.jpg
/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0001.jpg
/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0002.jpg
/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0003.jpg
/home/pi/Desktop/images/21012025/18/38/image_21012025_18_38_02_596332_0000.jpg
/home/pi/Desktop/images/21012025/18/38/image_21012025_18_38_02_596332_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.624302864074707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:48:22.285505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_02_646901_0003.jpg', '/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_02_197767_0000.jpg', '/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_02_197767_0001.jpg', '/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_02_197767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_02_646901_0003.jpg
/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_02_197767_0000.jpg
/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_02_197767_0001.jpg
/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_02_197767_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330770530","1330770521","1330770541","1330770555"],"photo_ids_order":["1330770521","1330770530","1330770541","1330770555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c5f0e1f1d751485561e103d3304bb5a.jpg","text":"TemporaryFile(/tmp/multipartBody497393532716856642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614973831,"filename":"image_23012025_07_48_02_197767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/944b03e3a26ba3759a2300483d375ab5.jpg","text":"TemporaryFile(/tmp/multipartBody7178337284473344554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614973831,"filename":"image_23012025_07_47_02_646901_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/145909835393881a040df2e51b99c5b9.jpg","text":"TemporaryFile(/tmp/multipartBody287881955683049073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614973831,"filename":"image_23012025_07_48_02_197767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f113c943b7ab4127fd8a928448740b7e.jpg","text":"TemporaryFile(/tmp/multipartBody6397241830042207918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614973831,"filename":"image_23012025_07_48_02_197767_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330770541","file1":"1330770530","file0":"1330770521","file3":"1330770555"},"map_files_photo_id_array":[{"photo_id":"1330770541","filename":"file2"},{"photo_id":"1330770530","filename":"file1"},{"photo_id":"1330770521","filename":"file0"},{"photo_id":"1330770555","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330770530":["hashtag1","hashtag2"]},{"1330770521":["hashtag1","hashtag2"]},{"1330770541":["hashtag1","hashtag2"]},{"1330770555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330770530, 1330770521, 1330770541, 1330770555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.148547887802124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:49:21.733501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_02_197767_0003.jpg', '/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_02_642358_0000.jpg', '/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_02_642358_0001.jpg', '/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_02_642358_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_02_197767_0003.jpg
/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_02_642358_0000.jpg
/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_02_642358_0001.jpg
/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_02_642358_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330770586","1330770589","1330770593","1330770596"],"photo_ids_order":["1330770586","1330770589","1330770593","1330770596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7fff247da94970147e6428f62f60cb90.jpg","text":"TemporaryFile(/tmp/multipartBody3664908339241226654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615032325,"filename":"image_23012025_07_48_02_197767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/266713cc64e4abf96da5d26b6f68a950.jpg","text":"TemporaryFile(/tmp/multipartBody657809995119515702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615032325,"filename":"image_23012025_07_49_02_642358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc7429d86254f04981ba6a9b6572bda0.jpg","text":"TemporaryFile(/tmp/multipartBody5714511037539503468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615032325,"filename":"image_23012025_07_49_02_642358_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96b3a40bda964c778d398e54f54f00f2.jpg","text":"TemporaryFile(/tmp/multipartBody8030446557427325680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615032325,"filename":"image_23012025_07_49_02_642358_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330770593","file1":"1330770589","file0":"1330770586","file3":"1330770596"},"map_files_photo_id_array":[{"photo_id":"1330770593","filename":"file2"},{"photo_id":"1330770589","filename":"file1"},{"photo_id":"1330770586","filename":"file0"},{"photo_id":"1330770596","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330770586":["hashtag1","hashtag2"]},{"1330770589":["hashtag1","hashtag2"]},{"1330770593":["hashtag1","hashtag2"]},{"1330770596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330770586, 1330770589, 1330770593, 1330770596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72883343696594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:50:02.799017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0000.jpg', '/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0001.jpg', '/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0002.jpg', '/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0003.jpg', '/home/pi/Desktop/images/21012025/18/38/image_21012025_18_38_02_596332_0000.jpg', '/home/pi/Desktop/images/21012025/18/38/image_21012025_18_38_02_596332_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0000.jpg
/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0001.jpg
/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0002.jpg
/home/pi/Desktop/images/21012025/18/37/image_21012025_18_37_02_346937_0003.jpg
/home/pi/Desktop/images/21012025/18/38/image_21012025_18_38_02_596332_0000.jpg
/home/pi/Desktop/images/21012025/18/38/image_21012025_18_38_02_596332_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":["1330770701","1330770699","1330770681","1330770705","1330770708","1330770801"],"photo_ids_order":["1330770681","1330770699","1330770701","1330770705","1330770708","1330770801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef2cd70e594abf1bf88435fff1008fd2.jpg","text":"TemporaryFile(/tmp/multipartBody9132566046074155333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615080628,"filename":"image_21012025_18_37_02_346937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86c55e7d22eeef2a935c2016adadd14a.jpg","text":"TemporaryFile(/tmp/multipartBody6975018901601592210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615080628,"filename":"image_21012025_18_37_02_346937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba1c4a40c66fcac3f47392bf67eca0ad.jpg","text":"TemporaryFile(/tmp/multipartBody6041227799512117934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615080628,"filename":"image_21012025_18_37_02_346937_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dacb79f99582259251cab5b189dcb759.jpg","text":"TemporaryFile(/tmp/multipartBody2943612944852613376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615080628,"filename":"image_21012025_18_37_02_346937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69086d800192bf21435d8abb4ab183f6.jpg","text":"TemporaryFile(/tmp/multipartBody7282439105336093212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615080628,"filename":"image_21012025_18_38_02_596332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/870713128029f1fce315c0231ef2f80e.jpg","text":"TemporaryFile(/tmp/multipartBody142540964884398478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615080628,"filename":"image_21012025_18_38_02_596332_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330770701","file1":"1330770699","file0":"1330770681","file4":"1330770708","file5":"1330770801","file3":"1330770705"},"map_files_photo_id_array":[{"photo_id":"1330770801","filename":"file5"},{"photo_id":"1330770701","filename":"file2"},{"photo_id":"1330770708","filename":"file4"},{"photo_id":"1330770699","filename":"file1"},{"photo_id":"1330770681","filename":"file0"},{"photo_id":"1330770705","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330770701":["hashtag1","hashtag2"]},{"1330770699":["hashtag1","hashtag2"]},{"1330770681":["hashtag1","hashtag2"]},{"1330770705":["hashtag1","hashtag2"]},{"1330770708":["hashtag1","hashtag2"]},{"1330770801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330770701, 1330770699, 1330770681, 1330770705, 1330770708, 1330770801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.446096897125244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:51:21.838760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_02_642358_0003.jpg', '/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_02_306338_0000.jpg', '/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_02_306338_0001.jpg', '/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_02_306338_0002.jpg', '/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_02_306338_0003.jpg', '/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_02_733759_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_02_642358_0003.jpg
/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_02_306338_0000.jpg
/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_02_306338_0001.jpg
/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_02_306338_0002.jpg
/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_02_306338_0003.jpg
/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_02_733759_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330771609","1330771603","1330771605","1330771595","1330771598","1330771601"],"photo_ids_order":["1330771595","1330771598","1330771601","1330771603","1330771605","1330771609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e6bbb6cc521ea65e4e5eb84c620a225.jpg","text":"TemporaryFile(/tmp/multipartBody736012484232333096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615157699,"filename":"image_23012025_07_51_02_733759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/694c71e3cedd1aea7a3ea10340e28537.jpg","text":"TemporaryFile(/tmp/multipartBody4104747748389047368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615157699,"filename":"image_23012025_07_50_02_306338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d39d5017d80b1fb2be958d4fbcaefdde.jpg","text":"TemporaryFile(/tmp/multipartBody4745526215477546243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615157699,"filename":"image_23012025_07_50_02_306338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b30b0347afb1a83c5b3368456babe2ef.jpg","text":"TemporaryFile(/tmp/multipartBody8888247061589723128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615157699,"filename":"image_23012025_07_49_02_642358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/baf49a6680fce8093e6b6cca5f71bcd9.jpg","text":"TemporaryFile(/tmp/multipartBody4769592865034361992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615157699,"filename":"image_23012025_07_50_02_306338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fe13ceafb544e2de77185c774827028.jpg","text":"TemporaryFile(/tmp/multipartBody5963390746906895375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615157699,"filename":"image_23012025_07_50_02_306338_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330771601","file1":"1330771598","file0":"1330771595","file4":"1330771605","file5":"1330771609","file3":"1330771603"},"map_files_photo_id_array":[{"photo_id":"1330771609","filename":"file5"},{"photo_id":"1330771601","filename":"file2"},{"photo_id":"1330771605","filename":"file4"},{"photo_id":"1330771598","filename":"file1"},{"photo_id":"1330771595","filename":"file0"},{"photo_id":"1330771603","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330771609":["hashtag1","hashtag2"]},{"1330771603":["hashtag1","hashtag2"]},{"1330771605":["hashtag1","hashtag2"]},{"1330771595":["hashtag1","hashtag2"]},{"1330771598":["hashtag1","hashtag2"]},{"1330771601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330771609, 1330771603, 1330771605, 1330771595, 1330771598, 1330771601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.00416588783264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:52:22.518496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_02_733759_0001.jpg', '/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_02_733759_0002.jpg', '/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_02_733759_0003.jpg', '/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_02_338444_0000.jpg', '/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_02_338444_0001.jpg', '/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_02_338444_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_02_733759_0001.jpg
/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_02_733759_0002.jpg
/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_02_733759_0003.jpg
/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_02_338444_0000.jpg
/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_02_338444_0001.jpg
/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_02_338444_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330771831","1330771872","1330771869","1330771920","1330771922","1330771910"],"photo_ids_order":["1330771831","1330771869","1330771872","1330771910","1330771920","1330771922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1994296b5a3fd75a1630c71d808985b.jpg","text":"TemporaryFile(/tmp/multipartBody7698068457117164310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615218770,"filename":"image_23012025_07_51_02_733759_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0d870fa391c631536ce3f9247fc41fe.jpg","text":"TemporaryFile(/tmp/multipartBody880942935239120288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615218770,"filename":"image_23012025_07_51_02_733759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b64787e389ae3a3b95f8ab09e7fb178.jpg","text":"TemporaryFile(/tmp/multipartBody2228463790125023354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615218770,"filename":"image_23012025_07_51_02_733759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da86df228cb3b0eaaf5c74e9e4111e49.jpg","text":"TemporaryFile(/tmp/multipartBody1536145925936418235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615218770,"filename":"image_23012025_07_52_02_338444_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a67d9ebbbd8edbd6dc0104e5690060a.jpg","text":"TemporaryFile(/tmp/multipartBody3529849997063726237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615218770,"filename":"image_23012025_07_52_02_338444_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69643e8637b46c0214ca35d1588dc461.jpg","text":"TemporaryFile(/tmp/multipartBody4127479652058207068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615218770,"filename":"image_23012025_07_52_02_338444_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330771872","file1":"1330771869","file0":"1330771831","file4":"1330771920","file5":"1330771922","file3":"1330771910"},"map_files_photo_id_array":[{"photo_id":"1330771922","filename":"file5"},{"photo_id":"1330771872","filename":"file2"},{"photo_id":"1330771920","filename":"file4"},{"photo_id":"1330771869","filename":"file1"},{"photo_id":"1330771831","filename":"file0"},{"photo_id":"1330771910","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330771831":["hashtag1","hashtag2"]},{"1330771872":["hashtag1","hashtag2"]},{"1330771869":["hashtag1","hashtag2"]},{"1330771920":["hashtag1","hashtag2"]},{"1330771922":["hashtag1","hashtag2"]},{"1330771910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330771831, 1330771872, 1330771869, 1330771920, 1330771922, 1330771910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.961342096328735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:53:22.046565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_02_338444_0003.jpg', '/home/pi/Desktop/images/23012025/07/53/image_23012025_07_53_02_882610_0000.jpg', '/home/pi/Desktop/images/23012025/07/53/image_23012025_07_53_02_882610_0001.jpg', '/home/pi/Desktop/images/23012025/07/53/image_23012025_07_53_02_882610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_02_338444_0003.jpg
/home/pi/Desktop/images/23012025/07/53/image_23012025_07_53_02_882610_0000.jpg
/home/pi/Desktop/images/23012025/07/53/image_23012025_07_53_02_882610_0001.jpg
/home/pi/Desktop/images/23012025/07/53/image_23012025_07_53_02_882610_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330771936","1330771939","1330771927","1330771931"],"photo_ids_order":["1330771927","1330771931","1330771936","1330771939"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6f173d356ae495c1121bfe17b51b01e.jpg","text":"TemporaryFile(/tmp/multipartBody2938201230394542689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615273068,"filename":"image_23012025_07_53_02_882610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1961affc6de089e3de490bdc28255914.jpg","text":"TemporaryFile(/tmp/multipartBody2882939083166108194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615273068,"filename":"image_23012025_07_53_02_882610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c21648980203b13af14897a395556403.jpg","text":"TemporaryFile(/tmp/multipartBody1769840192932455655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615273068,"filename":"image_23012025_07_52_02_338444_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b0db6a4f53781660aa582fbf51dc62e.jpg","text":"TemporaryFile(/tmp/multipartBody2362999874945701285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615273068,"filename":"image_23012025_07_53_02_882610_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330771936","file1":"1330771931","file0":"1330771927","file3":"1330771939"},"map_files_photo_id_array":[{"photo_id":"1330771936","filename":"file2"},{"photo_id":"1330771931","filename":"file1"},{"photo_id":"1330771927","filename":"file0"},{"photo_id":"1330771939","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330771936":["hashtag1","hashtag2"]},{"1330771939":["hashtag1","hashtag2"]},{"1330771927":["hashtag1","hashtag2"]},{"1330771931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330771936, 1330771939, 1330771927, 1330771931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.96470284461975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:54:22.513514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/53/image_23012025_07_53_02_882610_0003.jpg', '/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_02_388275_0000.jpg', '/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_02_388275_0001.jpg', '/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_02_388275_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/53/image_23012025_07_53_02_882610_0003.jpg
/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_02_388275_0000.jpg
/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_02_388275_0001.jpg
/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_02_388275_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330771971","1330771965","1330771973","1330771967"],"photo_ids_order":["1330771965","1330771967","1330771971","1330771973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/784384c86c443787802b120700817bb0.jpg","text":"TemporaryFile(/tmp/multipartBody4758308951952474501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615333626,"filename":"image_23012025_07_54_02_388275_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49ac1de5a47928860d75ba5b9a92cde5.jpg","text":"TemporaryFile(/tmp/multipartBody2603258147582258446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615333626,"filename":"image_23012025_07_53_02_882610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9894915edb88cc9ac431917470137002.jpg","text":"TemporaryFile(/tmp/multipartBody7949545455926456923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615333626,"filename":"image_23012025_07_54_02_388275_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8e0ea7fdb6d609ce57dc60c32f88037.jpg","text":"TemporaryFile(/tmp/multipartBody6313147713368703423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615333626,"filename":"image_23012025_07_54_02_388275_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330771971","file1":"1330771967","file0":"1330771965","file3":"1330771973"},"map_files_photo_id_array":[{"photo_id":"1330771971","filename":"file2"},{"photo_id":"1330771967","filename":"file1"},{"photo_id":"1330771965","filename":"file0"},{"photo_id":"1330771973","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330771971":["hashtag1","hashtag2"]},{"1330771965":["hashtag1","hashtag2"]},{"1330771973":["hashtag1","hashtag2"]},{"1330771967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330771971, 1330771965, 1330771973, 1330771967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.007211208343506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:55:22.044127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_02_388275_0003.jpg', '/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_02_885026_0000.jpg', '/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_02_885026_0001.jpg', '/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_02_885026_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_02_388275_0003.jpg
/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_02_885026_0000.jpg
/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_02_885026_0001.jpg
/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_02_885026_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330772113","1330772119","1330772117","1330772111"],"photo_ids_order":["1330772111","1330772113","1330772117","1330772119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8005a97d3857bff5e07bd721e47d41f5.jpg","text":"TemporaryFile(/tmp/multipartBody5170014918544675660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615392992,"filename":"image_23012025_07_55_02_885026_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/397b0b95a4e3d38abd644d98cefdcc0e.jpg","text":"TemporaryFile(/tmp/multipartBody7821087056055956964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615392992,"filename":"image_23012025_07_55_02_885026_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d91e3878b6dd4c3eecb8ee5b9f6c0cba.jpg","text":"TemporaryFile(/tmp/multipartBody6013036270077361502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615392992,"filename":"image_23012025_07_55_02_885026_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62d8423a9f83e214662915ac6c3e5a69.jpg","text":"TemporaryFile(/tmp/multipartBody6755289825029780028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615392992,"filename":"image_23012025_07_54_02_388275_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330772117","file1":"1330772113","file0":"1330772111","file3":"1330772119"},"map_files_photo_id_array":[{"photo_id":"1330772117","filename":"file2"},{"photo_id":"1330772113","filename":"file1"},{"photo_id":"1330772111","filename":"file0"},{"photo_id":"1330772119","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330772113":["hashtag1","hashtag2"]},{"1330772119":["hashtag1","hashtag2"]},{"1330772117":["hashtag1","hashtag2"]},{"1330772111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330772113, 1330772119, 1330772117, 1330772111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.03208374977112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:56:22.542729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_02_885026_0003.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_02_407470_0000.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_02_407470_0001.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_02_407470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_02_885026_0003.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_02_407470_0000.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_02_407470_0001.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_02_407470_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330772172","1330772154","1330772159","1330772144"],"photo_ids_order":["1330772144","1330772154","1330772159","1330772172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9348874c3bd42d738048c986cb4fa1d7.jpg","text":"TemporaryFile(/tmp/multipartBody6253803135988416904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615454289,"filename":"image_23012025_07_56_02_407470_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/775a122cc1b11a7eef5a0fbd23aac780.jpg","text":"TemporaryFile(/tmp/multipartBody8467811856305371924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615454289,"filename":"image_23012025_07_56_02_407470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f53b6b2e62d997b04468c68bb34d8ca8.jpg","text":"TemporaryFile(/tmp/multipartBody5732549860667256657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615454289,"filename":"image_23012025_07_56_02_407470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee341dcd7e44076a4ed1015e7a26d5a5.jpg","text":"TemporaryFile(/tmp/multipartBody5893716373931474603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615454289,"filename":"image_23012025_07_55_02_885026_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330772159","file1":"1330772154","file0":"1330772144","file3":"1330772172"},"map_files_photo_id_array":[{"photo_id":"1330772159","filename":"file2"},{"photo_id":"1330772154","filename":"file1"},{"photo_id":"1330772144","filename":"file0"},{"photo_id":"1330772172","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330772172":["hashtag1","hashtag2"]},{"1330772154":["hashtag1","hashtag2"]},{"1330772159":["hashtag1","hashtag2"]},{"1330772144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330772172, 1330772154, 1330772159, 1330772144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.70678949356079 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 07:57:21.988822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_02_407470_0003.jpg', '/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_02_924636_0000.jpg', '/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_02_924636_0001.jpg', '/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_02_924636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_02_407470_0003.jpg
/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_02_924636_0000.jpg
/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_02_924636_0001.jpg
/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_02_924636_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330772230","1330772212","1330772226","1330772222"],"photo_ids_order":["1330772212","1330772222","1330772226","1330772230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52523bc9b410d4fac415817b3e1bfb2f.jpg","text":"TemporaryFile(/tmp/multipartBody3894428988226048217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615513174,"filename":"image_23012025_07_57_02_924636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0816a8d615cdf759537f9975a963eb7.jpg","text":"TemporaryFile(/tmp/multipartBody1035412071424521645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615513174,"filename":"image_23012025_07_56_02_407470_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e6ed85f0d8bc844fe0fcb1e29c45a7d.jpg","text":"TemporaryFile(/tmp/multipartBody2119981765732957532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615513174,"filename":"image_23012025_07_57_02_924636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8bc5b8efd8090da0c16a56c89f165953.jpg","text":"TemporaryFile(/tmp/multipartBody3723591275724794975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615513174,"filename":"image_23012025_07_57_02_924636_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330772226","file1":"1330772222","file0":"1330772212","file3":"1330772230"},"map_files_photo_id_array":[{"photo_id":"1330772226","filename":"file2"},{"photo_id":"1330772222","filename":"file1"},{"photo_id":"1330772212","filename":"file0"},{"photo_id":"1330772230","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330772230":["hashtag1","hashtag2"]},{"1330772212":["hashtag1","hashtag2"]},{"1330772226":["hashtag1","hashtag2"]},{"1330772222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330772230, 1330772212, 1330772226, 1330772222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.88943433761597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 07:59:03.408787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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-23 07:59:22.719765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_02_924636_0003.jpg', '/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_02_410824_0000.jpg', '/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_02_410824_0001.jpg', '/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_02_410824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_02_924636_0003.jpg
/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_02_410824_0000.jpg
/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_02_410824_0001.jpg
/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_02_410824_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330772713","1330772697","1330772670","1330772709"],"photo_ids_order":["1330772670","1330772697","1330772709","1330772713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a29ee561515163c41c5914464414765.jpg","text":"TemporaryFile(/tmp/multipartBody5482901817458049374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615633959,"filename":"image_23012025_07_58_02_410824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22fc0671f53c76be520e43206e43b6bb.jpg","text":"TemporaryFile(/tmp/multipartBody8583261037976692462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615633959,"filename":"image_23012025_07_58_02_410824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1338c4e8250bfe6f9b67673c6bc01a8a.jpg","text":"TemporaryFile(/tmp/multipartBody6706507452008729522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615633959,"filename":"image_23012025_07_57_02_924636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8d6feaf4b0bd00f5bebb435f3d8ca75.jpg","text":"TemporaryFile(/tmp/multipartBody8539669243869904107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615633959,"filename":"image_23012025_07_58_02_410824_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330772709","file1":"1330772697","file0":"1330772670","file3":"1330772713"},"map_files_photo_id_array":[{"photo_id":"1330772709","filename":"file2"},{"photo_id":"1330772697","filename":"file1"},{"photo_id":"1330772670","filename":"file0"},{"photo_id":"1330772713","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330772713":["hashtag1","hashtag2"]},{"1330772697":["hashtag1","hashtag2"]},{"1330772670":["hashtag1","hashtag2"]},{"1330772709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330772713, 1330772697, 1330772670, 1330772709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.60411334037781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:00:22.372416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_02_410824_0003.jpg', '/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_02_981900_0000.jpg', '/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_02_981900_0001.jpg', '/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_02_981900_0002.jpg', '/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_02_981900_0003.jpg', '/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_03_225481_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_02_410824_0003.jpg
/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_02_981900_0000.jpg
/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_02_981900_0001.jpg
/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_02_981900_0002.jpg
/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_02_981900_0003.jpg
/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_03_225481_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":["1330772749","1330772740","1330772743","1330772748","1330772735","1330772746"],"photo_ids_order":["1330772735","1330772740","1330772743","1330772746","1330772748","1330772749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6bdd7cecc30a05330109ace7cd87c4e2.jpg","text":"TemporaryFile(/tmp/multipartBody3808547409998956387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615699258,"filename":"image_23012025_08_00_03_225481_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8159f74066108e9851f63544658f85f3.jpg","text":"TemporaryFile(/tmp/multipartBody3959842923871302898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615699258,"filename":"image_23012025_07_59_02_981900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d32252cdc525b89895e11d4b345f86b5.jpg","text":"TemporaryFile(/tmp/multipartBody2272612412522297135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615699258,"filename":"image_23012025_07_59_02_981900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1a220f56fadf943015826f3cbd5f986.jpg","text":"TemporaryFile(/tmp/multipartBody9152315751701318733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615699258,"filename":"image_23012025_07_59_02_981900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45febebbc8220cf472f67c12a661a059.jpg","text":"TemporaryFile(/tmp/multipartBody7534563383507910300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615699258,"filename":"image_23012025_07_58_02_410824_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa8a3de9ab6a35ba1683dacec107349d.jpg","text":"TemporaryFile(/tmp/multipartBody1884902473410824142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615699258,"filename":"image_23012025_07_59_02_981900_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330772743","file1":"1330772740","file0":"1330772735","file4":"1330772748","file5":"1330772749","file3":"1330772746"},"map_files_photo_id_array":[{"photo_id":"1330772749","filename":"file5"},{"photo_id":"1330772743","filename":"file2"},{"photo_id":"1330772748","filename":"file4"},{"photo_id":"1330772740","filename":"file1"},{"photo_id":"1330772735","filename":"file0"},{"photo_id":"1330772746","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330772749":["hashtag1","hashtag2"]},{"1330772740":["hashtag1","hashtag2"]},{"1330772743":["hashtag1","hashtag2"]},{"1330772748":["hashtag1","hashtag2"]},{"1330772735":["hashtag1","hashtag2"]},{"1330772746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330772749, 1330772740, 1330772743, 1330772748, 1330772735, 1330772746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.49967312812805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:02:02.914739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_03_225481_0001.jpg', '/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_03_225481_0002.jpg', '/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_03_225481_0003.jpg', '/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_02_762639_0000.jpg', '/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_02_762639_0001.jpg', '/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_02_762639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_03_225481_0001.jpg
/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_03_225481_0002.jpg
/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_03_225481_0003.jpg
/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_02_762639_0000.jpg
/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_02_762639_0001.jpg
/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_02_762639_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.662923336029053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:02:22.478748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_03_225481_0001.jpg', '/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_03_225481_0002.jpg', '/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_03_225481_0003.jpg', '/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_02_762639_0000.jpg', '/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_02_762639_0001.jpg', '/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_02_762639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_03_225481_0001.jpg
/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_03_225481_0002.jpg
/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_03_225481_0003.jpg
/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_02_762639_0000.jpg
/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_02_762639_0001.jpg
/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_02_762639_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330772800","1330772793","1330772798","1330772786","1330772795","1330772791"],"photo_ids_order":["1330772786","1330772791","1330772793","1330772795","1330772798","1330772800"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e959bb429a3a48c42212a5bdade28fc3.jpg","text":"TemporaryFile(/tmp/multipartBody4567849014262749399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615819511,"filename":"image_23012025_08_01_02_762639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d25221342caf2f8de793565d4f2740af.jpg","text":"TemporaryFile(/tmp/multipartBody5102201002444200123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615819511,"filename":"image_23012025_08_00_03_225481_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab04679547bec04e1bb4b8510a1ae380.jpg","text":"TemporaryFile(/tmp/multipartBody1119112858304249275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615819511,"filename":"image_23012025_08_01_02_762639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96a28a08ba6e6adb7545015c17405c73.jpg","text":"TemporaryFile(/tmp/multipartBody7592395619202740347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615819511,"filename":"image_23012025_08_00_03_225481_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d26c3df6de8f4023fac625facfe8ac86.jpg","text":"TemporaryFile(/tmp/multipartBody4915130396018727346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615819511,"filename":"image_23012025_08_01_02_762639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f75e9dd279bdd79e92421a759d635bfd.jpg","text":"TemporaryFile(/tmp/multipartBody4219103001697587475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615819511,"filename":"image_23012025_08_00_03_225481_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330772793","file1":"1330772791","file0":"1330772786","file4":"1330772798","file5":"1330772800","file3":"1330772795"},"map_files_photo_id_array":[{"photo_id":"1330772800","filename":"file5"},{"photo_id":"1330772793","filename":"file2"},{"photo_id":"1330772798","filename":"file4"},{"photo_id":"1330772791","filename":"file1"},{"photo_id":"1330772786","filename":"file0"},{"photo_id":"1330772795","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330772800":["hashtag1","hashtag2"]},{"1330772793":["hashtag1","hashtag2"]},{"1330772798":["hashtag1","hashtag2"]},{"1330772786":["hashtag1","hashtag2"]},{"1330772795":["hashtag1","hashtag2"]},{"1330772791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330772800, 1330772793, 1330772798, 1330772786, 1330772795, 1330772791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.571779012680054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:03:21.884168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_02_762639_0003.jpg', '/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_02_263536_0000.jpg', '/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_02_263536_0001.jpg', '/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_02_263536_0002.jpg', '/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_02_263536_0003.jpg', '/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_02_819188_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_02_762639_0003.jpg
/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_02_263536_0000.jpg
/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_02_263536_0001.jpg
/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_02_263536_0002.jpg
/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_02_263536_0003.jpg
/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_02_819188_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330772818","1330772811","1330772820","1330772822","1330772816","1330772813"],"photo_ids_order":["1330772811","1330772813","1330772816","1330772818","1330772820","1330772822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e838b0e66b181133cec05bc01601301.jpg","text":"TemporaryFile(/tmp/multipartBody4665081967477352421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615878805,"filename":"image_23012025_08_02_02_263536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3d358c06d7da4778f817e39e2e88172.jpg","text":"TemporaryFile(/tmp/multipartBody5384236293079882291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615878805,"filename":"image_23012025_08_01_02_762639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/858c814441b40ef0cc7320aa96f8b891.jpg","text":"TemporaryFile(/tmp/multipartBody5174187997467515283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615878805,"filename":"image_23012025_08_02_02_263536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fd944d003928faa31540fc7c44a6124.jpg","text":"TemporaryFile(/tmp/multipartBody5365978023562750809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615878805,"filename":"image_23012025_08_03_02_819188_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84ddf35265f60be231e776fa0c54601f.jpg","text":"TemporaryFile(/tmp/multipartBody3916268576293200153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615878805,"filename":"image_23012025_08_02_02_263536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/002ce1b9a5c0dacc45ac4d6908fad12f.jpg","text":"TemporaryFile(/tmp/multipartBody4377969034117931042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615878805,"filename":"image_23012025_08_02_02_263536_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330772816","file1":"1330772813","file0":"1330772811","file4":"1330772820","file5":"1330772822","file3":"1330772818"},"map_files_photo_id_array":[{"photo_id":"1330772822","filename":"file5"},{"photo_id":"1330772816","filename":"file2"},{"photo_id":"1330772820","filename":"file4"},{"photo_id":"1330772813","filename":"file1"},{"photo_id":"1330772811","filename":"file0"},{"photo_id":"1330772818","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330772818":["hashtag1","hashtag2"]},{"1330772811":["hashtag1","hashtag2"]},{"1330772820":["hashtag1","hashtag2"]},{"1330772822":["hashtag1","hashtag2"]},{"1330772816":["hashtag1","hashtag2"]},{"1330772813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330772818, 1330772811, 1330772820, 1330772822, 1330772816, 1330772813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.933361530303955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:04:22.573643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_02_819188_0001.jpg', '/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_02_819188_0002.jpg', '/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_02_819188_0003.jpg', '/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_02_398358_0000.jpg', '/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_02_398358_0001.jpg', '/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_02_398358_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_02_819188_0001.jpg
/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_02_819188_0002.jpg
/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_02_819188_0003.jpg
/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_02_398358_0000.jpg
/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_02_398358_0001.jpg
/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_02_398358_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330772836","1330772841","1330772853","1330772847","1330772896","1330772866"],"photo_ids_order":["1330772836","1330772841","1330772847","1330772853","1330772866","1330772896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7bf420c5adde6070bd3f0d736a6ca3b.jpg","text":"TemporaryFile(/tmp/multipartBody1696027709188302841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615939539,"filename":"image_23012025_08_03_02_819188_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33520eefd069862d5af2e7872c77dc25.jpg","text":"TemporaryFile(/tmp/multipartBody1561545175139652919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615939539,"filename":"image_23012025_08_03_02_819188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0847ca2459120da9b1cc57f312219d4.jpg","text":"TemporaryFile(/tmp/multipartBody688250374325081810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615939539,"filename":"image_23012025_08_04_02_398358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f0967b4f90c811d3dc49ef8a43a0655.jpg","text":"TemporaryFile(/tmp/multipartBody8791247703462782773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615939539,"filename":"image_23012025_08_03_02_819188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a669edcdcbd49bc089102bdc9a1bef3.jpg","text":"TemporaryFile(/tmp/multipartBody8581045289665891371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615939539,"filename":"image_23012025_08_04_02_398358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c306042690025debef2c820642cdd69a.jpg","text":"TemporaryFile(/tmp/multipartBody3702236969988360583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615939539,"filename":"image_23012025_08_04_02_398358_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330772847","file1":"1330772841","file0":"1330772836","file4":"1330772866","file5":"1330772896","file3":"1330772853"},"map_files_photo_id_array":[{"photo_id":"1330772896","filename":"file5"},{"photo_id":"1330772847","filename":"file2"},{"photo_id":"1330772866","filename":"file4"},{"photo_id":"1330772841","filename":"file1"},{"photo_id":"1330772836","filename":"file0"},{"photo_id":"1330772853","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330772836":["hashtag1","hashtag2"]},{"1330772841":["hashtag1","hashtag2"]},{"1330772853":["hashtag1","hashtag2"]},{"1330772847":["hashtag1","hashtag2"]},{"1330772896":["hashtag1","hashtag2"]},{"1330772866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330772836, 1330772841, 1330772853, 1330772847, 1330772896, 1330772866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.20694971084595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:05:22.107620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_02_398358_0003.jpg', '/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_02_917227_0000.jpg', '/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_02_917227_0001.jpg', '/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_02_917227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_02_398358_0003.jpg
/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_02_917227_0000.jpg
/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_02_917227_0001.jpg
/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_02_917227_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330772967","1330773102","1330773114","1330772993"],"photo_ids_order":["1330772967","1330772993","1330773102","1330773114"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee380bcf37b4df74385ef6ef1b8ad466.jpg","text":"TemporaryFile(/tmp/multipartBody8705754021218319978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615993799,"filename":"image_23012025_08_04_02_398358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89d8bdc8b28ff53ea02c3e304b552df5.jpg","text":"TemporaryFile(/tmp/multipartBody7010392663982409822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615993799,"filename":"image_23012025_08_05_02_917227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f78c363cd6fd427b2e2fc47c363f4d7c.jpg","text":"TemporaryFile(/tmp/multipartBody2225136707753436993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615993799,"filename":"image_23012025_08_05_02_917227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0d2d2b23e7f85e51c9e5aa88bf51846.jpg","text":"TemporaryFile(/tmp/multipartBody5875584538500453888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615993799,"filename":"image_23012025_08_05_02_917227_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330773102","file1":"1330772993","file0":"1330772967","file3":"1330773114"},"map_files_photo_id_array":[{"photo_id":"1330773102","filename":"file2"},{"photo_id":"1330772993","filename":"file1"},{"photo_id":"1330772967","filename":"file0"},{"photo_id":"1330773114","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330772967":["hashtag1","hashtag2"]},{"1330773102":["hashtag1","hashtag2"]},{"1330773114":["hashtag1","hashtag2"]},{"1330772993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330772967, 1330773102, 1330773114, 1330772993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.90625858306885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:06:22.571769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_02_917227_0003.jpg', '/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0000.jpg', '/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0001.jpg', '/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_02_917227_0003.jpg
/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0000.jpg
/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0001.jpg
/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.869834899902344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:07:02.647750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_02_917227_0003.jpg', '/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0000.jpg', '/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0001.jpg', '/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_02_917227_0003.jpg
/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0000.jpg
/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0001.jpg
/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330773301","1330773288","1330773305","1330773280"],"photo_ids_order":["1330773280","1330773288","1330773301","1330773305"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93d197d84989740d448361d5a74b9109.jpg","text":"TemporaryFile(/tmp/multipartBody7981551351351506882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616093960,"filename":"image_23012025_08_06_02_477477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/763da61c6d2aa5e199ae118e734d65ce.jpg","text":"TemporaryFile(/tmp/multipartBody1240667947777205302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616093960,"filename":"image_23012025_08_06_02_477477_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/947307a7a23fccc6689d8b0a556678f2.jpg","text":"TemporaryFile(/tmp/multipartBody2483952662744535865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616093960,"filename":"image_23012025_08_06_02_477477_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/286a02d08bb57f8fecfb5e6a3e6e0df2.jpg","text":"TemporaryFile(/tmp/multipartBody3788900122721029356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616093960,"filename":"image_23012025_08_05_02_917227_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330773301","file1":"1330773288","file0":"1330773280","file3":"1330773305"},"map_files_photo_id_array":[{"photo_id":"1330773301","filename":"file2"},{"photo_id":"1330773288","filename":"file1"},{"photo_id":"1330773280","filename":"file0"},{"photo_id":"1330773305","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330773301":["hashtag1","hashtag2"]},{"1330773288":["hashtag1","hashtag2"]},{"1330773305":["hashtag1","hashtag2"]},{"1330773280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330773301, 1330773288, 1330773305, 1330773280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.726726055145264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:08:02.383582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0003.jpg', '/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_02_977222_0000.jpg', '/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_02_977222_0001.jpg', '/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_02_977222_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0003.jpg
/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_02_977222_0000.jpg
/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_02_977222_0001.jpg
/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_02_977222_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.290497779846191 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:08:21.910232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0003.jpg', '/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_02_977222_0000.jpg', '/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_02_977222_0001.jpg', '/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_02_977222_0002.jpg', '/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_02_977222_0003.jpg', '/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_02_590313_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_02_477477_0003.jpg
/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_02_977222_0000.jpg
/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_02_977222_0001.jpg
/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_02_977222_0002.jpg
/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_02_977222_0003.jpg
/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_02_590313_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330773594","1330773351","1330773411","1330773341","1330773347","1330773337"],"photo_ids_order":["1330773337","1330773341","1330773347","1330773351","1330773411","1330773594"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/967aace843539de7d5b7822131d441a3.jpg","text":"TemporaryFile(/tmp/multipartBody2110468508637647701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616179140,"filename":"image_23012025_08_08_02_590313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43e5bd0a69085dc90fc77c5ee715966a.jpg","text":"TemporaryFile(/tmp/multipartBody4479134248538676031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616179140,"filename":"image_23012025_08_07_02_977222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/372766aefe18a94429a2cad328f838c1.jpg","text":"TemporaryFile(/tmp/multipartBody8905141276890990985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616179140,"filename":"image_23012025_08_07_02_977222_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8056faf4d4576efd01751275f54a9503.jpg","text":"TemporaryFile(/tmp/multipartBody8527517339407831590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616179140,"filename":"image_23012025_08_07_02_977222_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/292ec6fa26e32ca46a97edd8c007acd7.jpg","text":"TemporaryFile(/tmp/multipartBody4031548084242814015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616179140,"filename":"image_23012025_08_07_02_977222_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/144f2e909475f1b9f117abfa6d316499.jpg","text":"TemporaryFile(/tmp/multipartBody1357422508681021885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616179140,"filename":"image_23012025_08_06_02_477477_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330773347","file1":"1330773341","file0":"1330773337","file4":"1330773411","file5":"1330773594","file3":"1330773351"},"map_files_photo_id_array":[{"photo_id":"1330773594","filename":"file5"},{"photo_id":"1330773347","filename":"file2"},{"photo_id":"1330773411","filename":"file4"},{"photo_id":"1330773341","filename":"file1"},{"photo_id":"1330773337","filename":"file0"},{"photo_id":"1330773351","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330773594":["hashtag1","hashtag2"]},{"1330773351":["hashtag1","hashtag2"]},{"1330773411":["hashtag1","hashtag2"]},{"1330773341":["hashtag1","hashtag2"]},{"1330773347":["hashtag1","hashtag2"]},{"1330773337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330773594, 1330773351, 1330773411, 1330773341, 1330773347, 1330773337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.23369526863098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:09:22.456181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_02_590313_0001.jpg', '/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_02_590313_0002.jpg', '/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_02_590313_0003.jpg', '/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_02_279242_0000.jpg', '/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_02_279242_0001.jpg', '/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_02_279242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_02_590313_0001.jpg
/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_02_590313_0002.jpg
/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_02_590313_0003.jpg
/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_02_279242_0000.jpg
/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_02_279242_0001.jpg
/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_02_279242_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330774311","1330774305","1330774314","1330774308","1330774292","1330774296"],"photo_ids_order":["1330774292","1330774296","1330774305","1330774308","1330774311","1330774314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f83bc0c6f4449356b9443474c496b78.jpg","text":"TemporaryFile(/tmp/multipartBody4332647092135290191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616239029,"filename":"image_23012025_08_09_02_279242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8126dff93125d7260b996ea12955f814.jpg","text":"TemporaryFile(/tmp/multipartBody8318795060573867307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616239029,"filename":"image_23012025_08_08_02_590313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dedcbfa7b7169d24586e61a661989ab3.jpg","text":"TemporaryFile(/tmp/multipartBody1719065065708373168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616239029,"filename":"image_23012025_08_09_02_279242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11526dca10d7230d5dcf9d450eeea879.jpg","text":"TemporaryFile(/tmp/multipartBody627251997668672932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616239029,"filename":"image_23012025_08_09_02_279242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3c463b20638b727d22b1911f2d3561a.jpg","text":"TemporaryFile(/tmp/multipartBody6209931006636738115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616239029,"filename":"image_23012025_08_08_02_590313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ece438a11e032fd47e454d132bf21f3e.jpg","text":"TemporaryFile(/tmp/multipartBody1331430316465757721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616239029,"filename":"image_23012025_08_08_02_590313_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330774305","file1":"1330774296","file0":"1330774292","file4":"1330774311","file5":"1330774314","file3":"1330774308"},"map_files_photo_id_array":[{"photo_id":"1330774314","filename":"file5"},{"photo_id":"1330774305","filename":"file2"},{"photo_id":"1330774311","filename":"file4"},{"photo_id":"1330774296","filename":"file1"},{"photo_id":"1330774292","filename":"file0"},{"photo_id":"1330774308","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330774311":["hashtag1","hashtag2"]},{"1330774305":["hashtag1","hashtag2"]},{"1330774314":["hashtag1","hashtag2"]},{"1330774308":["hashtag1","hashtag2"]},{"1330774292":["hashtag1","hashtag2"]},{"1330774296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330774311, 1330774305, 1330774314, 1330774308, 1330774292, 1330774296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.45266342163086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:10:22.064580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_02_279242_0003.jpg', '/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_02_868555_0000.jpg', '/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_02_868555_0001.jpg', '/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_02_868555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_02_279242_0003.jpg
/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_02_868555_0000.jpg
/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_02_868555_0001.jpg
/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_02_868555_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330774617","1330774496","1330774592","1330774586"],"photo_ids_order":["1330774496","1330774586","1330774592","1330774617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5bc8cfe0ecdfb9c9370ed70de9f1062d.jpg","text":"TemporaryFile(/tmp/multipartBody6813826447289432872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616293150,"filename":"image_23012025_08_10_02_868555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ddaa269ab1f1625eb0018da9abb5f705.jpg","text":"TemporaryFile(/tmp/multipartBody3699474724919612114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616293150,"filename":"image_23012025_08_09_02_279242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/828136b54eab1631202cf98f7a05f346.jpg","text":"TemporaryFile(/tmp/multipartBody1586443435776283865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616293150,"filename":"image_23012025_08_10_02_868555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c200cc70cbfdc46e30dee60a4f6e5384.jpg","text":"TemporaryFile(/tmp/multipartBody4392489727699317461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616293150,"filename":"image_23012025_08_10_02_868555_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330774592","file1":"1330774586","file0":"1330774496","file3":"1330774617"},"map_files_photo_id_array":[{"photo_id":"1330774592","filename":"file2"},{"photo_id":"1330774586","filename":"file1"},{"photo_id":"1330774496","filename":"file0"},{"photo_id":"1330774617","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330774617":["hashtag1","hashtag2"]},{"1330774496":["hashtag1","hashtag2"]},{"1330774592":["hashtag1","hashtag2"]},{"1330774586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330774617, 1330774496, 1330774592, 1330774586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.208842277526855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:11:22.525470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_02_868555_0003.jpg', '/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_02_376834_0000.jpg', '/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_02_376834_0001.jpg', '/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_02_376834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_02_868555_0003.jpg
/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_02_376834_0000.jpg
/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_02_376834_0001.jpg
/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_02_376834_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330774743","1330774739","1330774748","1330774731"],"photo_ids_order":["1330774731","1330774739","1330774743","1330774748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9801c752b1804dc52f47edecd031dc6c.jpg","text":"TemporaryFile(/tmp/multipartBody7930850835985667700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616354083,"filename":"image_23012025_08_11_02_376834_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4eecc0680ee90653db1ae89270e92d0.jpg","text":"TemporaryFile(/tmp/multipartBody8508224492129790861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616354083,"filename":"image_23012025_08_11_02_376834_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cf2ea6e2d028f5355fdca47982be5b5.jpg","text":"TemporaryFile(/tmp/multipartBody2079619076557427543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616354083,"filename":"image_23012025_08_11_02_376834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a16e2269280fdbe38642b3f71f6c8f5.jpg","text":"TemporaryFile(/tmp/multipartBody2216365017531939292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616354083,"filename":"image_23012025_08_10_02_868555_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330774743","file1":"1330774739","file0":"1330774731","file3":"1330774748"},"map_files_photo_id_array":[{"photo_id":"1330774743","filename":"file2"},{"photo_id":"1330774739","filename":"file1"},{"photo_id":"1330774731","filename":"file0"},{"photo_id":"1330774748","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330774743":["hashtag1","hashtag2"]},{"1330774739":["hashtag1","hashtag2"]},{"1330774748":["hashtag1","hashtag2"]},{"1330774731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330774743, 1330774739, 1330774748, 1330774731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.827035427093506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:12:22.022871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_02_376834_0003.jpg', '/home/pi/Desktop/images/23012025/08/12/image_23012025_08_12_02_886700_0000.jpg', '/home/pi/Desktop/images/23012025/08/12/image_23012025_08_12_02_886700_0001.jpg', '/home/pi/Desktop/images/23012025/08/12/image_23012025_08_12_02_886700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_02_376834_0003.jpg
/home/pi/Desktop/images/23012025/08/12/image_23012025_08_12_02_886700_0000.jpg
/home/pi/Desktop/images/23012025/08/12/image_23012025_08_12_02_886700_0001.jpg
/home/pi/Desktop/images/23012025/08/12/image_23012025_08_12_02_886700_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330774844","1330774826","1330774864","1330774839"],"photo_ids_order":["1330774826","1330774839","1330774844","1330774864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c662d6ad3ddf0f9423558639db86bcb9.jpg","text":"TemporaryFile(/tmp/multipartBody6725692106208692517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616413539,"filename":"image_23012025_08_12_02_886700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be635f3adafbf4bb010d47f8775fb949.jpg","text":"TemporaryFile(/tmp/multipartBody933001611643757774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616413539,"filename":"image_23012025_08_11_02_376834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0dd9e79bf2204c760ad89fb2e00b9f3e.jpg","text":"TemporaryFile(/tmp/multipartBody3049374788968938330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616413539,"filename":"image_23012025_08_12_02_886700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6a8ab117175c9fc6c3b438d56df6924.jpg","text":"TemporaryFile(/tmp/multipartBody893795857135130885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616413539,"filename":"image_23012025_08_12_02_886700_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330774844","file1":"1330774839","file0":"1330774826","file3":"1330774864"},"map_files_photo_id_array":[{"photo_id":"1330774844","filename":"file2"},{"photo_id":"1330774839","filename":"file1"},{"photo_id":"1330774826","filename":"file0"},{"photo_id":"1330774864","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330774844":["hashtag1","hashtag2"]},{"1330774826":["hashtag1","hashtag2"]},{"1330774864":["hashtag1","hashtag2"]},{"1330774839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330774844, 1330774826, 1330774864, 1330774839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81083917617798 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-23 08:13:22.531175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/12/image_23012025_08_12_02_886700_0003.jpg', '/home/pi/Desktop/images/23012025/08/13/image_23012025_08_13_02_365292_0000.jpg', '/home/pi/Desktop/images/23012025/08/13/image_23012025_08_13_02_365292_0001.jpg', '/home/pi/Desktop/images/23012025/08/13/image_23012025_08_13_02_365292_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/12/image_23012025_08_12_02_886700_0003.jpg
/home/pi/Desktop/images/23012025/08/13/image_23012025_08_13_02_365292_0000.jpg
/home/pi/Desktop/images/23012025/08/13/image_23012025_08_13_02_365292_0001.jpg
/home/pi/Desktop/images/23012025/08/13/image_23012025_08_13_02_365292_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330775702","1330775788","1330775536","1330775454"],"photo_ids_order":["1330775454","1330775536","1330775702","1330775788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b1d41a5bd61c2e8876f8bf39a08e907.jpg","text":"TemporaryFile(/tmp/multipartBody5413407314414535636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616473837,"filename":"image_23012025_08_13_02_365292_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5ba1771d79cf8bad4606d1cca22a44d.jpg","text":"TemporaryFile(/tmp/multipartBody3240999790440405993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616473837,"filename":"image_23012025_08_13_02_365292_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7068b96247c94b986121356448fc228c.jpg","text":"TemporaryFile(/tmp/multipartBody5103319920251489478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616473837,"filename":"image_23012025_08_13_02_365292_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62979cbcb83a419eeab721991893f228.jpg","text":"TemporaryFile(/tmp/multipartBody4280752326246609676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616473837,"filename":"image_23012025_08_12_02_886700_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330775702","file1":"1330775536","file0":"1330775454","file3":"1330775788"},"map_files_photo_id_array":[{"photo_id":"1330775702","filename":"file2"},{"photo_id":"1330775536","filename":"file1"},{"photo_id":"1330775454","filename":"file0"},{"photo_id":"1330775788","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330775702":["hashtag1","hashtag2"]},{"1330775788":["hashtag1","hashtag2"]},{"1330775536":["hashtag1","hashtag2"]},{"1330775454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330775702, 1330775788, 1330775536, 1330775454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.69231629371643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:14:22.162450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/13/image_23012025_08_13_02_365292_0003.jpg', '/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_02_942553_0000.jpg', '/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_02_942553_0001.jpg', '/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_02_942553_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/13/image_23012025_08_13_02_365292_0003.jpg
/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_02_942553_0000.jpg
/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_02_942553_0001.jpg
/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_02_942553_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330775854","1330776051","1330775895","1330775859"],"photo_ids_order":["1330775854","1330775859","1330775895","1330776051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd124385ca01ac4e43396b00ee30e80a.jpg","text":"TemporaryFile(/tmp/multipartBody102917221421639046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616533881,"filename":"image_23012025_08_13_02_365292_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53634cf2a03b9af38516b50c1573f4b7.jpg","text":"TemporaryFile(/tmp/multipartBody3887941364121396028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616533881,"filename":"image_23012025_08_14_02_942553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d68559d6231a11bca7eb01c1d98a90a.jpg","text":"TemporaryFile(/tmp/multipartBody4951519332643673687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616533881,"filename":"image_23012025_08_14_02_942553_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc1445246d0804e4068e40beed189d04.jpg","text":"TemporaryFile(/tmp/multipartBody1125883795456411064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616533881,"filename":"image_23012025_08_14_02_942553_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330775895","file1":"1330775859","file0":"1330775854","file3":"1330776051"},"map_files_photo_id_array":[{"photo_id":"1330775895","filename":"file2"},{"photo_id":"1330775859","filename":"file1"},{"photo_id":"1330775854","filename":"file0"},{"photo_id":"1330776051","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330775854":["hashtag1","hashtag2"]},{"1330776051":["hashtag1","hashtag2"]},{"1330775895":["hashtag1","hashtag2"]},{"1330775859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330775854, 1330776051, 1330775895, 1330775859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.31907796859741 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:15:22.677709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_02_942553_0003.jpg', '/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_02_505134_0000.jpg', '/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_02_505134_0001.jpg', '/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_02_505134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_02_942553_0003.jpg
/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_02_505134_0000.jpg
/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_02_505134_0001.jpg
/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_02_505134_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330776370","1330776364","1330776367","1330776342"],"photo_ids_order":["1330776342","1330776364","1330776367","1330776370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f567e0e4cc42c41d8d18db6a37abbd6b.jpg","text":"TemporaryFile(/tmp/multipartBody2229218702536761606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616594044,"filename":"image_23012025_08_15_02_505134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b2d46aa06ae12759fe23d27c5eedc0e.jpg","text":"TemporaryFile(/tmp/multipartBody3497934212973415140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616594044,"filename":"image_23012025_08_15_02_505134_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6316d99d6787fc926171d3e8aad09a00.jpg","text":"TemporaryFile(/tmp/multipartBody7008731821700297578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616594044,"filename":"image_23012025_08_15_02_505134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3987f9e619f8beff284cc8f65c391d18.jpg","text":"TemporaryFile(/tmp/multipartBody8004953660880551597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616594044,"filename":"image_23012025_08_14_02_942553_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330776367","file1":"1330776364","file0":"1330776342","file3":"1330776370"},"map_files_photo_id_array":[{"photo_id":"1330776367","filename":"file2"},{"photo_id":"1330776364","filename":"file1"},{"photo_id":"1330776342","filename":"file0"},{"photo_id":"1330776370","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330776370":["hashtag1","hashtag2"]},{"1330776364":["hashtag1","hashtag2"]},{"1330776367":["hashtag1","hashtag2"]},{"1330776342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330776370, 1330776364, 1330776367, 1330776342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.06041979789734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:16:22.167151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_02_505134_0003.jpg', '/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_03_023726_0000.jpg', '/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_03_023726_0001.jpg', '/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_03_023726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_02_505134_0003.jpg
/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_03_023726_0000.jpg
/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_03_023726_0001.jpg
/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_03_023726_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330776397","1330776401","1330776393","1330776390"],"photo_ids_order":["1330776390","1330776393","1330776397","1330776401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a9d2060e1ce8751ca66b3f9d7742a35.jpg","text":"TemporaryFile(/tmp/multipartBody6005863737772900301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616653638,"filename":"image_23012025_08_16_03_023726_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cde1067b9c70633a89f78112f558ce40.jpg","text":"TemporaryFile(/tmp/multipartBody8686265770263062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616653638,"filename":"image_23012025_08_16_03_023726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08400440b5709de160ed3d56f75a2756.jpg","text":"TemporaryFile(/tmp/multipartBody8601314981004692596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616653638,"filename":"image_23012025_08_16_03_023726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8adb743341c062555c4411642f17cc84.jpg","text":"TemporaryFile(/tmp/multipartBody6762567249807323167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616653638,"filename":"image_23012025_08_15_02_505134_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330776397","file1":"1330776393","file0":"1330776390","file3":"1330776401"},"map_files_photo_id_array":[{"photo_id":"1330776397","filename":"file2"},{"photo_id":"1330776393","filename":"file1"},{"photo_id":"1330776390","filename":"file0"},{"photo_id":"1330776401","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330776397":["hashtag1","hashtag2"]},{"1330776401":["hashtag1","hashtag2"]},{"1330776393":["hashtag1","hashtag2"]},{"1330776390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330776397, 1330776401, 1330776393, 1330776390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43757677078247 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:17:22.640539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_03_023726_0003.jpg', '/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_02_500662_0000.jpg', '/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_02_500662_0001.jpg', '/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_02_500662_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_03_023726_0003.jpg
/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_02_500662_0000.jpg
/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_02_500662_0001.jpg
/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_02_500662_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330776433","1330776444","1330776447","1330776470"],"photo_ids_order":["1330776433","1330776444","1330776447","1330776470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d39382d7a9b05c9d3ba943c1071817db.jpg","text":"TemporaryFile(/tmp/multipartBody7595895910220149669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616713937,"filename":"image_23012025_08_16_03_023726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/044bdf5ded20ed2388dd73c198489309.jpg","text":"TemporaryFile(/tmp/multipartBody2635031895874615967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616713937,"filename":"image_23012025_08_17_02_500662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13179f260028a05bef5f30cc28c0f6fb.jpg","text":"TemporaryFile(/tmp/multipartBody2529466906032222614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616713937,"filename":"image_23012025_08_17_02_500662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84749e337ee91689e5da733e3d82f207.jpg","text":"TemporaryFile(/tmp/multipartBody6217867305888955224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616713937,"filename":"image_23012025_08_17_02_500662_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330776447","file1":"1330776444","file0":"1330776433","file3":"1330776470"},"map_files_photo_id_array":[{"photo_id":"1330776447","filename":"file2"},{"photo_id":"1330776444","filename":"file1"},{"photo_id":"1330776433","filename":"file0"},{"photo_id":"1330776470","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330776433":["hashtag1","hashtag2"]},{"1330776444":["hashtag1","hashtag2"]},{"1330776447":["hashtag1","hashtag2"]},{"1330776470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330776433, 1330776444, 1330776447, 1330776470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.87610197067261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:18:22.180719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_02_500662_0003.jpg', '/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_02_982120_0000.jpg', '/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_02_982120_0001.jpg', '/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_02_982120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_02_500662_0003.jpg
/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_02_982120_0000.jpg
/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_02_982120_0001.jpg
/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_02_982120_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330776503","1330776556","1330776547","1330776554"],"photo_ids_order":["1330776503","1330776547","1330776554","1330776556"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f1953f7b88d1ef7f4e93dd1c7694bcd.jpg","text":"TemporaryFile(/tmp/multipartBody1830483980523165830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616773427,"filename":"image_23012025_08_17_02_500662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2cc3754051e841c33281981a26244e6d.jpg","text":"TemporaryFile(/tmp/multipartBody1786946182269013046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616773427,"filename":"image_23012025_08_18_02_982120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1b9f104f9a742354463ec501be4a455.jpg","text":"TemporaryFile(/tmp/multipartBody8259788993857199947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616773427,"filename":"image_23012025_08_18_02_982120_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/579cc876818b8bee26c6d81d4fa6a659.jpg","text":"TemporaryFile(/tmp/multipartBody530517749264532380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616773427,"filename":"image_23012025_08_18_02_982120_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330776554","file1":"1330776547","file0":"1330776503","file3":"1330776556"},"map_files_photo_id_array":[{"photo_id":"1330776554","filename":"file2"},{"photo_id":"1330776547","filename":"file1"},{"photo_id":"1330776503","filename":"file0"},{"photo_id":"1330776556","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330776503":["hashtag1","hashtag2"]},{"1330776556":["hashtag1","hashtag2"]},{"1330776547":["hashtag1","hashtag2"]},{"1330776554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330776503, 1330776556, 1330776547, 1330776554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.01797938346863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:19:22.704597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_02_982120_0003.jpg', '/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_02_575739_0000.jpg', '/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_02_575739_0001.jpg', '/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_02_575739_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_02_982120_0003.jpg
/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_02_575739_0000.jpg
/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_02_575739_0001.jpg
/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_02_575739_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330776812","1330776914","1330776682","1330777083"],"photo_ids_order":["1330776682","1330776812","1330776914","1330777083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2325337daa696e39cae8eae6656563ca.jpg","text":"TemporaryFile(/tmp/multipartBody1710646329254280043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616834312,"filename":"image_23012025_08_19_02_575739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06aec2c74c8df472a47e059dead878be.jpg","text":"TemporaryFile(/tmp/multipartBody8386209093076320617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616834312,"filename":"image_23012025_08_19_02_575739_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19a31d308d20bda049adfe783c51071d.jpg","text":"TemporaryFile(/tmp/multipartBody8054382132923589262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616834312,"filename":"image_23012025_08_18_02_982120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/783b82775aa869d024b918febc7ac941.jpg","text":"TemporaryFile(/tmp/multipartBody3316200954947314134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616834312,"filename":"image_23012025_08_19_02_575739_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330776914","file1":"1330776812","file0":"1330776682","file3":"1330777083"},"map_files_photo_id_array":[{"photo_id":"1330776914","filename":"file2"},{"photo_id":"1330776812","filename":"file1"},{"photo_id":"1330776682","filename":"file0"},{"photo_id":"1330777083","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330776812":["hashtag1","hashtag2"]},{"1330776914":["hashtag1","hashtag2"]},{"1330776682":["hashtag1","hashtag2"]},{"1330777083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330776812, 1330776914, 1330776682, 1330777083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.68188166618347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:20:22.241434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_02_575739_0003.jpg', '/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_03_093404_0000.jpg', '/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_03_093404_0001.jpg', '/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_03_093404_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_02_575739_0003.jpg
/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_03_093404_0000.jpg
/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_03_093404_0001.jpg
/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_03_093404_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330777120","1330777124","1330777118","1330777205"],"photo_ids_order":["1330777118","1330777120","1330777124","1330777205"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b67a5be1974dbbfe66ce5c4a6397505d.jpg","text":"TemporaryFile(/tmp/multipartBody5877427209726867119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616893600,"filename":"image_23012025_08_20_03_093404_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f166f4c3bad0e49d46960dd72cf28794.jpg","text":"TemporaryFile(/tmp/multipartBody8726124976909177023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616893600,"filename":"image_23012025_08_20_03_093404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e97b77af5d5ed706f0cb166f75ce436.jpg","text":"TemporaryFile(/tmp/multipartBody7331110655201782171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616893600,"filename":"image_23012025_08_19_02_575739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a733300d094c0152b73150d2e201ea86.jpg","text":"TemporaryFile(/tmp/multipartBody70789671947737855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616893600,"filename":"image_23012025_08_20_03_093404_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330777124","file1":"1330777120","file0":"1330777118","file3":"1330777205"},"map_files_photo_id_array":[{"photo_id":"1330777124","filename":"file2"},{"photo_id":"1330777120","filename":"file1"},{"photo_id":"1330777118","filename":"file0"},{"photo_id":"1330777205","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330777120":["hashtag1","hashtag2"]},{"1330777124":["hashtag1","hashtag2"]},{"1330777118":["hashtag1","hashtag2"]},{"1330777205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330777120, 1330777124, 1330777118, 1330777205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.82895612716675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:21:22.760232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_03_093404_0003.jpg', '/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_02_596768_0000.jpg', '/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_02_596768_0001.jpg', '/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_02_596768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_03_093404_0003.jpg
/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_02_596768_0000.jpg
/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_02_596768_0001.jpg
/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_02_596768_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330777513","1330777479","1330777518","1330777508"],"photo_ids_order":["1330777479","1330777508","1330777513","1330777518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10e9dda7f3f1b3e4303ca89a21877f21.jpg","text":"TemporaryFile(/tmp/multipartBody8685532929208909980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616954611,"filename":"image_23012025_08_21_02_596768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/095909748d17acdf62e5b07ba528725c.jpg","text":"TemporaryFile(/tmp/multipartBody58565618320755584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616954611,"filename":"image_23012025_08_20_03_093404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a85fb5a445a28d34b297f10517fc0d1e.jpg","text":"TemporaryFile(/tmp/multipartBody8909437970724024501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616954611,"filename":"image_23012025_08_21_02_596768_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a74cb9c0a768fbed8a8b8f5d159e67f.jpg","text":"TemporaryFile(/tmp/multipartBody5967089781608299131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616954611,"filename":"image_23012025_08_21_02_596768_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330777513","file1":"1330777508","file0":"1330777479","file3":"1330777518"},"map_files_photo_id_array":[{"photo_id":"1330777513","filename":"file2"},{"photo_id":"1330777508","filename":"file1"},{"photo_id":"1330777479","filename":"file0"},{"photo_id":"1330777518","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330777513":["hashtag1","hashtag2"]},{"1330777479":["hashtag1","hashtag2"]},{"1330777518":["hashtag1","hashtag2"]},{"1330777508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330777513, 1330777479, 1330777518, 1330777508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.474843978881836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:22:22.251291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_02_596768_0003.jpg', '/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_03_095984_0000.jpg', '/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_03_095984_0001.jpg', '/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_03_095984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_02_596768_0003.jpg
/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_03_095984_0000.jpg
/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_03_095984_0001.jpg
/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_03_095984_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330777786","1330777717","1330777788","1330777783"],"photo_ids_order":["1330777717","1330777783","1330777786","1330777788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13e4dd381afb3775b102a10a9cb0a0ce.jpg","text":"TemporaryFile(/tmp/multipartBody3038373426606953445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617013873,"filename":"image_23012025_08_22_03_095984_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8143040f922524148e6d4e598baa5564.jpg","text":"TemporaryFile(/tmp/multipartBody6024585821081294146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617013873,"filename":"image_23012025_08_21_02_596768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/daefbda66c943b05fa644d671beb7189.jpg","text":"TemporaryFile(/tmp/multipartBody5439962378641040389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617013873,"filename":"image_23012025_08_22_03_095984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e40a3b2b0845ed72a13f5df79e37874f.jpg","text":"TemporaryFile(/tmp/multipartBody8487013938981580696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617013873,"filename":"image_23012025_08_22_03_095984_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330777786","file1":"1330777783","file0":"1330777717","file3":"1330777788"},"map_files_photo_id_array":[{"photo_id":"1330777786","filename":"file2"},{"photo_id":"1330777783","filename":"file1"},{"photo_id":"1330777717","filename":"file0"},{"photo_id":"1330777788","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330777786":["hashtag1","hashtag2"]},{"1330777717":["hashtag1","hashtag2"]},{"1330777788":["hashtag1","hashtag2"]},{"1330777783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330777786, 1330777717, 1330777788, 1330777783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.364843130111694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:23:22.707435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_03_095984_0003.jpg', '/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_02_575579_0000.jpg', '/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_02_575579_0001.jpg', '/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_02_575579_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_03_095984_0003.jpg
/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_02_575579_0000.jpg
/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_02_575579_0001.jpg
/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_02_575579_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330777885","1330777870","1330777881","1330777877"],"photo_ids_order":["1330777870","1330777877","1330777881","1330777885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4eee86a72086059e897b88f38de1c9b6.jpg","text":"TemporaryFile(/tmp/multipartBody5096442251305747845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617073910,"filename":"image_23012025_08_23_02_575579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4575228fa32e95c8f0a4192fe7f81db9.jpg","text":"TemporaryFile(/tmp/multipartBody5379317744137721823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617073910,"filename":"image_23012025_08_22_03_095984_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ab26bb4ed7382602e3f7f8f4910ff83.jpg","text":"TemporaryFile(/tmp/multipartBody9172647710516709911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617073910,"filename":"image_23012025_08_23_02_575579_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca636aaf247b1ec0a332f505071d958d.jpg","text":"TemporaryFile(/tmp/multipartBody987835293069563873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617073910,"filename":"image_23012025_08_23_02_575579_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330777881","file1":"1330777877","file0":"1330777870","file3":"1330777885"},"map_files_photo_id_array":[{"photo_id":"1330777881","filename":"file2"},{"photo_id":"1330777877","filename":"file1"},{"photo_id":"1330777870","filename":"file0"},{"photo_id":"1330777885","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330777885":["hashtag1","hashtag2"]},{"1330777870":["hashtag1","hashtag2"]},{"1330777881":["hashtag1","hashtag2"]},{"1330777877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330777885, 1330777870, 1330777881, 1330777877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73548364639282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:24:02.668212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/38/image_21012025_18_38_02_596332_0002.jpg', '/home/pi/Desktop/images/21012025/18/38/image_21012025_18_38_02_596332_0003.jpg', '/home/pi/Desktop/images/21012025/18/39/image_21012025_18_39_02_790747_0000.jpg', '/home/pi/Desktop/images/21012025/18/39/image_21012025_18_39_02_790747_0001.jpg', '/home/pi/Desktop/images/21012025/18/39/image_21012025_18_39_02_790747_0002.jpg', '/home/pi/Desktop/images/21012025/18/39/image_21012025_18_39_02_790747_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/38/image_21012025_18_38_02_596332_0002.jpg
/home/pi/Desktop/images/21012025/18/38/image_21012025_18_38_02_596332_0003.jpg
/home/pi/Desktop/images/21012025/18/39/image_21012025_18_39_02_790747_0000.jpg
/home/pi/Desktop/images/21012025/18/39/image_21012025_18_39_02_790747_0001.jpg
/home/pi/Desktop/images/21012025/18/39/image_21012025_18_39_02_790747_0002.jpg
/home/pi/Desktop/images/21012025/18/39/image_21012025_18_39_02_790747_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330777951","1330777960","1330777965","1330777923","1330777970","1330777934"],"photo_ids_order":["1330777923","1330777934","1330777951","1330777960","1330777965","1330777970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/956eea0941f1dfa0451b155b337a016c.jpg","text":"TemporaryFile(/tmp/multipartBody7638583612510675132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617120749,"filename":"image_21012025_18_39_02_790747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22609da43f4e965094ab794a118799e7.jpg","text":"TemporaryFile(/tmp/multipartBody1417122344371509713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617120749,"filename":"image_21012025_18_39_02_790747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/263f3b6172e56c00d34f34e71d191214.jpg","text":"TemporaryFile(/tmp/multipartBody187701780915765624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617120749,"filename":"image_21012025_18_39_02_790747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c85c6887f28bfb01d11fc3ff96218755.jpg","text":"TemporaryFile(/tmp/multipartBody5409881664912117916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617120749,"filename":"image_21012025_18_38_02_596332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7470cb5300396ed67576bf22442c9357.jpg","text":"TemporaryFile(/tmp/multipartBody8078740612897674227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617120749,"filename":"image_21012025_18_39_02_790747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc49421dee2281a88784a77bb57cfd2d.jpg","text":"TemporaryFile(/tmp/multipartBody4138515469071487262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617120749,"filename":"image_21012025_18_38_02_596332_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330777951","file1":"1330777934","file0":"1330777923","file4":"1330777965","file5":"1330777970","file3":"1330777960"},"map_files_photo_id_array":[{"photo_id":"1330777970","filename":"file5"},{"photo_id":"1330777951","filename":"file2"},{"photo_id":"1330777965","filename":"file4"},{"photo_id":"1330777934","filename":"file1"},{"photo_id":"1330777923","filename":"file0"},{"photo_id":"1330777960","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330777951":["hashtag1","hashtag2"]},{"1330777960":["hashtag1","hashtag2"]},{"1330777965":["hashtag1","hashtag2"]},{"1330777923":["hashtag1","hashtag2"]},{"1330777970":["hashtag1","hashtag2"]},{"1330777934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330777951, 1330777960, 1330777965, 1330777923, 1330777970, 1330777934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.174362897872925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:25:03.418161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_02_575579_0003.jpg', '/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_03_067414_0000.jpg', '/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_03_067414_0001.jpg', '/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_03_067414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_02_575579_0003.jpg
/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_03_067414_0000.jpg
/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_03_067414_0001.jpg
/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_03_067414_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330778107","1330778104","1330778066","1330778095"],"photo_ids_order":["1330778066","1330778095","1330778104","1330778107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/398f1722f37a4c40787ccac4562e426d.jpg","text":"TemporaryFile(/tmp/multipartBody4227611529102424157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617174714,"filename":"image_23012025_08_24_03_067414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5938d417e818459917c0ddf5606c852b.jpg","text":"TemporaryFile(/tmp/multipartBody7652864660974379949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617174714,"filename":"image_23012025_08_24_03_067414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/088b503b5b8a42482ae1380a18307a2f.jpg","text":"TemporaryFile(/tmp/multipartBody5263997514678075009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617174714,"filename":"image_23012025_08_23_02_575579_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0eecce712c406539e909763570442549.jpg","text":"TemporaryFile(/tmp/multipartBody5717494375609080644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617174714,"filename":"image_23012025_08_24_03_067414_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330778104","file1":"1330778095","file0":"1330778066","file3":"1330778107"},"map_files_photo_id_array":[{"photo_id":"1330778104","filename":"file2"},{"photo_id":"1330778095","filename":"file1"},{"photo_id":"1330778066","filename":"file0"},{"photo_id":"1330778107","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330778107":["hashtag1","hashtag2"]},{"1330778104":["hashtag1","hashtag2"]},{"1330778066":["hashtag1","hashtag2"]},{"1330778095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330778107, 1330778104, 1330778066, 1330778095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.11537790298462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:26:02.825652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_03_067414_0003.jpg', '/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_02_587818_0000.jpg', '/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_02_587818_0001.jpg', '/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_02_587818_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_03_067414_0003.jpg
/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_02_587818_0000.jpg
/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_02_587818_0001.jpg
/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_02_587818_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330778190","1330778193","1330778195","1330778191"],"photo_ids_order":["1330778190","1330778191","1330778193","1330778195"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fdc971469d73468acce1c708526d4fd.jpg","text":"TemporaryFile(/tmp/multipartBody3941747771692262195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617234433,"filename":"image_23012025_08_24_03_067414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4019a45bd200105bfd4a36f86a9427d.jpg","text":"TemporaryFile(/tmp/multipartBody6011648186367058266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617234433,"filename":"image_23012025_08_25_02_587818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f030ebd43bf70c1b16852006add9e5b.jpg","text":"TemporaryFile(/tmp/multipartBody6871341458296815344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617234433,"filename":"image_23012025_08_25_02_587818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2f694bb60a1786c289881c58255d48f.jpg","text":"TemporaryFile(/tmp/multipartBody6169644755290671325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617234433,"filename":"image_23012025_08_25_02_587818_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330778193","file1":"1330778191","file0":"1330778190","file3":"1330778195"},"map_files_photo_id_array":[{"photo_id":"1330778193","filename":"file2"},{"photo_id":"1330778191","filename":"file1"},{"photo_id":"1330778190","filename":"file0"},{"photo_id":"1330778195","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330778190":["hashtag1","hashtag2"]},{"1330778193":["hashtag1","hashtag2"]},{"1330778195":["hashtag1","hashtag2"]},{"1330778191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330778190, 1330778193, 1330778195, 1330778191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.24602437019348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:27:02.297580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_02_587818_0003.jpg', '/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_03_029202_0000.jpg', '/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_03_029202_0001.jpg', '/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_03_029202_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_02_587818_0003.jpg
/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_03_029202_0000.jpg
/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_03_029202_0001.jpg
/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_03_029202_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.240273475646973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:27:21.798575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_02_587818_0003.jpg', '/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_03_029202_0000.jpg', '/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_03_029202_0001.jpg', '/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_03_029202_0002.jpg', '/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_03_029202_0003.jpg', '/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_02_647022_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_02_587818_0003.jpg
/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_03_029202_0000.jpg
/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_03_029202_0001.jpg
/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_03_029202_0002.jpg
/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_03_029202_0003.jpg
/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_02_647022_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330778323","1330778334","1330778328","1330778331","1330778319","1330778333"],"photo_ids_order":["1330778319","1330778323","1330778328","1330778331","1330778333","1330778334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a64026c52e898a8ffea2546a5311a09a.jpg","text":"TemporaryFile(/tmp/multipartBody1119361288276573620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617318678,"filename":"image_23012025_08_26_03_029202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82dfcd1899787e73ecc153418d4094fe.jpg","text":"TemporaryFile(/tmp/multipartBody4844694427121810324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617318678,"filename":"image_23012025_08_27_02_647022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83cc143cb97a69c6fb57b9598d83d77f.jpg","text":"TemporaryFile(/tmp/multipartBody2951664297132242271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617318678,"filename":"image_23012025_08_26_03_029202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/372ca338269a85f217c32fba9976c99f.jpg","text":"TemporaryFile(/tmp/multipartBody1870804407852069357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617318678,"filename":"image_23012025_08_26_03_029202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/246819fb8d97d4855de5045fe925b766.jpg","text":"TemporaryFile(/tmp/multipartBody7601891030891159322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617318678,"filename":"image_23012025_08_25_02_587818_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8844eaccc755cc0b865becffa7169a84.jpg","text":"TemporaryFile(/tmp/multipartBody6493278853284000186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617318678,"filename":"image_23012025_08_26_03_029202_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330778328","file1":"1330778323","file0":"1330778319","file4":"1330778333","file5":"1330778334","file3":"1330778331"},"map_files_photo_id_array":[{"photo_id":"1330778334","filename":"file5"},{"photo_id":"1330778328","filename":"file2"},{"photo_id":"1330778333","filename":"file4"},{"photo_id":"1330778323","filename":"file1"},{"photo_id":"1330778319","filename":"file0"},{"photo_id":"1330778331","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330778323":["hashtag1","hashtag2"]},{"1330778334":["hashtag1","hashtag2"]},{"1330778328":["hashtag1","hashtag2"]},{"1330778331":["hashtag1","hashtag2"]},{"1330778319":["hashtag1","hashtag2"]},{"1330778333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330778323, 1330778334, 1330778328, 1330778331, 1330778319, 1330778333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.21089553833008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:28:22.492573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_02_647022_0001.jpg', '/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_02_647022_0002.jpg', '/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_02_647022_0003.jpg', '/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_02_142269_0000.jpg', '/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_02_142269_0001.jpg', '/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_02_142269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_02_647022_0001.jpg
/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_02_647022_0002.jpg
/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_02_647022_0003.jpg
/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_02_142269_0000.jpg
/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_02_142269_0001.jpg
/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_02_142269_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330778346","1330778349","1330778343","1330778351","1330778339","1330778354"],"photo_ids_order":["1330778339","1330778343","1330778346","1330778349","1330778351","1330778354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f807179c1bd3899900ebe607ce2868ca.jpg","text":"TemporaryFile(/tmp/multipartBody8157482316259010150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617379160,"filename":"image_23012025_08_27_02_647022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca220b85821391f9708432835538bf0d.jpg","text":"TemporaryFile(/tmp/multipartBody2891222316038179609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617379160,"filename":"image_23012025_08_28_02_142269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c083be0af5c1694a4280c4aef4b9475e.jpg","text":"TemporaryFile(/tmp/multipartBody6842308772967606595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617379160,"filename":"image_23012025_08_27_02_647022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb76c4cce07a9bef30eede1b584786bc.jpg","text":"TemporaryFile(/tmp/multipartBody6415475803529348851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617379160,"filename":"image_23012025_08_28_02_142269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3585aa6a65c1ab7946485bbb041e1604.jpg","text":"TemporaryFile(/tmp/multipartBody8533842912652669956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617379160,"filename":"image_23012025_08_27_02_647022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36e6d02cf9e686a02ac7745c89952476.jpg","text":"TemporaryFile(/tmp/multipartBody4147725547800682704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617379160,"filename":"image_23012025_08_28_02_142269_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330778346","file1":"1330778343","file0":"1330778339","file4":"1330778351","file5":"1330778354","file3":"1330778349"},"map_files_photo_id_array":[{"photo_id":"1330778354","filename":"file5"},{"photo_id":"1330778346","filename":"file2"},{"photo_id":"1330778351","filename":"file4"},{"photo_id":"1330778343","filename":"file1"},{"photo_id":"1330778339","filename":"file0"},{"photo_id":"1330778349","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330778346":["hashtag1","hashtag2"]},{"1330778349":["hashtag1","hashtag2"]},{"1330778343":["hashtag1","hashtag2"]},{"1330778351":["hashtag1","hashtag2"]},{"1330778339":["hashtag1","hashtag2"]},{"1330778354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330778346, 1330778349, 1330778343, 1330778351, 1330778339, 1330778354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.789748191833496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:30:03.019974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_02_142269_0003.jpg', '/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_02_829879_0000.jpg', '/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_02_829879_0001.jpg', '/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_02_829879_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_02_142269_0003.jpg
/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_02_829879_0000.jpg
/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_02_829879_0001.jpg
/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_02_829879_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330778406","1330778465","1330778447","1330778417"],"photo_ids_order":["1330778406","1330778417","1330778447","1330778465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a524a8fed24d27a7f9988a219fa7762.jpg","text":"TemporaryFile(/tmp/multipartBody5662035150774674731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617473992,"filename":"image_23012025_08_28_02_142269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2081a483e2dc9e865f70e816165992c3.jpg","text":"TemporaryFile(/tmp/multipartBody4837697907337201872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617473992,"filename":"image_23012025_08_29_02_829879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5532faddc9a6961f2e2806f11a39c7c6.jpg","text":"TemporaryFile(/tmp/multipartBody8047693316792087832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617473992,"filename":"image_23012025_08_29_02_829879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/818d46defa674ed19ba03b403c010d00.jpg","text":"TemporaryFile(/tmp/multipartBody3896301914098141511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617473992,"filename":"image_23012025_08_29_02_829879_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330778447","file1":"1330778417","file0":"1330778406","file3":"1330778465"},"map_files_photo_id_array":[{"photo_id":"1330778447","filename":"file2"},{"photo_id":"1330778417","filename":"file1"},{"photo_id":"1330778406","filename":"file0"},{"photo_id":"1330778465","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330778406":["hashtag1","hashtag2"]},{"1330778465":["hashtag1","hashtag2"]},{"1330778447":["hashtag1","hashtag2"]},{"1330778417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330778406, 1330778465, 1330778447, 1330778417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.2606885433197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:31:02.736298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_02_829879_0003.jpg', '/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_02_394995_0000.jpg', '/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_02_394995_0001.jpg', '/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_02_394995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_02_829879_0003.jpg
/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_02_394995_0000.jpg
/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_02_394995_0001.jpg
/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_02_394995_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.749200105667114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:31:22.072678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_02_829879_0003.jpg', '/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_02_394995_0000.jpg', '/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_02_394995_0001.jpg', '/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_02_394995_0002.jpg', '/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_02_394995_0003.jpg', '/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_02_887638_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_02_829879_0003.jpg
/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_02_394995_0000.jpg
/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_02_394995_0001.jpg
/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_02_394995_0002.jpg
/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_02_394995_0003.jpg
/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_02_887638_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330778641","1330778638","1330778664","1330778667","1330778650","1330778644"],"photo_ids_order":["1330778638","1330778641","1330778644","1330778650","1330778664","1330778667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91808d27c1abdbee7cb92a4bb742bb35.jpg","text":"TemporaryFile(/tmp/multipartBody6154068604740729572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617558581,"filename":"image_23012025_08_30_02_394995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a96d91aa5a576f6ba2bd24670800be9.jpg","text":"TemporaryFile(/tmp/multipartBody7984718525928872555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617558581,"filename":"image_23012025_08_29_02_829879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7976cd1cf4508cbcd0c7a5c5a76ecf5c.jpg","text":"TemporaryFile(/tmp/multipartBody8969159131389702005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617558581,"filename":"image_23012025_08_30_02_394995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ea8fbe7857057d365095dd5170a4148.jpg","text":"TemporaryFile(/tmp/multipartBody2769121130598088999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617558581,"filename":"image_23012025_08_31_02_887638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff668f1b4de93b353ceb5c9f7f490cab.jpg","text":"TemporaryFile(/tmp/multipartBody559756179834806285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617558581,"filename":"image_23012025_08_30_02_394995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21c8fdd92f516a30c9b8d7be1cca366d.jpg","text":"TemporaryFile(/tmp/multipartBody8881783406351226063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617558581,"filename":"image_23012025_08_30_02_394995_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330778644","file1":"1330778641","file0":"1330778638","file4":"1330778664","file5":"1330778667","file3":"1330778650"},"map_files_photo_id_array":[{"photo_id":"1330778667","filename":"file5"},{"photo_id":"1330778644","filename":"file2"},{"photo_id":"1330778664","filename":"file4"},{"photo_id":"1330778641","filename":"file1"},{"photo_id":"1330778638","filename":"file0"},{"photo_id":"1330778650","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330778641":["hashtag1","hashtag2"]},{"1330778638":["hashtag1","hashtag2"]},{"1330778664":["hashtag1","hashtag2"]},{"1330778667":["hashtag1","hashtag2"]},{"1330778650":["hashtag1","hashtag2"]},{"1330778644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330778641, 1330778638, 1330778664, 1330778667, 1330778650, 1330778644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.5715856552124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:32:22.648147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_02_887638_0001.jpg', '/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_02_887638_0002.jpg', '/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_02_887638_0003.jpg', '/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_02_461577_0000.jpg', '/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_02_461577_0001.jpg', '/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_02_461577_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_02_887638_0001.jpg
/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_02_887638_0002.jpg
/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_02_887638_0003.jpg
/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_02_461577_0000.jpg
/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_02_461577_0001.jpg
/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_02_461577_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330778710","1330778696","1330778702","1330778705","1330778708","1330778692"],"photo_ids_order":["1330778692","1330778696","1330778702","1330778705","1330778708","1330778710"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d21c4890668d9d888ee77bcae6c0768.jpg","text":"TemporaryFile(/tmp/multipartBody2440000359116290127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617618761,"filename":"image_23012025_08_32_02_461577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb4a4079612391fc48fcae4e1ff7bbd4.jpg","text":"TemporaryFile(/tmp/multipartBody243151257568355979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617618761,"filename":"image_23012025_08_31_02_887638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3648de57533e740165e32ee61bfccd61.jpg","text":"TemporaryFile(/tmp/multipartBody1770465230441343722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617618761,"filename":"image_23012025_08_31_02_887638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04a50ce486791a97d227aad4622c31b6.jpg","text":"TemporaryFile(/tmp/multipartBody2896201928044015690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617618761,"filename":"image_23012025_08_32_02_461577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b098d5a0c8ac80d5db6a9e68edfd32e.jpg","text":"TemporaryFile(/tmp/multipartBody316825475686518790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617618761,"filename":"image_23012025_08_32_02_461577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/727fff69c44ba09e77ef5620fa6a205a.jpg","text":"TemporaryFile(/tmp/multipartBody4046997074714857579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617618761,"filename":"image_23012025_08_31_02_887638_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330778702","file1":"1330778696","file0":"1330778692","file4":"1330778708","file5":"1330778710","file3":"1330778705"},"map_files_photo_id_array":[{"photo_id":"1330778710","filename":"file5"},{"photo_id":"1330778702","filename":"file2"},{"photo_id":"1330778708","filename":"file4"},{"photo_id":"1330778696","filename":"file1"},{"photo_id":"1330778692","filename":"file0"},{"photo_id":"1330778705","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330778710":["hashtag1","hashtag2"]},{"1330778696":["hashtag1","hashtag2"]},{"1330778702":["hashtag1","hashtag2"]},{"1330778705":["hashtag1","hashtag2"]},{"1330778708":["hashtag1","hashtag2"]},{"1330778692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330778710, 1330778696, 1330778702, 1330778705, 1330778708, 1330778692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.79067039489746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:34:02.070377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_02_461577_0003.jpg', '/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_03_103867_0000.jpg', '/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_03_103867_0001.jpg', '/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_03_103867_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_02_461577_0003.jpg
/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_03_103867_0000.jpg
/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_03_103867_0001.jpg
/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_03_103867_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.797174453735352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:34:21.729787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_02_461577_0003.jpg', '/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_03_103867_0000.jpg', '/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_03_103867_0001.jpg', '/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_03_103867_0002.jpg', '/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_03_103867_0003.jpg', '/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_02_632156_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_02_461577_0003.jpg
/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_03_103867_0000.jpg
/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_03_103867_0001.jpg
/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_03_103867_0002.jpg
/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_03_103867_0003.jpg
/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_02_632156_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":["1330779087","1330778818","1330779293","1330779476","1330778915","1330778822"],"photo_ids_order":["1330778818","1330778822","1330778915","1330779087","1330779293","1330779476"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fae0a274d80eeadfd0010f70bc4a0e9c.jpg","text":"TemporaryFile(/tmp/multipartBody1384429501238244391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617738105,"filename":"image_23012025_08_33_03_103867_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/262d44b235ada87ccde462085dfb3722.jpg","text":"TemporaryFile(/tmp/multipartBody5603324811720484527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617738105,"filename":"image_23012025_08_32_02_461577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/797ba1c5dc897faae83a9a6e8c5f8d41.jpg","text":"TemporaryFile(/tmp/multipartBody8062296407486106776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617738105,"filename":"image_23012025_08_33_03_103867_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/097f67c6005272b2e5205796ada91bc6.jpg","text":"TemporaryFile(/tmp/multipartBody5495947599238989571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617738105,"filename":"image_23012025_08_34_02_632156_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a6e17aafeb6bbbf4bc0400746a45198.jpg","text":"TemporaryFile(/tmp/multipartBody3799832818237179621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617738105,"filename":"image_23012025_08_33_03_103867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2740092aea2e79a02e7e9c120b073d03.jpg","text":"TemporaryFile(/tmp/multipartBody2600752155547425126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617738105,"filename":"image_23012025_08_33_03_103867_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330778915","file1":"1330778822","file0":"1330778818","file4":"1330779293","file5":"1330779476","file3":"1330779087"},"map_files_photo_id_array":[{"photo_id":"1330779476","filename":"file5"},{"photo_id":"1330778915","filename":"file2"},{"photo_id":"1330779293","filename":"file4"},{"photo_id":"1330778822","filename":"file1"},{"photo_id":"1330778818","filename":"file0"},{"photo_id":"1330779087","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330779087":["hashtag1","hashtag2"]},{"1330778818":["hashtag1","hashtag2"]},{"1330779293":["hashtag1","hashtag2"]},{"1330779476":["hashtag1","hashtag2"]},{"1330778915":["hashtag1","hashtag2"]},{"1330778822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330779087, 1330778818, 1330779293, 1330779476, 1330778915, 1330778822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.50051999092102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:36:03.157941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_02_632156_0001.jpg', '/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_02_632156_0002.jpg', '/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_02_632156_0003.jpg', '/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_02_077919_0000.jpg', '/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_02_077919_0001.jpg', '/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_02_077919_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_02_632156_0001.jpg
/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_02_632156_0002.jpg
/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_02_632156_0003.jpg
/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_02_077919_0000.jpg
/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_02_077919_0001.jpg
/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_02_077919_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330779753","1330779807","1330779785","1330779803","1330779781","1330779798"],"photo_ids_order":["1330779753","1330779781","1330779785","1330779798","1330779803","1330779807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9838a4a2171c4f7557cc4edeebfcf3ee.jpg","text":"TemporaryFile(/tmp/multipartBody119617778841971321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617839427,"filename":"image_23012025_08_34_02_632156_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f1cca724e43861d83c43729f3c87617.jpg","text":"TemporaryFile(/tmp/multipartBody5277589099699079227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617839427,"filename":"image_23012025_08_35_02_077919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86f47a9b8d0e7a33e87ae41efd353aec.jpg","text":"TemporaryFile(/tmp/multipartBody8584515022070839298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617839427,"filename":"image_23012025_08_34_02_632156_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8bad058eae1809140af468b392dfec4.jpg","text":"TemporaryFile(/tmp/multipartBody4020576000225677173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617839427,"filename":"image_23012025_08_35_02_077919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ee3cb43d07bb7600f52f4619c098982.jpg","text":"TemporaryFile(/tmp/multipartBody3342126595256437103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617839427,"filename":"image_23012025_08_34_02_632156_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9a93e18081677d204b5900aceca85ec.jpg","text":"TemporaryFile(/tmp/multipartBody5645891743901341764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617839427,"filename":"image_23012025_08_35_02_077919_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330779785","file1":"1330779781","file0":"1330779753","file4":"1330779803","file5":"1330779807","file3":"1330779798"},"map_files_photo_id_array":[{"photo_id":"1330779807","filename":"file5"},{"photo_id":"1330779785","filename":"file2"},{"photo_id":"1330779803","filename":"file4"},{"photo_id":"1330779781","filename":"file1"},{"photo_id":"1330779753","filename":"file0"},{"photo_id":"1330779798","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330779753":["hashtag1","hashtag2"]},{"1330779807":["hashtag1","hashtag2"]},{"1330779785":["hashtag1","hashtag2"]},{"1330779803":["hashtag1","hashtag2"]},{"1330779781":["hashtag1","hashtag2"]},{"1330779798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330779753, 1330779807, 1330779785, 1330779803, 1330779781, 1330779798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.36209440231323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:37:02.942588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_02_077919_0003.jpg', '/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_02_593852_0000.jpg', '/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_02_593852_0001.jpg', '/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_02_593852_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_02_077919_0003.jpg
/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_02_593852_0000.jpg
/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_02_593852_0001.jpg
/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_02_593852_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.688972234725952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:37:22.355614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_02_077919_0003.jpg', '/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_02_593852_0000.jpg', '/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_02_593852_0001.jpg', '/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_02_593852_0002.jpg', '/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_02_593852_0003.jpg', '/home/pi/Desktop/images/23012025/08/37/image_23012025_08_37_03_078361_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_02_077919_0003.jpg
/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_02_593852_0000.jpg
/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_02_593852_0001.jpg
/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_02_593852_0002.jpg
/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_02_593852_0003.jpg
/home/pi/Desktop/images/23012025/08/37/image_23012025_08_37_03_078361_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330779957","1330779960","1330779959","1330779964","1330779946","1330779958"],"photo_ids_order":["1330779946","1330779957","1330779958","1330779959","1330779960","1330779964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/011b465cdca946dc3852f26eb7f6de64.jpg","text":"TemporaryFile(/tmp/multipartBody4722322718432679776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617918788,"filename":"image_23012025_08_36_02_593852_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60cefc982b030438dadd841ac8a580c1.jpg","text":"TemporaryFile(/tmp/multipartBody1244354855177603074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617918788,"filename":"image_23012025_08_36_02_593852_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4a4cc637c4d5f37903533620a421bfb.jpg","text":"TemporaryFile(/tmp/multipartBody4025245635559228084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617918788,"filename":"image_23012025_08_36_02_593852_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f06ce5317349d2b2c3be4cdd5d450b2.jpg","text":"TemporaryFile(/tmp/multipartBody1309335901237540457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617918788,"filename":"image_23012025_08_37_03_078361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/168584ad84c3fcc27d789ef1770d845d.jpg","text":"TemporaryFile(/tmp/multipartBody3297750572765060165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617918788,"filename":"image_23012025_08_35_02_077919_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/886eb8d06608371d8a66b6c97d43541b.jpg","text":"TemporaryFile(/tmp/multipartBody128900245336485516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617918788,"filename":"image_23012025_08_36_02_593852_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330779958","file1":"1330779957","file0":"1330779946","file4":"1330779960","file5":"1330779964","file3":"1330779959"},"map_files_photo_id_array":[{"photo_id":"1330779964","filename":"file5"},{"photo_id":"1330779958","filename":"file2"},{"photo_id":"1330779960","filename":"file4"},{"photo_id":"1330779957","filename":"file1"},{"photo_id":"1330779946","filename":"file0"},{"photo_id":"1330779959","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330779957":["hashtag1","hashtag2"]},{"1330779960":["hashtag1","hashtag2"]},{"1330779959":["hashtag1","hashtag2"]},{"1330779964":["hashtag1","hashtag2"]},{"1330779946":["hashtag1","hashtag2"]},{"1330779958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330779957, 1330779960, 1330779959, 1330779964, 1330779946, 1330779958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.67670035362244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:38:21.961769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/37/image_23012025_08_37_03_078361_0001.jpg', '/home/pi/Desktop/images/23012025/08/37/image_23012025_08_37_03_078361_0002.jpg', '/home/pi/Desktop/images/23012025/08/37/image_23012025_08_37_03_078361_0003.jpg', '/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_02_639900_0000.jpg', '/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_02_639900_0001.jpg', '/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_02_639900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/37/image_23012025_08_37_03_078361_0001.jpg
/home/pi/Desktop/images/23012025/08/37/image_23012025_08_37_03_078361_0002.jpg
/home/pi/Desktop/images/23012025/08/37/image_23012025_08_37_03_078361_0003.jpg
/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_02_639900_0000.jpg
/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_02_639900_0001.jpg
/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_02_639900_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330780059","1330780055","1330780064","1330780046","1330780051","1330780069"],"photo_ids_order":["1330780046","1330780051","1330780055","1330780059","1330780064","1330780069"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3073b91215167d0dcae82f756d5b0f06.jpg","text":"TemporaryFile(/tmp/multipartBody4881451798690998140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617978339,"filename":"image_23012025_08_38_02_639900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e53363e4db4967ae40b8965ba51b86b.jpg","text":"TemporaryFile(/tmp/multipartBody7351551888656306244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617978339,"filename":"image_23012025_08_37_03_078361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d8076fc74118228f1c7f49f3d80c138.jpg","text":"TemporaryFile(/tmp/multipartBody8245951230281420472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617978339,"filename":"image_23012025_08_38_02_639900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/226c085c49bd018e1847c5954527328b.jpg","text":"TemporaryFile(/tmp/multipartBody3064267374253752706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617978339,"filename":"image_23012025_08_37_03_078361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54d5380c2708a4aece9ef015c963881f.jpg","text":"TemporaryFile(/tmp/multipartBody1405518237451756547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617978339,"filename":"image_23012025_08_37_03_078361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ec589c95a15198bad2d2b69fb032476.jpg","text":"TemporaryFile(/tmp/multipartBody8784687126825862154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617978339,"filename":"image_23012025_08_38_02_639900_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330780055","file1":"1330780051","file0":"1330780046","file4":"1330780064","file5":"1330780069","file3":"1330780059"},"map_files_photo_id_array":[{"photo_id":"1330780069","filename":"file5"},{"photo_id":"1330780055","filename":"file2"},{"photo_id":"1330780064","filename":"file4"},{"photo_id":"1330780051","filename":"file1"},{"photo_id":"1330780046","filename":"file0"},{"photo_id":"1330780059","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330780059":["hashtag1","hashtag2"]},{"1330780055":["hashtag1","hashtag2"]},{"1330780064":["hashtag1","hashtag2"]},{"1330780046":["hashtag1","hashtag2"]},{"1330780051":["hashtag1","hashtag2"]},{"1330780069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330780059, 1330780055, 1330780064, 1330780046, 1330780051, 1330780069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.79222846031189 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:40:02.632459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_02_639900_0003.jpg', '/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_02_376379_0000.jpg', '/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_02_376379_0001.jpg', '/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_02_376379_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_02_639900_0003.jpg
/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_02_376379_0000.jpg
/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_02_376379_0001.jpg
/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_02_376379_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330780207","1330780212","1330780196","1330780168"],"photo_ids_order":["1330780168","1330780196","1330780207","1330780212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/151790689c41625ef1a2e79c9daf8d97.jpg","text":"TemporaryFile(/tmp/multipartBody545724629160528771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618073655,"filename":"image_23012025_08_39_02_376379_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6598e71af7c12e76af719cfbe2b0e72.jpg","text":"TemporaryFile(/tmp/multipartBody5570597561566288025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618073655,"filename":"image_23012025_08_39_02_376379_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b25639bd702b37695a1d6407ed33da40.jpg","text":"TemporaryFile(/tmp/multipartBody6889941037334458154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618073655,"filename":"image_23012025_08_39_02_376379_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0bbfd1ef7ee8756cfb6a1053f98f8309.jpg","text":"TemporaryFile(/tmp/multipartBody2075448317741632007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618073655,"filename":"image_23012025_08_38_02_639900_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330780207","file1":"1330780196","file0":"1330780168","file3":"1330780212"},"map_files_photo_id_array":[{"photo_id":"1330780207","filename":"file2"},{"photo_id":"1330780196","filename":"file1"},{"photo_id":"1330780168","filename":"file0"},{"photo_id":"1330780212","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330780207":["hashtag1","hashtag2"]},{"1330780212":["hashtag1","hashtag2"]},{"1330780196":["hashtag1","hashtag2"]},{"1330780168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330780207, 1330780212, 1330780196, 1330780168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.200238943099976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:41:03.329505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_02_376379_0003.jpg', '/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_02_958263_0000.jpg', '/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_02_958263_0001.jpg', '/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_02_958263_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_02_376379_0003.jpg
/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_02_958263_0000.jpg
/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_02_958263_0001.jpg
/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_02_958263_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.714110612869263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:41:22.577750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_02_376379_0003.jpg', '/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_02_958263_0000.jpg', '/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_02_958263_0001.jpg', '/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_02_958263_0002.jpg', '/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_02_958263_0003.jpg', '/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_02_441789_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_02_376379_0003.jpg
/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_02_958263_0000.jpg
/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_02_958263_0001.jpg
/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_02_958263_0002.jpg
/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_02_958263_0003.jpg
/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_02_441789_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":["1330780309","1330780311","1330780305","1330780283","1330780286","1330780273"],"photo_ids_order":["1330780273","1330780283","1330780286","1330780305","1330780309","1330780311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f9163a73b015ec84f457e1bebae014f.jpg","text":"TemporaryFile(/tmp/multipartBody8827669655722224422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618159738,"filename":"image_23012025_08_40_02_958263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e641674728aa7c13033df08bf7eb560a.jpg","text":"TemporaryFile(/tmp/multipartBody4172575481121468091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618159738,"filename":"image_23012025_08_41_02_441789_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11b2ed2dd7363aa2b4898c9426a70eb0.jpg","text":"TemporaryFile(/tmp/multipartBody3237622920156240524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618159738,"filename":"image_23012025_08_40_02_958263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8c74bba60326cf485981db3ebe0b9c2.jpg","text":"TemporaryFile(/tmp/multipartBody2762288617438477414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618159738,"filename":"image_23012025_08_40_02_958263_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6716fde348100b93b5323b4db71e6406.jpg","text":"TemporaryFile(/tmp/multipartBody4405831477644682953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618159738,"filename":"image_23012025_08_40_02_958263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6da572ff48183905e70d68c75ea9dd0.jpg","text":"TemporaryFile(/tmp/multipartBody6957918105867873301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618159738,"filename":"image_23012025_08_39_02_376379_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330780286","file1":"1330780283","file0":"1330780273","file4":"1330780309","file5":"1330780311","file3":"1330780305"},"map_files_photo_id_array":[{"photo_id":"1330780311","filename":"file5"},{"photo_id":"1330780286","filename":"file2"},{"photo_id":"1330780309","filename":"file4"},{"photo_id":"1330780283","filename":"file1"},{"photo_id":"1330780273","filename":"file0"},{"photo_id":"1330780305","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330780309":["hashtag1","hashtag2"]},{"1330780311":["hashtag1","hashtag2"]},{"1330780305":["hashtag1","hashtag2"]},{"1330780283":["hashtag1","hashtag2"]},{"1330780286":["hashtag1","hashtag2"]},{"1330780273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330780309, 1330780311, 1330780305, 1330780283, 1330780286, 1330780273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.95781350135803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:43:03.274857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_02_441789_0001.jpg', '/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_02_441789_0002.jpg', '/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_02_441789_0003.jpg', '/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_02_995802_0000.jpg', '/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_02_995802_0001.jpg', '/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_02_995802_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_02_441789_0001.jpg
/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_02_441789_0002.jpg
/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_02_441789_0003.jpg
/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_02_995802_0000.jpg
/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_02_995802_0001.jpg
/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_02_995802_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.939172506332397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:43:22.754945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_02_441789_0001.jpg', '/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_02_441789_0002.jpg', '/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_02_441789_0003.jpg', '/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_02_995802_0000.jpg', '/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_02_995802_0001.jpg', '/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_02_995802_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_02_441789_0001.jpg
/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_02_441789_0002.jpg
/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_02_441789_0003.jpg
/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_02_995802_0000.jpg
/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_02_995802_0001.jpg
/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_02_995802_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330780377","1330780376","1330780361","1330780375","1330780372","1330780366"],"photo_ids_order":["1330780361","1330780366","1330780372","1330780375","1330780376","1330780377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16b2fd9518e95b2f6cce79a57059f357.jpg","text":"TemporaryFile(/tmp/multipartBody526777647125010394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618278976,"filename":"image_23012025_08_42_02_995802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfa936d27b64bffb067e0f4b77cc5946.jpg","text":"TemporaryFile(/tmp/multipartBody4945808062356625219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618278976,"filename":"image_23012025_08_42_02_995802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5693581e67417d18e6daa9a45ab159b6.jpg","text":"TemporaryFile(/tmp/multipartBody7370139827638633893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618278976,"filename":"image_23012025_08_41_02_441789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bd45f9cb73f4261103f6fb91b6505b8.jpg","text":"TemporaryFile(/tmp/multipartBody5821370159615199663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618278976,"filename":"image_23012025_08_42_02_995802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2915c768d7bc77ed2a4cef4881406716.jpg","text":"TemporaryFile(/tmp/multipartBody6599953473439388672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618278976,"filename":"image_23012025_08_41_02_441789_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/195fe0eebcc6ed0db9efa206fb1b78c6.jpg","text":"TemporaryFile(/tmp/multipartBody4705526570446823172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618278976,"filename":"image_23012025_08_41_02_441789_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330780372","file1":"1330780366","file0":"1330780361","file4":"1330780376","file5":"1330780377","file3":"1330780375"},"map_files_photo_id_array":[{"photo_id":"1330780377","filename":"file5"},{"photo_id":"1330780372","filename":"file2"},{"photo_id":"1330780376","filename":"file4"},{"photo_id":"1330780366","filename":"file1"},{"photo_id":"1330780361","filename":"file0"},{"photo_id":"1330780375","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330780377":["hashtag1","hashtag2"]},{"1330780376":["hashtag1","hashtag2"]},{"1330780361":["hashtag1","hashtag2"]},{"1330780375":["hashtag1","hashtag2"]},{"1330780372":["hashtag1","hashtag2"]},{"1330780366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330780377, 1330780376, 1330780361, 1330780375, 1330780372, 1330780366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.39685654640198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:44:22.326194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_02_995802_0003.jpg', '/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_02_627682_0000.jpg', '/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_02_627682_0001.jpg', '/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_02_627682_0002.jpg', '/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_02_627682_0003.jpg', '/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_03_064783_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_02_995802_0003.jpg
/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_02_627682_0000.jpg
/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_02_627682_0001.jpg
/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_02_627682_0002.jpg
/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_02_627682_0003.jpg
/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_03_064783_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330780426","1330780420","1330780416","1330780436","1330780424","1330780399"],"photo_ids_order":["1330780399","1330780416","1330780420","1330780424","1330780426","1330780436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9fde5471c92a448f451d8f69e5f1118.jpg","text":"TemporaryFile(/tmp/multipartBody2968898299426521414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618338844,"filename":"image_23012025_08_43_02_627682_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17b4a088648da6c90383af9620c0e3d9.jpg","text":"TemporaryFile(/tmp/multipartBody7882122552102430796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618338844,"filename":"image_23012025_08_43_02_627682_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d6323c8e6f6a55c19afca9947bb34e8.jpg","text":"TemporaryFile(/tmp/multipartBody4485020156966149015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618338844,"filename":"image_23012025_08_43_02_627682_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfc2b926b23bd2f90826dbe0bcadefda.jpg","text":"TemporaryFile(/tmp/multipartBody2976103188162067972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618338844,"filename":"image_23012025_08_44_03_064783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9dbc8699cf450973ecfa9f887073b5fa.jpg","text":"TemporaryFile(/tmp/multipartBody8276079913470580713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618338844,"filename":"image_23012025_08_43_02_627682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fc241e0279b43fefa1db3ac3ee94a4d.jpg","text":"TemporaryFile(/tmp/multipartBody3824682238535020340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618338844,"filename":"image_23012025_08_42_02_995802_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330780420","file1":"1330780416","file0":"1330780399","file4":"1330780426","file5":"1330780436","file3":"1330780424"},"map_files_photo_id_array":[{"photo_id":"1330780436","filename":"file5"},{"photo_id":"1330780420","filename":"file2"},{"photo_id":"1330780426","filename":"file4"},{"photo_id":"1330780416","filename":"file1"},{"photo_id":"1330780399","filename":"file0"},{"photo_id":"1330780424","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330780426":["hashtag1","hashtag2"]},{"1330780420":["hashtag1","hashtag2"]},{"1330780416":["hashtag1","hashtag2"]},{"1330780436":["hashtag1","hashtag2"]},{"1330780424":["hashtag1","hashtag2"]},{"1330780399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330780426, 1330780420, 1330780416, 1330780436, 1330780424, 1330780399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.05754065513611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:45:21.774714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_03_064783_0001.jpg', '/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_03_064783_0002.jpg', '/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_03_064783_0003.jpg', '/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_02_636432_0000.jpg', '/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_02_636432_0001.jpg', '/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_02_636432_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_03_064783_0001.jpg
/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_03_064783_0002.jpg
/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_03_064783_0003.jpg
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_02_636432_0000.jpg
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_02_636432_0001.jpg
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_02_636432_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330780470","1330780467","1330780458","1330780487","1330780492","1330780462"],"photo_ids_order":["1330780458","1330780462","1330780467","1330780470","1330780487","1330780492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d82a033ad28883f232f0102d6db6d587.jpg","text":"TemporaryFile(/tmp/multipartBody9091639564981111608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618398131,"filename":"image_23012025_08_45_02_636432_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/538346f3e0ed0fc7ab736a7d60f59c75.jpg","text":"TemporaryFile(/tmp/multipartBody5704852529658018719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618398131,"filename":"image_23012025_08_44_03_064783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2b7a7ad77b6614c80ad1bb9f07086ee.jpg","text":"TemporaryFile(/tmp/multipartBody4947576663453337532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618398131,"filename":"image_23012025_08_44_03_064783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ab1d7fee43915da87f0b8f881f049d2.jpg","text":"TemporaryFile(/tmp/multipartBody7636228368822548748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618398131,"filename":"image_23012025_08_45_02_636432_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc90d1fda49d3b2732715413a2fc1742.jpg","text":"TemporaryFile(/tmp/multipartBody5002791457989760214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618398131,"filename":"image_23012025_08_45_02_636432_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79f68d12dc12b192f28e2abd3d237b32.jpg","text":"TemporaryFile(/tmp/multipartBody4883797209749678963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618398131,"filename":"image_23012025_08_44_03_064783_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330780467","file1":"1330780462","file0":"1330780458","file4":"1330780487","file5":"1330780492","file3":"1330780470"},"map_files_photo_id_array":[{"photo_id":"1330780492","filename":"file5"},{"photo_id":"1330780467","filename":"file2"},{"photo_id":"1330780487","filename":"file4"},{"photo_id":"1330780462","filename":"file1"},{"photo_id":"1330780458","filename":"file0"},{"photo_id":"1330780470","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330780470":["hashtag1","hashtag2"]},{"1330780467":["hashtag1","hashtag2"]},{"1330780458":["hashtag1","hashtag2"]},{"1330780487":["hashtag1","hashtag2"]},{"1330780492":["hashtag1","hashtag2"]},{"1330780462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330780470, 1330780467, 1330780458, 1330780487, 1330780492, 1330780462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.74123001098633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:46:22.375817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_02_636432_0003.jpg', '/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_02_203668_0000.jpg', '/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_02_203668_0001.jpg', '/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_02_203668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_02_636432_0003.jpg
/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_02_203668_0000.jpg
/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_02_203668_0001.jpg
/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_02_203668_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330780531","1330780533","1330780536","1330780537"],"photo_ids_order":["1330780531","1330780533","1330780536","1330780537"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00f3acf7b453c5052509da4d5d423827.jpg","text":"TemporaryFile(/tmp/multipartBody8679891793489426225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618453468,"filename":"image_23012025_08_45_02_636432_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c8e70e1987fd76a0a5c3db8a9ffc898.jpg","text":"TemporaryFile(/tmp/multipartBody3311512742915296796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618453468,"filename":"image_23012025_08_46_02_203668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa1486f7c31001d78fb7c69c3a405bda.jpg","text":"TemporaryFile(/tmp/multipartBody8455806866374939314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618453468,"filename":"image_23012025_08_46_02_203668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c10ca55858fa4b21b573f8cfe334f874.jpg","text":"TemporaryFile(/tmp/multipartBody4503471339250889814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618453468,"filename":"image_23012025_08_46_02_203668_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330780536","file1":"1330780533","file0":"1330780531","file3":"1330780537"},"map_files_photo_id_array":[{"photo_id":"1330780536","filename":"file2"},{"photo_id":"1330780533","filename":"file1"},{"photo_id":"1330780531","filename":"file0"},{"photo_id":"1330780537","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330780531":["hashtag1","hashtag2"]},{"1330780533":["hashtag1","hashtag2"]},{"1330780536":["hashtag1","hashtag2"]},{"1330780537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330780531, 1330780533, 1330780536, 1330780537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.35757064819336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:47:21.909898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_02_203668_0003.jpg', '/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_02_768378_0000.jpg', '/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_02_768378_0001.jpg', '/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_02_768378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_02_203668_0003.jpg
/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_02_768378_0000.jpg
/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_02_768378_0001.jpg
/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_02_768378_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330780569","1330780556","1330780634","1330780573"],"photo_ids_order":["1330780556","1330780569","1330780573","1330780634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13210f7410dd7185a8e3c9ff38e36239.jpg","text":"TemporaryFile(/tmp/multipartBody6110307202087627555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618513094,"filename":"image_23012025_08_47_02_768378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/505408be5f54ca3fa02eecefac0a35bc.jpg","text":"TemporaryFile(/tmp/multipartBody683764359003092052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618513094,"filename":"image_23012025_08_46_02_203668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ac02899f0d8b2b7d86956aa9b158fb0.jpg","text":"TemporaryFile(/tmp/multipartBody5109204263305922918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618513094,"filename":"image_23012025_08_47_02_768378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e26629b6c916fd934b34fe05bfce6ddb.jpg","text":"TemporaryFile(/tmp/multipartBody152531279298196757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618513094,"filename":"image_23012025_08_47_02_768378_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330780573","file1":"1330780569","file0":"1330780556","file3":"1330780634"},"map_files_photo_id_array":[{"photo_id":"1330780573","filename":"file2"},{"photo_id":"1330780569","filename":"file1"},{"photo_id":"1330780556","filename":"file0"},{"photo_id":"1330780634","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330780569":["hashtag1","hashtag2"]},{"1330780556":["hashtag1","hashtag2"]},{"1330780634":["hashtag1","hashtag2"]},{"1330780573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330780569, 1330780556, 1330780634, 1330780573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.95184874534607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:48:22.475625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_02_768378_0003.jpg', '/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_02_337874_0000.jpg', '/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_02_337874_0001.jpg', '/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_02_337874_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_02_768378_0003.jpg
/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_02_337874_0000.jpg
/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_02_337874_0001.jpg
/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_02_337874_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330780686","1330780673","1330780661","1330780678"],"photo_ids_order":["1330780661","1330780673","1330780678","1330780686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c544fe44d9f09685079c66846be45606.jpg","text":"TemporaryFile(/tmp/multipartBody8759726835621838863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618573522,"filename":"image_23012025_08_48_02_337874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f20773ed34f08f4f0ba0a09c413968fa.jpg","text":"TemporaryFile(/tmp/multipartBody2219090300957583775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618573522,"filename":"image_23012025_08_48_02_337874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4db498ae90182a848f73aee868b6a026.jpg","text":"TemporaryFile(/tmp/multipartBody815144558212018913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618573522,"filename":"image_23012025_08_47_02_768378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc0e9fc806a5b36288db79134c292910.jpg","text":"TemporaryFile(/tmp/multipartBody7674706220440610138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618573522,"filename":"image_23012025_08_48_02_337874_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330780678","file1":"1330780673","file0":"1330780661","file3":"1330780686"},"map_files_photo_id_array":[{"photo_id":"1330780678","filename":"file2"},{"photo_id":"1330780673","filename":"file1"},{"photo_id":"1330780661","filename":"file0"},{"photo_id":"1330780686","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330780686":["hashtag1","hashtag2"]},{"1330780673":["hashtag1","hashtag2"]},{"1330780661":["hashtag1","hashtag2"]},{"1330780678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330780686, 1330780673, 1330780661, 1330780678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.2251763343811 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:49:21.994730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_02_337874_0003.jpg', '/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_02_836485_0000.jpg', '/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_02_836485_0001.jpg', '/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_02_836485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_02_337874_0003.jpg
/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_02_836485_0000.jpg
/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_02_836485_0001.jpg
/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_02_836485_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330780744","1330780740","1330780736","1330780706"],"photo_ids_order":["1330780706","1330780736","1330780740","1330780744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d16a0e5dd657fe7ed11ee3dcfd4a2716.jpg","text":"TemporaryFile(/tmp/multipartBody3749090551194289319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618633728,"filename":"image_23012025_08_49_02_836485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b2eee781a566a6e3f274d938ba78563.jpg","text":"TemporaryFile(/tmp/multipartBody4874543277421929990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618633728,"filename":"image_23012025_08_49_02_836485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/183ba0a4c4020a1f26a6ab9a06758015.jpg","text":"TemporaryFile(/tmp/multipartBody1054782486357850380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618633728,"filename":"image_23012025_08_49_02_836485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7eb5b6cb13a8d63679750436d0e542a2.jpg","text":"TemporaryFile(/tmp/multipartBody7977587263135782365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618633728,"filename":"image_23012025_08_48_02_337874_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330780740","file1":"1330780736","file0":"1330780706","file3":"1330780744"},"map_files_photo_id_array":[{"photo_id":"1330780740","filename":"file2"},{"photo_id":"1330780736","filename":"file1"},{"photo_id":"1330780706","filename":"file0"},{"photo_id":"1330780744","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330780744":["hashtag1","hashtag2"]},{"1330780740":["hashtag1","hashtag2"]},{"1330780736":["hashtag1","hashtag2"]},{"1330780706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330780744, 1330780740, 1330780736, 1330780706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.9896559715271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:50:22.523891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_02_836485_0003.jpg', '/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_02_366712_0000.jpg', '/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_02_366712_0001.jpg', '/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_02_366712_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_02_836485_0003.jpg
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_02_366712_0000.jpg
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_02_366712_0001.jpg
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_02_366712_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330780776","1330780770","1330780773","1330780767"],"photo_ids_order":["1330780767","1330780770","1330780773","1330780776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1dc06b3c3d6e4983c13b3a1b2d3117f.jpg","text":"TemporaryFile(/tmp/multipartBody8791243788212297517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618694435,"filename":"image_23012025_08_50_02_366712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91f2bdff0d290c4c01f82a06957997e0.jpg","text":"TemporaryFile(/tmp/multipartBody1608207489905279466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618694435,"filename":"image_23012025_08_50_02_366712_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f6a3fbfa62aeef9caa43ceb6a908fd5.jpg","text":"TemporaryFile(/tmp/multipartBody2943368794060502458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618694435,"filename":"image_23012025_08_50_02_366712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9d6c0aec4036b4091c100d523ac202f.jpg","text":"TemporaryFile(/tmp/multipartBody4639952244687772260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618694435,"filename":"image_23012025_08_49_02_836485_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330780773","file1":"1330780770","file0":"1330780767","file3":"1330780776"},"map_files_photo_id_array":[{"photo_id":"1330780773","filename":"file2"},{"photo_id":"1330780770","filename":"file1"},{"photo_id":"1330780767","filename":"file0"},{"photo_id":"1330780776","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330780776":["hashtag1","hashtag2"]},{"1330780770":["hashtag1","hashtag2"]},{"1330780773":["hashtag1","hashtag2"]},{"1330780767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330780776, 1330780770, 1330780773, 1330780767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.29233002662659 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:51:22.066620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_02_366712_0003.jpg', '/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_02_873878_0000.jpg', '/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_02_873878_0001.jpg', '/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_02_873878_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_02_366712_0003.jpg
/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_02_873878_0000.jpg
/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_02_873878_0001.jpg
/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_02_873878_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330780788","1330780791","1330780798","1330780795"],"photo_ids_order":["1330780788","1330780791","1330780795","1330780798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19d934775bd2bc67f3c57fbf27d13e7c.jpg","text":"TemporaryFile(/tmp/multipartBody2944583276189046396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618753074,"filename":"image_23012025_08_50_02_366712_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2e26fc2f55da5a798ff11a1426be90d.jpg","text":"TemporaryFile(/tmp/multipartBody6393503711951665373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618753074,"filename":"image_23012025_08_51_02_873878_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e39e7a26624cce25941880c272d7d156.jpg","text":"TemporaryFile(/tmp/multipartBody5221791773651099443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618753074,"filename":"image_23012025_08_51_02_873878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af7285230e64837bf5b44f4066eeffd1.jpg","text":"TemporaryFile(/tmp/multipartBody3019342343016180815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618753074,"filename":"image_23012025_08_51_02_873878_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330780795","file1":"1330780791","file0":"1330780788","file3":"1330780798"},"map_files_photo_id_array":[{"photo_id":"1330780795","filename":"file2"},{"photo_id":"1330780791","filename":"file1"},{"photo_id":"1330780788","filename":"file0"},{"photo_id":"1330780798","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330780788":["hashtag1","hashtag2"]},{"1330780791":["hashtag1","hashtag2"]},{"1330780798":["hashtag1","hashtag2"]},{"1330780795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330780788, 1330780791, 1330780798, 1330780795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.907506227493286 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-23 08:52:22.523805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_02_873878_0003.jpg', '/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_02_385627_0000.jpg', '/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_02_385627_0001.jpg', '/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_02_385627_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_02_873878_0003.jpg
/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_02_385627_0000.jpg
/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_02_385627_0001.jpg
/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_02_385627_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330780833","1330780827","1330780821","1330780838"],"photo_ids_order":["1330780821","1330780827","1330780833","1330780838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6addab190418143cff6ed0acb3c383d7.jpg","text":"TemporaryFile(/tmp/multipartBody2157090763659273492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618814113,"filename":"image_23012025_08_52_02_385627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3e666f7d0290b228b82ac29aaa326cd.jpg","text":"TemporaryFile(/tmp/multipartBody1824967263107748780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618814113,"filename":"image_23012025_08_52_02_385627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29a92254c58f8fb36ff5f35d2bd6847b.jpg","text":"TemporaryFile(/tmp/multipartBody7265740349856446765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618814113,"filename":"image_23012025_08_51_02_873878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4beb8daa88dd7b942f68906762f2f19.jpg","text":"TemporaryFile(/tmp/multipartBody6549230391167916024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618814113,"filename":"image_23012025_08_52_02_385627_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330780833","file1":"1330780827","file0":"1330780821","file3":"1330780838"},"map_files_photo_id_array":[{"photo_id":"1330780833","filename":"file2"},{"photo_id":"1330780827","filename":"file1"},{"photo_id":"1330780821","filename":"file0"},{"photo_id":"1330780838","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330780833":["hashtag1","hashtag2"]},{"1330780827":["hashtag1","hashtag2"]},{"1330780821":["hashtag1","hashtag2"]},{"1330780838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330780833, 1330780827, 1330780821, 1330780838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.330588579177856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:53:22.071142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_02_385627_0003.jpg', '/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_02_930168_0000.jpg', '/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_02_930168_0001.jpg', '/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_02_930168_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_02_385627_0003.jpg
/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_02_930168_0000.jpg
/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_02_930168_0001.jpg
/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_02_930168_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330780869","1330780886","1330780880","1330780874"],"photo_ids_order":["1330780869","1330780874","1330780880","1330780886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c28cf43b8d092b4021e1fce3bef5d134.jpg","text":"TemporaryFile(/tmp/multipartBody8117209838786163645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618873564,"filename":"image_23012025_08_52_02_385627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/779f0783fca73d1128601e029a879d25.jpg","text":"TemporaryFile(/tmp/multipartBody3619931412400414538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618873564,"filename":"image_23012025_08_53_02_930168_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/137d3f8db8f88c72fddb11c502ebe1d2.jpg","text":"TemporaryFile(/tmp/multipartBody1897330593196847187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618873564,"filename":"image_23012025_08_53_02_930168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f675fdbd9b11bb8e8c27e5105c802da.jpg","text":"TemporaryFile(/tmp/multipartBody7086319783670747036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618873564,"filename":"image_23012025_08_53_02_930168_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330780880","file1":"1330780874","file0":"1330780869","file3":"1330780886"},"map_files_photo_id_array":[{"photo_id":"1330780880","filename":"file2"},{"photo_id":"1330780874","filename":"file1"},{"photo_id":"1330780869","filename":"file0"},{"photo_id":"1330780886","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330780869":["hashtag1","hashtag2"]},{"1330780886":["hashtag1","hashtag2"]},{"1330780880":["hashtag1","hashtag2"]},{"1330780874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330780869, 1330780886, 1330780880, 1330780874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.61092758178711 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:54:22.721075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_02_930168_0003.jpg', '/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0000.jpg', '/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0001.jpg', '/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_02_930168_0003.jpg
/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0000.jpg
/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0001.jpg
/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.882176876068115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:55:02.835319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_02_930168_0003.jpg', '/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0000.jpg', '/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0001.jpg', '/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_02_930168_0003.jpg
/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0000.jpg
/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0001.jpg
/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330781796","1330781745","1330781802","1330781807"],"photo_ids_order":["1330781745","1330781796","1330781802","1330781807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b09bac1e4972f005148a1d037f856c03.jpg","text":"TemporaryFile(/tmp/multipartBody1531463594521205532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618974152,"filename":"image_23012025_08_54_02_590867_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c23739c7c73095149abe797d99f766b.jpg","text":"TemporaryFile(/tmp/multipartBody6637096317624884122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618974152,"filename":"image_23012025_08_53_02_930168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d480df04c17295be298c0d8dc1cae54b.jpg","text":"TemporaryFile(/tmp/multipartBody8454078344801412588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618974152,"filename":"image_23012025_08_54_02_590867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e8af09e3490d6f56d334767c613f3d2.jpg","text":"TemporaryFile(/tmp/multipartBody1850309145435243194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618974152,"filename":"image_23012025_08_54_02_590867_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330781802","file1":"1330781796","file0":"1330781745","file3":"1330781807"},"map_files_photo_id_array":[{"photo_id":"1330781802","filename":"file2"},{"photo_id":"1330781796","filename":"file1"},{"photo_id":"1330781745","filename":"file0"},{"photo_id":"1330781807","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330781796":["hashtag1","hashtag2"]},{"1330781745":["hashtag1","hashtag2"]},{"1330781802":["hashtag1","hashtag2"]},{"1330781807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330781796, 1330781745, 1330781802, 1330781807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.36787486076355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:56:02.275302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0003.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_03_086946_0000.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_03_086946_0001.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_03_086946_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0003.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_03_086946_0000.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_03_086946_0001.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_03_086946_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.33139705657959 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 08:56:21.773000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0003.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_03_086946_0000.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_03_086946_0001.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_03_086946_0002.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_03_086946_0003.jpg', '/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_02_648287_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_02_590867_0003.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_03_086946_0000.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_03_086946_0001.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_03_086946_0002.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_03_086946_0003.jpg
/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_02_648287_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":["1330782197","1330782248","1330782190","1330782040","1330782195","1330781932"],"photo_ids_order":["1330781932","1330782040","1330782190","1330782195","1330782197","1330782248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05765ec0c9a533833ecf635c6a871f53.jpg","text":"TemporaryFile(/tmp/multipartBody1351190245895860956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619058706,"filename":"image_23012025_08_55_03_086946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40af246c91733b28d40ca19fa984f3b5.jpg","text":"TemporaryFile(/tmp/multipartBody4397845917778487976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619058706,"filename":"image_23012025_08_56_02_648287_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72c8d5415e3ade9b01c663b233a3a167.jpg","text":"TemporaryFile(/tmp/multipartBody3522949480081226000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619058706,"filename":"image_23012025_08_55_03_086946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bc99cbf3b8e9c8f17fc43d2f79f8d77.jpg","text":"TemporaryFile(/tmp/multipartBody6220200450630576189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619058706,"filename":"image_23012025_08_55_03_086946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8c07b33ad939919fd2ef4cb106791eb.jpg","text":"TemporaryFile(/tmp/multipartBody8376186832686899279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619058706,"filename":"image_23012025_08_55_03_086946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d24abcd04283dc475f4f43d7f4c867d.jpg","text":"TemporaryFile(/tmp/multipartBody2657030762890901318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619058706,"filename":"image_23012025_08_54_02_590867_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330782190","file1":"1330782040","file0":"1330781932","file4":"1330782197","file5":"1330782248","file3":"1330782195"},"map_files_photo_id_array":[{"photo_id":"1330782248","filename":"file5"},{"photo_id":"1330782190","filename":"file2"},{"photo_id":"1330782197","filename":"file4"},{"photo_id":"1330782040","filename":"file1"},{"photo_id":"1330781932","filename":"file0"},{"photo_id":"1330782195","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330782197":["hashtag1","hashtag2"]},{"1330782248":["hashtag1","hashtag2"]},{"1330782190":["hashtag1","hashtag2"]},{"1330782040":["hashtag1","hashtag2"]},{"1330782195":["hashtag1","hashtag2"]},{"1330781932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330782197, 1330782248, 1330782190, 1330782040, 1330782195, 1330781932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.36287450790405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 08:59:02.746701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_02_648287_0001.jpg', '/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_02_648287_0002.jpg', '/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_02_648287_0003.jpg', '/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_02_221383_0000.jpg', '/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_02_221383_0001.jpg', '/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_02_221383_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_02_648287_0001.jpg
/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_02_648287_0002.jpg
/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_02_648287_0003.jpg
/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_02_221383_0000.jpg
/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_02_221383_0001.jpg
/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_02_221383_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330782668","1330782652","1330782666","1330782669","1330782540","1330782558"],"photo_ids_order":["1330782540","1330782558","1330782652","1330782666","1330782668","1330782669"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ee0cb3601f9a660c1d0489ba34f5ae5.jpg","text":"TemporaryFile(/tmp/multipartBody7771650764859164406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619219865,"filename":"image_23012025_08_57_02_221383_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec74942a7c4b42b6644741f046e63b43.jpg","text":"TemporaryFile(/tmp/multipartBody6808563335595926548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619219865,"filename":"image_23012025_08_56_02_648287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/64f5e99f8ff2264bd1198d5b8e74961d.jpg","text":"TemporaryFile(/tmp/multipartBody6848758541532141772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619219865,"filename":"image_23012025_08_57_02_221383_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8f38176314d689e5c92074e073f4623.jpg","text":"TemporaryFile(/tmp/multipartBody1400448753855234688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619219865,"filename":"image_23012025_08_57_02_221383_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d138cb156e5810c9ba359caaf640d0ca.jpg","text":"TemporaryFile(/tmp/multipartBody418627127731124534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619219865,"filename":"image_23012025_08_56_02_648287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d4b10f4cf190b018813d947ab6178d5.jpg","text":"TemporaryFile(/tmp/multipartBody5817782751930168702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619219865,"filename":"image_23012025_08_56_02_648287_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330782652","file1":"1330782558","file0":"1330782540","file4":"1330782668","file5":"1330782669","file3":"1330782666"},"map_files_photo_id_array":[{"photo_id":"1330782669","filename":"file5"},{"photo_id":"1330782652","filename":"file2"},{"photo_id":"1330782668","filename":"file4"},{"photo_id":"1330782558","filename":"file1"},{"photo_id":"1330782540","filename":"file0"},{"photo_id":"1330782666","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330782668":["hashtag1","hashtag2"]},{"1330782652":["hashtag1","hashtag2"]},{"1330782666":["hashtag1","hashtag2"]},{"1330782669":["hashtag1","hashtag2"]},{"1330782540":["hashtag1","hashtag2"]},{"1330782558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330782668, 1330782652, 1330782666, 1330782669, 1330782540, 1330782558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.84834408760071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:00:22.710901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_02_221383_0003.jpg', '/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_02_739474_0000.jpg', '/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_02_739474_0001.jpg', '/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_02_739474_0002.jpg', '/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_02_739474_0003.jpg', '/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_02_281107_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_02_221383_0003.jpg
/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_02_739474_0000.jpg
/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_02_739474_0001.jpg
/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_02_739474_0002.jpg
/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_02_739474_0003.jpg
/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_02_281107_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":["1330782761","1330782764","1330782755","1330782769","1330782766","1330782751"],"photo_ids_order":["1330782751","1330782755","1330782761","1330782764","1330782766","1330782769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80713120334e93f4009a687d4d80b3f7.jpg","text":"TemporaryFile(/tmp/multipartBody2095011275128527463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619299091,"filename":"image_23012025_08_58_02_739474_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae0f07463abaddaa4a4813d8c2f1e105.jpg","text":"TemporaryFile(/tmp/multipartBody5028702883615484373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619299091,"filename":"image_23012025_08_58_02_739474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76f7d7ce7cb180b20c26b9cd19afb3ca.jpg","text":"TemporaryFile(/tmp/multipartBody4244293948762228894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619299091,"filename":"image_23012025_08_58_02_739474_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2b50b877765f4522f52fdf85a545453.jpg","text":"TemporaryFile(/tmp/multipartBody7773391325988041758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619299091,"filename":"image_23012025_08_59_02_281107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c92152e189cbb5a8b213d5376e2a2460.jpg","text":"TemporaryFile(/tmp/multipartBody6285755264945046423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619299091,"filename":"image_23012025_08_58_02_739474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c35d6649375eb51cf71c181300ec0454.jpg","text":"TemporaryFile(/tmp/multipartBody1198280299468099606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619299091,"filename":"image_23012025_08_57_02_221383_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330782761","file1":"1330782755","file0":"1330782751","file4":"1330782766","file5":"1330782769","file3":"1330782764"},"map_files_photo_id_array":[{"photo_id":"1330782769","filename":"file5"},{"photo_id":"1330782761","filename":"file2"},{"photo_id":"1330782766","filename":"file4"},{"photo_id":"1330782755","filename":"file1"},{"photo_id":"1330782751","filename":"file0"},{"photo_id":"1330782764","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330782761":["hashtag1","hashtag2"]},{"1330782764":["hashtag1","hashtag2"]},{"1330782755":["hashtag1","hashtag2"]},{"1330782769":["hashtag1","hashtag2"]},{"1330782766":["hashtag1","hashtag2"]},{"1330782751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330782761, 1330782764, 1330782755, 1330782769, 1330782766, 1330782751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.64657950401306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:02:02.135956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_02_281107_0001.jpg', '/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_02_281107_0002.jpg', '/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_02_281107_0003.jpg', '/home/pi/Desktop/images/23012025/09/00/image_23012025_09_00_02_498503_0001.jpg', '/home/pi/Desktop/images/23012025/09/00/image_23012025_09_00_02_498503_0002.jpg', '/home/pi/Desktop/images/23012025/09/00/image_23012025_09_00_02_498503_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_02_281107_0001.jpg
/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_02_281107_0002.jpg
/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_02_281107_0003.jpg
/home/pi/Desktop/images/23012025/09/00/image_23012025_09_00_02_498503_0001.jpg
/home/pi/Desktop/images/23012025/09/00/image_23012025_09_00_02_498503_0002.jpg
/home/pi/Desktop/images/23012025/09/00/image_23012025_09_00_02_498503_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.543724060058594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:02:21.838994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_02_281107_0001.jpg', '/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_02_281107_0002.jpg', '/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_02_281107_0003.jpg', '/home/pi/Desktop/images/23012025/09/00/image_23012025_09_00_02_498503_0001.jpg', '/home/pi/Desktop/images/23012025/09/00/image_23012025_09_00_02_498503_0002.jpg', '/home/pi/Desktop/images/23012025/09/00/image_23012025_09_00_02_498503_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_02_281107_0001.jpg
/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_02_281107_0002.jpg
/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_02_281107_0003.jpg
/home/pi/Desktop/images/23012025/09/00/image_23012025_09_00_02_498503_0001.jpg
/home/pi/Desktop/images/23012025/09/00/image_23012025_09_00_02_498503_0002.jpg
/home/pi/Desktop/images/23012025/09/00/image_23012025_09_00_02_498503_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330782837","1330782845","1330782839","1330782830","1330782833","1330782823"],"photo_ids_order":["1330782823","1330782830","1330782833","1330782837","1330782839","1330782845"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4df85bedb17a29db7a8f795728c8eb2f.jpg","text":"TemporaryFile(/tmp/multipartBody3311394437138399966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619418680,"filename":"image_23012025_09_00_02_498503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/461cbc18bd3f48415e80eb8813a25a45.jpg","text":"TemporaryFile(/tmp/multipartBody4470472043418645959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619418680,"filename":"image_23012025_09_00_02_498503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/233db788d1ce6fa63c495af638cfadab.jpg","text":"TemporaryFile(/tmp/multipartBody2899274800718582341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619418680,"filename":"image_23012025_09_00_02_498503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a76709c07a8d99db81a03ad765e32982.jpg","text":"TemporaryFile(/tmp/multipartBody9024163984135575223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619418680,"filename":"image_23012025_08_59_02_281107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58d8da243cbc13c23be69c768eb742f3.jpg","text":"TemporaryFile(/tmp/multipartBody8901427885975632042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619418680,"filename":"image_23012025_08_59_02_281107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b14cf4fefa9629419c89892c0bde04ea.jpg","text":"TemporaryFile(/tmp/multipartBody493501530182820337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619418680,"filename":"image_23012025_08_59_02_281107_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330782833","file1":"1330782830","file0":"1330782823","file4":"1330782839","file5":"1330782845","file3":"1330782837"},"map_files_photo_id_array":[{"photo_id":"1330782845","filename":"file5"},{"photo_id":"1330782833","filename":"file2"},{"photo_id":"1330782839","filename":"file4"},{"photo_id":"1330782830","filename":"file1"},{"photo_id":"1330782823","filename":"file0"},{"photo_id":"1330782837","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330782837":["hashtag1","hashtag2"]},{"1330782845":["hashtag1","hashtag2"]},{"1330782839":["hashtag1","hashtag2"]},{"1330782830":["hashtag1","hashtag2"]},{"1330782833":["hashtag1","hashtag2"]},{"1330782823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330782837, 1330782845, 1330782839, 1330782830, 1330782833, 1330782823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.41474652290344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:03:22.237969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/01/image_23012025_09_01_03_134823_0001.jpg', '/home/pi/Desktop/images/23012025/09/01/image_23012025_09_01_03_134823_0003.jpg', '/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_02_640790_0000.jpg', '/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_02_640790_0001.jpg', '/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_02_640790_0002.jpg', '/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_02_640790_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/01/image_23012025_09_01_03_134823_0001.jpg
/home/pi/Desktop/images/23012025/09/01/image_23012025_09_01_03_134823_0003.jpg
/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_02_640790_0000.jpg
/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_02_640790_0001.jpg
/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_02_640790_0002.jpg
/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_02_640790_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":["1330782887","1330782866","1330782880","1330782874","1330782877","1330782870"],"photo_ids_order":["1330782866","1330782870","1330782874","1330782877","1330782880","1330782887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf1dbdac0a07cdebb79467f3fc07c9fb.jpg","text":"TemporaryFile(/tmp/multipartBody773829111529549088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619479067,"filename":"image_23012025_09_02_02_640790_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f39e43d92197a9863d205d7494a3e284.jpg","text":"TemporaryFile(/tmp/multipartBody5897694955290716457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619479067,"filename":"image_23012025_09_01_03_134823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb73920ac40fe7cfb383294db07a2e50.jpg","text":"TemporaryFile(/tmp/multipartBody4574822177306633232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619479067,"filename":"image_23012025_09_02_02_640790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7863496d485edbb71fa084754b5b299e.jpg","text":"TemporaryFile(/tmp/multipartBody3863566653273011133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619479067,"filename":"image_23012025_09_02_02_640790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b4a740b00a0a08e68f3db32e84e6eca.jpg","text":"TemporaryFile(/tmp/multipartBody9220828198651207694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619479067,"filename":"image_23012025_09_02_02_640790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/628b36006be42ed5d06ab9688dfb5519.jpg","text":"TemporaryFile(/tmp/multipartBody6661866333686058706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619479067,"filename":"image_23012025_09_01_03_134823_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330782874","file1":"1330782870","file0":"1330782866","file4":"1330782880","file5":"1330782887","file3":"1330782877"},"map_files_photo_id_array":[{"photo_id":"1330782887","filename":"file5"},{"photo_id":"1330782874","filename":"file2"},{"photo_id":"1330782880","filename":"file4"},{"photo_id":"1330782870","filename":"file1"},{"photo_id":"1330782866","filename":"file0"},{"photo_id":"1330782877","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330782887":["hashtag1","hashtag2"]},{"1330782866":["hashtag1","hashtag2"]},{"1330782880":["hashtag1","hashtag2"]},{"1330782874":["hashtag1","hashtag2"]},{"1330782877":["hashtag1","hashtag2"]},{"1330782870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330782887, 1330782866, 1330782880, 1330782874, 1330782877, 1330782870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.37533450126648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:05:02.824062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_02_163699_0000.jpg', '/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_02_163699_0001.jpg', '/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_02_163699_0003.jpg', '/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_02_718002_0001.jpg', '/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_02_718002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_02_163699_0000.jpg
/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_02_163699_0001.jpg
/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_02_163699_0003.jpg
/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_02_718002_0001.jpg
/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_02_718002_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 13.83250379562378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:05:22.318032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_02_163699_0000.jpg', '/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_02_163699_0001.jpg', '/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_02_163699_0003.jpg', '/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_02_718002_0001.jpg', '/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_02_718002_0002.jpg', '/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_02_718002_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_02_163699_0000.jpg
/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_02_163699_0001.jpg
/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_02_163699_0003.jpg
/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_02_718002_0001.jpg
/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_02_718002_0002.jpg
/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_02_718002_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":["1330782992","1330783244","1330783255","1330783039","1330783125","1330783101"],"photo_ids_order":["1330782992","1330783039","1330783101","1330783125","1330783244","1330783255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbb2149408042c581c028f1f5d5f441d.jpg","text":"TemporaryFile(/tmp/multipartBody5029581599608195902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619599116,"filename":"image_23012025_09_03_02_163699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9239477bd5aaf0f9ad127d28f96b49f8.jpg","text":"TemporaryFile(/tmp/multipartBody1222440339404117143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619599116,"filename":"image_23012025_09_04_02_718002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1bd082dcf0432ae2317f7b8e1e1d14ac.jpg","text":"TemporaryFile(/tmp/multipartBody1877046856513610753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619599116,"filename":"image_23012025_09_04_02_718002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1d3fed56c0df5ac495dbc8c44522cc7.jpg","text":"TemporaryFile(/tmp/multipartBody5395147275744020459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619599116,"filename":"image_23012025_09_03_02_163699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b34a2688b437ddfd7d40d14775b4e464.jpg","text":"TemporaryFile(/tmp/multipartBody8812709745797263785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619599116,"filename":"image_23012025_09_04_02_718002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/672643422f9d583daad132390ee48546.jpg","text":"TemporaryFile(/tmp/multipartBody2342221526234830507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619599116,"filename":"image_23012025_09_03_02_163699_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330783101","file1":"1330783039","file0":"1330782992","file4":"1330783244","file5":"1330783255","file3":"1330783125"},"map_files_photo_id_array":[{"photo_id":"1330783255","filename":"file5"},{"photo_id":"1330783101","filename":"file2"},{"photo_id":"1330783244","filename":"file4"},{"photo_id":"1330783039","filename":"file1"},{"photo_id":"1330782992","filename":"file0"},{"photo_id":"1330783125","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330782992":["hashtag1","hashtag2"]},{"1330783244":["hashtag1","hashtag2"]},{"1330783255":["hashtag1","hashtag2"]},{"1330783039":["hashtag1","hashtag2"]},{"1330783125":["hashtag1","hashtag2"]},{"1330783101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330782992, 1330783244, 1330783255, 1330783039, 1330783125, 1330783101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.12739038467407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:07:03.045927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_02_178068_0000.jpg', '/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_02_178068_0001.jpg', '/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_02_178068_0002.jpg', '/home/pi/Desktop/images/23012025/09/06/image_23012025_09_06_02_692263_0001.jpg', '/home/pi/Desktop/images/23012025/09/06/image_23012025_09_06_02_692263_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_02_178068_0000.jpg
/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_02_178068_0001.jpg
/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_02_178068_0002.jpg
/home/pi/Desktop/images/23012025/09/06/image_23012025_09_06_02_692263_0001.jpg
/home/pi/Desktop/images/23012025/09/06/image_23012025_09_06_02_692263_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 13.843469858169556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:07:22.522180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_02_178068_0000.jpg', '/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_02_178068_0001.jpg', '/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_02_178068_0002.jpg', '/home/pi/Desktop/images/23012025/09/06/image_23012025_09_06_02_692263_0001.jpg', '/home/pi/Desktop/images/23012025/09/06/image_23012025_09_06_02_692263_0002.jpg', '/home/pi/Desktop/images/23012025/09/06/image_23012025_09_06_02_692263_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_02_178068_0000.jpg
/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_02_178068_0001.jpg
/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_02_178068_0002.jpg
/home/pi/Desktop/images/23012025/09/06/image_23012025_09_06_02_692263_0001.jpg
/home/pi/Desktop/images/23012025/09/06/image_23012025_09_06_02_692263_0002.jpg
/home/pi/Desktop/images/23012025/09/06/image_23012025_09_06_02_692263_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":["1330784021","1330784052","1330784049","1330783986","1330784043","1330784051"],"photo_ids_order":["1330783986","1330784021","1330784043","1330784049","1330784051","1330784052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e4fe954abfae255dd0e7f2220d7abd7.jpg","text":"TemporaryFile(/tmp/multipartBody1074088184777655446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619719354,"filename":"image_23012025_09_05_02_178068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8bddeb05279a3c20491d8a064d31ba4.jpg","text":"TemporaryFile(/tmp/multipartBody3071996955192126771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619719354,"filename":"image_23012025_09_06_02_692263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f882d3e82e0e9d92c4b67dd7e93bdc8.jpg","text":"TemporaryFile(/tmp/multipartBody6394475801290919817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619719354,"filename":"image_23012025_09_06_02_692263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdbcb1049a8875e5ad17ac98e3820057.jpg","text":"TemporaryFile(/tmp/multipartBody364487996435683965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619719354,"filename":"image_23012025_09_05_02_178068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8503a55358c8196606e536a8969064be.jpg","text":"TemporaryFile(/tmp/multipartBody6618223311570535022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619719354,"filename":"image_23012025_09_05_02_178068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/311921c8f6efb8bb2935367b69d649bf.jpg","text":"TemporaryFile(/tmp/multipartBody6875481759497189170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619719354,"filename":"image_23012025_09_06_02_692263_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330784043","file1":"1330784021","file0":"1330783986","file4":"1330784051","file5":"1330784052","file3":"1330784049"},"map_files_photo_id_array":[{"photo_id":"1330784052","filename":"file5"},{"photo_id":"1330784043","filename":"file2"},{"photo_id":"1330784051","filename":"file4"},{"photo_id":"1330784021","filename":"file1"},{"photo_id":"1330783986","filename":"file0"},{"photo_id":"1330784049","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330784021":["hashtag1","hashtag2"]},{"1330784052":["hashtag1","hashtag2"]},{"1330784049":["hashtag1","hashtag2"]},{"1330783986":["hashtag1","hashtag2"]},{"1330784043":["hashtag1","hashtag2"]},{"1330784051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330784021, 1330784052, 1330784049, 1330783986, 1330784043, 1330784051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.92662453651428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:09:03.243766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_02_334719_0000.jpg', '/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_02_334719_0001.jpg', '/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_02_334719_0002.jpg', '/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_02_334719_0003.jpg', '/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_02_833585_0000.jpg', '/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_02_833585_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_02_334719_0000.jpg
/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_02_334719_0001.jpg
/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_02_334719_0002.jpg
/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_02_334719_0003.jpg
/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_02_833585_0000.jpg
/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_02_833585_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330784333","1330784320","1330784344","1330784349","1330784339","1330784324"],"photo_ids_order":["1330784320","1330784324","1330784333","1330784339","1330784344","1330784349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2019e4e81ca99e73ea0e0dcd1d377c2e.jpg","text":"TemporaryFile(/tmp/multipartBody1329020699560520086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619820173,"filename":"image_23012025_09_07_02_334719_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7648be7aa5777f3313d67ae12deb5b9.jpg","text":"TemporaryFile(/tmp/multipartBody1256315123600182493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619820173,"filename":"image_23012025_09_07_02_334719_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5f25ee229e125d8cb7a32e07ee7c216.jpg","text":"TemporaryFile(/tmp/multipartBody1087718496505326595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619820173,"filename":"image_23012025_09_08_02_833585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11f5d9ef3272dc960f6d9628388950c0.jpg","text":"TemporaryFile(/tmp/multipartBody706700491849184364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619820173,"filename":"image_23012025_09_08_02_833585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4db057a035cf28909eee3ffac5cc9da9.jpg","text":"TemporaryFile(/tmp/multipartBody7303215661983959238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619820173,"filename":"image_23012025_09_07_02_334719_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68bba44d5c009f78b486ca2a5149ec61.jpg","text":"TemporaryFile(/tmp/multipartBody1225112099570190530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619820173,"filename":"image_23012025_09_07_02_334719_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330784333","file1":"1330784324","file0":"1330784320","file4":"1330784344","file5":"1330784349","file3":"1330784339"},"map_files_photo_id_array":[{"photo_id":"1330784349","filename":"file5"},{"photo_id":"1330784333","filename":"file2"},{"photo_id":"1330784344","filename":"file4"},{"photo_id":"1330784324","filename":"file1"},{"photo_id":"1330784320","filename":"file0"},{"photo_id":"1330784339","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330784333":["hashtag1","hashtag2"]},{"1330784320":["hashtag1","hashtag2"]},{"1330784344":["hashtag1","hashtag2"]},{"1330784349":["hashtag1","hashtag2"]},{"1330784339":["hashtag1","hashtag2"]},{"1330784324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330784333, 1330784320, 1330784344, 1330784349, 1330784339, 1330784324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.74028182029724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:10:02.708785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_02_833585_0003.jpg', '/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_02_440332_0001.jpg', '/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_02_440332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_02_833585_0003.jpg
/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_02_440332_0001.jpg
/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_02_440332_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.379899263381958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:10:22.326583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_02_833585_0003.jpg', '/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_02_440332_0001.jpg', '/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_02_440332_0002.jpg', '/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_02_440332_0003.jpg', '/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_03_001382_0000.jpg', '/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_03_001382_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_02_833585_0003.jpg
/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_02_440332_0001.jpg
/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_02_440332_0002.jpg
/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_02_440332_0003.jpg
/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_03_001382_0000.jpg
/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_03_001382_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":["1330784476","1330784490","1330784486","1330784480","1330784483","1330784456"],"photo_ids_order":["1330784456","1330784476","1330784480","1330784483","1330784486","1330784490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65f3084e7e9621bc3d5182c0259670ab.jpg","text":"TemporaryFile(/tmp/multipartBody6449071242296469147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619899161,"filename":"image_23012025_09_09_02_440332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd7890dd5ac90fca7d1f43849413a9ad.jpg","text":"TemporaryFile(/tmp/multipartBody2807176357202988358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619899161,"filename":"image_23012025_09_10_03_001382_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77ff705da81365b4eb6115768755ce5e.jpg","text":"TemporaryFile(/tmp/multipartBody1077137060523255247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619899161,"filename":"image_23012025_09_10_03_001382_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45cf104a790dfb2e9ccf61aa23ab4eff.jpg","text":"TemporaryFile(/tmp/multipartBody1584962095176819510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619899161,"filename":"image_23012025_09_09_02_440332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b758d49579f5f8ec69497d69343b21d8.jpg","text":"TemporaryFile(/tmp/multipartBody385325862227551250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619899161,"filename":"image_23012025_09_09_02_440332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58f89fc3503ed877c24c3ec135747a10.jpg","text":"TemporaryFile(/tmp/multipartBody6672301543759406184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619899161,"filename":"image_23012025_09_08_02_833585_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330784480","file1":"1330784476","file0":"1330784456","file4":"1330784486","file5":"1330784490","file3":"1330784483"},"map_files_photo_id_array":[{"photo_id":"1330784490","filename":"file5"},{"photo_id":"1330784480","filename":"file2"},{"photo_id":"1330784486","filename":"file4"},{"photo_id":"1330784476","filename":"file1"},{"photo_id":"1330784456","filename":"file0"},{"photo_id":"1330784483","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330784476":["hashtag1","hashtag2"]},{"1330784490":["hashtag1","hashtag2"]},{"1330784486":["hashtag1","hashtag2"]},{"1330784480":["hashtag1","hashtag2"]},{"1330784483":["hashtag1","hashtag2"]},{"1330784456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330784476, 1330784490, 1330784486, 1330784480, 1330784483, 1330784456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.45425319671631 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:12:02.747430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_03_001382_0002.jpg', '/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_03_001382_0003.jpg', '/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_02_628083_0000.jpg', '/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_02_628083_0001.jpg', '/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_02_628083_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_03_001382_0002.jpg
/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_03_001382_0003.jpg
/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_02_628083_0000.jpg
/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_02_628083_0001.jpg
/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_02_628083_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330784557","1330784544","1330784553","1330784541","1330784537"],"photo_ids_order":["1330784537","1330784541","1330784544","1330784553","1330784557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6ff71bdc241d90f95cf0f519269576a.jpg","text":"TemporaryFile(/tmp/multipartBody4693451028988854879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619996949,"filename":"image_23012025_09_11_02_628083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65667ea1568baf4456338b7aa527ff66.jpg","text":"TemporaryFile(/tmp/multipartBody5598713576712730266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619996949,"filename":"image_23012025_09_11_02_628083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7bf99f8491f76a9dbcb656bca6960a4.jpg","text":"TemporaryFile(/tmp/multipartBody1140203975098339003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619996949,"filename":"image_23012025_09_11_02_628083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91bba5ad0960c815f6f8c36b5f3e5b0b.jpg","text":"TemporaryFile(/tmp/multipartBody3455709149796015284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619996949,"filename":"image_23012025_09_10_03_001382_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f801628c277353686e9d6019be27af3f.jpg","text":"TemporaryFile(/tmp/multipartBody5771717377380479439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619996949,"filename":"image_23012025_09_10_03_001382_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330784544","file1":"1330784541","file0":"1330784537","file4":"1330784557","file3":"1330784553"},"map_files_photo_id_array":[{"photo_id":"1330784544","filename":"file2"},{"photo_id":"1330784557","filename":"file4"},{"photo_id":"1330784541","filename":"file1"},{"photo_id":"1330784537","filename":"file0"},{"photo_id":"1330784553","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330784557":["hashtag1","hashtag2"]},{"1330784544":["hashtag1","hashtag2"]},{"1330784553":["hashtag1","hashtag2"]},{"1330784541":["hashtag1","hashtag2"]},{"1330784537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330784557, 1330784544, 1330784553, 1330784541, 1330784537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.662644386291504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:13:02.496002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_02_628083_0003.jpg', '/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_02_160264_0000.jpg', '/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_02_160264_0001.jpg', '/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_02_160264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_02_628083_0003.jpg
/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_02_160264_0000.jpg
/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_02_160264_0001.jpg
/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_02_160264_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.137816905975342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:13:21.767149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_02_628083_0003.jpg', '/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_02_160264_0000.jpg', '/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_02_160264_0001.jpg', '/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_02_160264_0002.jpg', '/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_02_160264_0003.jpg', '/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_02_661441_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_02_628083_0003.jpg
/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_02_160264_0000.jpg
/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_02_160264_0001.jpg
/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_02_160264_0002.jpg
/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_02_160264_0003.jpg
/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_02_661441_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330784692","1330784647","1330784661","1330784742","1330784732","1330784729"],"photo_ids_order":["1330784647","1330784661","1330784692","1330784729","1330784732","1330784742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83ddbe8da829d4869e4b0ab6867b4376.jpg","text":"TemporaryFile(/tmp/multipartBody2540200630936762267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620078603,"filename":"image_23012025_09_12_02_160264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b3adf78c03ca2234a22fc564de0d412.jpg","text":"TemporaryFile(/tmp/multipartBody9103266424305841332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620078603,"filename":"image_23012025_09_11_02_628083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a30a365fadfa0eaa866fd2d76cfcf01.jpg","text":"TemporaryFile(/tmp/multipartBody4404862352219962459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620078603,"filename":"image_23012025_09_12_02_160264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e86dc2083a21a84545d05d8319147640.jpg","text":"TemporaryFile(/tmp/multipartBody3550559941043054367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620078603,"filename":"image_23012025_09_13_02_661441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/251062b3f95b97c22ea744ceec0c7acd.jpg","text":"TemporaryFile(/tmp/multipartBody5794395374216414192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620078603,"filename":"image_23012025_09_12_02_160264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e5de5624455e6a2107a60cf02020b59.jpg","text":"TemporaryFile(/tmp/multipartBody3768901165995183172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620078603,"filename":"image_23012025_09_12_02_160264_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330784692","file1":"1330784661","file0":"1330784647","file4":"1330784732","file5":"1330784742","file3":"1330784729"},"map_files_photo_id_array":[{"photo_id":"1330784742","filename":"file5"},{"photo_id":"1330784692","filename":"file2"},{"photo_id":"1330784732","filename":"file4"},{"photo_id":"1330784661","filename":"file1"},{"photo_id":"1330784647","filename":"file0"},{"photo_id":"1330784729","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330784692":["hashtag1","hashtag2"]},{"1330784647":["hashtag1","hashtag2"]},{"1330784661":["hashtag1","hashtag2"]},{"1330784742":["hashtag1","hashtag2"]},{"1330784732":["hashtag1","hashtag2"]},{"1330784729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330784692, 1330784647, 1330784661, 1330784742, 1330784732, 1330784729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.238256216049194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:14:22.531571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_02_661441_0001.jpg', '/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_02_661441_0002.jpg', '/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_02_661441_0003.jpg', '/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_02_157763_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_02_661441_0001.jpg
/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_02_661441_0002.jpg
/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_02_661441_0003.jpg
/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_02_157763_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: 11.05893325805664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:15:02.706428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_02_661441_0001.jpg', '/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_02_661441_0002.jpg', '/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_02_661441_0003.jpg', '/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_02_157763_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_02_661441_0001.jpg
/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_02_661441_0002.jpg
/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_02_661441_0003.jpg
/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_02_157763_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330784909","1330784896","1330784889","1330784913"],"photo_ids_order":["1330784889","1330784896","1330784909","1330784913"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0aa251fb647cc3feaaa9fab8ea8b41d5.jpg","text":"TemporaryFile(/tmp/multipartBody6911075609725196461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620174213,"filename":"image_23012025_09_13_02_661441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20e43a73b29792ebc9fcf2da492cccec.jpg","text":"TemporaryFile(/tmp/multipartBody3940936392037695028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620174213,"filename":"image_23012025_09_13_02_661441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f0d7256b052a49cc5f2e8078b486c10.jpg","text":"TemporaryFile(/tmp/multipartBody7505272167207209834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620174213,"filename":"image_23012025_09_13_02_661441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a02805cd449469e02cb37d90a678f41.jpg","text":"TemporaryFile(/tmp/multipartBody9067584612850541413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620174213,"filename":"image_23012025_09_14_02_157763_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330784909","file1":"1330784896","file0":"1330784889","file3":"1330784913"},"map_files_photo_id_array":[{"photo_id":"1330784909","filename":"file2"},{"photo_id":"1330784896","filename":"file1"},{"photo_id":"1330784889","filename":"file0"},{"photo_id":"1330784913","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330784909":["hashtag1","hashtag2"]},{"1330784896":["hashtag1","hashtag2"]},{"1330784889":["hashtag1","hashtag2"]},{"1330784913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330784909, 1330784896, 1330784889, 1330784913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.80368447303772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:16:02.985240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_02_157763_0002.jpg', '/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_02_843507_0001.jpg', '/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_02_843507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_02_157763_0002.jpg
/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_02_843507_0001.jpg
/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_02_843507_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.393042802810669 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:16:22.573124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_02_157763_0002.jpg', '/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_02_843507_0001.jpg', '/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_02_843507_0002.jpg', '/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_02_843507_0003.jpg', '/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_02_374785_0000.jpg', '/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_02_374785_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_02_157763_0002.jpg
/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_02_843507_0001.jpg
/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_02_843507_0002.jpg
/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_02_843507_0003.jpg
/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_02_374785_0000.jpg
/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_02_374785_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":["1330785235","1330785238","1330785183","1330785141","1330785257","1330785215"],"photo_ids_order":["1330785141","1330785183","1330785215","1330785235","1330785238","1330785257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/534776b05ab713a426f4d4fc2bf014cc.jpg","text":"TemporaryFile(/tmp/multipartBody8140481647580763572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620259428,"filename":"image_23012025_09_15_02_843507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8bdd31145309bb6fa466c3b605265ac.jpg","text":"TemporaryFile(/tmp/multipartBody7837478982223363107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620259428,"filename":"image_23012025_09_16_02_374785_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/743bc8f0856955c6f3bb578e669b2ed5.jpg","text":"TemporaryFile(/tmp/multipartBody8066081520591572892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620259428,"filename":"image_23012025_09_15_02_843507_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b77e210528578cee4bdfdbf78243171.jpg","text":"TemporaryFile(/tmp/multipartBody612388862956858615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620259428,"filename":"image_23012025_09_14_02_157763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fae7101989bc946189e3976852e2a234.jpg","text":"TemporaryFile(/tmp/multipartBody5734063517870251804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620259428,"filename":"image_23012025_09_16_02_374785_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/084c1dd2220fb221b7c18542b1ea3397.jpg","text":"TemporaryFile(/tmp/multipartBody1591959542511618135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620259428,"filename":"image_23012025_09_15_02_843507_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330785215","file1":"1330785183","file0":"1330785141","file4":"1330785238","file5":"1330785257","file3":"1330785235"},"map_files_photo_id_array":[{"photo_id":"1330785257","filename":"file5"},{"photo_id":"1330785215","filename":"file2"},{"photo_id":"1330785238","filename":"file4"},{"photo_id":"1330785183","filename":"file1"},{"photo_id":"1330785141","filename":"file0"},{"photo_id":"1330785235","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330785235":["hashtag1","hashtag2"]},{"1330785238":["hashtag1","hashtag2"]},{"1330785183":["hashtag1","hashtag2"]},{"1330785141":["hashtag1","hashtag2"]},{"1330785257":["hashtag1","hashtag2"]},{"1330785215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330785235, 1330785238, 1330785183, 1330785141, 1330785257, 1330785215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.44602656364441 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:18:02.990680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_02_374785_0002.jpg', '/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_02_374785_0003.jpg', '/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_02_995000_0000.jpg', '/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_02_995000_0001.jpg', '/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_02_995000_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_02_374785_0002.jpg
/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_02_374785_0003.jpg
/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_02_995000_0000.jpg
/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_02_995000_0001.jpg
/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_02_995000_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330785346","1330785331","1330785325","1330785319","1330785341"],"photo_ids_order":["1330785319","1330785325","1330785331","1330785341","1330785346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73e0fc83df7b55ecf37ede8008526d7b.jpg","text":"TemporaryFile(/tmp/multipartBody695295109528174833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620357165,"filename":"image_23012025_09_17_02_995000_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0dcf37daeeae931c2d074958e88b7570.jpg","text":"TemporaryFile(/tmp/multipartBody4960404303484763673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620357165,"filename":"image_23012025_09_17_02_995000_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a51b7fa0fe2a7ad0056f2335a46dc0b.jpg","text":"TemporaryFile(/tmp/multipartBody5401967613744212811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620357165,"filename":"image_23012025_09_16_02_374785_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6febcc1cc6b6df742750ec2fd1608a6c.jpg","text":"TemporaryFile(/tmp/multipartBody3947940758625591114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620357165,"filename":"image_23012025_09_16_02_374785_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ad2c4e09291415bdca2074dd765cb6a.jpg","text":"TemporaryFile(/tmp/multipartBody8108718649549008630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620357165,"filename":"image_23012025_09_17_02_995000_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330785331","file1":"1330785325","file0":"1330785319","file4":"1330785346","file3":"1330785341"},"map_files_photo_id_array":[{"photo_id":"1330785331","filename":"file2"},{"photo_id":"1330785346","filename":"file4"},{"photo_id":"1330785325","filename":"file1"},{"photo_id":"1330785319","filename":"file0"},{"photo_id":"1330785341","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330785346":["hashtag1","hashtag2"]},{"1330785331":["hashtag1","hashtag2"]},{"1330785325":["hashtag1","hashtag2"]},{"1330785319":["hashtag1","hashtag2"]},{"1330785341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330785346, 1330785331, 1330785325, 1330785319, 1330785341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.93062138557434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:19:02.745193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_02_995000_0003.jpg', '/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_02_517446_0000.jpg', '/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_02_517446_0001.jpg', '/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_02_517446_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_02_995000_0003.jpg
/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_02_517446_0000.jpg
/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_02_517446_0001.jpg
/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_02_517446_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.16977310180664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:19:22.244261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_02_995000_0003.jpg', '/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_02_517446_0000.jpg', '/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_02_517446_0001.jpg', '/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_02_517446_0002.jpg', '/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_02_517446_0003.jpg', '/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_03_001345_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_02_995000_0003.jpg
/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_02_517446_0000.jpg
/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_02_517446_0001.jpg
/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_02_517446_0002.jpg
/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_02_517446_0003.jpg
/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_03_001345_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330785541","1330785550","1330785508","1330785543","1330785504","1330785545"],"photo_ids_order":["1330785504","1330785508","1330785541","1330785543","1330785545","1330785550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3823065cd9801a4b1cf4ea721d9b53d.jpg","text":"TemporaryFile(/tmp/multipartBody6833712336815146883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620439127,"filename":"image_23012025_09_18_02_517446_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69afec8fe4f21b50f8e1aa3f5c1f9096.jpg","text":"TemporaryFile(/tmp/multipartBody438674537039835129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620439127,"filename":"image_23012025_09_19_03_001345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/087792566226f90db7f8b5f02fe29bbf.jpg","text":"TemporaryFile(/tmp/multipartBody8706759977932639132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620439127,"filename":"image_23012025_09_18_02_517446_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5b47707909efdb8860ed94acb3fe05b.jpg","text":"TemporaryFile(/tmp/multipartBody9032697797711206406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620439127,"filename":"image_23012025_09_18_02_517446_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dad40cc660907fbe0074d38da3b5da22.jpg","text":"TemporaryFile(/tmp/multipartBody141796342413812057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620439127,"filename":"image_23012025_09_17_02_995000_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43c0b564d505363e5d3ac0b219ba4109.jpg","text":"TemporaryFile(/tmp/multipartBody8861659655788440233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620439127,"filename":"image_23012025_09_18_02_517446_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330785541","file1":"1330785508","file0":"1330785504","file4":"1330785545","file5":"1330785550","file3":"1330785543"},"map_files_photo_id_array":[{"photo_id":"1330785550","filename":"file5"},{"photo_id":"1330785541","filename":"file2"},{"photo_id":"1330785545","filename":"file4"},{"photo_id":"1330785508","filename":"file1"},{"photo_id":"1330785504","filename":"file0"},{"photo_id":"1330785543","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330785541":["hashtag1","hashtag2"]},{"1330785550":["hashtag1","hashtag2"]},{"1330785508":["hashtag1","hashtag2"]},{"1330785543":["hashtag1","hashtag2"]},{"1330785504":["hashtag1","hashtag2"]},{"1330785545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330785541, 1330785550, 1330785508, 1330785543, 1330785504, 1330785545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.904528856277466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:20:21.782626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_03_001345_0001.jpg', '/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_03_001345_0003.jpg', '/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_02_502274_0000.jpg', '/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_02_502274_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_03_001345_0001.jpg
/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_03_001345_0003.jpg
/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_02_502274_0000.jpg
/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_02_502274_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330785637","1330785585","1330785588","1330785639"],"photo_ids_order":["1330785585","1330785588","1330785637","1330785639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fd25b5ae83d8cfc4995df4dd996ef4e.jpg","text":"TemporaryFile(/tmp/multipartBody5045123930278723053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620493229,"filename":"image_23012025_09_20_02_502274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a65d5c9bf3dbae8260948054bd92b49.jpg","text":"TemporaryFile(/tmp/multipartBody2252657648512075716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620493229,"filename":"image_23012025_09_19_03_001345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ecad8d6795d7431e824093545ee3c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1211681151396115177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620493229,"filename":"image_23012025_09_19_03_001345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/921bf0f6a3d3dc3dae6f9b9c4e8857bf.jpg","text":"TemporaryFile(/tmp/multipartBody8469905187298952993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620493229,"filename":"image_23012025_09_20_02_502274_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330785637","file1":"1330785588","file0":"1330785585","file3":"1330785639"},"map_files_photo_id_array":[{"photo_id":"1330785637","filename":"file2"},{"photo_id":"1330785588","filename":"file1"},{"photo_id":"1330785585","filename":"file0"},{"photo_id":"1330785639","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330785637":["hashtag1","hashtag2"]},{"1330785585":["hashtag1","hashtag2"]},{"1330785588":["hashtag1","hashtag2"]},{"1330785639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330785637, 1330785585, 1330785588, 1330785639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.20887494087219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:21:22.245611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_02_502274_0003.jpg', '/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_02_122158_0000.jpg', '/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_02_122158_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_02_502274_0003.jpg
/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_02_122158_0000.jpg
/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_02_122158_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330785671","1330785673","1330785667"],"photo_ids_order":["1330785667","1330785671","1330785673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44fbfbdc30919d26a6221a91ffdce8b5.jpg","text":"TemporaryFile(/tmp/multipartBody8755698215836581806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620550992,"filename":"image_23012025_09_21_02_122158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73c56fa528e48c7e63b0badee2577351.jpg","text":"TemporaryFile(/tmp/multipartBody1073669870853441815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620550992,"filename":"image_23012025_09_21_02_122158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7701ffdca3cc19e87378749d0d9b30a.jpg","text":"TemporaryFile(/tmp/multipartBody3771252941793639375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620550992,"filename":"image_23012025_09_20_02_502274_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330785673","file1":"1330785671","file0":"1330785667"},"map_files_photo_id_array":[{"photo_id":"1330785673","filename":"file2"},{"photo_id":"1330785671","filename":"file1"},{"photo_id":"1330785667","filename":"file0"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330785671":["hashtag1","hashtag2"]},{"1330785673":["hashtag1","hashtag2"]},{"1330785667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330785671, 1330785673, 1330785667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.509438037872314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:22:02.207954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0000.jpg', '/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0001.jpg', '/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0002.jpg', '/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0003.jpg', '/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0000.jpg', '/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0000.jpg
/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0001.jpg
/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0002.jpg
/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0003.jpg
/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0000.jpg
/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.4965603351593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:22:21.821496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_02_122158_0003.jpg', '/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_02_667559_0001.jpg', '/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_02_667559_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_02_122158_0003.jpg
/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_02_667559_0001.jpg
/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_02_667559_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330785700","1330785694","1330785688"],"photo_ids_order":["1330785688","1330785694","1330785700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2074c5a8ab3705f0f5e5b2467558fda.jpg","text":"TemporaryFile(/tmp/multipartBody2124728638121998057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620610555,"filename":"image_23012025_09_22_02_667559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a8833c5d702a3ee75b8e5254738503f.jpg","text":"TemporaryFile(/tmp/multipartBody8815249403919439490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620610555,"filename":"image_23012025_09_22_02_667559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68ee2777ccc98ff05a64f81e24cced7a.jpg","text":"TemporaryFile(/tmp/multipartBody6780545480005739751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620610555,"filename":"image_23012025_09_21_02_122158_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330785700","file1":"1330785694","file0":"1330785688"},"map_files_photo_id_array":[{"photo_id":"1330785700","filename":"file2"},{"photo_id":"1330785694","filename":"file1"},{"photo_id":"1330785688","filename":"file0"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330785700":["hashtag1","hashtag2"]},{"1330785694":["hashtag1","hashtag2"]},{"1330785688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330785700, 1330785694, 1330785688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.898332834243774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:23:02.962961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0000.jpg', '/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0001.jpg', '/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0002.jpg', '/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0003.jpg', '/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0000.jpg', '/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0000.jpg
/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0001.jpg
/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0002.jpg
/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0003.jpg
/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0000.jpg
/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.375303268432617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:23:22.302494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_02_667559_0003.jpg', '/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_02_160120_0000.jpg', '/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_02_160120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_02_667559_0003.jpg
/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_02_160120_0000.jpg
/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_02_160120_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330785718","1330785726","1330785722"],"photo_ids_order":["1330785718","1330785722","1330785726"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d60dd99d4ac1d3adafa660a0d08f9b3c.jpg","text":"TemporaryFile(/tmp/multipartBody7089309332173157060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620671037,"filename":"image_23012025_09_22_02_667559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de6113a91dc416a6782c1ebc84687dfa.jpg","text":"TemporaryFile(/tmp/multipartBody6605886558841764157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620671037,"filename":"image_23012025_09_23_02_160120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0da528ca54d3a29cc4b9ebebda3e6650.jpg","text":"TemporaryFile(/tmp/multipartBody2189336468145858588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620671037,"filename":"image_23012025_09_23_02_160120_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330785726","file1":"1330785722","file0":"1330785718"},"map_files_photo_id_array":[{"photo_id":"1330785726","filename":"file2"},{"photo_id":"1330785722","filename":"file1"},{"photo_id":"1330785718","filename":"file0"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330785718":["hashtag1","hashtag2"]},{"1330785726":["hashtag1","hashtag2"]},{"1330785722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330785718, 1330785726, 1330785722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.850468397140503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:24:02.350955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0000.jpg', '/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0001.jpg', '/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0002.jpg', '/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0003.jpg', '/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0000.jpg', '/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0000.jpg
/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0001.jpg
/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0002.jpg
/home/pi/Desktop/images/21012025/18/40/image_21012025_18_40_02_883494_0003.jpg
/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0000.jpg
/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330785811","1330785805","1330785808","1330785783","1330785824","1330785803"],"photo_ids_order":["1330785783","1330785803","1330785805","1330785808","1330785811","1330785824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/749882d94b61cde444abd3931b2290c0.jpg","text":"TemporaryFile(/tmp/multipartBody4475144271979159199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620720075,"filename":"image_21012025_18_41_03_076375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88a59ab71fd70d28affb842e863c0ebc.jpg","text":"TemporaryFile(/tmp/multipartBody2007946226017414970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620720075,"filename":"image_21012025_18_40_02_883494_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33d1e8897d259afd6b8bb3a511a62c04.jpg","text":"TemporaryFile(/tmp/multipartBody8294260749998678167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620720075,"filename":"image_21012025_18_40_02_883494_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc6137b4adcd0c34af5afcfaaf291c5e.jpg","text":"TemporaryFile(/tmp/multipartBody6781907901799343083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620720075,"filename":"image_21012025_18_40_02_883494_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4475d05b8d14a9bf4540b597718d7a3.jpg","text":"TemporaryFile(/tmp/multipartBody6599327049364074252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620720075,"filename":"image_21012025_18_41_03_076375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b462040f6e21f9ebd4c69f0b8580725d.jpg","text":"TemporaryFile(/tmp/multipartBody4742449025457339500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620720075,"filename":"image_21012025_18_40_02_883494_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330785805","file1":"1330785803","file0":"1330785783","file4":"1330785811","file5":"1330785824","file3":"1330785808"},"map_files_photo_id_array":[{"photo_id":"1330785824","filename":"file5"},{"photo_id":"1330785805","filename":"file2"},{"photo_id":"1330785811","filename":"file4"},{"photo_id":"1330785803","filename":"file1"},{"photo_id":"1330785783","filename":"file0"},{"photo_id":"1330785808","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330785811":["hashtag1","hashtag2"]},{"1330785805":["hashtag1","hashtag2"]},{"1330785808":["hashtag1","hashtag2"]},{"1330785783":["hashtag1","hashtag2"]},{"1330785824":["hashtag1","hashtag2"]},{"1330785803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330785811, 1330785805, 1330785808, 1330785783, 1330785824, 1330785803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.52588367462158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:25:03.103970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_02_160120_0003.jpg', '/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_02_648610_0000.jpg', '/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_02_648610_0001.jpg', '/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_02_648610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_02_160120_0003.jpg
/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_02_648610_0000.jpg
/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_02_648610_0001.jpg
/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_02_648610_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330785895","1330785904","1330785923","1330785932"],"photo_ids_order":["1330785895","1330785904","1330785923","1330785932"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/277f873d1619409ea83d33b5f52a153b.jpg","text":"TemporaryFile(/tmp/multipartBody8609932875987282684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620774611,"filename":"image_23012025_09_23_02_160120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9645c5574d958e53b6b15bd36c8ad733.jpg","text":"TemporaryFile(/tmp/multipartBody425259553651346328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620774611,"filename":"image_23012025_09_24_02_648610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73f5b94cd22b7c232ea10bf610388e9f.jpg","text":"TemporaryFile(/tmp/multipartBody5781451407885111423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620774611,"filename":"image_23012025_09_24_02_648610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3df4f6b69051a275922c03d1db49c0fd.jpg","text":"TemporaryFile(/tmp/multipartBody8292664723080875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620774611,"filename":"image_23012025_09_24_02_648610_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330785923","file1":"1330785904","file0":"1330785895","file3":"1330785932"},"map_files_photo_id_array":[{"photo_id":"1330785923","filename":"file2"},{"photo_id":"1330785904","filename":"file1"},{"photo_id":"1330785895","filename":"file0"},{"photo_id":"1330785932","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330785895":["hashtag1","hashtag2"]},{"1330785904":["hashtag1","hashtag2"]},{"1330785923":["hashtag1","hashtag2"]},{"1330785932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330785895, 1330785904, 1330785923, 1330785932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.06831908226013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:26:02.401707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_02_648610_0003.jpg', '/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_02_242932_0000.jpg', '/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_02_242932_0001.jpg', '/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_02_242932_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_02_648610_0003.jpg
/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_02_242932_0000.jpg
/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_02_242932_0001.jpg
/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_02_242932_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330786042","1330786041","1330786044","1330786046"],"photo_ids_order":["1330786041","1330786042","1330786044","1330786046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/742f1577de58deaaf7b13961237359e0.jpg","text":"TemporaryFile(/tmp/multipartBody6914820593490910984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620833885,"filename":"image_23012025_09_25_02_242932_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f40597a8f762b67e0e3e6066c43be537.jpg","text":"TemporaryFile(/tmp/multipartBody2433284500135156452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620833885,"filename":"image_23012025_09_24_02_648610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/355f3f5fea574a8f5bdc5309f2a47291.jpg","text":"TemporaryFile(/tmp/multipartBody1659182468567304954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620833885,"filename":"image_23012025_09_25_02_242932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1705ff195795df61b6bdf7ea4d12324b.jpg","text":"TemporaryFile(/tmp/multipartBody6732928030574021860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620833885,"filename":"image_23012025_09_25_02_242932_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330786044","file1":"1330786042","file0":"1330786041","file3":"1330786046"},"map_files_photo_id_array":[{"photo_id":"1330786044","filename":"file2"},{"photo_id":"1330786042","filename":"file1"},{"photo_id":"1330786041","filename":"file0"},{"photo_id":"1330786046","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330786042":["hashtag1","hashtag2"]},{"1330786041":["hashtag1","hashtag2"]},{"1330786044":["hashtag1","hashtag2"]},{"1330786046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330786042, 1330786041, 1330786044, 1330786046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09028625488281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:27:03.177212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_02_242932_0003.jpg', '/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_02_772740_0000.jpg', '/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_02_772740_0001.jpg', '/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_02_772740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_02_242932_0003.jpg
/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_02_772740_0000.jpg
/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_02_772740_0001.jpg
/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_02_772740_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.444311380386353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:27:22.539649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_02_242932_0003.jpg', '/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_02_772740_0000.jpg', '/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_02_772740_0001.jpg', '/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_02_772740_0002.jpg', '/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_02_772740_0003.jpg', '/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_02_375362_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_02_242932_0003.jpg
/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_02_772740_0000.jpg
/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_02_772740_0001.jpg
/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_02_772740_0002.jpg
/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_02_772740_0003.jpg
/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_02_375362_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330786333","1330786300","1330786289","1330786325","1330786454","1330786330"],"photo_ids_order":["1330786289","1330786300","1330786325","1330786330","1330786333","1330786454"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a6df608d6fafc8fe857fd174e5aa79b.jpg","text":"TemporaryFile(/tmp/multipartBody4629586962091673005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620918421,"filename":"image_23012025_09_26_02_772740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6165c442fc66f4b3c306482bb1395654.jpg","text":"TemporaryFile(/tmp/multipartBody5553925729377903144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620918421,"filename":"image_23012025_09_26_02_772740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84966f3fbbfd903cfa5b9347de1348de.jpg","text":"TemporaryFile(/tmp/multipartBody6832130919162757028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620918421,"filename":"image_23012025_09_25_02_242932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c602418738d640840284b2a5001dd318.jpg","text":"TemporaryFile(/tmp/multipartBody5076161290506418596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620918421,"filename":"image_23012025_09_26_02_772740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a26b20d51070788c9097c1689057f603.jpg","text":"TemporaryFile(/tmp/multipartBody3484385804500686776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620918421,"filename":"image_23012025_09_27_02_375362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b5abd8acb0d33cbb4d8be854a370dc4.jpg","text":"TemporaryFile(/tmp/multipartBody8615443489968616403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620918421,"filename":"image_23012025_09_26_02_772740_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330786325","file1":"1330786300","file0":"1330786289","file4":"1330786333","file5":"1330786454","file3":"1330786330"},"map_files_photo_id_array":[{"photo_id":"1330786454","filename":"file5"},{"photo_id":"1330786325","filename":"file2"},{"photo_id":"1330786333","filename":"file4"},{"photo_id":"1330786300","filename":"file1"},{"photo_id":"1330786289","filename":"file0"},{"photo_id":"1330786330","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330786333":["hashtag1","hashtag2"]},{"1330786300":["hashtag1","hashtag2"]},{"1330786289":["hashtag1","hashtag2"]},{"1330786325":["hashtag1","hashtag2"]},{"1330786454":["hashtag1","hashtag2"]},{"1330786330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330786333, 1330786300, 1330786289, 1330786325, 1330786454, 1330786330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.06747102737427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:28:22.207417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_02_375362_0001.jpg', '/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_02_375362_0002.jpg', '/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_02_375362_0003.jpg', '/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_02_910114_0000.jpg', '/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_02_910114_0001.jpg', '/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_02_910114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_02_375362_0001.jpg
/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_02_375362_0002.jpg
/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_02_375362_0003.jpg
/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_02_910114_0000.jpg
/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_02_910114_0001.jpg
/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_02_910114_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330786510","1330786507","1330786501","1330786470","1330786475","1330786534"],"photo_ids_order":["1330786470","1330786475","1330786501","1330786507","1330786510","1330786534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23dd27e46cda4908f6c4983f266e5ee0.jpg","text":"TemporaryFile(/tmp/multipartBody3743197772265128684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620978766,"filename":"image_23012025_09_28_02_910114_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f8cf358b7c0bfd87a6ded241db4d457.jpg","text":"TemporaryFile(/tmp/multipartBody1743517586101757887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620978766,"filename":"image_23012025_09_28_02_910114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6caf10624420ed8bc43414852bbbd29.jpg","text":"TemporaryFile(/tmp/multipartBody5607807231476085803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620978766,"filename":"image_23012025_09_27_02_375362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b89d085f4ba5fde50f96c6c5e2dc7ad8.jpg","text":"TemporaryFile(/tmp/multipartBody3871324500467385410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620978766,"filename":"image_23012025_09_27_02_375362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0013ac1ef279fa2a0882fcff2c4f6c80.jpg","text":"TemporaryFile(/tmp/multipartBody3524963326454818174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620978766,"filename":"image_23012025_09_27_02_375362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fd65b5e8e730d7c11a23cf57d03a7a4.jpg","text":"TemporaryFile(/tmp/multipartBody2367740274821393107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620978766,"filename":"image_23012025_09_28_02_910114_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330786501","file1":"1330786475","file0":"1330786470","file4":"1330786510","file5":"1330786534","file3":"1330786507"},"map_files_photo_id_array":[{"photo_id":"1330786534","filename":"file5"},{"photo_id":"1330786501","filename":"file2"},{"photo_id":"1330786510","filename":"file4"},{"photo_id":"1330786475","filename":"file1"},{"photo_id":"1330786470","filename":"file0"},{"photo_id":"1330786507","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330786510":["hashtag1","hashtag2"]},{"1330786507":["hashtag1","hashtag2"]},{"1330786501":["hashtag1","hashtag2"]},{"1330786470":["hashtag1","hashtag2"]},{"1330786475":["hashtag1","hashtag2"]},{"1330786534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330786510, 1330786507, 1330786501, 1330786470, 1330786475, 1330786534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.30996608734131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:29:22.697041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_02_910114_0003.jpg', '/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_02_582462_0000.jpg', '/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_02_582462_0001.jpg', '/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_02_582462_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_02_910114_0003.jpg
/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_02_582462_0000.jpg
/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_02_582462_0001.jpg
/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_02_582462_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330786562","1330786567","1330786552","1330786558"],"photo_ids_order":["1330786552","1330786558","1330786562","1330786567"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7771455a1a4c38dbe3b775413a05f4fd.jpg","text":"TemporaryFile(/tmp/multipartBody8783095812871517152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621033847,"filename":"image_23012025_09_29_02_582462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/993aec0c9687a951e1d497892add4428.jpg","text":"TemporaryFile(/tmp/multipartBody5675171218711680750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621033847,"filename":"image_23012025_09_29_02_582462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c080eee194c7b01c47413ed5b5d5c78c.jpg","text":"TemporaryFile(/tmp/multipartBody8688437198639616041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621033847,"filename":"image_23012025_09_28_02_910114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12e7ca7fad2d8d6095c55c6c265be308.jpg","text":"TemporaryFile(/tmp/multipartBody7961919060847718282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621033847,"filename":"image_23012025_09_29_02_582462_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330786562","file1":"1330786558","file0":"1330786552","file3":"1330786567"},"map_files_photo_id_array":[{"photo_id":"1330786562","filename":"file2"},{"photo_id":"1330786558","filename":"file1"},{"photo_id":"1330786552","filename":"file0"},{"photo_id":"1330786567","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330786562":["hashtag1","hashtag2"]},{"1330786567":["hashtag1","hashtag2"]},{"1330786552":["hashtag1","hashtag2"]},{"1330786558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330786562, 1330786567, 1330786552, 1330786558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81849527359009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:30:22.283267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_02_582462_0003.jpg', '/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_03_093537_0000.jpg', '/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_03_093537_0001.jpg', '/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_03_093537_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_02_582462_0003.jpg
/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_03_093537_0000.jpg
/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_03_093537_0001.jpg
/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_03_093537_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330786611","1330786623","1330786619","1330786628"],"photo_ids_order":["1330786611","1330786619","1330786623","1330786628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f67a9b4e2123ede66fc218dfb0fca8a.jpg","text":"TemporaryFile(/tmp/multipartBody5119694768111261912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621093362,"filename":"image_23012025_09_29_02_582462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2fa8c4008b5698e4aa6a84b74b085782.jpg","text":"TemporaryFile(/tmp/multipartBody382475124777993528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621093362,"filename":"image_23012025_09_30_03_093537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/48d7349d3008c205ae4998aaf662a150.jpg","text":"TemporaryFile(/tmp/multipartBody2393430768273714262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621093362,"filename":"image_23012025_09_30_03_093537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bb0f6e7cae71596694bf5b19487d819.jpg","text":"TemporaryFile(/tmp/multipartBody8783051980728539462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621093362,"filename":"image_23012025_09_30_03_093537_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330786623","file1":"1330786619","file0":"1330786611","file3":"1330786628"},"map_files_photo_id_array":[{"photo_id":"1330786623","filename":"file2"},{"photo_id":"1330786619","filename":"file1"},{"photo_id":"1330786611","filename":"file0"},{"photo_id":"1330786628","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330786611":["hashtag1","hashtag2"]},{"1330786623":["hashtag1","hashtag2"]},{"1330786619":["hashtag1","hashtag2"]},{"1330786628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330786611, 1330786623, 1330786619, 1330786628)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.06570863723755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:31:21.742934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_03_093537_0003.jpg', '/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_02_612287_0000.jpg', '/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_02_612287_0001.jpg', '/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_02_612287_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_03_093537_0003.jpg
/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_02_612287_0000.jpg
/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_02_612287_0001.jpg
/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_02_612287_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330786791","1330786802","1330786805","1330786795"],"photo_ids_order":["1330786791","1330786795","1330786802","1330786805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1cf59d1e570d1392d943c726c13381b5.jpg","text":"TemporaryFile(/tmp/multipartBody7515251991314643581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621152970,"filename":"image_23012025_09_30_03_093537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99ea9cfd30f3da8a19dbf80277c2cfac.jpg","text":"TemporaryFile(/tmp/multipartBody1666067624540112416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621152970,"filename":"image_23012025_09_31_02_612287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee9a2e8ba5b3515eb77c16c057a820fc.jpg","text":"TemporaryFile(/tmp/multipartBody8218049801030569666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621152970,"filename":"image_23012025_09_31_02_612287_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46b00f675c85b4954224c89c6e550323.jpg","text":"TemporaryFile(/tmp/multipartBody2926096141084757265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621152970,"filename":"image_23012025_09_31_02_612287_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330786802","file1":"1330786795","file0":"1330786791","file3":"1330786805"},"map_files_photo_id_array":[{"photo_id":"1330786802","filename":"file2"},{"photo_id":"1330786795","filename":"file1"},{"photo_id":"1330786791","filename":"file0"},{"photo_id":"1330786805","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330786791":["hashtag1","hashtag2"]},{"1330786802":["hashtag1","hashtag2"]},{"1330786805":["hashtag1","hashtag2"]},{"1330786795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330786791, 1330786802, 1330786805, 1330786795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.078683376312256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:32:22.320506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_02_612287_0003.jpg', '/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_02_166997_0000.jpg', '/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_02_166997_0001.jpg', '/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_02_166997_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_02_612287_0003.jpg
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_02_166997_0000.jpg
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_02_166997_0001.jpg
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_02_166997_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.188560485839844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:33:02.385797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_02_612287_0003.jpg', '/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_02_166997_0000.jpg', '/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_02_166997_0001.jpg', '/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_02_166997_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_02_612287_0003.jpg
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_02_166997_0000.jpg
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_02_166997_0001.jpg
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_02_166997_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330786994","1330786991","1330787000","1330786988"],"photo_ids_order":["1330786988","1330786991","1330786994","1330787000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bef9eb2b1a9bb72419c4b0567fa4d9a9.jpg","text":"TemporaryFile(/tmp/multipartBody82502272889617427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621254025,"filename":"image_23012025_09_32_02_166997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04236093c238c1c8db61f2f009a52859.jpg","text":"TemporaryFile(/tmp/multipartBody5725116748553287036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621254025,"filename":"image_23012025_09_32_02_166997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bdecbd3afc2c8b026aa89cf577bdf37.jpg","text":"TemporaryFile(/tmp/multipartBody7399303524935535258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621254025,"filename":"image_23012025_09_32_02_166997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39801a2daaf0ec0da5c5ae7ee05185f8.jpg","text":"TemporaryFile(/tmp/multipartBody4327580300479092694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621254025,"filename":"image_23012025_09_31_02_612287_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330786994","file1":"1330786991","file0":"1330786988","file3":"1330787000"},"map_files_photo_id_array":[{"photo_id":"1330786994","filename":"file2"},{"photo_id":"1330786991","filename":"file1"},{"photo_id":"1330786988","filename":"file0"},{"photo_id":"1330787000","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330786994":["hashtag1","hashtag2"]},{"1330786991":["hashtag1","hashtag2"]},{"1330787000":["hashtag1","hashtag2"]},{"1330786988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330786994, 1330786991, 1330787000, 1330786988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.102349042892456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:34:02.909081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_02_166997_0003.jpg', '/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_02_672994_0000.jpg', '/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_02_672994_0001.jpg', '/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_02_672994_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_02_166997_0003.jpg
/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_02_672994_0000.jpg
/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_02_672994_0001.jpg
/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_02_672994_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330787084","1330787150","1330787144","1330787155"],"photo_ids_order":["1330787084","1330787144","1330787150","1330787155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/350f2deb4e16b290edde85f14264e907.jpg","text":"TemporaryFile(/tmp/multipartBody739827056518812696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621314391,"filename":"image_23012025_09_32_02_166997_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e81d88cd9ec9bc68d201a12d5cf155f.jpg","text":"TemporaryFile(/tmp/multipartBody1013997753673247320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621314391,"filename":"image_23012025_09_33_02_672994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22a0a9c919d4064b5a989419d791233d.jpg","text":"TemporaryFile(/tmp/multipartBody4807407152222750970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621314391,"filename":"image_23012025_09_33_02_672994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b0fda218e1678df586beb7b8bdfb808.jpg","text":"TemporaryFile(/tmp/multipartBody907548342573738409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621314391,"filename":"image_23012025_09_33_02_672994_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330787150","file1":"1330787144","file0":"1330787084","file3":"1330787155"},"map_files_photo_id_array":[{"photo_id":"1330787150","filename":"file2"},{"photo_id":"1330787144","filename":"file1"},{"photo_id":"1330787084","filename":"file0"},{"photo_id":"1330787155","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330787084":["hashtag1","hashtag2"]},{"1330787150":["hashtag1","hashtag2"]},{"1330787144":["hashtag1","hashtag2"]},{"1330787155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330787084, 1330787150, 1330787144, 1330787155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.44535946846008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:35:02.614901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_02_672994_0003.jpg', '/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_02_197701_0000.jpg', '/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_02_197701_0001.jpg', '/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_02_197701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_02_672994_0003.jpg
/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_02_197701_0000.jpg
/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_02_197701_0001.jpg
/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_02_197701_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330787232","1330787217","1330787213","1330787190"],"photo_ids_order":["1330787190","1330787213","1330787217","1330787232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69c03eb745b09337d44f4dce6d07b84f.jpg","text":"TemporaryFile(/tmp/multipartBody1112323379271133850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621374031,"filename":"image_23012025_09_34_02_197701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2988396d9ff7870711e4b75aeeadffc3.jpg","text":"TemporaryFile(/tmp/multipartBody900857378640408508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621374031,"filename":"image_23012025_09_34_02_197701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c7562ea179826a4559551ab346c7224.jpg","text":"TemporaryFile(/tmp/multipartBody3945823210966246728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621374031,"filename":"image_23012025_09_34_02_197701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12c0436e9ffe952f7b9f7bca5372e877.jpg","text":"TemporaryFile(/tmp/multipartBody5301414780832956899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621374031,"filename":"image_23012025_09_33_02_672994_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330787217","file1":"1330787213","file0":"1330787190","file3":"1330787232"},"map_files_photo_id_array":[{"photo_id":"1330787217","filename":"file2"},{"photo_id":"1330787213","filename":"file1"},{"photo_id":"1330787190","filename":"file0"},{"photo_id":"1330787232","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330787232":["hashtag1","hashtag2"]},{"1330787217":["hashtag1","hashtag2"]},{"1330787213":["hashtag1","hashtag2"]},{"1330787190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330787232, 1330787217, 1330787213, 1330787190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12386155128479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:36:02.931146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_02_197701_0003.jpg', '/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_02_859578_0000.jpg', '/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_02_859578_0001.jpg', '/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_02_859578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_02_197701_0003.jpg
/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_02_859578_0000.jpg
/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_02_859578_0001.jpg
/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_02_859578_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330787442","1330787454","1330787433","1330787461"],"photo_ids_order":["1330787433","1330787442","1330787454","1330787461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c870e6c87d17e6e5c3b1358772c83a8.jpg","text":"TemporaryFile(/tmp/multipartBody293892788756551489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621433832,"filename":"image_23012025_09_35_02_859578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28030627e87280941e2f119b7fb547e2.jpg","text":"TemporaryFile(/tmp/multipartBody4573368838369842493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621433832,"filename":"image_23012025_09_35_02_859578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a7c7fc2d2291beae6a5bd4176ee4814.jpg","text":"TemporaryFile(/tmp/multipartBody333206805877927890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621433832,"filename":"image_23012025_09_34_02_197701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e90208dca4f77a5cdcd162b0e9eb724.jpg","text":"TemporaryFile(/tmp/multipartBody3426476622317862686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621433832,"filename":"image_23012025_09_35_02_859578_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330787454","file1":"1330787442","file0":"1330787433","file3":"1330787461"},"map_files_photo_id_array":[{"photo_id":"1330787454","filename":"file2"},{"photo_id":"1330787442","filename":"file1"},{"photo_id":"1330787433","filename":"file0"},{"photo_id":"1330787461","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330787442":["hashtag1","hashtag2"]},{"1330787454":["hashtag1","hashtag2"]},{"1330787433":["hashtag1","hashtag2"]},{"1330787461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330787442, 1330787454, 1330787433, 1330787461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.60110592842102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:37:02.684804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_02_859578_0003.jpg', '/home/pi/Desktop/images/23012025/09/36/image_23012025_09_36_02_378349_0000.jpg', '/home/pi/Desktop/images/23012025/09/36/image_23012025_09_36_02_378349_0001.jpg', '/home/pi/Desktop/images/23012025/09/36/image_23012025_09_36_02_378349_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_02_859578_0003.jpg
/home/pi/Desktop/images/23012025/09/36/image_23012025_09_36_02_378349_0000.jpg
/home/pi/Desktop/images/23012025/09/36/image_23012025_09_36_02_378349_0001.jpg
/home/pi/Desktop/images/23012025/09/36/image_23012025_09_36_02_378349_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330787490","1330787480","1330787483","1330787487"],"photo_ids_order":["1330787480","1330787483","1330787487","1330787490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/022722327c9e40798bfe4bac9d483a06.jpg","text":"TemporaryFile(/tmp/multipartBody7330377775227723155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621494113,"filename":"image_23012025_09_36_02_378349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1c3355e7ba825d5f959b34c19c0786d.jpg","text":"TemporaryFile(/tmp/multipartBody6334651278160096061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621494113,"filename":"image_23012025_09_35_02_859578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d8c5c045d9411bbf507f5adcbc960e5.jpg","text":"TemporaryFile(/tmp/multipartBody501712044598968438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621494113,"filename":"image_23012025_09_36_02_378349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a5f74f6818d881fcf58738a44bc6170.jpg","text":"TemporaryFile(/tmp/multipartBody4199828196151754798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621494113,"filename":"image_23012025_09_36_02_378349_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330787487","file1":"1330787483","file0":"1330787480","file3":"1330787490"},"map_files_photo_id_array":[{"photo_id":"1330787487","filename":"file2"},{"photo_id":"1330787483","filename":"file1"},{"photo_id":"1330787480","filename":"file0"},{"photo_id":"1330787490","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330787490":["hashtag1","hashtag2"]},{"1330787480":["hashtag1","hashtag2"]},{"1330787483":["hashtag1","hashtag2"]},{"1330787487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330787490, 1330787480, 1330787483, 1330787487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.48701763153076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:38:03.132198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/36/image_23012025_09_36_02_378349_0003.jpg', '/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_02_901632_0000.jpg', '/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_02_901632_0001.jpg', '/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_02_901632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/36/image_23012025_09_36_02_378349_0003.jpg
/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_02_901632_0000.jpg
/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_02_901632_0001.jpg
/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_02_901632_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330787514","1330787522","1330787510","1330787518"],"photo_ids_order":["1330787510","1330787514","1330787518","1330787522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92790213ab96b7ef6e74e37360270f37.jpg","text":"TemporaryFile(/tmp/multipartBody527041054738643131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621554338,"filename":"image_23012025_09_37_02_901632_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfb315b614b15306e76f2cdb4ef92bc0.jpg","text":"TemporaryFile(/tmp/multipartBody4175506874777657499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621554338,"filename":"image_23012025_09_37_02_901632_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a83fd2715d9165c732ad6bd0275fd75d.jpg","text":"TemporaryFile(/tmp/multipartBody6054644885803772739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621554338,"filename":"image_23012025_09_36_02_378349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3b75c245b67f08e86d5479932ecd4e5.jpg","text":"TemporaryFile(/tmp/multipartBody291636164597668230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621554338,"filename":"image_23012025_09_37_02_901632_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330787518","file1":"1330787514","file0":"1330787510","file3":"1330787522"},"map_files_photo_id_array":[{"photo_id":"1330787518","filename":"file2"},{"photo_id":"1330787514","filename":"file1"},{"photo_id":"1330787510","filename":"file0"},{"photo_id":"1330787522","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330787514":["hashtag1","hashtag2"]},{"1330787522":["hashtag1","hashtag2"]},{"1330787510":["hashtag1","hashtag2"]},{"1330787518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330787514, 1330787522, 1330787510, 1330787518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.61864137649536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:39:02.703721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_02_901632_0003.jpg', '/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_02_435746_0000.jpg', '/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_02_435746_0001.jpg', '/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_02_435746_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_02_901632_0003.jpg
/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_02_435746_0000.jpg
/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_02_435746_0001.jpg
/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_02_435746_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330787562","1330787570","1330787567","1330787558"],"photo_ids_order":["1330787558","1330787562","1330787567","1330787570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/008ac0640ffb9ac43cf244ae0cc0beb5.jpg","text":"TemporaryFile(/tmp/multipartBody2458966832984579274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621613835,"filename":"image_23012025_09_38_02_435746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9675a2f415663428b69234c015c9780f.jpg","text":"TemporaryFile(/tmp/multipartBody9153725228560194427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621613835,"filename":"image_23012025_09_38_02_435746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e21b810d0562cda7c493344924b95e90.jpg","text":"TemporaryFile(/tmp/multipartBody2561869077260807988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621613835,"filename":"image_23012025_09_38_02_435746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38fa5074c08b7ea9b8c06dc7114b6ee5.jpg","text":"TemporaryFile(/tmp/multipartBody1852631091224881484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621613835,"filename":"image_23012025_09_37_02_901632_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330787567","file1":"1330787562","file0":"1330787558","file3":"1330787570"},"map_files_photo_id_array":[{"photo_id":"1330787567","filename":"file2"},{"photo_id":"1330787562","filename":"file1"},{"photo_id":"1330787558","filename":"file0"},{"photo_id":"1330787570","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330787562":["hashtag1","hashtag2"]},{"1330787570":["hashtag1","hashtag2"]},{"1330787567":["hashtag1","hashtag2"]},{"1330787558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330787562, 1330787570, 1330787567, 1330787558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.88359498977661 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:40:02.116988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_02_435746_0003.jpg', '/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_02_934477_0000.jpg', '/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_02_934477_0001.jpg', '/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_02_934477_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_02_435746_0003.jpg
/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_02_934477_0000.jpg
/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_02_934477_0001.jpg
/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_02_934477_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330787597","1330787591","1330787603","1330787593"],"photo_ids_order":["1330787591","1330787593","1330787597","1330787603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9fd2c2459cc8ffef6d57a20263812e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7685614337761936177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621673305,"filename":"image_23012025_09_39_02_934477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc12dce3bd39e20248ddc2152ade19b6.jpg","text":"TemporaryFile(/tmp/multipartBody5586502966738334594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621673305,"filename":"image_23012025_09_38_02_435746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/236fba1c82d5d9ccc8ae58654609b218.jpg","text":"TemporaryFile(/tmp/multipartBody8041531444766534169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621673305,"filename":"image_23012025_09_39_02_934477_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96544e2f5a45a6954dbd6a006b83ae3c.jpg","text":"TemporaryFile(/tmp/multipartBody3482120022365438047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621673305,"filename":"image_23012025_09_39_02_934477_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330787597","file1":"1330787593","file0":"1330787591","file3":"1330787603"},"map_files_photo_id_array":[{"photo_id":"1330787597","filename":"file2"},{"photo_id":"1330787593","filename":"file1"},{"photo_id":"1330787591","filename":"file0"},{"photo_id":"1330787603","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330787597":["hashtag1","hashtag2"]},{"1330787591":["hashtag1","hashtag2"]},{"1330787603":["hashtag1","hashtag2"]},{"1330787593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330787597, 1330787591, 1330787603, 1330787593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.904743909835815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:41:02.810927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_02_934477_0003.jpg', '/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_02_511526_0000.jpg', '/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_02_511526_0001.jpg', '/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_02_511526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_02_934477_0003.jpg
/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_02_511526_0000.jpg
/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_02_511526_0001.jpg
/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_02_511526_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330787868","1330787873","1330787866","1330787877"],"photo_ids_order":["1330787866","1330787868","1330787873","1330787877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0191ce614655634ddbf5eb682287e3f.jpg","text":"TemporaryFile(/tmp/multipartBody4201739279333055878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621734127,"filename":"image_23012025_09_40_02_511526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8a34ce45aea02d34c13783988d06ae6.jpg","text":"TemporaryFile(/tmp/multipartBody8778140611225149592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621734127,"filename":"image_23012025_09_40_02_511526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a66cbc52012bbceb4ab7e13c615d3feb.jpg","text":"TemporaryFile(/tmp/multipartBody3566551974911746274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621734127,"filename":"image_23012025_09_39_02_934477_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/feeb34b69ef217a397c15641a4120d5f.jpg","text":"TemporaryFile(/tmp/multipartBody3395672486570178670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621734127,"filename":"image_23012025_09_40_02_511526_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330787873","file1":"1330787868","file0":"1330787866","file3":"1330787877"},"map_files_photo_id_array":[{"photo_id":"1330787873","filename":"file2"},{"photo_id":"1330787868","filename":"file1"},{"photo_id":"1330787866","filename":"file0"},{"photo_id":"1330787877","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330787868":["hashtag1","hashtag2"]},{"1330787873":["hashtag1","hashtag2"]},{"1330787866":["hashtag1","hashtag2"]},{"1330787877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330787868, 1330787873, 1330787866, 1330787877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.46716642379761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:42:02.355671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_02_511526_0003.jpg', '/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_02_145700_0000.jpg', '/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_02_145700_0001.jpg', '/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_02_145700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_02_511526_0003.jpg
/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_02_145700_0000.jpg
/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_02_145700_0001.jpg
/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_02_145700_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330787961","1330787955","1330787981","1330788001"],"photo_ids_order":["1330787955","1330787961","1330787981","1330788001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/938cb415d27b6df4b666e123ceb0aa20.jpg","text":"TemporaryFile(/tmp/multipartBody4879431224087628918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621793522,"filename":"image_23012025_09_41_02_145700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/677645f1489462a15e9f0c71f62301fd.jpg","text":"TemporaryFile(/tmp/multipartBody4626109503700442444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621793522,"filename":"image_23012025_09_40_02_511526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c97a7eda02873d5f53cab681cd204158.jpg","text":"TemporaryFile(/tmp/multipartBody2429840653722413663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621793522,"filename":"image_23012025_09_41_02_145700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3346edcb12cb6b113c5fb48139ebdc3.jpg","text":"TemporaryFile(/tmp/multipartBody6972513790463996180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621793522,"filename":"image_23012025_09_41_02_145700_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330787981","file1":"1330787961","file0":"1330787955","file3":"1330788001"},"map_files_photo_id_array":[{"photo_id":"1330787981","filename":"file2"},{"photo_id":"1330787961","filename":"file1"},{"photo_id":"1330787955","filename":"file0"},{"photo_id":"1330788001","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330787961":["hashtag1","hashtag2"]},{"1330787955":["hashtag1","hashtag2"]},{"1330787981":["hashtag1","hashtag2"]},{"1330788001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330787961, 1330787955, 1330787981, 1330788001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.38075304031372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:43:02.930324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_02_145700_0003.jpg', '/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_02_671062_0000.jpg', '/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_02_671062_0001.jpg', '/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_02_671062_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_02_145700_0003.jpg
/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_02_671062_0000.jpg
/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_02_671062_0001.jpg
/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_02_671062_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330788021","1330788023","1330788035","1330788039"],"photo_ids_order":["1330788021","1330788023","1330788035","1330788039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9d9406caf5c4832652852e391da9579.jpg","text":"TemporaryFile(/tmp/multipartBody2952007593041628721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621854540,"filename":"image_23012025_09_41_02_145700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0032043d59fc7b5dd087061ff9a0221d.jpg","text":"TemporaryFile(/tmp/multipartBody7802196746462890953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621854540,"filename":"image_23012025_09_42_02_671062_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23da16e110f7f37cb4c29c3ad4c9fb1c.jpg","text":"TemporaryFile(/tmp/multipartBody3164978897422429267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621854540,"filename":"image_23012025_09_42_02_671062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8a02997abe29094b0110cdfeb321ed0.jpg","text":"TemporaryFile(/tmp/multipartBody7519814814393236671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621854540,"filename":"image_23012025_09_42_02_671062_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330788035","file1":"1330788023","file0":"1330788021","file3":"1330788039"},"map_files_photo_id_array":[{"photo_id":"1330788035","filename":"file2"},{"photo_id":"1330788023","filename":"file1"},{"photo_id":"1330788021","filename":"file0"},{"photo_id":"1330788039","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330788021":["hashtag1","hashtag2"]},{"1330788023":["hashtag1","hashtag2"]},{"1330788035":["hashtag1","hashtag2"]},{"1330788039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330788021, 1330788023, 1330788035, 1330788039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.57631063461304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:44:02.476886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_02_671062_0003.jpg', '/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_02_270951_0000.jpg', '/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_02_270951_0001.jpg', '/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_02_270951_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_02_671062_0003.jpg
/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_02_270951_0000.jpg
/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_02_270951_0001.jpg
/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_02_270951_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330788487","1330788407","1330788553","1330788345"],"photo_ids_order":["1330788345","1330788407","1330788487","1330788553"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9cd02aa78b79715ff02eb06983e1725.jpg","text":"TemporaryFile(/tmp/multipartBody6448456335310004537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621913190,"filename":"image_23012025_09_43_02_270951_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29dea08b2246bf09dcd85fd44a88f42b.jpg","text":"TemporaryFile(/tmp/multipartBody8744841311885674113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621913190,"filename":"image_23012025_09_43_02_270951_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44d25552cd3c67dbb93d9cf5299d1704.jpg","text":"TemporaryFile(/tmp/multipartBody5451426302124206996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621913190,"filename":"image_23012025_09_43_02_270951_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/842127ddfd47cedf864802b3ade85701.jpg","text":"TemporaryFile(/tmp/multipartBody5404019297267883909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621913190,"filename":"image_23012025_09_42_02_671062_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330788487","file1":"1330788407","file0":"1330788345","file3":"1330788553"},"map_files_photo_id_array":[{"photo_id":"1330788487","filename":"file2"},{"photo_id":"1330788407","filename":"file1"},{"photo_id":"1330788345","filename":"file0"},{"photo_id":"1330788553","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330788487":["hashtag1","hashtag2"]},{"1330788407":["hashtag1","hashtag2"]},{"1330788553":["hashtag1","hashtag2"]},{"1330788345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330788487, 1330788407, 1330788553, 1330788345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.515788555145264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:45:03.218698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_02_270951_0003.jpg', '/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_02_831463_0000.jpg', '/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_02_831463_0001.jpg', '/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_02_831463_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_02_270951_0003.jpg
/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_02_831463_0000.jpg
/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_02_831463_0001.jpg
/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_02_831463_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330788801","1330788795","1330788792","1330788768"],"photo_ids_order":["1330788768","1330788792","1330788795","1330788801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/781b35b8bf73b5822ec77dc09e782587.jpg","text":"TemporaryFile(/tmp/multipartBody778361641042916683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621974709,"filename":"image_23012025_09_44_02_831463_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae20a87ffe6ea01d8c7b16658f494aa8.jpg","text":"TemporaryFile(/tmp/multipartBody5476019107540371523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621974709,"filename":"image_23012025_09_44_02_831463_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8feb9ce52dfebfb4a08ac2a2ed09a8f0.jpg","text":"TemporaryFile(/tmp/multipartBody1743226369433249006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621974709,"filename":"image_23012025_09_44_02_831463_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3312ab56592f171d41614b6334d374f.jpg","text":"TemporaryFile(/tmp/multipartBody1725554365840489296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621974709,"filename":"image_23012025_09_43_02_270951_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330788795","file1":"1330788792","file0":"1330788768","file3":"1330788801"},"map_files_photo_id_array":[{"photo_id":"1330788795","filename":"file2"},{"photo_id":"1330788792","filename":"file1"},{"photo_id":"1330788768","filename":"file0"},{"photo_id":"1330788801","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330788801":["hashtag1","hashtag2"]},{"1330788795":["hashtag1","hashtag2"]},{"1330788792":["hashtag1","hashtag2"]},{"1330788768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330788801, 1330788795, 1330788792, 1330788768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.98768067359924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:46:02.709285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_02_831463_0003.jpg', '/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_02_441285_0000.jpg', '/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_02_441285_0001.jpg', '/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_02_441285_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_02_831463_0003.jpg
/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_02_441285_0000.jpg
/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_02_441285_0001.jpg
/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_02_441285_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330788887","1330788827","1330788946","1330788942"],"photo_ids_order":["1330788827","1330788887","1330788942","1330788946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b9d0f61c539209a71b2e30af9daa45b.jpg","text":"TemporaryFile(/tmp/multipartBody8965870941282674137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622033696,"filename":"image_23012025_09_45_02_441285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db7c67e64e77669451597ac66af997eb.jpg","text":"TemporaryFile(/tmp/multipartBody4587925104504538125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622033696,"filename":"image_23012025_09_44_02_831463_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/729452c873402423263caec61df3d3c7.jpg","text":"TemporaryFile(/tmp/multipartBody6691090952488124855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622033696,"filename":"image_23012025_09_45_02_441285_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eddf89ad8c3e2dce79377146175c3764.jpg","text":"TemporaryFile(/tmp/multipartBody4400745097578025102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622033696,"filename":"image_23012025_09_45_02_441285_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330788942","file1":"1330788887","file0":"1330788827","file3":"1330788946"},"map_files_photo_id_array":[{"photo_id":"1330788942","filename":"file2"},{"photo_id":"1330788887","filename":"file1"},{"photo_id":"1330788827","filename":"file0"},{"photo_id":"1330788946","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330788887":["hashtag1","hashtag2"]},{"1330788827":["hashtag1","hashtag2"]},{"1330788946":["hashtag1","hashtag2"]},{"1330788942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330788887, 1330788827, 1330788946, 1330788942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.62637662887573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:47:03.317947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_02_441285_0003.jpg', '/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_02_905739_0000.jpg', '/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_02_905739_0001.jpg', '/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_02_905739_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_02_441285_0003.jpg
/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_02_905739_0000.jpg
/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_02_905739_0001.jpg
/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_02_905739_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330789337","1330789273","1330789183","1330789332"],"photo_ids_order":["1330789183","1330789273","1330789332","1330789337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29cb720f38a88e87ba0f73c28f68a990.jpg","text":"TemporaryFile(/tmp/multipartBody7592829054009784494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622095143,"filename":"image_23012025_09_46_02_905739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/058b6d7fcc828a73ecd72c7235c5f779.jpg","text":"TemporaryFile(/tmp/multipartBody522669711082501201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622095143,"filename":"image_23012025_09_46_02_905739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/87f6d3c28c10b8a2b69dc65f9cd903e9.jpg","text":"TemporaryFile(/tmp/multipartBody800473769922440767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622095143,"filename":"image_23012025_09_45_02_441285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be018c51224666c999bf6f0250ea323b.jpg","text":"TemporaryFile(/tmp/multipartBody9134790188979966846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622095143,"filename":"image_23012025_09_46_02_905739_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330789332","file1":"1330789273","file0":"1330789183","file3":"1330789337"},"map_files_photo_id_array":[{"photo_id":"1330789332","filename":"file2"},{"photo_id":"1330789273","filename":"file1"},{"photo_id":"1330789183","filename":"file0"},{"photo_id":"1330789337","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330789337":["hashtag1","hashtag2"]},{"1330789273":["hashtag1","hashtag2"]},{"1330789183":["hashtag1","hashtag2"]},{"1330789332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330789337, 1330789273, 1330789183, 1330789332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.993796586990356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:48:02.750091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_02_905739_0003.jpg', '/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_02_622010_0000.jpg', '/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_02_622010_0001.jpg', '/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_02_622010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_02_905739_0003.jpg
/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_02_622010_0000.jpg
/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_02_622010_0001.jpg
/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_02_622010_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330789489","1330789482","1330789485","1330789493"],"photo_ids_order":["1330789482","1330789485","1330789489","1330789493"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cc8097c9c8125cc59aeb65f7e5412d6.jpg","text":"TemporaryFile(/tmp/multipartBody1039764144124667173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622153889,"filename":"image_23012025_09_47_02_622010_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25b9e0527e2b3916ac964b213b9e4608.jpg","text":"TemporaryFile(/tmp/multipartBody6299168125024247890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622153889,"filename":"image_23012025_09_46_02_905739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23a75fe3ae3f83c1c6fbb7c7707b1477.jpg","text":"TemporaryFile(/tmp/multipartBody6509570448656233346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622153889,"filename":"image_23012025_09_47_02_622010_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23a97ce312cec2b60cb729e57293690b.jpg","text":"TemporaryFile(/tmp/multipartBody6230181959188006697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622153889,"filename":"image_23012025_09_47_02_622010_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330789489","file1":"1330789485","file0":"1330789482","file3":"1330789493"},"map_files_photo_id_array":[{"photo_id":"1330789489","filename":"file2"},{"photo_id":"1330789485","filename":"file1"},{"photo_id":"1330789482","filename":"file0"},{"photo_id":"1330789493","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330789489":["hashtag1","hashtag2"]},{"1330789482":["hashtag1","hashtag2"]},{"1330789485":["hashtag1","hashtag2"]},{"1330789493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330789489, 1330789482, 1330789485, 1330789493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.52717995643616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:49:02.625211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_02_622010_0003.jpg', '/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_03_112270_0000.jpg', '/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_03_112270_0001.jpg', '/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_03_112270_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_02_622010_0003.jpg
/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_03_112270_0000.jpg
/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_03_112270_0001.jpg
/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_03_112270_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330789579","1330789581","1330789584","1330789635"],"photo_ids_order":["1330789579","1330789581","1330789584","1330789635"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e97d2ace357c6527bf91193163ff57d0.jpg","text":"TemporaryFile(/tmp/multipartBody7366200215327148263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622214299,"filename":"image_23012025_09_47_02_622010_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e27fe27c4a6aaefab3b4204fcf47c461.jpg","text":"TemporaryFile(/tmp/multipartBody2730555431196136841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622214299,"filename":"image_23012025_09_48_03_112270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71cf3484173fa1836aa825aed54d7dce.jpg","text":"TemporaryFile(/tmp/multipartBody70048791872858504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622214299,"filename":"image_23012025_09_48_03_112270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/923e8ce5ff7b7b944b25b79910d77dd4.jpg","text":"TemporaryFile(/tmp/multipartBody133122880917156921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622214299,"filename":"image_23012025_09_48_03_112270_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330789584","file1":"1330789581","file0":"1330789579","file3":"1330789635"},"map_files_photo_id_array":[{"photo_id":"1330789584","filename":"file2"},{"photo_id":"1330789581","filename":"file1"},{"photo_id":"1330789579","filename":"file0"},{"photo_id":"1330789635","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330789579":["hashtag1","hashtag2"]},{"1330789581":["hashtag1","hashtag2"]},{"1330789584":["hashtag1","hashtag2"]},{"1330789635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330789579, 1330789581, 1330789584, 1330789635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.5426504611969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:50:02.973327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_03_112270_0003.jpg', '/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_02_748520_0000.jpg', '/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_02_748520_0001.jpg', '/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_02_748520_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_03_112270_0003.jpg
/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_02_748520_0000.jpg
/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_02_748520_0001.jpg
/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_02_748520_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330789666","1330789657","1330789662","1330789659"],"photo_ids_order":["1330789657","1330789659","1330789662","1330789666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/448be108282453bdd2ca9897c15e220d.jpg","text":"TemporaryFile(/tmp/multipartBody6143655434130384923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622274334,"filename":"image_23012025_09_49_02_748520_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3791b24abd04bc5caed2f9f25104969f.jpg","text":"TemporaryFile(/tmp/multipartBody6556012730402649438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622274334,"filename":"image_23012025_09_48_03_112270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51e0cc913507bbbff53457f598dd777d.jpg","text":"TemporaryFile(/tmp/multipartBody4219224420703527219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622274334,"filename":"image_23012025_09_49_02_748520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cebf3577809d1b90b0166a0f14a0837d.jpg","text":"TemporaryFile(/tmp/multipartBody2771855061091453139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622274334,"filename":"image_23012025_09_49_02_748520_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330789662","file1":"1330789659","file0":"1330789657","file3":"1330789666"},"map_files_photo_id_array":[{"photo_id":"1330789662","filename":"file2"},{"photo_id":"1330789659","filename":"file1"},{"photo_id":"1330789657","filename":"file0"},{"photo_id":"1330789666","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330789666":["hashtag1","hashtag2"]},{"1330789657":["hashtag1","hashtag2"]},{"1330789662":["hashtag1","hashtag2"]},{"1330789659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330789666, 1330789657, 1330789662, 1330789659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64311456680298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:51:02.514723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_02_748520_0003.jpg', '/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_02_259838_0000.jpg', '/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_02_259838_0001.jpg', '/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_02_259838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_02_748520_0003.jpg
/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_02_259838_0000.jpg
/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_02_259838_0001.jpg
/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_02_259838_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330789769","1330789762","1330789778","1330789772"],"photo_ids_order":["1330789762","1330789769","1330789772","1330789778"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/243f918f350ceae38b28a803082555b3.jpg","text":"TemporaryFile(/tmp/multipartBody6001076807169142861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622334195,"filename":"image_23012025_09_50_02_259838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10d64fb0cf6944e882533f61a2abfc32.jpg","text":"TemporaryFile(/tmp/multipartBody1548683882991400425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622334195,"filename":"image_23012025_09_49_02_748520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d89310d27904d396bb66f78b1043c13e.jpg","text":"TemporaryFile(/tmp/multipartBody5276980664375778415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622334195,"filename":"image_23012025_09_50_02_259838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f04b87ea99d3ba1bca4533f2ff0d30e.jpg","text":"TemporaryFile(/tmp/multipartBody8950056485581660237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622334195,"filename":"image_23012025_09_50_02_259838_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330789772","file1":"1330789769","file0":"1330789762","file3":"1330789778"},"map_files_photo_id_array":[{"photo_id":"1330789772","filename":"file2"},{"photo_id":"1330789769","filename":"file1"},{"photo_id":"1330789762","filename":"file0"},{"photo_id":"1330789778","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330789769":["hashtag1","hashtag2"]},{"1330789762":["hashtag1","hashtag2"]},{"1330789778":["hashtag1","hashtag2"]},{"1330789772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330789769, 1330789762, 1330789778, 1330789772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.19324231147766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:52:02.133291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_02_259838_0003.jpg', '/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_02_896569_0000.jpg', '/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_02_896569_0001.jpg', '/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_02_896569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_02_259838_0003.jpg
/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_02_896569_0000.jpg
/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_02_896569_0001.jpg
/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_02_896569_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330789900","1330789903","1330789895","1330789892"],"photo_ids_order":["1330789892","1330789895","1330789900","1330789903"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/935317b908f5fdd8e6d4ecea920ae760.jpg","text":"TemporaryFile(/tmp/multipartBody4959551660231089352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622393621,"filename":"image_23012025_09_51_02_896569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bac883d684dd2f5c40632dc723f3d70.jpg","text":"TemporaryFile(/tmp/multipartBody5660271567565094388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622393621,"filename":"image_23012025_09_51_02_896569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c0213249e15aa5b55247fe4b2827d64.jpg","text":"TemporaryFile(/tmp/multipartBody4487102290139352545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622393621,"filename":"image_23012025_09_51_02_896569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9362b0ff56a6b2bac4a20fdebaa901d8.jpg","text":"TemporaryFile(/tmp/multipartBody825344636735034681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622393621,"filename":"image_23012025_09_50_02_259838_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330789900","file1":"1330789895","file0":"1330789892","file3":"1330789903"},"map_files_photo_id_array":[{"photo_id":"1330789900","filename":"file2"},{"photo_id":"1330789895","filename":"file1"},{"photo_id":"1330789892","filename":"file0"},{"photo_id":"1330789903","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330789900":["hashtag1","hashtag2"]},{"1330789903":["hashtag1","hashtag2"]},{"1330789895":["hashtag1","hashtag2"]},{"1330789892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330789900, 1330789903, 1330789895, 1330789892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65623378753662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:53:02.885837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_02_896569_0003.jpg', '/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_02_437771_0000.jpg', '/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_02_437771_0001.jpg', '/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_02_437771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_02_896569_0003.jpg
/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_02_437771_0000.jpg
/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_02_437771_0001.jpg
/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_02_437771_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330789934","1330789937","1330790073","1330789979"],"photo_ids_order":["1330789934","1330789937","1330789979","1330790073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fea872fd5e79e1edd55a9375910e8f42.jpg","text":"TemporaryFile(/tmp/multipartBody843121277434420443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622454130,"filename":"image_23012025_09_51_02_896569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/556c3f0f12eb5e72e58a4cc7f13774d6.jpg","text":"TemporaryFile(/tmp/multipartBody4587076908584281034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622454130,"filename":"image_23012025_09_52_02_437771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e70e286ca8a59ec8ce6a109f6614b964.jpg","text":"TemporaryFile(/tmp/multipartBody3442376820026092236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622454130,"filename":"image_23012025_09_52_02_437771_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc5a10b853fb9cb6825e530d3a656e7b.jpg","text":"TemporaryFile(/tmp/multipartBody8326551276775316214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622454130,"filename":"image_23012025_09_52_02_437771_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330789979","file1":"1330789937","file0":"1330789934","file3":"1330790073"},"map_files_photo_id_array":[{"photo_id":"1330789979","filename":"file2"},{"photo_id":"1330789937","filename":"file1"},{"photo_id":"1330789934","filename":"file0"},{"photo_id":"1330790073","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330789934":["hashtag1","hashtag2"]},{"1330789937":["hashtag1","hashtag2"]},{"1330790073":["hashtag1","hashtag2"]},{"1330789979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330789934, 1330789937, 1330790073, 1330789979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.76288604736328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 09:54:02.359673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_02_437771_0003.jpg', '/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_02_125765_0000.jpg', '/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_02_125765_0001.jpg', '/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_02_125765_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_02_437771_0003.jpg
/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_02_125765_0000.jpg
/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_02_125765_0001.jpg
/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_02_125765_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.41473650932312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:54:21.997447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_02_437771_0003.jpg', '/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_02_125765_0000.jpg', '/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_02_125765_0001.jpg', '/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_02_125765_0002.jpg', '/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_02_125765_0003.jpg', '/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_02_710079_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_02_437771_0003.jpg
/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_02_125765_0000.jpg
/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_02_125765_0001.jpg
/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_02_125765_0002.jpg
/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_02_125765_0003.jpg
/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_02_710079_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330790139","1330790126","1330790141","1330790131","1330790142","1330790136"],"photo_ids_order":["1330790126","1330790131","1330790136","1330790139","1330790141","1330790142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3398afd9e0a3155b9106eedb9e719ff.jpg","text":"TemporaryFile(/tmp/multipartBody1770987490887797953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622539072,"filename":"image_23012025_09_53_02_125765_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1867bfe5c8c9cf6b8c93fc8d05ff271.jpg","text":"TemporaryFile(/tmp/multipartBody4408418588444040819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622539072,"filename":"image_23012025_09_52_02_437771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/913c2904340c4e15dfdf34c51344b869.jpg","text":"TemporaryFile(/tmp/multipartBody6151300306675298403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622539072,"filename":"image_23012025_09_53_02_125765_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e104f94e885e152bc3cd18ef8478ae7.jpg","text":"TemporaryFile(/tmp/multipartBody5546406534055625461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622539072,"filename":"image_23012025_09_53_02_125765_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1940da357a682ed79c1ffaa44ac86652.jpg","text":"TemporaryFile(/tmp/multipartBody5334282088948084340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622539072,"filename":"image_23012025_09_54_02_710079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf5d485b81ecdf7f2fe1f6396c05602c.jpg","text":"TemporaryFile(/tmp/multipartBody3724164370075065400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622539072,"filename":"image_23012025_09_53_02_125765_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330790136","file1":"1330790131","file0":"1330790126","file4":"1330790141","file5":"1330790142","file3":"1330790139"},"map_files_photo_id_array":[{"photo_id":"1330790142","filename":"file5"},{"photo_id":"1330790136","filename":"file2"},{"photo_id":"1330790141","filename":"file4"},{"photo_id":"1330790131","filename":"file1"},{"photo_id":"1330790126","filename":"file0"},{"photo_id":"1330790139","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330790139":["hashtag1","hashtag2"]},{"1330790126":["hashtag1","hashtag2"]},{"1330790141":["hashtag1","hashtag2"]},{"1330790131":["hashtag1","hashtag2"]},{"1330790142":["hashtag1","hashtag2"]},{"1330790136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330790139, 1330790126, 1330790141, 1330790131, 1330790142, 1330790136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.27342104911804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:55:22.577597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_02_710079_0001.jpg', '/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_02_710079_0002.jpg', '/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_02_710079_0003.jpg', '/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_02_374873_0000.jpg', '/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_02_374873_0001.jpg', '/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_02_374873_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_02_710079_0001.jpg
/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_02_710079_0002.jpg
/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_02_710079_0003.jpg
/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_02_374873_0000.jpg
/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_02_374873_0001.jpg
/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_02_374873_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330790409","1330790576","1330790462","1330790801","1330790737","1330790880"],"photo_ids_order":["1330790409","1330790462","1330790576","1330790737","1330790801","1330790880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd7fdc223d0de634244a3337d78de89b.jpg","text":"TemporaryFile(/tmp/multipartBody5875834798695176874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622599307,"filename":"image_23012025_09_54_02_710079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00485168b6f3d49239d845ccab42b855.jpg","text":"TemporaryFile(/tmp/multipartBody1553445752315428068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622599307,"filename":"image_23012025_09_54_02_710079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1dbc0fdb39c6b7f8958bef9941884f9d.jpg","text":"TemporaryFile(/tmp/multipartBody3436966496877123066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622599307,"filename":"image_23012025_09_54_02_710079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/842e6348109b523b5277b2f42ed02da4.jpg","text":"TemporaryFile(/tmp/multipartBody3822381708327618506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622599307,"filename":"image_23012025_09_55_02_374873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a79082c5d24541fc9265d9a143fcc118.jpg","text":"TemporaryFile(/tmp/multipartBody1050780987170638304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622599307,"filename":"image_23012025_09_55_02_374873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd136a77959dbcd67c2ed64157c89e76.jpg","text":"TemporaryFile(/tmp/multipartBody4553781994138872001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622599307,"filename":"image_23012025_09_55_02_374873_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330790576","file1":"1330790462","file0":"1330790409","file4":"1330790801","file5":"1330790880","file3":"1330790737"},"map_files_photo_id_array":[{"photo_id":"1330790880","filename":"file5"},{"photo_id":"1330790576","filename":"file2"},{"photo_id":"1330790801","filename":"file4"},{"photo_id":"1330790462","filename":"file1"},{"photo_id":"1330790409","filename":"file0"},{"photo_id":"1330790737","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330790409":["hashtag1","hashtag2"]},{"1330790576":["hashtag1","hashtag2"]},{"1330790462":["hashtag1","hashtag2"]},{"1330790801":["hashtag1","hashtag2"]},{"1330790737":["hashtag1","hashtag2"]},{"1330790880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330790409, 1330790576, 1330790462, 1330790801, 1330790737, 1330790880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.50508403778076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:56:22.080469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_02_374873_0003.jpg', '/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_02_899762_0000.jpg', '/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_02_899762_0001.jpg', '/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_02_899762_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_02_374873_0003.jpg
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_02_899762_0000.jpg
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_02_899762_0001.jpg
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_02_899762_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330791067","1330791099","1330791114","1330791036"],"photo_ids_order":["1330791036","1330791067","1330791099","1330791114"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c34349d19cd7e3e8ebf2eec4deb19487.jpg","text":"TemporaryFile(/tmp/multipartBody3706721310014881868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622653396,"filename":"image_23012025_09_56_02_899762_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f1365d961a10ba6064a54275d30ad82.jpg","text":"TemporaryFile(/tmp/multipartBody7954017326164194321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622653396,"filename":"image_23012025_09_56_02_899762_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13c02e1f50d9066ea1a6274d332781ec.jpg","text":"TemporaryFile(/tmp/multipartBody8057703920170291691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622653396,"filename":"image_23012025_09_56_02_899762_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4af94643e242882c868aa08cba2e2b58.jpg","text":"TemporaryFile(/tmp/multipartBody6183929249006399058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622653396,"filename":"image_23012025_09_55_02_374873_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330791099","file1":"1330791067","file0":"1330791036","file3":"1330791114"},"map_files_photo_id_array":[{"photo_id":"1330791099","filename":"file2"},{"photo_id":"1330791067","filename":"file1"},{"photo_id":"1330791036","filename":"file0"},{"photo_id":"1330791114","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330791067":["hashtag1","hashtag2"]},{"1330791099":["hashtag1","hashtag2"]},{"1330791114":["hashtag1","hashtag2"]},{"1330791036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330791067, 1330791099, 1330791114, 1330791036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.64273762702942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 09:57:22.621520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_02_899762_0003.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_02_466420_0000.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_02_466420_0001.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_02_466420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_02_899762_0003.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_02_466420_0000.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_02_466420_0001.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_02_466420_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-23 09:59:03.061308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_02_899762_0003.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_02_466420_0000.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_02_466420_0001.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_02_466420_0002.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_02_466420_0003.jpg', '/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_02_995737_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_02_899762_0003.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_02_466420_0000.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_02_466420_0001.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_02_466420_0002.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_02_466420_0003.jpg
/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_02_995737_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":["1330791295","1330791367","1330791393","1330791395","1330791234","1330791392"],"photo_ids_order":["1330791234","1330791295","1330791367","1330791392","1330791393","1330791395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69f1e1c49b90825c94eabcc455924739.jpg","text":"TemporaryFile(/tmp/multipartBody3642491692544783262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622819861,"filename":"image_23012025_09_57_02_466420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2694a1d0aa57f164122ebd43b8a80ac4.jpg","text":"TemporaryFile(/tmp/multipartBody5683457181252160164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622819861,"filename":"image_23012025_09_57_02_466420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2119d3f86698677773696ff56d46fae0.jpg","text":"TemporaryFile(/tmp/multipartBody1013849079918567794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622819861,"filename":"image_23012025_09_57_02_466420_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7108f89ed9d491e8226eb93172349e8.jpg","text":"TemporaryFile(/tmp/multipartBody6829185879315512603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622819861,"filename":"image_23012025_09_58_02_995737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0023ea2926a00dee7d92112fa18c4e70.jpg","text":"TemporaryFile(/tmp/multipartBody3215327424819310528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622819861,"filename":"image_23012025_09_56_02_899762_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4fdaed05a3d1c8182e64a0bddfd56d2f.jpg","text":"TemporaryFile(/tmp/multipartBody7142938112631776590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622819861,"filename":"image_23012025_09_57_02_466420_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330791367","file1":"1330791295","file0":"1330791234","file4":"1330791393","file5":"1330791395","file3":"1330791392"},"map_files_photo_id_array":[{"photo_id":"1330791395","filename":"file5"},{"photo_id":"1330791367","filename":"file2"},{"photo_id":"1330791393","filename":"file4"},{"photo_id":"1330791295","filename":"file1"},{"photo_id":"1330791234","filename":"file0"},{"photo_id":"1330791392","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330791295":["hashtag1","hashtag2"]},{"1330791367":["hashtag1","hashtag2"]},{"1330791393":["hashtag1","hashtag2"]},{"1330791395":["hashtag1","hashtag2"]},{"1330791234":["hashtag1","hashtag2"]},{"1330791392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330791295, 1330791367, 1330791393, 1330791395, 1330791234, 1330791392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.21214985847473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:00:22.617066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_02_995737_0001.jpg', '/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_02_995737_0002.jpg', '/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_02_995737_0003.jpg', '/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_02_521525_0000.jpg', '/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_02_521525_0001.jpg', '/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_02_521525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_02_995737_0001.jpg
/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_02_995737_0002.jpg
/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_02_995737_0003.jpg
/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_02_521525_0000.jpg
/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_02_521525_0001.jpg
/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_02_521525_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330791487","1330791472","1330791468","1330791482","1330791476","1330791479"],"photo_ids_order":["1330791468","1330791472","1330791476","1330791479","1330791482","1330791487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09167a34f799236f1ee692e4155ca277.jpg","text":"TemporaryFile(/tmp/multipartBody278038209575689693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622898751,"filename":"image_23012025_09_59_02_521525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d38ecc33ba22cfad2e1fd3956b905054.jpg","text":"TemporaryFile(/tmp/multipartBody25937228679615088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622898751,"filename":"image_23012025_09_58_02_995737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5af96bff42ede064b30807d05e90f24.jpg","text":"TemporaryFile(/tmp/multipartBody3023325692256370137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622898751,"filename":"image_23012025_09_58_02_995737_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c400483b433669e0f19bddfad66346ff.jpg","text":"TemporaryFile(/tmp/multipartBody4522318257259073388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622898751,"filename":"image_23012025_09_59_02_521525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1d9f79ea65314934297d0197477e6c7.jpg","text":"TemporaryFile(/tmp/multipartBody5991824033629782303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622898751,"filename":"image_23012025_09_58_02_995737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6326afc63f7698ccf609beedb287dd4.jpg","text":"TemporaryFile(/tmp/multipartBody3494298123761160419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622898751,"filename":"image_23012025_09_59_02_521525_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330791476","file1":"1330791472","file0":"1330791468","file4":"1330791482","file5":"1330791487","file3":"1330791479"},"map_files_photo_id_array":[{"photo_id":"1330791487","filename":"file5"},{"photo_id":"1330791476","filename":"file2"},{"photo_id":"1330791482","filename":"file4"},{"photo_id":"1330791472","filename":"file1"},{"photo_id":"1330791468","filename":"file0"},{"photo_id":"1330791479","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330791487":["hashtag1","hashtag2"]},{"1330791472":["hashtag1","hashtag2"]},{"1330791468":["hashtag1","hashtag2"]},{"1330791482":["hashtag1","hashtag2"]},{"1330791476":["hashtag1","hashtag2"]},{"1330791479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330791487, 1330791472, 1330791468, 1330791482, 1330791476, 1330791479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.30582809448242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:01:22.956234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_02_521525_0003.jpg', '/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_02_731583_0000.jpg', '/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_02_731583_0001.jpg', '/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_02_731583_0002.jpg', '/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_02_731583_0003.jpg', '/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_02_894819_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_02_521525_0003.jpg
/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_02_731583_0000.jpg
/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_02_731583_0001.jpg
/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_02_731583_0002.jpg
/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_02_731583_0003.jpg
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_02_894819_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":["1330791521","1330791509","1330791524","1330791518","1330791526","1330791514"],"photo_ids_order":["1330791509","1330791514","1330791518","1330791521","1330791524","1330791526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/476600cf38098b1e162cb1c9b71a0e24.jpg","text":"TemporaryFile(/tmp/multipartBody102489285582880475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622960005,"filename":"image_23012025_10_00_02_731583_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ffe75271acaf80fa7eb0aa4d21f95556.jpg","text":"TemporaryFile(/tmp/multipartBody6384370973940681241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622960005,"filename":"image_23012025_09_59_02_521525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8b12cf7605f9ad953a3764f5c597ead.jpg","text":"TemporaryFile(/tmp/multipartBody5462331566859532948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622960005,"filename":"image_23012025_10_00_02_731583_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f8a1a618bbdc92b96757698995d5f19.jpg","text":"TemporaryFile(/tmp/multipartBody2621826733585718596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622960005,"filename":"image_23012025_10_00_02_731583_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa46e2c711478820e14e76fc545879dd.jpg","text":"TemporaryFile(/tmp/multipartBody6971296867249168671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622960005,"filename":"image_23012025_10_01_02_894819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7de2a637f45a69ef7ad279dc47aec9e.jpg","text":"TemporaryFile(/tmp/multipartBody2172400501910310308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622960005,"filename":"image_23012025_10_00_02_731583_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330791518","file1":"1330791514","file0":"1330791509","file4":"1330791524","file5":"1330791526","file3":"1330791521"},"map_files_photo_id_array":[{"photo_id":"1330791526","filename":"file5"},{"photo_id":"1330791518","filename":"file2"},{"photo_id":"1330791524","filename":"file4"},{"photo_id":"1330791514","filename":"file1"},{"photo_id":"1330791509","filename":"file0"},{"photo_id":"1330791521","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330791521":["hashtag1","hashtag2"]},{"1330791509":["hashtag1","hashtag2"]},{"1330791524":["hashtag1","hashtag2"]},{"1330791518":["hashtag1","hashtag2"]},{"1330791526":["hashtag1","hashtag2"]},{"1330791514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330791521, 1330791509, 1330791524, 1330791518, 1330791526, 1330791514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.84057950973511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:02:21.937795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_02_894819_0001.jpg', '/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_02_894819_0002.jpg', '/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_02_894819_0003.jpg', '/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_03_205673_0000.jpg', '/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_03_205673_0001.jpg', '/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_03_205673_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_02_894819_0001.jpg
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_02_894819_0002.jpg
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_02_894819_0003.jpg
/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_03_205673_0000.jpg
/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_03_205673_0001.jpg
/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_03_205673_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330791560","1330791541","1330791550","1330791546","1330791555","1330791558"],"photo_ids_order":["1330791541","1330791546","1330791550","1330791555","1330791558","1330791560"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15a1d9e49f5a42af4e8a9fe3ebea89b0.jpg","text":"TemporaryFile(/tmp/multipartBody8645799197133840187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623018682,"filename":"image_23012025_10_02_03_205673_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ecdafced0d342a6e8dad6341d7a4925.jpg","text":"TemporaryFile(/tmp/multipartBody100401852812610216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623018682,"filename":"image_23012025_10_01_02_894819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1499447448bbb24e03ba3fc5f1303bb4.jpg","text":"TemporaryFile(/tmp/multipartBody2614676596475852188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623018682,"filename":"image_23012025_10_01_02_894819_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db6722ab59e3be65b028481d0eca501e.jpg","text":"TemporaryFile(/tmp/multipartBody6755617223728360356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623018682,"filename":"image_23012025_10_01_02_894819_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27f678d9b27807728a819709ca3c4b8f.jpg","text":"TemporaryFile(/tmp/multipartBody6098209834266269252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623018682,"filename":"image_23012025_10_02_03_205673_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ce00bc5521134bdf7c93a78152a1154.jpg","text":"TemporaryFile(/tmp/multipartBody1381743903372136930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623018682,"filename":"image_23012025_10_02_03_205673_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330791550","file1":"1330791546","file0":"1330791541","file4":"1330791558","file5":"1330791560","file3":"1330791555"},"map_files_photo_id_array":[{"photo_id":"1330791560","filename":"file5"},{"photo_id":"1330791550","filename":"file2"},{"photo_id":"1330791558","filename":"file4"},{"photo_id":"1330791546","filename":"file1"},{"photo_id":"1330791541","filename":"file0"},{"photo_id":"1330791555","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330791560":["hashtag1","hashtag2"]},{"1330791541":["hashtag1","hashtag2"]},{"1330791550":["hashtag1","hashtag2"]},{"1330791546":["hashtag1","hashtag2"]},{"1330791555":["hashtag1","hashtag2"]},{"1330791558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330791560, 1330791541, 1330791550, 1330791546, 1330791555, 1330791558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.4779486656189 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:03:22.139669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_03_205673_0003.jpg', '/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_02_299315_0000.jpg', '/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_02_299315_0001.jpg', '/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_02_299315_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_03_205673_0003.jpg
/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_02_299315_0000.jpg
/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_02_299315_0001.jpg
/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_02_299315_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330791737","1330791812","1330791763","1330791804"],"photo_ids_order":["1330791737","1330791763","1330791804","1330791812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd39c2209a61f18f3c757a397560ef99.jpg","text":"TemporaryFile(/tmp/multipartBody4474410305065880664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623073302,"filename":"image_23012025_10_02_03_205673_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e10e68d303d4d903d43587ccc675460d.jpg","text":"TemporaryFile(/tmp/multipartBody3459627036152520595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623073302,"filename":"image_23012025_10_03_02_299315_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d88ae84cd875427ae8d5e14200402516.jpg","text":"TemporaryFile(/tmp/multipartBody6269503155316324371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623073302,"filename":"image_23012025_10_03_02_299315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab5d8e74cfd69b18b3eae5add8d6e15f.jpg","text":"TemporaryFile(/tmp/multipartBody3774192408991800754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623073302,"filename":"image_23012025_10_03_02_299315_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330791804","file1":"1330791763","file0":"1330791737","file3":"1330791812"},"map_files_photo_id_array":[{"photo_id":"1330791804","filename":"file2"},{"photo_id":"1330791763","filename":"file1"},{"photo_id":"1330791737","filename":"file0"},{"photo_id":"1330791812","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330791737":["hashtag1","hashtag2"]},{"1330791812":["hashtag1","hashtag2"]},{"1330791763":["hashtag1","hashtag2"]},{"1330791804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330791737, 1330791812, 1330791763, 1330791804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.546435594558716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:04:22.289608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_02_299315_0003.jpg', '/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_02_446510_0000.jpg', '/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_02_446510_0001.jpg', '/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_02_446510_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_02_299315_0003.jpg
/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_02_446510_0000.jpg
/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_02_446510_0001.jpg
/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_02_446510_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330791985","1330791964","1330791999","1330791939"],"photo_ids_order":["1330791939","1330791964","1330791985","1330791999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/816a735b16a444f97db35898f3ff4f73.jpg","text":"TemporaryFile(/tmp/multipartBody8128992788441202096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623133027,"filename":"image_23012025_10_04_02_446510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f7ac9256e68636d0b5eb5341e076931.jpg","text":"TemporaryFile(/tmp/multipartBody6017797044321523267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623133027,"filename":"image_23012025_10_04_02_446510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/172abf80801d8ade9ac2045e0e875ddb.jpg","text":"TemporaryFile(/tmp/multipartBody6203861145039244412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623133027,"filename":"image_23012025_10_04_02_446510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/224e4cc011e83b798e04f1d21798a7f7.jpg","text":"TemporaryFile(/tmp/multipartBody5079416020246923176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623133027,"filename":"image_23012025_10_03_02_299315_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330791985","file1":"1330791964","file0":"1330791939","file3":"1330791999"},"map_files_photo_id_array":[{"photo_id":"1330791985","filename":"file2"},{"photo_id":"1330791964","filename":"file1"},{"photo_id":"1330791939","filename":"file0"},{"photo_id":"1330791999","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330791985":["hashtag1","hashtag2"]},{"1330791964":["hashtag1","hashtag2"]},{"1330791999":["hashtag1","hashtag2"]},{"1330791939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330791985, 1330791964, 1330791999, 1330791939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.804463148117065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:05:22.559209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_02_446510_0003.jpg', '/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_02_670064_0000.jpg', '/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_02_670064_0001.jpg', '/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_02_670064_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_02_446510_0003.jpg
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_02_670064_0000.jpg
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_02_670064_0001.jpg
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_02_670064_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330792182","1330792190","1330792160","1330792136"],"photo_ids_order":["1330792136","1330792160","1330792182","1330792190"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b297d5eae274727557e0dfd1988ae5b.jpg","text":"TemporaryFile(/tmp/multipartBody1340435176682381890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623193978,"filename":"image_23012025_10_05_02_670064_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3e6d17d13189542b13fad4acb5e38c0.jpg","text":"TemporaryFile(/tmp/multipartBody301787534854920328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623193978,"filename":"image_23012025_10_05_02_670064_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97a3927150ad412a8d303b6a401af50f.jpg","text":"TemporaryFile(/tmp/multipartBody2566778103772316398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623193978,"filename":"image_23012025_10_05_02_670064_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44a768fcfe75cf7d36a483908f6f836d.jpg","text":"TemporaryFile(/tmp/multipartBody8446248650807208220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623193978,"filename":"image_23012025_10_04_02_446510_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330792182","file1":"1330792160","file0":"1330792136","file3":"1330792190"},"map_files_photo_id_array":[{"photo_id":"1330792182","filename":"file2"},{"photo_id":"1330792160","filename":"file1"},{"photo_id":"1330792136","filename":"file0"},{"photo_id":"1330792190","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330792182":["hashtag1","hashtag2"]},{"1330792190":["hashtag1","hashtag2"]},{"1330792160":["hashtag1","hashtag2"]},{"1330792136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330792182, 1330792190, 1330792160, 1330792136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.48250389099121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:06:22.668103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_02_670064_0003.jpg', '/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_02_905602_0000.jpg', '/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_02_905602_0001.jpg', '/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_02_905602_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_02_670064_0003.jpg
/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_02_905602_0000.jpg
/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_02_905602_0001.jpg
/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_02_905602_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330792785","1330792686","1330792497","1330792592"],"photo_ids_order":["1330792497","1330792592","1330792686","1330792785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24bf34d447f18065e4a39c08cc25a4b7.jpg","text":"TemporaryFile(/tmp/multipartBody4765061495996770657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623253995,"filename":"image_23012025_10_06_02_905602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13471b34c3428edf7ee01fe3e562fc11.jpg","text":"TemporaryFile(/tmp/multipartBody5357687186870639771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623253995,"filename":"image_23012025_10_06_02_905602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72c6ac391da86307e31c0f5e74965689.jpg","text":"TemporaryFile(/tmp/multipartBody1879779480095941700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623253995,"filename":"image_23012025_10_05_02_670064_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a88e906c3622e7d956a4a0bea4069b98.jpg","text":"TemporaryFile(/tmp/multipartBody7252707621175409090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623253995,"filename":"image_23012025_10_06_02_905602_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330792686","file1":"1330792592","file0":"1330792497","file3":"1330792785"},"map_files_photo_id_array":[{"photo_id":"1330792686","filename":"file2"},{"photo_id":"1330792592","filename":"file1"},{"photo_id":"1330792497","filename":"file0"},{"photo_id":"1330792785","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330792785":["hashtag1","hashtag2"]},{"1330792686":["hashtag1","hashtag2"]},{"1330792497":["hashtag1","hashtag2"]},{"1330792592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330792785, 1330792686, 1330792497, 1330792592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.66627216339111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:07:21.940912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_02_905602_0003.jpg', '/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_03_026155_0000.jpg', '/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_03_026155_0001.jpg', '/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_03_026155_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_02_905602_0003.jpg
/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_03_026155_0000.jpg
/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_03_026155_0001.jpg
/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_03_026155_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330793467","1330793460","1330793454","1330793429"],"photo_ids_order":["1330793429","1330793454","1330793460","1330793467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46cb3b5ad531145032ab7b1803947604.jpg","text":"TemporaryFile(/tmp/multipartBody6019223901485447928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623312844,"filename":"image_23012025_10_07_03_026155_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9110fd660b1dc62adfd2d129512cc5e0.jpg","text":"TemporaryFile(/tmp/multipartBody3509397888328205354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623312844,"filename":"image_23012025_10_07_03_026155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59c066521d25906157d39ae56ea4c822.jpg","text":"TemporaryFile(/tmp/multipartBody3255502183475841765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623312844,"filename":"image_23012025_10_07_03_026155_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c076c8bf233c275245eef8f5d7ffe34.jpg","text":"TemporaryFile(/tmp/multipartBody7180429346745811714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623312844,"filename":"image_23012025_10_06_02_905602_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330793460","file1":"1330793454","file0":"1330793429","file3":"1330793467"},"map_files_photo_id_array":[{"photo_id":"1330793460","filename":"file2"},{"photo_id":"1330793454","filename":"file1"},{"photo_id":"1330793429","filename":"file0"},{"photo_id":"1330793467","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330793467":["hashtag1","hashtag2"]},{"1330793460":["hashtag1","hashtag2"]},{"1330793454":["hashtag1","hashtag2"]},{"1330793429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330793467, 1330793460, 1330793454, 1330793429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.70185661315918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:08:22.057449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_03_026155_0003.jpg', '/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_02_277225_0000.jpg', '/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_02_277225_0001.jpg', '/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_02_277225_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_03_026155_0003.jpg
/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_02_277225_0000.jpg
/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_02_277225_0001.jpg
/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_02_277225_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330794069","1330793926","1330793503","1330793667"],"photo_ids_order":["1330793503","1330793667","1330793926","1330794069"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27e40cca73387b4c9c09d1f6c1700a9f.jpg","text":"TemporaryFile(/tmp/multipartBody4585516402008947830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623373160,"filename":"image_23012025_10_08_02_277225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b43162b81ca683080a3e879d1da90088.jpg","text":"TemporaryFile(/tmp/multipartBody8497769677229438103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623373160,"filename":"image_23012025_10_08_02_277225_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b32a821229eaf05d1147cdbf7ff899c.jpg","text":"TemporaryFile(/tmp/multipartBody700212286253531681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623373160,"filename":"image_23012025_10_07_03_026155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d478de1946728fa3c451b54d33fbbd2.jpg","text":"TemporaryFile(/tmp/multipartBody8398334967311982001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623373160,"filename":"image_23012025_10_08_02_277225_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330793926","file1":"1330793667","file0":"1330793503","file3":"1330794069"},"map_files_photo_id_array":[{"photo_id":"1330793926","filename":"file2"},{"photo_id":"1330793667","filename":"file1"},{"photo_id":"1330793503","filename":"file0"},{"photo_id":"1330794069","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330794069":["hashtag1","hashtag2"]},{"1330793926":["hashtag1","hashtag2"]},{"1330793503":["hashtag1","hashtag2"]},{"1330793667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330794069, 1330793926, 1330793503, 1330793667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.29943346977234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:09:22.337956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_02_277225_0003.jpg', '/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_02_419822_0000.jpg', '/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_02_419822_0001.jpg', '/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_02_419822_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_02_277225_0003.jpg
/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_02_419822_0000.jpg
/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_02_419822_0001.jpg
/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_02_419822_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330794857","1330794886","1330794901","1330794838"],"photo_ids_order":["1330794838","1330794857","1330794886","1330794901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b4be128444e3632bca78f5cba95d3a4.jpg","text":"TemporaryFile(/tmp/multipartBody6431950639265812807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623434295,"filename":"image_23012025_10_09_02_419822_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a3a0c67f5107f6b375a3bba81b9d318.jpg","text":"TemporaryFile(/tmp/multipartBody6522035887798035697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623434295,"filename":"image_23012025_10_09_02_419822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85b803320fd1dc0ea8f566bc8d6d6606.jpg","text":"TemporaryFile(/tmp/multipartBody1040339262590474178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623434295,"filename":"image_23012025_10_09_02_419822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2dc03c969e1ccc15db456d008abbc01.jpg","text":"TemporaryFile(/tmp/multipartBody5321177771717639032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623434295,"filename":"image_23012025_10_08_02_277225_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330794886","file1":"1330794857","file0":"1330794838","file3":"1330794901"},"map_files_photo_id_array":[{"photo_id":"1330794886","filename":"file2"},{"photo_id":"1330794857","filename":"file1"},{"photo_id":"1330794838","filename":"file0"},{"photo_id":"1330794901","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330794857":["hashtag1","hashtag2"]},{"1330794886":["hashtag1","hashtag2"]},{"1330794901":["hashtag1","hashtag2"]},{"1330794838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330794857, 1330794886, 1330794901, 1330794838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.31627154350281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:10:22.595893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_02_419822_0003.jpg', '/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_02_636081_0000.jpg', '/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_02_636081_0001.jpg', '/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_02_636081_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_02_419822_0003.jpg
/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_02_636081_0000.jpg
/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_02_636081_0001.jpg
/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_02_636081_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330794984","1330794978","1330794971","1330794990"],"photo_ids_order":["1330794971","1330794978","1330794984","1330794990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c6e0d5f83233f38b4b6214d0e2625a3.jpg","text":"TemporaryFile(/tmp/multipartBody2585874705478227093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623493803,"filename":"image_23012025_10_10_02_636081_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ffeac24fc261cb82e4315392542436e.jpg","text":"TemporaryFile(/tmp/multipartBody9102271448247615298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623493803,"filename":"image_23012025_10_10_02_636081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3072e7ec5d5bc8835627a661da8e92ab.jpg","text":"TemporaryFile(/tmp/multipartBody711777432251341903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623493803,"filename":"image_23012025_10_09_02_419822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d5ca23bbce13a2f87a307ca16a64818.jpg","text":"TemporaryFile(/tmp/multipartBody5043492018904308468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623493803,"filename":"image_23012025_10_10_02_636081_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330794984","file1":"1330794978","file0":"1330794971","file3":"1330794990"},"map_files_photo_id_array":[{"photo_id":"1330794984","filename":"file2"},{"photo_id":"1330794978","filename":"file1"},{"photo_id":"1330794971","filename":"file0"},{"photo_id":"1330794990","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330794984":["hashtag1","hashtag2"]},{"1330794978":["hashtag1","hashtag2"]},{"1330794971":["hashtag1","hashtag2"]},{"1330794990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330794984, 1330794978, 1330794971, 1330794990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.25172233581543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:11:22.634014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_02_636081_0003.jpg', '/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_02_815513_0000.jpg', '/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_02_815513_0001.jpg', '/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_02_815513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_02_636081_0003.jpg
/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_02_815513_0000.jpg
/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_02_815513_0001.jpg
/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_02_815513_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330795388","1330795384","1330795198","1330795351"],"photo_ids_order":["1330795198","1330795351","1330795384","1330795388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8c9072fbe0522a679ae7cccbbd06585.jpg","text":"TemporaryFile(/tmp/multipartBody8803924835674662257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623554099,"filename":"image_23012025_10_11_02_815513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/352ce17535b9cc4430340e0f3a761163.jpg","text":"TemporaryFile(/tmp/multipartBody3044853529070142220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623554099,"filename":"image_23012025_10_11_02_815513_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1aba876a146fc96a50c074707a5ca388.jpg","text":"TemporaryFile(/tmp/multipartBody1339533063996962129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623554099,"filename":"image_23012025_10_10_02_636081_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1c87905082e2d2548d87805b28c30ba.jpg","text":"TemporaryFile(/tmp/multipartBody272170901608302740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623554099,"filename":"image_23012025_10_11_02_815513_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330795384","file1":"1330795351","file0":"1330795198","file3":"1330795388"},"map_files_photo_id_array":[{"photo_id":"1330795384","filename":"file2"},{"photo_id":"1330795351","filename":"file1"},{"photo_id":"1330795198","filename":"file0"},{"photo_id":"1330795388","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330795388":["hashtag1","hashtag2"]},{"1330795384":["hashtag1","hashtag2"]},{"1330795198":["hashtag1","hashtag2"]},{"1330795351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330795388, 1330795384, 1330795198, 1330795351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 50.24946117401123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:12:21.860279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_02_815513_0003.jpg', '/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_03_117599_0000.jpg', '/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_03_117599_0001.jpg', '/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_03_117599_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_02_815513_0003.jpg
/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_03_117599_0000.jpg
/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_03_117599_0001.jpg
/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_03_117599_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330795521","1330795500","1330795532","1330795526"],"photo_ids_order":["1330795500","1330795521","1330795526","1330795532"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf4467f7b0c4672d3ce9460ceb7810be.jpg","text":"TemporaryFile(/tmp/multipartBody6685920326194364674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623613080,"filename":"image_23012025_10_12_03_117599_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4bfa1c163a4640e2f516dafd2fb61dd.jpg","text":"TemporaryFile(/tmp/multipartBody3021447601978526076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623613080,"filename":"image_23012025_10_11_02_815513_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28666deb3608048acbe404e08d88c6fc.jpg","text":"TemporaryFile(/tmp/multipartBody4125810488723012640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623613080,"filename":"image_23012025_10_12_03_117599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f4a5eb7a12adcd3f2d1b45d71ceb740.jpg","text":"TemporaryFile(/tmp/multipartBody3733838585599076458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623613080,"filename":"image_23012025_10_12_03_117599_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330795526","file1":"1330795521","file0":"1330795500","file3":"1330795532"},"map_files_photo_id_array":[{"photo_id":"1330795526","filename":"file2"},{"photo_id":"1330795521","filename":"file1"},{"photo_id":"1330795500","filename":"file0"},{"photo_id":"1330795532","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330795521":["hashtag1","hashtag2"]},{"1330795500":["hashtag1","hashtag2"]},{"1330795532":["hashtag1","hashtag2"]},{"1330795526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330795521, 1330795500, 1330795532, 1330795526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.3276424407959 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:13:22.077802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_03_117599_0003.jpg', '/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_02_215755_0000.jpg', '/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_02_215755_0001.jpg', '/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_02_215755_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_03_117599_0003.jpg
/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_02_215755_0000.jpg
/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_02_215755_0001.jpg
/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_02_215755_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330795602","1330795577","1330795619","1330795594"],"photo_ids_order":["1330795577","1330795594","1330795602","1330795619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e77a8e27874ebe356db566667d5ed16e.jpg","text":"TemporaryFile(/tmp/multipartBody7928039380558650731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623672720,"filename":"image_23012025_10_13_02_215755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61fd79d81ae3d44f4f34ef8e20fb9f55.jpg","text":"TemporaryFile(/tmp/multipartBody7535935953999899254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623672720,"filename":"image_23012025_10_12_03_117599_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e5767901b00d55dbd746d92a1bf555d.jpg","text":"TemporaryFile(/tmp/multipartBody1979147409373977278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623672720,"filename":"image_23012025_10_13_02_215755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73f08701cdf49bc22e084bafc80412b8.jpg","text":"TemporaryFile(/tmp/multipartBody4565992288513755610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623672720,"filename":"image_23012025_10_13_02_215755_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330795602","file1":"1330795594","file0":"1330795577","file3":"1330795619"},"map_files_photo_id_array":[{"photo_id":"1330795602","filename":"file2"},{"photo_id":"1330795594","filename":"file1"},{"photo_id":"1330795577","filename":"file0"},{"photo_id":"1330795619","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330795602":["hashtag1","hashtag2"]},{"1330795577":["hashtag1","hashtag2"]},{"1330795619":["hashtag1","hashtag2"]},{"1330795594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330795602, 1330795577, 1330795619, 1330795594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.75296330451965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:14:22.276159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_02_215755_0003.jpg', '/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_02_454824_0000.jpg', '/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_02_454824_0001.jpg', '/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_02_454824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_02_215755_0003.jpg
/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_02_454824_0000.jpg
/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_02_454824_0001.jpg
/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_02_454824_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330795745","1330795730","1330795711","1330795689"],"photo_ids_order":["1330795689","1330795711","1330795730","1330795745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b169c04f36fc2da5fbe828dc60c4dcd.jpg","text":"TemporaryFile(/tmp/multipartBody7911333611792766335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623733358,"filename":"image_23012025_10_14_02_454824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eca4dcda9b6fdd88c635ceea936d94f8.jpg","text":"TemporaryFile(/tmp/multipartBody102179650455111927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623733358,"filename":"image_23012025_10_14_02_454824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03a01f8039d6dfe1dccaa42c18dc43b6.jpg","text":"TemporaryFile(/tmp/multipartBody3258309975148340954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623733358,"filename":"image_23012025_10_14_02_454824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf432f370148f3b0f53b3c3f802e05ee.jpg","text":"TemporaryFile(/tmp/multipartBody1073379782393557300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623733358,"filename":"image_23012025_10_13_02_215755_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330795730","file1":"1330795711","file0":"1330795689","file3":"1330795745"},"map_files_photo_id_array":[{"photo_id":"1330795730","filename":"file2"},{"photo_id":"1330795711","filename":"file1"},{"photo_id":"1330795689","filename":"file0"},{"photo_id":"1330795745","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330795745":["hashtag1","hashtag2"]},{"1330795730":["hashtag1","hashtag2"]},{"1330795711":["hashtag1","hashtag2"]},{"1330795689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330795745, 1330795730, 1330795711, 1330795689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.81540536880493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:15:22.463984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_02_454824_0003.jpg', '/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_02_585935_0000.jpg', '/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_02_585935_0001.jpg', '/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_02_585935_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_02_454824_0003.jpg
/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_02_585935_0000.jpg
/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_02_585935_0001.jpg
/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_02_585935_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330795843","1330795828","1330795872","1330795866"],"photo_ids_order":["1330795828","1330795843","1330795866","1330795872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8160e72c765102f5b9184f3a18fc9984.jpg","text":"TemporaryFile(/tmp/multipartBody4799188144910530638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623793576,"filename":"image_23012025_10_15_02_585935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/624cfdb3d4b14ce3f59a0aac1c5b7c9a.jpg","text":"TemporaryFile(/tmp/multipartBody1795483941702328657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623793576,"filename":"image_23012025_10_14_02_454824_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d54d9dfd581fd7695aa2dae76135a9d.jpg","text":"TemporaryFile(/tmp/multipartBody2500682327707437503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623793576,"filename":"image_23012025_10_15_02_585935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d050194541e00b078d70f48d47abaa8.jpg","text":"TemporaryFile(/tmp/multipartBody6906355429307029745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623793576,"filename":"image_23012025_10_15_02_585935_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330795866","file1":"1330795843","file0":"1330795828","file3":"1330795872"},"map_files_photo_id_array":[{"photo_id":"1330795866","filename":"file2"},{"photo_id":"1330795843","filename":"file1"},{"photo_id":"1330795828","filename":"file0"},{"photo_id":"1330795872","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330795843":["hashtag1","hashtag2"]},{"1330795828":["hashtag1","hashtag2"]},{"1330795872":["hashtag1","hashtag2"]},{"1330795866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330795843, 1330795828, 1330795872, 1330795866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.63404560089111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:16:22.635696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_02_585935_0003.jpg', '/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_02_757125_0000.jpg', '/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_02_757125_0001.jpg', '/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_02_757125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_02_585935_0003.jpg
/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_02_757125_0000.jpg
/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_02_757125_0001.jpg
/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_02_757125_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330795920","1330795916","1330795910","1330795906"],"photo_ids_order":["1330795906","1330795910","1330795916","1330795920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b22cad0b73bb484b145c86669295e4f3.jpg","text":"TemporaryFile(/tmp/multipartBody6778720230993574510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623854239,"filename":"image_23012025_10_16_02_757125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cfc01bfe69db19d2ba520050a01e0ce.jpg","text":"TemporaryFile(/tmp/multipartBody877417361356946668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623854239,"filename":"image_23012025_10_16_02_757125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8df6785033fd9b2a2e93c0da312cf12.jpg","text":"TemporaryFile(/tmp/multipartBody1551397960932668566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623854239,"filename":"image_23012025_10_16_02_757125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45812c213219f8d7d2b82b684387619d.jpg","text":"TemporaryFile(/tmp/multipartBody518574722723891962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623854239,"filename":"image_23012025_10_15_02_585935_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330795916","file1":"1330795910","file0":"1330795906","file3":"1330795920"},"map_files_photo_id_array":[{"photo_id":"1330795916","filename":"file2"},{"photo_id":"1330795910","filename":"file1"},{"photo_id":"1330795906","filename":"file0"},{"photo_id":"1330795920","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330795920":["hashtag1","hashtag2"]},{"1330795916":["hashtag1","hashtag2"]},{"1330795910":["hashtag1","hashtag2"]},{"1330795906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330795920, 1330795916, 1330795910, 1330795906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.7700777053833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:17:21.850112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_02_757125_0003.jpg', '/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_02_928431_0000.jpg', '/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_02_928431_0001.jpg', '/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_02_928431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_02_757125_0003.jpg
/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_02_928431_0000.jpg
/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_02_928431_0001.jpg
/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_02_928431_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330796033","1330796027","1330796021","1330796037"],"photo_ids_order":["1330796021","1330796027","1330796033","1330796037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfb24da964b1a4d8be9e1dc6d89aada0.jpg","text":"TemporaryFile(/tmp/multipartBody3484283788058608924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623913316,"filename":"image_23012025_10_17_02_928431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de23c617305aceb1fbd130de68f9d1d1.jpg","text":"TemporaryFile(/tmp/multipartBody3822821495031032775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623913316,"filename":"image_23012025_10_17_02_928431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0de6f4ea0bd0227bbec9702dfece87c.jpg","text":"TemporaryFile(/tmp/multipartBody5684832737280368467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623913316,"filename":"image_23012025_10_16_02_757125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4084feccb113d3d4126f093d51289898.jpg","text":"TemporaryFile(/tmp/multipartBody6152120420932710657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623913316,"filename":"image_23012025_10_17_02_928431_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330796033","file1":"1330796027","file0":"1330796021","file3":"1330796037"},"map_files_photo_id_array":[{"photo_id":"1330796033","filename":"file2"},{"photo_id":"1330796027","filename":"file1"},{"photo_id":"1330796021","filename":"file0"},{"photo_id":"1330796037","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330796033":["hashtag1","hashtag2"]},{"1330796027":["hashtag1","hashtag2"]},{"1330796021":["hashtag1","hashtag2"]},{"1330796037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330796033, 1330796027, 1330796021, 1330796037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.22754192352295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:18:21.971634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_02_928431_0003.jpg', '/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_02_220452_0000.jpg', '/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_02_220452_0001.jpg', '/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_02_220452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_02_928431_0003.jpg
/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_02_220452_0000.jpg
/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_02_220452_0001.jpg
/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_02_220452_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330796082","1330796058","1330796088","1330796055"],"photo_ids_order":["1330796055","1330796058","1330796082","1330796088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae0fcf67d85e3036f3a3a5bd9a568bfd.jpg","text":"TemporaryFile(/tmp/multipartBody669730504701865030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623973024,"filename":"image_23012025_10_18_02_220452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34c8a1189a0650b1e9d3ac85f193873a.jpg","text":"TemporaryFile(/tmp/multipartBody1549235571791849342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623973024,"filename":"image_23012025_10_18_02_220452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61b35126a4efdd52f4d47ce7624b7fea.jpg","text":"TemporaryFile(/tmp/multipartBody1642540748273101938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623973024,"filename":"image_23012025_10_18_02_220452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f800d6b500d37c55d65e0d9529bb6d2b.jpg","text":"TemporaryFile(/tmp/multipartBody7692429680794992999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623973024,"filename":"image_23012025_10_17_02_928431_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330796082","file1":"1330796058","file0":"1330796055","file3":"1330796088"},"map_files_photo_id_array":[{"photo_id":"1330796082","filename":"file2"},{"photo_id":"1330796058","filename":"file1"},{"photo_id":"1330796055","filename":"file0"},{"photo_id":"1330796088","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330796082":["hashtag1","hashtag2"]},{"1330796058":["hashtag1","hashtag2"]},{"1330796088":["hashtag1","hashtag2"]},{"1330796055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330796082, 1330796058, 1330796088, 1330796055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.36320185661316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:19:22.212839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_02_220452_0003.jpg', '/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_02_320414_0000.jpg', '/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_02_320414_0001.jpg', '/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_02_320414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_02_220452_0003.jpg
/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_02_320414_0000.jpg
/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_02_320414_0001.jpg
/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_02_320414_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330796106","1330796167","1330796116","1330796110"],"photo_ids_order":["1330796106","1330796110","1330796116","1330796167"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/296d6f2379a9c40f22c2b4ae0754a758.jpg","text":"TemporaryFile(/tmp/multipartBody3451460545588455364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624033270,"filename":"image_23012025_10_18_02_220452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/642f86501c90767c8d1dc07cc88adc34.jpg","text":"TemporaryFile(/tmp/multipartBody5414311185688898543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624033270,"filename":"image_23012025_10_19_02_320414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2620ef19098e7d0b68e26a5533f78574.jpg","text":"TemporaryFile(/tmp/multipartBody9068133443125171510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624033270,"filename":"image_23012025_10_19_02_320414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/714d8d15e248d1a1f545664554a6e2f5.jpg","text":"TemporaryFile(/tmp/multipartBody3684308006005270615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624033270,"filename":"image_23012025_10_19_02_320414_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330796116","file1":"1330796110","file0":"1330796106","file3":"1330796167"},"map_files_photo_id_array":[{"photo_id":"1330796116","filename":"file2"},{"photo_id":"1330796110","filename":"file1"},{"photo_id":"1330796106","filename":"file0"},{"photo_id":"1330796167","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330796106":["hashtag1","hashtag2"]},{"1330796167":["hashtag1","hashtag2"]},{"1330796116":["hashtag1","hashtag2"]},{"1330796110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330796106, 1330796167, 1330796116, 1330796110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.406060457229614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:20:22.477611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_02_320414_0003.jpg', '/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_02_576724_0000.jpg', '/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_02_576724_0001.jpg', '/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_02_576724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_02_320414_0003.jpg
/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_02_576724_0000.jpg
/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_02_576724_0001.jpg
/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_02_576724_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330796861","1330796783","1330796768","1330796839"],"photo_ids_order":["1330796768","1330796783","1330796839","1330796861"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c39b39650dd426a69dc38e908e6484e.jpg","text":"TemporaryFile(/tmp/multipartBody6841280544314450193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624093848,"filename":"image_23012025_10_20_02_576724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/abed937110aeeec1efc18021908c3871.jpg","text":"TemporaryFile(/tmp/multipartBody7808606519928679578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624093848,"filename":"image_23012025_10_20_02_576724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/628c35fec33fe8ab943554cb920c2fb3.jpg","text":"TemporaryFile(/tmp/multipartBody4705366105182508794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624093848,"filename":"image_23012025_10_19_02_320414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ed05033ec3d84d90b8188d00e821578.jpg","text":"TemporaryFile(/tmp/multipartBody7906542615805336754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624093848,"filename":"image_23012025_10_20_02_576724_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330796839","file1":"1330796783","file0":"1330796768","file3":"1330796861"},"map_files_photo_id_array":[{"photo_id":"1330796839","filename":"file2"},{"photo_id":"1330796783","filename":"file1"},{"photo_id":"1330796768","filename":"file0"},{"photo_id":"1330796861","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330796861":["hashtag1","hashtag2"]},{"1330796783":["hashtag1","hashtag2"]},{"1330796768":["hashtag1","hashtag2"]},{"1330796839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330796861, 1330796783, 1330796768, 1330796839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.00047540664673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:21:22.630662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_02_576724_0003.jpg', '/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_02_803623_0000.jpg', '/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_02_803623_0001.jpg', '/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_02_803623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_02_576724_0003.jpg
/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_02_803623_0000.jpg
/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_02_803623_0001.jpg
/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_02_803623_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330797227","1330797236","1330797346","1330797223"],"photo_ids_order":["1330797223","1330797227","1330797236","1330797346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5091eaa46f6fbbb1bb5f5e563a0c0cb.jpg","text":"TemporaryFile(/tmp/multipartBody5687167264483010373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624153465,"filename":"image_23012025_10_21_02_803623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6de4a7f413915c71aaa452afc9a02f83.jpg","text":"TemporaryFile(/tmp/multipartBody1404358317094583908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624153465,"filename":"image_23012025_10_21_02_803623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39fc050b62ebbcf3f7a141f931ddb673.jpg","text":"TemporaryFile(/tmp/multipartBody544666826486402517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624153465,"filename":"image_23012025_10_21_02_803623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7603eb77f83652dce4a2468e35d617ca.jpg","text":"TemporaryFile(/tmp/multipartBody8440296280077475647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624153465,"filename":"image_23012025_10_20_02_576724_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330797236","file1":"1330797227","file0":"1330797223","file3":"1330797346"},"map_files_photo_id_array":[{"photo_id":"1330797236","filename":"file2"},{"photo_id":"1330797227","filename":"file1"},{"photo_id":"1330797223","filename":"file0"},{"photo_id":"1330797346","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330797227":["hashtag1","hashtag2"]},{"1330797236":["hashtag1","hashtag2"]},{"1330797346":["hashtag1","hashtag2"]},{"1330797223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330797227, 1330797236, 1330797346, 1330797223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.67066955566406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:22:22.785186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_02_803623_0003.jpg', '/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_02_960651_0000.jpg', '/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_02_960651_0001.jpg', '/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_02_960651_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_02_803623_0003.jpg
/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_02_960651_0000.jpg
/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_02_960651_0001.jpg
/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_02_960651_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330797454","1330797511","1330797514","1330797507"],"photo_ids_order":["1330797454","1330797507","1330797511","1330797514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3671570a9003370397982fd1889b786a.jpg","text":"TemporaryFile(/tmp/multipartBody4496174256279076173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624213587,"filename":"image_23012025_10_21_02_803623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9716aae5f90980497e0c34aa6a03a927.jpg","text":"TemporaryFile(/tmp/multipartBody8566517464466088343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624213587,"filename":"image_23012025_10_22_02_960651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3985ee6e879bc0dd507053094e3000c.jpg","text":"TemporaryFile(/tmp/multipartBody9033274450844726100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624213587,"filename":"image_23012025_10_22_02_960651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d031bd4813284ccb3ac3d03a5e03e456.jpg","text":"TemporaryFile(/tmp/multipartBody2880928345625263976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624213587,"filename":"image_23012025_10_22_02_960651_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330797511","file1":"1330797507","file0":"1330797454","file3":"1330797514"},"map_files_photo_id_array":[{"photo_id":"1330797511","filename":"file2"},{"photo_id":"1330797507","filename":"file1"},{"photo_id":"1330797454","filename":"file0"},{"photo_id":"1330797514","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330797454":["hashtag1","hashtag2"]},{"1330797511":["hashtag1","hashtag2"]},{"1330797514":["hashtag1","hashtag2"]},{"1330797507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330797454, 1330797511, 1330797514, 1330797507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.48192548751831 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:23:22.006407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_02_960651_0003.jpg', '/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_03_107530_0000.jpg', '/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_03_107530_0001.jpg', '/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_03_107530_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_02_960651_0003.jpg
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_03_107530_0000.jpg
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_03_107530_0001.jpg
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_03_107530_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330797551","1330797545","1330797554","1330797548"],"photo_ids_order":["1330797545","1330797548","1330797551","1330797554"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6155d52932c355804ce886d0ace3ba8f.jpg","text":"TemporaryFile(/tmp/multipartBody8226949410297629624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624272552,"filename":"image_23012025_10_23_03_107530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a59a32220190aae7a5c0b4d08a64801.jpg","text":"TemporaryFile(/tmp/multipartBody1516427086843813278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624272552,"filename":"image_23012025_10_22_02_960651_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35af692a84dd3eeb9b399c061fc7b259.jpg","text":"TemporaryFile(/tmp/multipartBody5935495681102587336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624272552,"filename":"image_23012025_10_23_03_107530_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ae147ec51f3cd7ddac441cd10dd385f.jpg","text":"TemporaryFile(/tmp/multipartBody8869233240840848827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624272552,"filename":"image_23012025_10_23_03_107530_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330797551","file1":"1330797548","file0":"1330797545","file3":"1330797554"},"map_files_photo_id_array":[{"photo_id":"1330797551","filename":"file2"},{"photo_id":"1330797548","filename":"file1"},{"photo_id":"1330797545","filename":"file0"},{"photo_id":"1330797554","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330797551":["hashtag1","hashtag2"]},{"1330797545":["hashtag1","hashtag2"]},{"1330797554":["hashtag1","hashtag2"]},{"1330797548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330797551, 1330797545, 1330797554, 1330797548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.73417401313782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 10:24:02.594171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0002.jpg', '/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0003.jpg', '/home/pi/Desktop/images/21012025/18/42/image_21012025_18_42_02_245960_0000.jpg', '/home/pi/Desktop/images/21012025/18/42/image_21012025_18_42_02_245960_0001.jpg', '/home/pi/Desktop/images/21012025/18/42/image_21012025_18_42_02_245960_0002.jpg', '/home/pi/Desktop/images/21012025/18/42/image_21012025_18_42_02_245960_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0002.jpg
/home/pi/Desktop/images/21012025/18/41/image_21012025_18_41_03_076375_0003.jpg
/home/pi/Desktop/images/21012025/18/42/image_21012025_18_42_02_245960_0000.jpg
/home/pi/Desktop/images/21012025/18/42/image_21012025_18_42_02_245960_0001.jpg
/home/pi/Desktop/images/21012025/18/42/image_21012025_18_42_02_245960_0002.jpg
/home/pi/Desktop/images/21012025/18/42/image_21012025_18_42_02_245960_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":["1330797566","1330797622","1330797582","1330797564","1330797575","1330797590"],"photo_ids_order":["1330797564","1330797566","1330797575","1330797582","1330797590","1330797622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4173e92a8d8b6ff83a564ca86900da0d.jpg","text":"TemporaryFile(/tmp/multipartBody8555433785998846350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624320781,"filename":"image_21012025_18_41_03_076375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b78a5bcc9ba4280341a0b833db1165f4.jpg","text":"TemporaryFile(/tmp/multipartBody2253984343839332630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624320781,"filename":"image_21012025_18_42_02_245960_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0917409e63e134e951c3888b4f6874c3.jpg","text":"TemporaryFile(/tmp/multipartBody838796189687683369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624320781,"filename":"image_21012025_18_42_02_245960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a54eb6a119d2ed03a64719c889524ae.jpg","text":"TemporaryFile(/tmp/multipartBody9002312615458716548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624320781,"filename":"image_21012025_18_41_03_076375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/267c92696f45d7504f7c7216756c4b29.jpg","text":"TemporaryFile(/tmp/multipartBody1427314828578225507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624320781,"filename":"image_21012025_18_42_02_245960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3166f8399b20a771a174fda0991c08e5.jpg","text":"TemporaryFile(/tmp/multipartBody4935994205738687886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624320781,"filename":"image_21012025_18_42_02_245960_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330797575","file1":"1330797566","file0":"1330797564","file4":"1330797590","file5":"1330797622","file3":"1330797582"},"map_files_photo_id_array":[{"photo_id":"1330797622","filename":"file5"},{"photo_id":"1330797575","filename":"file2"},{"photo_id":"1330797590","filename":"file4"},{"photo_id":"1330797566","filename":"file1"},{"photo_id":"1330797564","filename":"file0"},{"photo_id":"1330797582","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330797566":["hashtag1","hashtag2"]},{"1330797622":["hashtag1","hashtag2"]},{"1330797582":["hashtag1","hashtag2"]},{"1330797564":["hashtag1","hashtag2"]},{"1330797575":["hashtag1","hashtag2"]},{"1330797590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330797566, 1330797622, 1330797582, 1330797564, 1330797575, 1330797590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.83810353279114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:25:22.363449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_03_107530_0003.jpg', '/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_02_312937_0000.jpg', '/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_02_312937_0001.jpg', '/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_02_312937_0002.jpg', '/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_02_312937_0003.jpg', '/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_02_480490_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_03_107530_0003.jpg
/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_02_312937_0000.jpg
/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_02_312937_0001.jpg
/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_02_312937_0002.jpg
/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_02_312937_0003.jpg
/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_02_480490_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":["1330797764","1330797955","1330797925","1330797904","1330798002","1330797860"],"photo_ids_order":["1330797764","1330797860","1330797904","1330797925","1330797955","1330798002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/210a0214d063a5bba62c35e60e630f38.jpg","text":"TemporaryFile(/tmp/multipartBody7638372879905788509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624398441,"filename":"image_23012025_10_23_03_107530_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8a9a9703aa534975c5f78bca06bb9c9.jpg","text":"TemporaryFile(/tmp/multipartBody5343498983651432608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624398441,"filename":"image_23012025_10_24_02_312937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/842c0b6b1eb7aff9a499e92e228c8f0f.jpg","text":"TemporaryFile(/tmp/multipartBody7127087692836856804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624398441,"filename":"image_23012025_10_24_02_312937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd88dbef4991f197457af417ef001343.jpg","text":"TemporaryFile(/tmp/multipartBody9110856348041675624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624398441,"filename":"image_23012025_10_24_02_312937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca3a9b0ec57f845d22fd4bdabcaf566d.jpg","text":"TemporaryFile(/tmp/multipartBody6486351557825435919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624398441,"filename":"image_23012025_10_25_02_480490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24b62d1788c67a4afdccc41794870185.jpg","text":"TemporaryFile(/tmp/multipartBody685011661299900563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624398441,"filename":"image_23012025_10_24_02_312937_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330797904","file1":"1330797860","file0":"1330797764","file4":"1330797955","file5":"1330798002","file3":"1330797925"},"map_files_photo_id_array":[{"photo_id":"1330798002","filename":"file5"},{"photo_id":"1330797904","filename":"file2"},{"photo_id":"1330797955","filename":"file4"},{"photo_id":"1330797860","filename":"file1"},{"photo_id":"1330797764","filename":"file0"},{"photo_id":"1330797925","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330797764":["hashtag1","hashtag2"]},{"1330797955":["hashtag1","hashtag2"]},{"1330797925":["hashtag1","hashtag2"]},{"1330797904":["hashtag1","hashtag2"]},{"1330798002":["hashtag1","hashtag2"]},{"1330797860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330797764, 1330797955, 1330797925, 1330797904, 1330798002, 1330797860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.80663728713989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:26:22.532091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_02_480490_0001.jpg', '/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_02_480490_0002.jpg', '/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_02_480490_0003.jpg', '/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_02_749244_0000.jpg', '/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_02_749244_0001.jpg', '/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_02_749244_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_02_480490_0001.jpg
/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_02_480490_0002.jpg
/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_02_480490_0003.jpg
/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_02_749244_0000.jpg
/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_02_749244_0001.jpg
/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_02_749244_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330798057","1330798066","1330798074","1330798076","1330798079","1330798070"],"photo_ids_order":["1330798057","1330798066","1330798070","1330798074","1330798076","1330798079"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8b01c8be52a34cafa49cff6ab260655.jpg","text":"TemporaryFile(/tmp/multipartBody7848662160829182860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624457663,"filename":"image_23012025_10_25_02_480490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/876da7cd5345a7333f75bfd9f3337ebd.jpg","text":"TemporaryFile(/tmp/multipartBody2074204880029048261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624457663,"filename":"image_23012025_10_25_02_480490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0a558fbb50c3ec23956d6699a2b27bf.jpg","text":"TemporaryFile(/tmp/multipartBody8630779068678063304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624457663,"filename":"image_23012025_10_26_02_749244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d2032e5de41192c56c7ad43e013e685.jpg","text":"TemporaryFile(/tmp/multipartBody4968113883076098835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624457663,"filename":"image_23012025_10_26_02_749244_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20b822c376e43604efbc89f21b62f6cd.jpg","text":"TemporaryFile(/tmp/multipartBody1335938029051489844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624457663,"filename":"image_23012025_10_26_02_749244_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d281147ca718a05782005a90dedae81.jpg","text":"TemporaryFile(/tmp/multipartBody7456148397559298306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624457663,"filename":"image_23012025_10_25_02_480490_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330798070","file1":"1330798066","file0":"1330798057","file4":"1330798076","file5":"1330798079","file3":"1330798074"},"map_files_photo_id_array":[{"photo_id":"1330798079","filename":"file5"},{"photo_id":"1330798070","filename":"file2"},{"photo_id":"1330798076","filename":"file4"},{"photo_id":"1330798066","filename":"file1"},{"photo_id":"1330798057","filename":"file0"},{"photo_id":"1330798074","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330798057":["hashtag1","hashtag2"]},{"1330798066":["hashtag1","hashtag2"]},{"1330798074":["hashtag1","hashtag2"]},{"1330798076":["hashtag1","hashtag2"]},{"1330798079":["hashtag1","hashtag2"]},{"1330798070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330798057, 1330798066, 1330798074, 1330798076, 1330798079, 1330798070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.114736795425415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:27:22.736438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_02_749244_0003.jpg', '/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_02_873670_0000.jpg', '/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_02_873670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_02_749244_0003.jpg
/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_02_873670_0000.jpg
/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_02_873670_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330798360","1330798354","1330798338"],"photo_ids_order":["1330798338","1330798354","1330798360"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83f2456e0c0ae50454df34f28a2bd57e.jpg","text":"TemporaryFile(/tmp/multipartBody5507357425295900729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624510742,"filename":"image_23012025_10_27_02_873670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b73521031f979383f0411f06886cd0d9.jpg","text":"TemporaryFile(/tmp/multipartBody2008637607797363825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624510742,"filename":"image_23012025_10_27_02_873670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a213ae9fea5cc64c917f05bedbbfd24.jpg","text":"TemporaryFile(/tmp/multipartBody8071498393184818940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624510742,"filename":"image_23012025_10_26_02_749244_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330798360","file1":"1330798354","file0":"1330798338"},"map_files_photo_id_array":[{"photo_id":"1330798360","filename":"file2"},{"photo_id":"1330798354","filename":"file1"},{"photo_id":"1330798338","filename":"file0"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330798360":["hashtag1","hashtag2"]},{"1330798354":["hashtag1","hashtag2"]},{"1330798338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330798360, 1330798354, 1330798338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.321051597595215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 10:28:02.285085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/43/image_21012025_18_43_02_351286_0000.jpg', '/home/pi/Desktop/images/21012025/18/43/image_21012025_18_43_02_351286_0001.jpg', '/home/pi/Desktop/images/21012025/18/43/image_21012025_18_43_02_351286_0002.jpg', '/home/pi/Desktop/images/21012025/18/43/image_21012025_18_43_02_351286_0003.jpg', '/home/pi/Desktop/images/21012025/18/44/image_21012025_18_44_02_570728_0000.jpg', '/home/pi/Desktop/images/21012025/18/44/image_21012025_18_44_02_570728_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/43/image_21012025_18_43_02_351286_0000.jpg
/home/pi/Desktop/images/21012025/18/43/image_21012025_18_43_02_351286_0001.jpg
/home/pi/Desktop/images/21012025/18/43/image_21012025_18_43_02_351286_0002.jpg
/home/pi/Desktop/images/21012025/18/43/image_21012025_18_43_02_351286_0003.jpg
/home/pi/Desktop/images/21012025/18/44/image_21012025_18_44_02_570728_0000.jpg
/home/pi/Desktop/images/21012025/18/44/image_21012025_18_44_02_570728_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":["1330798441","1330798438","1330798448","1330798451","1330798445","1330798430"],"photo_ids_order":["1330798430","1330798438","1330798441","1330798445","1330798448","1330798451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6bc2b5c52dcb7880a2c612edbb7f0ad2.jpg","text":"TemporaryFile(/tmp/multipartBody1633148655575893823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624560425,"filename":"image_21012025_18_43_02_351286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00dbb0fe8bd6b82e9f6b3afe0f91e70d.jpg","text":"TemporaryFile(/tmp/multipartBody7775175611462946684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624560425,"filename":"image_21012025_18_43_02_351286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c0c8c99d4f454c72afabf49cb0e7c98.jpg","text":"TemporaryFile(/tmp/multipartBody7557349086391752432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624560425,"filename":"image_21012025_18_44_02_570728_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5bfd1bb310eea05f8f94f06bd4165613.jpg","text":"TemporaryFile(/tmp/multipartBody6859628760543190142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624560425,"filename":"image_21012025_18_44_02_570728_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8910d05fbccebd0c63996d6d307637f0.jpg","text":"TemporaryFile(/tmp/multipartBody6065882500271481626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624560425,"filename":"image_21012025_18_43_02_351286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6cc4e2bd631533d29d00ab3fe3364c6e.jpg","text":"TemporaryFile(/tmp/multipartBody7519908284962016477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624560425,"filename":"image_21012025_18_43_02_351286_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330798441","file1":"1330798438","file0":"1330798430","file4":"1330798448","file5":"1330798451","file3":"1330798445"},"map_files_photo_id_array":[{"photo_id":"1330798451","filename":"file5"},{"photo_id":"1330798441","filename":"file2"},{"photo_id":"1330798448","filename":"file4"},{"photo_id":"1330798438","filename":"file1"},{"photo_id":"1330798430","filename":"file0"},{"photo_id":"1330798445","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330798441":["hashtag1","hashtag2"]},{"1330798438":["hashtag1","hashtag2"]},{"1330798448":["hashtag1","hashtag2"]},{"1330798451":["hashtag1","hashtag2"]},{"1330798445":["hashtag1","hashtag2"]},{"1330798430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330798441, 1330798438, 1330798448, 1330798451, 1330798445, 1330798430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.363648414611816 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-23 10:29:22.141679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_02_873670_0003.jpg', '/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_03_076986_0000.jpg', '/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_03_076986_0002.jpg', '/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_03_076986_0003.jpg', '/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_02_222982_0000.jpg', '/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_02_222982_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_02_873670_0003.jpg
/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_03_076986_0000.jpg
/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_03_076986_0002.jpg
/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_03_076986_0003.jpg
/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_02_222982_0000.jpg
/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_02_222982_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":["1330798483","1330798486","1330798488","1330798479","1330798490","1330798493"],"photo_ids_order":["1330798479","1330798483","1330798486","1330798488","1330798490","1330798493"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9afc90e8cfb8c21aaec42e040d370701.jpg","text":"TemporaryFile(/tmp/multipartBody9009519059678070574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624637713,"filename":"image_23012025_10_28_03_076986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e79404bc18938bd2a5682008083b0e7.jpg","text":"TemporaryFile(/tmp/multipartBody8006785218189349362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624637713,"filename":"image_23012025_10_28_03_076986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9db7967f2355614f1ef24f3553a3b12.jpg","text":"TemporaryFile(/tmp/multipartBody9122374275907349174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624637713,"filename":"image_23012025_10_28_03_076986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1ed682ede3bd42ac1b096a793b8b302.jpg","text":"TemporaryFile(/tmp/multipartBody8671558048503017006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624637713,"filename":"image_23012025_10_27_02_873670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af7cc59a4805f75f8d372cc8df145a4b.jpg","text":"TemporaryFile(/tmp/multipartBody4598621903728602709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624637713,"filename":"image_23012025_10_29_02_222982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0020ca7949358d97703444d109b7b03.jpg","text":"TemporaryFile(/tmp/multipartBody7308109189797375980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624637713,"filename":"image_23012025_10_29_02_222982_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330798486","file1":"1330798483","file0":"1330798479","file4":"1330798490","file5":"1330798493","file3":"1330798488"},"map_files_photo_id_array":[{"photo_id":"1330798493","filename":"file5"},{"photo_id":"1330798486","filename":"file2"},{"photo_id":"1330798490","filename":"file4"},{"photo_id":"1330798483","filename":"file1"},{"photo_id":"1330798479","filename":"file0"},{"photo_id":"1330798488","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330798483":["hashtag1","hashtag2"]},{"1330798486":["hashtag1","hashtag2"]},{"1330798488":["hashtag1","hashtag2"]},{"1330798479":["hashtag1","hashtag2"]},{"1330798490":["hashtag1","hashtag2"]},{"1330798493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330798483, 1330798486, 1330798488, 1330798479, 1330798490, 1330798493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.016767263412476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:30:22.257052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_02_222982_0002.jpg', '/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_02_222982_0003.jpg', '/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_02_419136_0000.jpg', '/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_02_419136_0001.jpg', '/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_02_419136_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_02_222982_0002.jpg
/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_02_222982_0003.jpg
/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_02_419136_0000.jpg
/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_02_419136_0001.jpg
/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_02_419136_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330798613","1330798607","1330798603","1330798611","1330798598"],"photo_ids_order":["1330798598","1330798603","1330798607","1330798611","1330798613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24ba4fb20a489c4b5b66a2548b73e381.jpg","text":"TemporaryFile(/tmp/multipartBody1875495836729769698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624695561,"filename":"image_23012025_10_30_02_419136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1272439842e3bd355f3de1af1ca7b85.jpg","text":"TemporaryFile(/tmp/multipartBody2674679602725892894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624695561,"filename":"image_23012025_10_30_02_419136_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5a99a09ae13d5a0cc582bd74c2351ae.jpg","text":"TemporaryFile(/tmp/multipartBody2175062162780316324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624695561,"filename":"image_23012025_10_29_02_222982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afcd5010fde3c5b75a3cdc5621f86e0d.jpg","text":"TemporaryFile(/tmp/multipartBody6960308883935902138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624695561,"filename":"image_23012025_10_30_02_419136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e66563354ebcf5b79078c8c5ab455798.jpg","text":"TemporaryFile(/tmp/multipartBody9173716879013013712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624695561,"filename":"image_23012025_10_29_02_222982_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330798607","file1":"1330798603","file0":"1330798598","file4":"1330798613","file3":"1330798611"},"map_files_photo_id_array":[{"photo_id":"1330798607","filename":"file2"},{"photo_id":"1330798613","filename":"file4"},{"photo_id":"1330798603","filename":"file1"},{"photo_id":"1330798598","filename":"file0"},{"photo_id":"1330798611","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330798613":["hashtag1","hashtag2"]},{"1330798607":["hashtag1","hashtag2"]},{"1330798603":["hashtag1","hashtag2"]},{"1330798611":["hashtag1","hashtag2"]},{"1330798598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330798613, 1330798607, 1330798603, 1330798611, 1330798598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.85898494720459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:31:22.369560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_02_419136_0003.jpg', '/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_02_570101_0000.jpg', '/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_02_570101_0001.jpg', '/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_02_570101_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_02_419136_0003.jpg
/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_02_570101_0000.jpg
/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_02_570101_0001.jpg
/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_02_570101_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330798654","1330798686","1330798644","1330798661"],"photo_ids_order":["1330798644","1330798654","1330798661","1330798686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e24dc1515ce20cb0bd23e50f05858926.jpg","text":"TemporaryFile(/tmp/multipartBody733224105412710203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624752945,"filename":"image_23012025_10_31_02_570101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dab26d30eefc57f2bdbc224c7b4f50c7.jpg","text":"TemporaryFile(/tmp/multipartBody6080771340344601480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624752945,"filename":"image_23012025_10_31_02_570101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2996721321fd05c10ee4b0020874778f.jpg","text":"TemporaryFile(/tmp/multipartBody99111482922772916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624752945,"filename":"image_23012025_10_30_02_419136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e226a7a4aab7b9bb8a7fff7939d1919.jpg","text":"TemporaryFile(/tmp/multipartBody1661561958451166321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624752945,"filename":"image_23012025_10_31_02_570101_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330798661","file1":"1330798654","file0":"1330798644","file3":"1330798686"},"map_files_photo_id_array":[{"photo_id":"1330798661","filename":"file2"},{"photo_id":"1330798654","filename":"file1"},{"photo_id":"1330798644","filename":"file0"},{"photo_id":"1330798686","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330798654":["hashtag1","hashtag2"]},{"1330798686":["hashtag1","hashtag2"]},{"1330798644":["hashtag1","hashtag2"]},{"1330798661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330798654, 1330798686, 1330798644, 1330798661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63523602485657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 10:32:03.000345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/44/image_21012025_18_44_02_570728_0002.jpg', '/home/pi/Desktop/images/21012025/18/44/image_21012025_18_44_02_570728_0003.jpg', '/home/pi/Desktop/images/21012025/18/45/image_21012025_18_45_02_821533_0000.jpg', '/home/pi/Desktop/images/21012025/18/45/image_21012025_18_45_02_821533_0001.jpg', '/home/pi/Desktop/images/21012025/18/45/image_21012025_18_45_02_821533_0002.jpg', '/home/pi/Desktop/images/21012025/18/45/image_21012025_18_45_02_821533_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/44/image_21012025_18_44_02_570728_0002.jpg
/home/pi/Desktop/images/21012025/18/44/image_21012025_18_44_02_570728_0003.jpg
/home/pi/Desktop/images/21012025/18/45/image_21012025_18_45_02_821533_0000.jpg
/home/pi/Desktop/images/21012025/18/45/image_21012025_18_45_02_821533_0001.jpg
/home/pi/Desktop/images/21012025/18/45/image_21012025_18_45_02_821533_0002.jpg
/home/pi/Desktop/images/21012025/18/45/image_21012025_18_45_02_821533_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":["1330798747","1330798912","1330798884","1330798926","1330798919","1330798742"],"photo_ids_order":["1330798742","1330798747","1330798884","1330798912","1330798919","1330798926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e09447817f1a28ad898e25932d318f8.jpg","text":"TemporaryFile(/tmp/multipartBody7411192280854930219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624801963,"filename":"image_21012025_18_44_02_570728_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc5f7e57eada9974b52b794ec577c875.jpg","text":"TemporaryFile(/tmp/multipartBody931305348256772729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624801963,"filename":"image_21012025_18_45_02_821533_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2026296169b5ebc056cfb90e6f312f9a.jpg","text":"TemporaryFile(/tmp/multipartBody6422765221425254275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624801963,"filename":"image_21012025_18_45_02_821533_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ebb32b3889f229dd89ac77b447eda12.jpg","text":"TemporaryFile(/tmp/multipartBody7732731914501269774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624801963,"filename":"image_21012025_18_45_02_821533_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4629048faeb0e9b6564d67641085985f.jpg","text":"TemporaryFile(/tmp/multipartBody7077163105869637916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624801963,"filename":"image_21012025_18_45_02_821533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4d67be3c31e6daad62df6fb11cc1eff.jpg","text":"TemporaryFile(/tmp/multipartBody3406429910298700412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624801963,"filename":"image_21012025_18_44_02_570728_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330798884","file1":"1330798747","file0":"1330798742","file4":"1330798919","file5":"1330798926","file3":"1330798912"},"map_files_photo_id_array":[{"photo_id":"1330798926","filename":"file5"},{"photo_id":"1330798884","filename":"file2"},{"photo_id":"1330798919","filename":"file4"},{"photo_id":"1330798747","filename":"file1"},{"photo_id":"1330798742","filename":"file0"},{"photo_id":"1330798912","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330798747":["hashtag1","hashtag2"]},{"1330798912":["hashtag1","hashtag2"]},{"1330798884":["hashtag1","hashtag2"]},{"1330798926":["hashtag1","hashtag2"]},{"1330798919":["hashtag1","hashtag2"]},{"1330798742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330798747, 1330798912, 1330798884, 1330798926, 1330798919, 1330798742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.1200807094574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:33:22.736419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_02_570101_0003.jpg', '/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_02_727457_0000.jpg', '/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_02_727457_0001.jpg', '/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_02_727457_0002.jpg', '/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_02_727457_0003.jpg', '/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_02_799501_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_02_570101_0003.jpg
/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_02_727457_0000.jpg
/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_02_727457_0001.jpg
/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_02_727457_0002.jpg
/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_02_727457_0003.jpg
/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_02_799501_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":["1330799136","1330799132","1330799105","1330799108","1330799086","1330799095"],"photo_ids_order":["1330799086","1330799095","1330799105","1330799108","1330799132","1330799136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be2ba4dd3dd17232b14f2eb6420d9bef.jpg","text":"TemporaryFile(/tmp/multipartBody4517665874326930631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624879323,"filename":"image_23012025_10_33_02_799501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f10b0f612cb4cb4bee9963e1306d1779.jpg","text":"TemporaryFile(/tmp/multipartBody1976993903977175585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624879323,"filename":"image_23012025_10_32_02_727457_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c47cf1e03af5a8219dc3bfc7138c3fca.jpg","text":"TemporaryFile(/tmp/multipartBody1447794445917535438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624879323,"filename":"image_23012025_10_32_02_727457_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/721d1edf6f76b84c0972d01ad87bbb99.jpg","text":"TemporaryFile(/tmp/multipartBody4229987036974606063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624879323,"filename":"image_23012025_10_32_02_727457_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63821d9131a7d94309d3ebec5c907699.jpg","text":"TemporaryFile(/tmp/multipartBody4121079712880020927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624879323,"filename":"image_23012025_10_31_02_570101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1934760a8fa6a6c7887e0f14c45c9820.jpg","text":"TemporaryFile(/tmp/multipartBody6421848623061035577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624879323,"filename":"image_23012025_10_32_02_727457_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330799105","file1":"1330799095","file0":"1330799086","file4":"1330799132","file5":"1330799136","file3":"1330799108"},"map_files_photo_id_array":[{"photo_id":"1330799136","filename":"file5"},{"photo_id":"1330799105","filename":"file2"},{"photo_id":"1330799132","filename":"file4"},{"photo_id":"1330799095","filename":"file1"},{"photo_id":"1330799086","filename":"file0"},{"photo_id":"1330799108","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330799136":["hashtag1","hashtag2"]},{"1330799132":["hashtag1","hashtag2"]},{"1330799105":["hashtag1","hashtag2"]},{"1330799108":["hashtag1","hashtag2"]},{"1330799086":["hashtag1","hashtag2"]},{"1330799095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330799136, 1330799132, 1330799105, 1330799108, 1330799086, 1330799095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.5263512134552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:34:21.974045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_02_799501_0001.jpg', '/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_02_799501_0002.jpg', '/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_02_799501_0003.jpg', '/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_03_062418_0000.jpg', '/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_03_062418_0001.jpg', '/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_03_062418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_02_799501_0001.jpg
/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_02_799501_0002.jpg
/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_02_799501_0003.jpg
/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_03_062418_0000.jpg
/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_03_062418_0001.jpg
/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_03_062418_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330799157","1330799160","1330799154","1330799301","1330799177","1330799156"],"photo_ids_order":["1330799154","1330799156","1330799157","1330799160","1330799177","1330799301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8ebf3e4a85f725ee85fa4cb74621ff8.jpg","text":"TemporaryFile(/tmp/multipartBody4219306464410547813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624938131,"filename":"image_23012025_10_33_02_799501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5f4bad333a573e64e4040518c7cfb6d.jpg","text":"TemporaryFile(/tmp/multipartBody7932162802940431843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624938131,"filename":"image_23012025_10_34_03_062418_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cad38d95adfe6bce5145b677fc64dc04.jpg","text":"TemporaryFile(/tmp/multipartBody8400919005436861621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624938131,"filename":"image_23012025_10_33_02_799501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9968d5b00f598f575b2e3a7d0d839ae7.jpg","text":"TemporaryFile(/tmp/multipartBody5813182325533573277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624938131,"filename":"image_23012025_10_34_03_062418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45340e6a77c9ea46ba25af5c9f864ca0.jpg","text":"TemporaryFile(/tmp/multipartBody6496578946584479763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624938131,"filename":"image_23012025_10_34_03_062418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c90f94ac87779de0f654630c72e19be.jpg","text":"TemporaryFile(/tmp/multipartBody1369200607317335827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624938131,"filename":"image_23012025_10_33_02_799501_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330799157","file1":"1330799156","file0":"1330799154","file4":"1330799177","file5":"1330799301","file3":"1330799160"},"map_files_photo_id_array":[{"photo_id":"1330799301","filename":"file5"},{"photo_id":"1330799157","filename":"file2"},{"photo_id":"1330799177","filename":"file4"},{"photo_id":"1330799156","filename":"file1"},{"photo_id":"1330799154","filename":"file0"},{"photo_id":"1330799160","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330799157":["hashtag1","hashtag2"]},{"1330799160":["hashtag1","hashtag2"]},{"1330799154":["hashtag1","hashtag2"]},{"1330799301":["hashtag1","hashtag2"]},{"1330799177":["hashtag1","hashtag2"]},{"1330799156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330799157, 1330799160, 1330799154, 1330799301, 1330799177, 1330799156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.60564088821411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:35:22.207372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_03_062418_0003.jpg', '/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_02_285173_0000.jpg', '/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_02_285173_0001.jpg', '/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_02_285173_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_03_062418_0003.jpg
/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_02_285173_0000.jpg
/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_02_285173_0001.jpg
/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_02_285173_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330799928","1330799723","1330799852","1330799600"],"photo_ids_order":["1330799600","1330799723","1330799852","1330799928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70f094f0226e4c04832d19c76c055e90.jpg","text":"TemporaryFile(/tmp/multipartBody199859650358544328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624993407,"filename":"image_23012025_10_35_02_285173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88ea981a67af70048b8120722eaaa7b5.jpg","text":"TemporaryFile(/tmp/multipartBody7702670824548402865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624993407,"filename":"image_23012025_10_35_02_285173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62a84ba53e13f9a6d02fc737f5f900fb.jpg","text":"TemporaryFile(/tmp/multipartBody5841320955773314096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624993407,"filename":"image_23012025_10_35_02_285173_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03eaa9c56c5b912dd0590ecfdc1b5724.jpg","text":"TemporaryFile(/tmp/multipartBody4693928958464155721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624993407,"filename":"image_23012025_10_34_03_062418_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330799852","file1":"1330799723","file0":"1330799600","file3":"1330799928"},"map_files_photo_id_array":[{"photo_id":"1330799852","filename":"file2"},{"photo_id":"1330799723","filename":"file1"},{"photo_id":"1330799600","filename":"file0"},{"photo_id":"1330799928","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330799928":["hashtag1","hashtag2"]},{"1330799723":["hashtag1","hashtag2"]},{"1330799852":["hashtag1","hashtag2"]},{"1330799600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330799928, 1330799723, 1330799852, 1330799600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.822688579559326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:36:22.320169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_02_285173_0003.jpg', '/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_02_536247_0000.jpg', '/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_02_536247_0001.jpg', '/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_02_536247_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_02_285173_0003.jpg
/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_02_536247_0000.jpg
/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_02_536247_0001.jpg
/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_02_536247_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330800048","1330800036","1330800039","1330800043"],"photo_ids_order":["1330800036","1330800039","1330800043","1330800048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2cf11e4af8f8fcd1c97b31ec324f7972.jpg","text":"TemporaryFile(/tmp/multipartBody4982302893010069118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625053209,"filename":"image_23012025_10_36_02_536247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a586517f680b78e71b2b8c30cc4c77f3.jpg","text":"TemporaryFile(/tmp/multipartBody810532240972154375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625053209,"filename":"image_23012025_10_35_02_285173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/276fbebb9a789271b1fbae7c750119bb.jpg","text":"TemporaryFile(/tmp/multipartBody5986157189335155199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625053209,"filename":"image_23012025_10_36_02_536247_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b47b1e19957985c7960d31757fda357a.jpg","text":"TemporaryFile(/tmp/multipartBody3461213231289168877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625053209,"filename":"image_23012025_10_36_02_536247_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330800043","file1":"1330800039","file0":"1330800036","file3":"1330800048"},"map_files_photo_id_array":[{"photo_id":"1330800043","filename":"file2"},{"photo_id":"1330800039","filename":"file1"},{"photo_id":"1330800036","filename":"file0"},{"photo_id":"1330800048","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330800048":["hashtag1","hashtag2"]},{"1330800036":["hashtag1","hashtag2"]},{"1330800039":["hashtag1","hashtag2"]},{"1330800043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330800048, 1330800036, 1330800039, 1330800043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.41513180732727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:37:22.583152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_02_536247_0003.jpg', '/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_02_618558_0000.jpg', '/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_02_618558_0001.jpg', '/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_02_618558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_02_536247_0003.jpg
/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_02_618558_0000.jpg
/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_02_618558_0001.jpg
/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_02_618558_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330800114","1330800083","1330800110","1330800106"],"photo_ids_order":["1330800083","1330800106","1330800110","1330800114"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a87e65e43fabb481064ad9a93d31c06.jpg","text":"TemporaryFile(/tmp/multipartBody7253298455755225275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625113833,"filename":"image_23012025_10_37_02_618558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ff8631bd2013c19402e74dd1294b1c5.jpg","text":"TemporaryFile(/tmp/multipartBody4835718569362096477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625113833,"filename":"image_23012025_10_36_02_536247_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6535997d8bcb96b8ae6b01fe8b6071fd.jpg","text":"TemporaryFile(/tmp/multipartBody4093474193595473681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625113833,"filename":"image_23012025_10_37_02_618558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c82c8a569460dbc66d7945c814170d8.jpg","text":"TemporaryFile(/tmp/multipartBody7839991610863374931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625113833,"filename":"image_23012025_10_37_02_618558_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330800110","file1":"1330800106","file0":"1330800083","file3":"1330800114"},"map_files_photo_id_array":[{"photo_id":"1330800110","filename":"file2"},{"photo_id":"1330800106","filename":"file1"},{"photo_id":"1330800083","filename":"file0"},{"photo_id":"1330800114","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330800114":["hashtag1","hashtag2"]},{"1330800083":["hashtag1","hashtag2"]},{"1330800110":["hashtag1","hashtag2"]},{"1330800106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330800114, 1330800083, 1330800110, 1330800106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.857532262802124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 10:38:03.145790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/46/image_21012025_18_46_02_914445_0000.jpg', '/home/pi/Desktop/images/21012025/18/46/image_21012025_18_46_02_914445_0001.jpg', '/home/pi/Desktop/images/21012025/18/46/image_21012025_18_46_02_914445_0002.jpg', '/home/pi/Desktop/images/21012025/18/46/image_21012025_18_46_02_914445_0003.jpg', '/home/pi/Desktop/images/21012025/18/47/image_21012025_18_47_02_213973_0000.jpg', '/home/pi/Desktop/images/21012025/18/47/image_21012025_18_47_02_213973_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/46/image_21012025_18_46_02_914445_0000.jpg
/home/pi/Desktop/images/21012025/18/46/image_21012025_18_46_02_914445_0001.jpg
/home/pi/Desktop/images/21012025/18/46/image_21012025_18_46_02_914445_0002.jpg
/home/pi/Desktop/images/21012025/18/46/image_21012025_18_46_02_914445_0003.jpg
/home/pi/Desktop/images/21012025/18/47/image_21012025_18_47_02_213973_0000.jpg
/home/pi/Desktop/images/21012025/18/47/image_21012025_18_47_02_213973_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":["1330800147","1330800138","1330800206","1330800209","1330800142","1330800202"],"photo_ids_order":["1330800138","1330800142","1330800147","1330800202","1330800206","1330800209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef53ac641238d9bb694feb0d35e40fdd.jpg","text":"TemporaryFile(/tmp/multipartBody3902293435592893780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625161402,"filename":"image_21012025_18_46_02_914445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2261afade2e9ddd0cdd7001a573ec3c1.jpg","text":"TemporaryFile(/tmp/multipartBody4034972705138206630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625161402,"filename":"image_21012025_18_46_02_914445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/520ad6c8d776ffe5d86ee22725fd7722.jpg","text":"TemporaryFile(/tmp/multipartBody3373650692465506699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625161402,"filename":"image_21012025_18_47_02_213973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a1d9502a89c2f56f612981c3ab6db3b.jpg","text":"TemporaryFile(/tmp/multipartBody4957184872688556471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625161402,"filename":"image_21012025_18_47_02_213973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65ec073f7b1e8f182094bed8ac60fd9f.jpg","text":"TemporaryFile(/tmp/multipartBody5047116456691257035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625161402,"filename":"image_21012025_18_46_02_914445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/476300c41aaa6dab234bce752c275427.jpg","text":"TemporaryFile(/tmp/multipartBody5671962401713111734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625161402,"filename":"image_21012025_18_46_02_914445_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330800147","file1":"1330800142","file0":"1330800138","file4":"1330800206","file5":"1330800209","file3":"1330800202"},"map_files_photo_id_array":[{"photo_id":"1330800209","filename":"file5"},{"photo_id":"1330800147","filename":"file2"},{"photo_id":"1330800206","filename":"file4"},{"photo_id":"1330800142","filename":"file1"},{"photo_id":"1330800138","filename":"file0"},{"photo_id":"1330800202","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330800147":["hashtag1","hashtag2"]},{"1330800138":["hashtag1","hashtag2"]},{"1330800206":["hashtag1","hashtag2"]},{"1330800209":["hashtag1","hashtag2"]},{"1330800142":["hashtag1","hashtag2"]},{"1330800202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330800147, 1330800138, 1330800206, 1330800209, 1330800142, 1330800202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.07880353927612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:39:21.911933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_02_618558_0003.jpg', '/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_02_874848_0000.jpg', '/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_02_874848_0001.jpg', '/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_02_874848_0002.jpg', '/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_02_874848_0003.jpg', '/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_03_054189_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_02_618558_0003.jpg
/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_02_874848_0000.jpg
/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_02_874848_0001.jpg
/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_02_874848_0002.jpg
/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_02_874848_0003.jpg
/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_03_054189_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":["1330800246","1330800231","1330800236","1330800277","1330800223","1330800291"],"photo_ids_order":["1330800223","1330800231","1330800236","1330800246","1330800277","1330800291"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/487240e70baeabeb33f01f35dd9bc2c5.jpg","text":"TemporaryFile(/tmp/multipartBody313428301823374128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625238415,"filename":"image_23012025_10_38_02_874848_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2e7f32095fa5ab1d07b000ca77dac7f.jpg","text":"TemporaryFile(/tmp/multipartBody6423183630545932561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625238415,"filename":"image_23012025_10_38_02_874848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7f314a37f0f7b2ee73da88e10ed9acc.jpg","text":"TemporaryFile(/tmp/multipartBody1493776408350439685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625238415,"filename":"image_23012025_10_38_02_874848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31e7445f3d26cf45eeccaa63bd6ff024.jpg","text":"TemporaryFile(/tmp/multipartBody1800570772859464885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625238415,"filename":"image_23012025_10_38_02_874848_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63a552a0691910711048a544ba0e58c7.jpg","text":"TemporaryFile(/tmp/multipartBody3655265881554070729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625238415,"filename":"image_23012025_10_37_02_618558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0340e474cf44a88ae40d67b37d640b65.jpg","text":"TemporaryFile(/tmp/multipartBody1709633101514755744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625238415,"filename":"image_23012025_10_39_03_054189_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330800236","file1":"1330800231","file0":"1330800223","file4":"1330800277","file5":"1330800291","file3":"1330800246"},"map_files_photo_id_array":[{"photo_id":"1330800291","filename":"file5"},{"photo_id":"1330800236","filename":"file2"},{"photo_id":"1330800277","filename":"file4"},{"photo_id":"1330800231","filename":"file1"},{"photo_id":"1330800223","filename":"file0"},{"photo_id":"1330800246","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330800246":["hashtag1","hashtag2"]},{"1330800231":["hashtag1","hashtag2"]},{"1330800236":["hashtag1","hashtag2"]},{"1330800277":["hashtag1","hashtag2"]},{"1330800223":["hashtag1","hashtag2"]},{"1330800291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330800246, 1330800231, 1330800236, 1330800277, 1330800223, 1330800291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.45405578613281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:40:32.066042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_03_054189_0001.jpg', '/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_03_054189_0002.jpg', '/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_03_054189_0003.jpg', '/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_02_235460_0000.jpg', '/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_02_235460_0001.jpg', '/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_02_235460_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_03_054189_0001.jpg
/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_03_054189_0002.jpg
/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_03_054189_0003.jpg
/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_02_235460_0000.jpg
/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_02_235460_0001.jpg
/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_02_235460_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330800677","1330800686","1330800631","1330800526","1330800684","1330800538"],"photo_ids_order":["1330800526","1330800538","1330800631","1330800677","1330800684","1330800686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf11e46bce561451e6841f7a45ade730.jpg","text":"TemporaryFile(/tmp/multipartBody9223191605258168155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625308678,"filename":"image_23012025_10_40_02_235460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20490935c908cf310d80a3e58f9512cb.jpg","text":"TemporaryFile(/tmp/multipartBody3815491047276149300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625308678,"filename":"image_23012025_10_40_02_235460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2226e7fb16d5a95d6f348cf73204d2ea.jpg","text":"TemporaryFile(/tmp/multipartBody2504757115297522993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625308678,"filename":"image_23012025_10_39_03_054189_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fcb1e8cdb844e8c43ff3fa07b98d5a7.jpg","text":"TemporaryFile(/tmp/multipartBody1947870988970415834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625308678,"filename":"image_23012025_10_39_03_054189_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0877aa2da07d0855b3c37a7afa0762d3.jpg","text":"TemporaryFile(/tmp/multipartBody4930285329910429241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625308678,"filename":"image_23012025_10_40_02_235460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f7cf616eca412ae74bf7f4a8cb302eb.jpg","text":"TemporaryFile(/tmp/multipartBody5991985696712488601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625308678,"filename":"image_23012025_10_39_03_054189_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330800631","file1":"1330800538","file0":"1330800526","file4":"1330800684","file5":"1330800686","file3":"1330800677"},"map_files_photo_id_array":[{"photo_id":"1330800686","filename":"file5"},{"photo_id":"1330800631","filename":"file2"},{"photo_id":"1330800684","filename":"file4"},{"photo_id":"1330800538","filename":"file1"},{"photo_id":"1330800526","filename":"file0"},{"photo_id":"1330800677","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330800677":["hashtag1","hashtag2"]},{"1330800686":["hashtag1","hashtag2"]},{"1330800631":["hashtag1","hashtag2"]},{"1330800526":["hashtag1","hashtag2"]},{"1330800684":["hashtag1","hashtag2"]},{"1330800538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330800677, 1330800686, 1330800631, 1330800526, 1330800684, 1330800538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.157618284225464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:41:32.233751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_02_235460_0003.jpg', '/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_02_389963_0000.jpg', '/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_02_389963_0001.jpg', '/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_02_389963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_02_235460_0003.jpg
/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_02_389963_0000.jpg
/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_02_389963_0001.jpg
/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_02_389963_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.853339672088623 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:41:52.209301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_02_235460_0003.jpg', '/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_02_389963_0000.jpg', '/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_02_389963_0001.jpg', '/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_02_389963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_02_235460_0003.jpg
/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_02_389963_0000.jpg
/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_02_389963_0001.jpg
/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_02_389963_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330800735","1330800726","1330800731","1330800721"],"photo_ids_order":["1330800721","1330800726","1330800731","1330800735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56d00bd1276d05f0a04920cdcac1142b.jpg","text":"TemporaryFile(/tmp/multipartBody7399543971504452024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625383424,"filename":"image_23012025_10_41_02_389963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0c07b26d7520d990e5f37d9dc090d5a.jpg","text":"TemporaryFile(/tmp/multipartBody5589358618934989768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625383424,"filename":"image_23012025_10_41_02_389963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dde4036cef4dd00428ae06969b9143bd.jpg","text":"TemporaryFile(/tmp/multipartBody8185430266363530084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625383424,"filename":"image_23012025_10_41_02_389963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04b2e9fd41bcac6f026eb6c1841a9857.jpg","text":"TemporaryFile(/tmp/multipartBody61676630022219476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625383424,"filename":"image_23012025_10_40_02_235460_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330800731","file1":"1330800726","file0":"1330800721","file3":"1330800735"},"map_files_photo_id_array":[{"photo_id":"1330800731","filename":"file2"},{"photo_id":"1330800726","filename":"file1"},{"photo_id":"1330800721","filename":"file0"},{"photo_id":"1330800735","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330800735":["hashtag1","hashtag2"]},{"1330800726":["hashtag1","hashtag2"]},{"1330800731":["hashtag1","hashtag2"]},{"1330800721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330800735, 1330800726, 1330800731, 1330800721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.3374502658844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 10:42:42.462022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_02_389963_0003.jpg', '/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_02_580326_0000.jpg', '/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_02_580326_0001.jpg', '/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_02_580326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_02_389963_0003.jpg
/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_02_580326_0000.jpg
/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_02_580326_0001.jpg
/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_02_580326_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330800761","1330800793","1330800769","1330800765"],"photo_ids_order":["1330800761","1330800765","1330800769","1330800793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8aea9569627b99a6183a02e4e163037.jpg","text":"TemporaryFile(/tmp/multipartBody489686145211611475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625433833,"filename":"image_23012025_10_41_02_389963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e98f142d8405c8b73fc65200bb0923a.jpg","text":"TemporaryFile(/tmp/multipartBody7916890671245226234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625433833,"filename":"image_23012025_10_42_02_580326_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e9bcc65685abbdd26c0e67b2c1613a0.jpg","text":"TemporaryFile(/tmp/multipartBody792943335695411110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625433833,"filename":"image_23012025_10_42_02_580326_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a3227cc551c2a628268e5c37596b72c.jpg","text":"TemporaryFile(/tmp/multipartBody6440499673584835669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625433833,"filename":"image_23012025_10_42_02_580326_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330800769","file1":"1330800765","file0":"1330800761","file3":"1330800793"},"map_files_photo_id_array":[{"photo_id":"1330800769","filename":"file2"},{"photo_id":"1330800765","filename":"file1"},{"photo_id":"1330800761","filename":"file0"},{"photo_id":"1330800793","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330800761":["hashtag1","hashtag2"]},{"1330800793":["hashtag1","hashtag2"]},{"1330800769":["hashtag1","hashtag2"]},{"1330800765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330800761, 1330800793, 1330800769, 1330800765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81752347946167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:43:32.540839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_02_580326_0003.jpg', '/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_02_799262_0000.jpg', '/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_02_799262_0001.jpg', '/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_02_799262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_02_580326_0003.jpg
/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_02_799262_0000.jpg
/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_02_799262_0001.jpg
/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_02_799262_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330800828","1330800823","1330800817","1330800811"],"photo_ids_order":["1330800811","1330800817","1330800823","1330800828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd92b5999c9d9fc060ef58d753638f1f.jpg","text":"TemporaryFile(/tmp/multipartBody1622124941934733020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625483836,"filename":"image_23012025_10_43_02_799262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e37c1dd70d629b5b29d02c6a3470e01.jpg","text":"TemporaryFile(/tmp/multipartBody1587902353672058079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625483836,"filename":"image_23012025_10_43_02_799262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a5ceb1e190256fb4bd02f1d92c88bca.jpg","text":"TemporaryFile(/tmp/multipartBody6046345438872298509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625483836,"filename":"image_23012025_10_43_02_799262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6f4c531ad8519bb4311ffa6d17be359.jpg","text":"TemporaryFile(/tmp/multipartBody3539624841439169142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625483836,"filename":"image_23012025_10_42_02_580326_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330800823","file1":"1330800817","file0":"1330800811","file3":"1330800828"},"map_files_photo_id_array":[{"photo_id":"1330800823","filename":"file2"},{"photo_id":"1330800817","filename":"file1"},{"photo_id":"1330800811","filename":"file0"},{"photo_id":"1330800828","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330800828":["hashtag1","hashtag2"]},{"1330800823":["hashtag1","hashtag2"]},{"1330800817":["hashtag1","hashtag2"]},{"1330800811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330800828, 1330800823, 1330800817, 1330800811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.44935202598572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:44:22.814309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_02_799262_0003.jpg', '/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_02_945131_0000.jpg', '/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_02_945131_0001.jpg', '/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_02_945131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_02_799262_0003.jpg
/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_02_945131_0000.jpg
/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_02_945131_0001.jpg
/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_02_945131_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330800875","1330800898","1330800879","1330800888"],"photo_ids_order":["1330800875","1330800879","1330800888","1330800898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f163fb05e671fb0729d1bea17394eb36.jpg","text":"TemporaryFile(/tmp/multipartBody8765759951576644698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625534125,"filename":"image_23012025_10_43_02_799262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41b5e681e040b158bf59a749b2ad7144.jpg","text":"TemporaryFile(/tmp/multipartBody5689635068601803524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625534125,"filename":"image_23012025_10_44_02_945131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6be4be79583fe2932a37e5a31178ec7b.jpg","text":"TemporaryFile(/tmp/multipartBody6305742427449937098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625534125,"filename":"image_23012025_10_44_02_945131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c16c0697a77c6d0d1118f564d9bf9ec2.jpg","text":"TemporaryFile(/tmp/multipartBody9015599122082583572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625534125,"filename":"image_23012025_10_44_02_945131_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330800888","file1":"1330800879","file0":"1330800875","file3":"1330800898"},"map_files_photo_id_array":[{"photo_id":"1330800888","filename":"file2"},{"photo_id":"1330800879","filename":"file1"},{"photo_id":"1330800875","filename":"file0"},{"photo_id":"1330800898","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330800875":["hashtag1","hashtag2"]},{"1330800898":["hashtag1","hashtag2"]},{"1330800879":["hashtag1","hashtag2"]},{"1330800888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330800875, 1330800898, 1330800879, 1330800888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.936360359191895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:45:21.909817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_02_945131_0003.jpg', '/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_03_117408_0000.jpg', '/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_03_117408_0001.jpg', '/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_03_117408_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_02_945131_0003.jpg
/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_03_117408_0000.jpg
/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_03_117408_0001.jpg
/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_03_117408_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330800975","1330800971","1330801001","1330800978"],"photo_ids_order":["1330800971","1330800975","1330800978","1330801001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff3e790a090887fb01ecb394d684e8d8.jpg","text":"TemporaryFile(/tmp/multipartBody8751744860800949258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625593353,"filename":"image_23012025_10_45_03_117408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ae251c267cb69a72a3cdd45ed49eb0f.jpg","text":"TemporaryFile(/tmp/multipartBody3778962969980393229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625593353,"filename":"image_23012025_10_44_02_945131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a49322f6f40271031c49f8b4b604f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1999046785597037715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625593353,"filename":"image_23012025_10_45_03_117408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d16d16f1386f6fc38519898cd286676.jpg","text":"TemporaryFile(/tmp/multipartBody3949796878795866410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625593353,"filename":"image_23012025_10_45_03_117408_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330800978","file1":"1330800975","file0":"1330800971","file3":"1330801001"},"map_files_photo_id_array":[{"photo_id":"1330800978","filename":"file2"},{"photo_id":"1330800975","filename":"file1"},{"photo_id":"1330800971","filename":"file0"},{"photo_id":"1330801001","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330800975":["hashtag1","hashtag2"]},{"1330800971":["hashtag1","hashtag2"]},{"1330801001":["hashtag1","hashtag2"]},{"1330800978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330800975, 1330800971, 1330801001, 1330800978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.64838123321533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:46:22.225233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_03_117408_0003.jpg', '/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_02_283259_0000.jpg', '/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_02_283259_0001.jpg', '/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_02_283259_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_03_117408_0003.jpg
/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_02_283259_0000.jpg
/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_02_283259_0001.jpg
/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_02_283259_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330801221","1330801213","1330801230","1330801218"],"photo_ids_order":["1330801213","1330801218","1330801221","1330801230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17fd19e4c3fb6ac63a6955c1f81b6dfa.jpg","text":"TemporaryFile(/tmp/multipartBody5882156531164574675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625653749,"filename":"image_23012025_10_46_02_283259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1838e2929a277bc55ca59b4b8a05ae50.jpg","text":"TemporaryFile(/tmp/multipartBody5728078966767788480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625653749,"filename":"image_23012025_10_45_03_117408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8bdb66fc95c7ebc1599ddea4629b1cc.jpg","text":"TemporaryFile(/tmp/multipartBody6964174106722732730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625653749,"filename":"image_23012025_10_46_02_283259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19baedc255145acb8eacb0e2816475fd.jpg","text":"TemporaryFile(/tmp/multipartBody2877855292022207449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625653749,"filename":"image_23012025_10_46_02_283259_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330801221","file1":"1330801218","file0":"1330801213","file3":"1330801230"},"map_files_photo_id_array":[{"photo_id":"1330801221","filename":"file2"},{"photo_id":"1330801218","filename":"file1"},{"photo_id":"1330801213","filename":"file0"},{"photo_id":"1330801230","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330801221":["hashtag1","hashtag2"]},{"1330801213":["hashtag1","hashtag2"]},{"1330801230":["hashtag1","hashtag2"]},{"1330801218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330801221, 1330801213, 1330801230, 1330801218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.391557455062866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:47:22.332970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_02_283259_0003.jpg', '/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_02_525809_0000.jpg', '/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_02_525809_0001.jpg', '/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_02_525809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_02_283259_0003.jpg
/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_02_525809_0000.jpg
/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_02_525809_0001.jpg
/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_02_525809_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330801388","1330801396","1330801381","1330801378"],"photo_ids_order":["1330801378","1330801381","1330801388","1330801396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a15ab62285817a1b4c4ec52ecb45f5b0.jpg","text":"TemporaryFile(/tmp/multipartBody8524584240645531090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625713802,"filename":"image_23012025_10_47_02_525809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f16b5399b849f1e51a51d9527cb559a.jpg","text":"TemporaryFile(/tmp/multipartBody4914256466359673422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625713802,"filename":"image_23012025_10_47_02_525809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3cd02b71af9840d1ee0606c5cfd6e068.jpg","text":"TemporaryFile(/tmp/multipartBody3754077589060586073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625713802,"filename":"image_23012025_10_47_02_525809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/239bb2448fb6208c50df7784e5bafe4f.jpg","text":"TemporaryFile(/tmp/multipartBody6365057096323962591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625713802,"filename":"image_23012025_10_46_02_283259_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330801388","file1":"1330801381","file0":"1330801378","file3":"1330801396"},"map_files_photo_id_array":[{"photo_id":"1330801388","filename":"file2"},{"photo_id":"1330801381","filename":"file1"},{"photo_id":"1330801378","filename":"file0"},{"photo_id":"1330801396","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330801388":["hashtag1","hashtag2"]},{"1330801396":["hashtag1","hashtag2"]},{"1330801381":["hashtag1","hashtag2"]},{"1330801378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330801388, 1330801396, 1330801381, 1330801378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.581942081451416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:48:22.453241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_02_525809_0003.jpg', '/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_02_677716_0000.jpg', '/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_02_677716_0001.jpg', '/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_02_677716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_02_525809_0003.jpg
/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_02_677716_0000.jpg
/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_02_677716_0001.jpg
/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_02_677716_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330801490","1330801478","1330801485","1330801473"],"photo_ids_order":["1330801473","1330801478","1330801485","1330801490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a642ba54367264a46533d55601c0bed6.jpg","text":"TemporaryFile(/tmp/multipartBody7659290320459684500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625774046,"filename":"image_23012025_10_48_02_677716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d60344bb9a8755b6ebcfbc5596531d21.jpg","text":"TemporaryFile(/tmp/multipartBody962675373661373495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625774046,"filename":"image_23012025_10_48_02_677716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95753c52061a79a70f88b31e33a4ea15.jpg","text":"TemporaryFile(/tmp/multipartBody6336971007613510355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625774046,"filename":"image_23012025_10_48_02_677716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b63695d27fd705c56e7ef1e0521cc07.jpg","text":"TemporaryFile(/tmp/multipartBody1326211439562678316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625774046,"filename":"image_23012025_10_47_02_525809_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330801485","file1":"1330801478","file0":"1330801473","file3":"1330801490"},"map_files_photo_id_array":[{"photo_id":"1330801485","filename":"file2"},{"photo_id":"1330801478","filename":"file1"},{"photo_id":"1330801473","filename":"file0"},{"photo_id":"1330801490","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330801490":["hashtag1","hashtag2"]},{"1330801478":["hashtag1","hashtag2"]},{"1330801485":["hashtag1","hashtag2"]},{"1330801473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330801490, 1330801478, 1330801485, 1330801473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.186498403549194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:49:22.681706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_02_677716_0003.jpg', '/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_02_858919_0000.jpg', '/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_02_858919_0001.jpg', '/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_02_858919_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_02_677716_0003.jpg
/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_02_858919_0000.jpg
/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_02_858919_0001.jpg
/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_02_858919_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330801559","1330801555","1330801537","1330801531"],"photo_ids_order":["1330801531","1330801537","1330801555","1330801559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0f08d900e47fa21bf4940c796a1777f.jpg","text":"TemporaryFile(/tmp/multipartBody4934207112273591683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625833864,"filename":"image_23012025_10_49_02_858919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/437e8cd4b03c0d5a62fe948d153aec08.jpg","text":"TemporaryFile(/tmp/multipartBody7333554325296146618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625833864,"filename":"image_23012025_10_49_02_858919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ec1794e1a4027f4a8ab4268d1a31eb6.jpg","text":"TemporaryFile(/tmp/multipartBody3379437697738865028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625833864,"filename":"image_23012025_10_49_02_858919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3829a2ddc9b2eb1d07f8d6663774dea3.jpg","text":"TemporaryFile(/tmp/multipartBody1312450422996828025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625833864,"filename":"image_23012025_10_48_02_677716_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330801555","file1":"1330801537","file0":"1330801531","file3":"1330801559"},"map_files_photo_id_array":[{"photo_id":"1330801555","filename":"file2"},{"photo_id":"1330801537","filename":"file1"},{"photo_id":"1330801531","filename":"file0"},{"photo_id":"1330801559","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330801559":["hashtag1","hashtag2"]},{"1330801555":["hashtag1","hashtag2"]},{"1330801537":["hashtag1","hashtag2"]},{"1330801531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330801559, 1330801555, 1330801537, 1330801531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.96710991859436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:50:21.931003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_02_858919_0003.jpg', '/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_02_996558_0000.jpg', '/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_02_996558_0001.jpg', '/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_02_996558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_02_858919_0003.jpg
/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_02_996558_0000.jpg
/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_02_996558_0001.jpg
/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_02_996558_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330801589","1330801607","1330801609","1330801593"],"photo_ids_order":["1330801589","1330801593","1330801607","1330801609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40b8ac20605e2e5084a1850b576fc370.jpg","text":"TemporaryFile(/tmp/multipartBody1239816407784574934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625893737,"filename":"image_23012025_10_49_02_858919_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d8272c4bf37b6e5eb8fecae4720995e.jpg","text":"TemporaryFile(/tmp/multipartBody5078973178585706354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625893737,"filename":"image_23012025_10_50_02_996558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5895b96c6447dd270a47ff0f5a7fa985.jpg","text":"TemporaryFile(/tmp/multipartBody8890845687029082033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625893737,"filename":"image_23012025_10_50_02_996558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25e16a5ac2559a43ac20e6af60c864bd.jpg","text":"TemporaryFile(/tmp/multipartBody64723043589503716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625893737,"filename":"image_23012025_10_50_02_996558_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330801607","file1":"1330801593","file0":"1330801589","file3":"1330801609"},"map_files_photo_id_array":[{"photo_id":"1330801607","filename":"file2"},{"photo_id":"1330801593","filename":"file1"},{"photo_id":"1330801589","filename":"file0"},{"photo_id":"1330801609","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330801589":["hashtag1","hashtag2"]},{"1330801607":["hashtag1","hashtag2"]},{"1330801609":["hashtag1","hashtag2"]},{"1330801593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330801589, 1330801607, 1330801609, 1330801593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.3674430847168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:51:22.064488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_02_996558_0003.jpg', '/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_02_186133_0000.jpg', '/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_02_186133_0001.jpg', '/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_02_186133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_02_996558_0003.jpg
/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_02_186133_0000.jpg
/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_02_186133_0001.jpg
/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_02_186133_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330801673","1330801660","1330801689","1330801686"],"photo_ids_order":["1330801660","1330801673","1330801686","1330801689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5af3a6594b33105bafea05fc0f9a8360.jpg","text":"TemporaryFile(/tmp/multipartBody3214251679906105847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625953276,"filename":"image_23012025_10_51_02_186133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a4894a1988db4ad09a7d09558f7aa38.jpg","text":"TemporaryFile(/tmp/multipartBody2552799360213019313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625953276,"filename":"image_23012025_10_50_02_996558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9da5f8f84a913a01baf7276479230d3.jpg","text":"TemporaryFile(/tmp/multipartBody294625868020362320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625953276,"filename":"image_23012025_10_51_02_186133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe6e27dcec32a135762413da1c7a40ec.jpg","text":"TemporaryFile(/tmp/multipartBody6522990412860420972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625953276,"filename":"image_23012025_10_51_02_186133_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330801686","file1":"1330801673","file0":"1330801660","file3":"1330801689"},"map_files_photo_id_array":[{"photo_id":"1330801686","filename":"file2"},{"photo_id":"1330801673","filename":"file1"},{"photo_id":"1330801660","filename":"file0"},{"photo_id":"1330801689","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330801673":["hashtag1","hashtag2"]},{"1330801660":["hashtag1","hashtag2"]},{"1330801689":["hashtag1","hashtag2"]},{"1330801686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330801673, 1330801660, 1330801689, 1330801686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.988723039627075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:52:22.235777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_02_186133_0003.jpg', '/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_02_416370_0000.jpg', '/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_02_416370_0001.jpg', '/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_02_416370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_02_186133_0003.jpg
/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_02_416370_0000.jpg
/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_02_416370_0001.jpg
/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_02_416370_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330801841","1330801838","1330801823","1330801828"],"photo_ids_order":["1330801823","1330801828","1330801838","1330801841"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0800ede91f29a90427869afdbae6b186.jpg","text":"TemporaryFile(/tmp/multipartBody38475942600313421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626014151,"filename":"image_23012025_10_52_02_416370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a9cba7791b906da31d4e83a42aa92f7.jpg","text":"TemporaryFile(/tmp/multipartBody3389677831937384380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626014151,"filename":"image_23012025_10_52_02_416370_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/247a17a93a43c934ea38624e93c49705.jpg","text":"TemporaryFile(/tmp/multipartBody312094756642011986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626014151,"filename":"image_23012025_10_51_02_186133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac100ac1e4aed4aaacd044d81996cd7f.jpg","text":"TemporaryFile(/tmp/multipartBody1207628453112307608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626014151,"filename":"image_23012025_10_52_02_416370_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330801838","file1":"1330801828","file0":"1330801823","file3":"1330801841"},"map_files_photo_id_array":[{"photo_id":"1330801838","filename":"file2"},{"photo_id":"1330801828","filename":"file1"},{"photo_id":"1330801823","filename":"file0"},{"photo_id":"1330801841","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330801841":["hashtag1","hashtag2"]},{"1330801838":["hashtag1","hashtag2"]},{"1330801823":["hashtag1","hashtag2"]},{"1330801828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330801841, 1330801838, 1330801823, 1330801828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.17342519760132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:53:22.408909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_02_416370_0003.jpg', '/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_02_607899_0000.jpg', '/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_02_607899_0001.jpg', '/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_02_607899_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_02_416370_0003.jpg
/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_02_607899_0000.jpg
/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_02_607899_0001.jpg
/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_02_607899_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330801917","1330801907","1330801903","1330801872"],"photo_ids_order":["1330801872","1330801903","1330801907","1330801917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef03c2bc3127c11aecf49a861e466452.jpg","text":"TemporaryFile(/tmp/multipartBody3109074532865736630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626073883,"filename":"image_23012025_10_53_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/23/3d8d2ad6fa8cbc1de062c6731fad8427.jpg","text":"TemporaryFile(/tmp/multipartBody4121683817340488142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626073883,"filename":"image_23012025_10_53_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/23/3af1715e7a797949e08942a813bec7e5.jpg","text":"TemporaryFile(/tmp/multipartBody8046630926445395661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626073883,"filename":"image_23012025_10_53_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/23/89647f160d7aada85dfb67d131f1010b.jpg","text":"TemporaryFile(/tmp/multipartBody8705719486760366360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626073883,"filename":"image_23012025_10_52_02_416370_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330801907","file1":"1330801903","file0":"1330801872","file3":"1330801917"},"map_files_photo_id_array":[{"photo_id":"1330801907","filename":"file2"},{"photo_id":"1330801903","filename":"file1"},{"photo_id":"1330801872","filename":"file0"},{"photo_id":"1330801917","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330801917":["hashtag1","hashtag2"]},{"1330801907":["hashtag1","hashtag2"]},{"1330801903":["hashtag1","hashtag2"]},{"1330801872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330801917, 1330801907, 1330801903, 1330801872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20306038856506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:54:22.664450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_02_607899_0003.jpg', '/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_02_799231_0000.jpg', '/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_02_799231_0001.jpg', '/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_02_799231_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_02_607899_0003.jpg
/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_02_799231_0000.jpg
/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_02_799231_0001.jpg
/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_02_799231_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330802008","1330802002","1330801995","1330801998"],"photo_ids_order":["1330801995","1330801998","1330802002","1330802008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2eb3c29f9d7828d41803b265101ddf4a.jpg","text":"TemporaryFile(/tmp/multipartBody681396611091446619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626133707,"filename":"image_23012025_10_54_02_799231_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4447fc4fad4038620e53b1422f025473.jpg","text":"TemporaryFile(/tmp/multipartBody5029551250093173470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626133707,"filename":"image_23012025_10_54_02_799231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/269dd524d01568a2d6934eac8289239c.jpg","text":"TemporaryFile(/tmp/multipartBody4109716757681839407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626133707,"filename":"image_23012025_10_53_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/23/0280e1fc75037ae0fbc71542b4403652.jpg","text":"TemporaryFile(/tmp/multipartBody1277961107938135867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626133707,"filename":"image_23012025_10_54_02_799231_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330802002","file1":"1330801998","file0":"1330801995","file3":"1330802008"},"map_files_photo_id_array":[{"photo_id":"1330802002","filename":"file2"},{"photo_id":"1330801998","filename":"file1"},{"photo_id":"1330801995","filename":"file0"},{"photo_id":"1330802008","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330802008":["hashtag1","hashtag2"]},{"1330802002":["hashtag1","hashtag2"]},{"1330801995":["hashtag1","hashtag2"]},{"1330801998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330802008, 1330802002, 1330801995, 1330801998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.70523262023926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:55:22.817954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_02_799231_0003.jpg', '/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_02_913043_0000.jpg', '/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_02_913043_0001.jpg', '/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_02_913043_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_02_799231_0003.jpg
/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_02_913043_0000.jpg
/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_02_913043_0001.jpg
/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_02_913043_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330802033","1330802045","1330802041","1330802037"],"photo_ids_order":["1330802033","1330802037","1330802041","1330802045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3cc6f2a0993476ddc966d3d343185055.jpg","text":"TemporaryFile(/tmp/multipartBody3478699737080624812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626194049,"filename":"image_23012025_10_54_02_799231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/718255dc09f225c3c9490303e70cf772.jpg","text":"TemporaryFile(/tmp/multipartBody340511964757967689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626194049,"filename":"image_23012025_10_55_02_913043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7797941a16c199a9c6faf52613091ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8216186679494178044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626194049,"filename":"image_23012025_10_55_02_913043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b96a9b07bdcfcde1a6184005aa0ad09b.jpg","text":"TemporaryFile(/tmp/multipartBody297645294024975978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626194049,"filename":"image_23012025_10_55_02_913043_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330802041","file1":"1330802037","file0":"1330802033","file3":"1330802045"},"map_files_photo_id_array":[{"photo_id":"1330802041","filename":"file2"},{"photo_id":"1330802037","filename":"file1"},{"photo_id":"1330802033","filename":"file0"},{"photo_id":"1330802045","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330802033":["hashtag1","hashtag2"]},{"1330802045":["hashtag1","hashtag2"]},{"1330802041":["hashtag1","hashtag2"]},{"1330802037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330802033, 1330802045, 1330802041, 1330802037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.577619791030884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:56:21.931182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_02_913043_0003.jpg', '/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_03_090259_0000.jpg', '/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_03_090259_0001.jpg', '/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_03_090259_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_02_913043_0003.jpg
/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_03_090259_0000.jpg
/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_03_090259_0001.jpg
/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_03_090259_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330802081","1330802104","1330802073","1330802067"],"photo_ids_order":["1330802067","1330802073","1330802081","1330802104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1f4b4fefd82613ceeebc45fb7c78a00.jpg","text":"TemporaryFile(/tmp/multipartBody4804169305868046556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626253443,"filename":"image_23012025_10_56_03_090259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95c5301e05d4121b3b48d1bbd2371ac4.jpg","text":"TemporaryFile(/tmp/multipartBody1796444433949118707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626253443,"filename":"image_23012025_10_56_03_090259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52329d6edcb17ed870b6f8f8256efd44.jpg","text":"TemporaryFile(/tmp/multipartBody1592681777843853269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626253443,"filename":"image_23012025_10_56_03_090259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4dd24bfeefd4457caa4c548e8c6a0da2.jpg","text":"TemporaryFile(/tmp/multipartBody580606082730359645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626253443,"filename":"image_23012025_10_55_02_913043_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330802081","file1":"1330802073","file0":"1330802067","file3":"1330802104"},"map_files_photo_id_array":[{"photo_id":"1330802081","filename":"file2"},{"photo_id":"1330802073","filename":"file1"},{"photo_id":"1330802067","filename":"file0"},{"photo_id":"1330802104","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330802081":["hashtag1","hashtag2"]},{"1330802104":["hashtag1","hashtag2"]},{"1330802073":["hashtag1","hashtag2"]},{"1330802067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330802081, 1330802104, 1330802073, 1330802067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.98205876350403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 10:57:22.063642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_03_090259_0003.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_02_196300_0000.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_02_196300_0001.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_02_196300_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_03_090259_0003.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_02_196300_0000.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_02_196300_0001.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_02_196300_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-23 10:59:03.052272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_03_090259_0003.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_02_196300_0000.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_02_196300_0001.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_02_196300_0002.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_02_196300_0003.jpg', '/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_02_465550_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_03_090259_0003.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_02_196300_0000.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_02_196300_0001.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_02_196300_0002.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_02_196300_0003.jpg
/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_02_465550_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":["1330802444","1330802449","1330802440","1330802373","1330802433","1330802421"],"photo_ids_order":["1330802373","1330802421","1330802433","1330802440","1330802444","1330802449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a458534c2ee2a8f0617be1e88eaad231.jpg","text":"TemporaryFile(/tmp/multipartBody7349370743404177810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626420041,"filename":"image_23012025_10_57_02_196300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40bd2c27945d7c84efdbb09c15782453.jpg","text":"TemporaryFile(/tmp/multipartBody3141423933298112830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626420041,"filename":"image_23012025_10_58_02_465550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f7ae92680165b2bdcf3a69f095e640d.jpg","text":"TemporaryFile(/tmp/multipartBody1520451620296699995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626420041,"filename":"image_23012025_10_57_02_196300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af7a32fb22dcf7c8ff0638a05ef22bb6.jpg","text":"TemporaryFile(/tmp/multipartBody5867818643348051805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626420041,"filename":"image_23012025_10_56_03_090259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f493f3c2f7a03c69f7cb1097f3000a5c.jpg","text":"TemporaryFile(/tmp/multipartBody7758167119969118643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626420041,"filename":"image_23012025_10_57_02_196300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/608baf9c2bea21fe68f2d9623ede5676.jpg","text":"TemporaryFile(/tmp/multipartBody2431001989792767805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626420041,"filename":"image_23012025_10_57_02_196300_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330802433","file1":"1330802421","file0":"1330802373","file4":"1330802444","file5":"1330802449","file3":"1330802440"},"map_files_photo_id_array":[{"photo_id":"1330802449","filename":"file5"},{"photo_id":"1330802433","filename":"file2"},{"photo_id":"1330802444","filename":"file4"},{"photo_id":"1330802421","filename":"file1"},{"photo_id":"1330802373","filename":"file0"},{"photo_id":"1330802440","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330802444":["hashtag1","hashtag2"]},{"1330802449":["hashtag1","hashtag2"]},{"1330802440":["hashtag1","hashtag2"]},{"1330802373":["hashtag1","hashtag2"]},{"1330802433":["hashtag1","hashtag2"]},{"1330802421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330802444, 1330802449, 1330802440, 1330802373, 1330802433, 1330802421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.82498621940613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 11:00:02.942151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_02_465550_0001.jpg', '/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_02_465550_0002.jpg', '/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_02_465550_0003.jpg', '/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_02_616540_0000.jpg', '/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_02_616540_0001.jpg', '/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_02_616540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_02_465550_0001.jpg
/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_02_465550_0002.jpg
/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_02_465550_0003.jpg
/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_02_616540_0000.jpg
/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_02_616540_0001.jpg
/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_02_616540_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330802507","1330802494","1330802488","1330802475","1330802499","1330802483"],"photo_ids_order":["1330802475","1330802483","1330802488","1330802494","1330802499","1330802507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16f673b85699ea4f72ae9225682d0ddc.jpg","text":"TemporaryFile(/tmp/multipartBody8133232511141872931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626479546,"filename":"image_23012025_10_59_02_616540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28f7b0da167d55a195afb3a1206ed978.jpg","text":"TemporaryFile(/tmp/multipartBody4380591039858581845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626479546,"filename":"image_23012025_10_59_02_616540_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec10185b7e7d6e8d26f8b119a965f17f.jpg","text":"TemporaryFile(/tmp/multipartBody5183910219262698054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626479546,"filename":"image_23012025_10_58_02_465550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a8ec4294f631e22c82d8bf5a03baac6.jpg","text":"TemporaryFile(/tmp/multipartBody3761265580178759012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626479546,"filename":"image_23012025_10_58_02_465550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6beb1df90c4765a76773caee97c7e074.jpg","text":"TemporaryFile(/tmp/multipartBody2675911558914755974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626479546,"filename":"image_23012025_10_59_02_616540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/071ca1b48175971e2dcb9e7303970a9f.jpg","text":"TemporaryFile(/tmp/multipartBody5513536173394998053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626479546,"filename":"image_23012025_10_58_02_465550_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330802488","file1":"1330802483","file0":"1330802475","file4":"1330802499","file5":"1330802507","file3":"1330802494"},"map_files_photo_id_array":[{"photo_id":"1330802507","filename":"file5"},{"photo_id":"1330802488","filename":"file2"},{"photo_id":"1330802499","filename":"file4"},{"photo_id":"1330802483","filename":"file1"},{"photo_id":"1330802475","filename":"file0"},{"photo_id":"1330802494","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330802507":["hashtag1","hashtag2"]},{"1330802494":["hashtag1","hashtag2"]},{"1330802488":["hashtag1","hashtag2"]},{"1330802475":["hashtag1","hashtag2"]},{"1330802499":["hashtag1","hashtag2"]},{"1330802483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330802507, 1330802494, 1330802488, 1330802475, 1330802499, 1330802483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.45154118537903 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-23 11:01:21.822401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_02_616540_0003.jpg', '/home/pi/Desktop/images/23012025/11/00/image_23012025_11_00_02_796226_0000.jpg', '/home/pi/Desktop/images/23012025/11/00/image_23012025_11_00_02_796226_0001.jpg', '/home/pi/Desktop/images/23012025/11/00/image_23012025_11_00_02_796226_0002.jpg', '/home/pi/Desktop/images/23012025/11/00/image_23012025_11_00_02_796226_0003.jpg', '/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_02_948445_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_02_616540_0003.jpg
/home/pi/Desktop/images/23012025/11/00/image_23012025_11_00_02_796226_0000.jpg
/home/pi/Desktop/images/23012025/11/00/image_23012025_11_00_02_796226_0001.jpg
/home/pi/Desktop/images/23012025/11/00/image_23012025_11_00_02_796226_0002.jpg
/home/pi/Desktop/images/23012025/11/00/image_23012025_11_00_02_796226_0003.jpg
/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_02_948445_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":["1330802569","1330802563","1330802580","1330802583","1330802573","1330802576"],"photo_ids_order":["1330802563","1330802569","1330802573","1330802576","1330802580","1330802583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/291e5057c062947ee45a3965b16e80a6.jpg","text":"TemporaryFile(/tmp/multipartBody7707014349340985252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626558674,"filename":"image_23012025_11_00_02_796226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/276d5cf633bf1236cc3a73ef3f8d76f5.jpg","text":"TemporaryFile(/tmp/multipartBody6924044535795945627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626558674,"filename":"image_23012025_10_59_02_616540_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/136435097a128ba9c60a5c54aeb68bad.jpg","text":"TemporaryFile(/tmp/multipartBody1837564049375200772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626558674,"filename":"image_23012025_11_00_02_796226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89a1f044bd95fd274be43dbb2e12669d.jpg","text":"TemporaryFile(/tmp/multipartBody3595506300276277308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626558674,"filename":"image_23012025_11_01_02_948445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f1df1e7ebea9627c8f71bbaa87ef1c4.jpg","text":"TemporaryFile(/tmp/multipartBody7727038672078883899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626558674,"filename":"image_23012025_11_00_02_796226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a67b11fe6f4ee310ff9066d4159bd955.jpg","text":"TemporaryFile(/tmp/multipartBody7047458455703372230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626558674,"filename":"image_23012025_11_00_02_796226_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330802573","file1":"1330802569","file0":"1330802563","file4":"1330802580","file5":"1330802583","file3":"1330802576"},"map_files_photo_id_array":[{"photo_id":"1330802583","filename":"file5"},{"photo_id":"1330802573","filename":"file2"},{"photo_id":"1330802580","filename":"file4"},{"photo_id":"1330802569","filename":"file1"},{"photo_id":"1330802563","filename":"file0"},{"photo_id":"1330802576","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330802569":["hashtag1","hashtag2"]},{"1330802563":["hashtag1","hashtag2"]},{"1330802580":["hashtag1","hashtag2"]},{"1330802583":["hashtag1","hashtag2"]},{"1330802573":["hashtag1","hashtag2"]},{"1330802576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330802569, 1330802563, 1330802580, 1330802583, 1330802573, 1330802576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.78730273246765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:02:31.986474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_02_948445_0001.jpg', '/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_02_948445_0002.jpg', '/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_02_948445_0003.jpg', '/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_02_142883_0000.jpg', '/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_02_142883_0001.jpg', '/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_02_142883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_02_948445_0001.jpg
/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_02_948445_0002.jpg
/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_02_948445_0003.jpg
/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_02_142883_0000.jpg
/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_02_142883_0001.jpg
/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_02_142883_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330802618","1330802609","1330802661","1330802634","1330802672","1330802669"],"photo_ids_order":["1330802609","1330802618","1330802634","1330802661","1330802669","1330802672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86e7d47087e4a9db5cf84caff2c687a2.jpg","text":"TemporaryFile(/tmp/multipartBody8090966383133143275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626628396,"filename":"image_23012025_11_01_02_948445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94069c567f292ade512e9e41650898b8.jpg","text":"TemporaryFile(/tmp/multipartBody2449247771365947996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626628396,"filename":"image_23012025_11_01_02_948445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/661decd576cdba1c47a2ed56f57de7f8.jpg","text":"TemporaryFile(/tmp/multipartBody2073926640864147636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626628396,"filename":"image_23012025_11_02_02_142883_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/180860ba96eae750371bb48407c70948.jpg","text":"TemporaryFile(/tmp/multipartBody2361408556458594048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626628396,"filename":"image_23012025_11_01_02_948445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cbc07e1c08561688dd6b3d6c7f4fbb0f.jpg","text":"TemporaryFile(/tmp/multipartBody4922276996796466951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626628396,"filename":"image_23012025_11_02_02_142883_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6652a9a9ae2e93f9278becd658add48.jpg","text":"TemporaryFile(/tmp/multipartBody4633091863687528886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626628396,"filename":"image_23012025_11_02_02_142883_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330802634","file1":"1330802618","file0":"1330802609","file4":"1330802669","file5":"1330802672","file3":"1330802661"},"map_files_photo_id_array":[{"photo_id":"1330802672","filename":"file5"},{"photo_id":"1330802634","filename":"file2"},{"photo_id":"1330802669","filename":"file4"},{"photo_id":"1330802618","filename":"file1"},{"photo_id":"1330802609","filename":"file0"},{"photo_id":"1330802661","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330802618":["hashtag1","hashtag2"]},{"1330802609":["hashtag1","hashtag2"]},{"1330802661":["hashtag1","hashtag2"]},{"1330802634":["hashtag1","hashtag2"]},{"1330802672":["hashtag1","hashtag2"]},{"1330802669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330802618, 1330802609, 1330802661, 1330802634, 1330802672, 1330802669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.82238459587097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 11:03:42.210464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_02_142883_0003.jpg', '/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_02_382263_0000.jpg', '/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_02_382263_0001.jpg', '/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_02_382263_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_02_142883_0003.jpg
/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_02_382263_0000.jpg
/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_02_382263_0001.jpg
/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_02_382263_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330802953","1330802947","1330802935","1330802917"],"photo_ids_order":["1330802917","1330802935","1330802947","1330802953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/150ad0db5365655dfe35fbf03fbb8af8.jpg","text":"TemporaryFile(/tmp/multipartBody3865486747361283101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626693454,"filename":"image_23012025_11_03_02_382263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4087949e3e614458141b6ffb8af10d98.jpg","text":"TemporaryFile(/tmp/multipartBody366517033607026298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626693454,"filename":"image_23012025_11_03_02_382263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce134bd3208089867a097f5285a9228a.jpg","text":"TemporaryFile(/tmp/multipartBody4748597508990476310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626693454,"filename":"image_23012025_11_03_02_382263_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ee2ce046fe34d33f0b35cdaaf42974c.jpg","text":"TemporaryFile(/tmp/multipartBody1611777730270038070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626693454,"filename":"image_23012025_11_02_02_142883_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330802947","file1":"1330802935","file0":"1330802917","file3":"1330802953"},"map_files_photo_id_array":[{"photo_id":"1330802947","filename":"file2"},{"photo_id":"1330802935","filename":"file1"},{"photo_id":"1330802917","filename":"file0"},{"photo_id":"1330802953","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330802953":["hashtag1","hashtag2"]},{"1330802947":["hashtag1","hashtag2"]},{"1330802935":["hashtag1","hashtag2"]},{"1330802917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330802953, 1330802947, 1330802935, 1330802917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.386744260787964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:04:32.333698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_02_382263_0003.jpg', '/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0000.jpg', '/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0001.jpg', '/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_02_382263_0003.jpg
/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0000.jpg
/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0001.jpg
/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.689732789993286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:04:52.345616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_02_382263_0003.jpg', '/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0000.jpg', '/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0001.jpg', '/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_02_382263_0003.jpg
/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0000.jpg
/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0001.jpg
/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330803109","1330803084","1330803095","1330803027"],"photo_ids_order":["1330803027","1330803084","1330803095","1330803109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6a2b1dbe6cf70213a2eb9b46bcb18c5.jpg","text":"TemporaryFile(/tmp/multipartBody6012527979232742679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626763393,"filename":"image_23012025_11_04_02_602580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1dbe2ec89b932de650fa8270c7157c1d.jpg","text":"TemporaryFile(/tmp/multipartBody8528593540857973588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626763393,"filename":"image_23012025_11_04_02_602580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c2101a28ed95f0cf2f28b90975d56c2.jpg","text":"TemporaryFile(/tmp/multipartBody8210315533707902795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626763393,"filename":"image_23012025_11_04_02_602580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f03b273c206a8ccc89c5e18a9953f7a.jpg","text":"TemporaryFile(/tmp/multipartBody6742395873516339870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626763393,"filename":"image_23012025_11_03_02_382263_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330803095","file1":"1330803084","file0":"1330803027","file3":"1330803109"},"map_files_photo_id_array":[{"photo_id":"1330803095","filename":"file2"},{"photo_id":"1330803084","filename":"file1"},{"photo_id":"1330803027","filename":"file0"},{"photo_id":"1330803109","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330803109":["hashtag1","hashtag2"]},{"1330803084":["hashtag1","hashtag2"]},{"1330803095":["hashtag1","hashtag2"]},{"1330803027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330803109, 1330803084, 1330803095, 1330803027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.5821008682251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 11:05:42.551832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0003.jpg', '/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_02_701262_0000.jpg', '/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_02_701262_0001.jpg', '/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_02_701262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0003.jpg
/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_02_701262_0000.jpg
/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_02_701262_0001.jpg
/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_02_701262_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.903697967529297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 11:06:03.167245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0003.jpg', '/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_02_701262_0000.jpg', '/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_02_701262_0001.jpg', '/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_02_701262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_02_602580_0003.jpg
/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_02_701262_0000.jpg
/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_02_701262_0001.jpg
/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_02_701262_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330803616","1330803879","1330803888","1330803753"],"photo_ids_order":["1330803616","1330803753","1330803879","1330803888"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e9dcaabfe809fe3a4ecc7f4b4954830.jpg","text":"TemporaryFile(/tmp/multipartBody2418318463981124075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626834561,"filename":"image_23012025_11_04_02_602580_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32c2053ba273e18dbb3bd8846a218393.jpg","text":"TemporaryFile(/tmp/multipartBody4942203656320791531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626834561,"filename":"image_23012025_11_05_02_701262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d5d1d9f8d61e88a3f01095a2083810b.jpg","text":"TemporaryFile(/tmp/multipartBody8150509065877755075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626834561,"filename":"image_23012025_11_05_02_701262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98cd8a3d6ea2a394fe9c8271b7c37b77.jpg","text":"TemporaryFile(/tmp/multipartBody7064796584504195426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626834561,"filename":"image_23012025_11_05_02_701262_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330803879","file1":"1330803753","file0":"1330803616","file3":"1330803888"},"map_files_photo_id_array":[{"photo_id":"1330803879","filename":"file2"},{"photo_id":"1330803753","filename":"file1"},{"photo_id":"1330803616","filename":"file0"},{"photo_id":"1330803888","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330803616":["hashtag1","hashtag2"]},{"1330803879":["hashtag1","hashtag2"]},{"1330803888":["hashtag1","hashtag2"]},{"1330803753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330803616, 1330803879, 1330803888, 1330803753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.105191707611084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:06:52.703214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_02_701262_0003.jpg', '/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_02_879221_0000.jpg', '/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_02_879221_0001.jpg', '/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_02_879221_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_02_701262_0003.jpg
/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_02_879221_0000.jpg
/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_02_879221_0001.jpg
/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_02_879221_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330803922","1330803923","1330803929","1330803920"],"photo_ids_order":["1330803920","1330803922","1330803923","1330803929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ccf184fed884a4f990c5216761e497e2.jpg","text":"TemporaryFile(/tmp/multipartBody4149215157484619263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626884056,"filename":"image_23012025_11_06_02_879221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5315acf2fa4d15709d3ea5088d900d4f.jpg","text":"TemporaryFile(/tmp/multipartBody7043976130092623936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626884056,"filename":"image_23012025_11_06_02_879221_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1faf6d9bd9b9cf7c8a2f40294cd7f609.jpg","text":"TemporaryFile(/tmp/multipartBody3411203676202073587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626884056,"filename":"image_23012025_11_06_02_879221_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/196380e720c284bc19684c120aa93e92.jpg","text":"TemporaryFile(/tmp/multipartBody1797648938618579977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626884056,"filename":"image_23012025_11_05_02_701262_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330803923","file1":"1330803922","file0":"1330803920","file3":"1330803929"},"map_files_photo_id_array":[{"photo_id":"1330803923","filename":"file2"},{"photo_id":"1330803922","filename":"file1"},{"photo_id":"1330803920","filename":"file0"},{"photo_id":"1330803929","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330803922":["hashtag1","hashtag2"]},{"1330803923":["hashtag1","hashtag2"]},{"1330803929":["hashtag1","hashtag2"]},{"1330803920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330803922, 1330803923, 1330803929, 1330803920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.137704610824585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 11:07:41.963017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_02_879221_0003.jpg', '/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_03_129883_0000.jpg', '/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_03_129883_0001.jpg', '/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_03_129883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_02_879221_0003.jpg
/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_03_129883_0000.jpg
/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_03_129883_0001.jpg
/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_03_129883_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330804234","1330804290","1330804238","1330804288"],"photo_ids_order":["1330804234","1330804238","1330804288","1330804290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07349baf4f0cadf4306d9e8bee0d4447.jpg","text":"TemporaryFile(/tmp/multipartBody5464791536066005707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626933102,"filename":"image_23012025_11_06_02_879221_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b80e86416479eddba58c3ea6c09d490.jpg","text":"TemporaryFile(/tmp/multipartBody8707800682457744418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626933102,"filename":"image_23012025_11_07_03_129883_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3784602731147cc723f159371c36dcfe.jpg","text":"TemporaryFile(/tmp/multipartBody8387678119897792194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626933102,"filename":"image_23012025_11_07_03_129883_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1360651c2092f02d3e0b98864ff465dc.jpg","text":"TemporaryFile(/tmp/multipartBody1975076374548313056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626933102,"filename":"image_23012025_11_07_03_129883_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330804288","file1":"1330804238","file0":"1330804234","file3":"1330804290"},"map_files_photo_id_array":[{"photo_id":"1330804288","filename":"file2"},{"photo_id":"1330804238","filename":"file1"},{"photo_id":"1330804234","filename":"file0"},{"photo_id":"1330804290","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330804234":["hashtag1","hashtag2"]},{"1330804290":["hashtag1","hashtag2"]},{"1330804238":["hashtag1","hashtag2"]},{"1330804288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330804234, 1330804290, 1330804238, 1330804288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.62666463851929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:08:32.093665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_03_129883_0003.jpg', '/home/pi/Desktop/images/23012025/11/08/image_23012025_11_08_02_332125_0000.jpg', '/home/pi/Desktop/images/23012025/11/08/image_23012025_11_08_02_332125_0001.jpg', '/home/pi/Desktop/images/23012025/11/08/image_23012025_11_08_02_332125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_03_129883_0003.jpg
/home/pi/Desktop/images/23012025/11/08/image_23012025_11_08_02_332125_0000.jpg
/home/pi/Desktop/images/23012025/11/08/image_23012025_11_08_02_332125_0001.jpg
/home/pi/Desktop/images/23012025/11/08/image_23012025_11_08_02_332125_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330804395","1330804404","1330804388","1330804400"],"photo_ids_order":["1330804388","1330804395","1330804400","1330804404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75dcfa6633e56ee7ae2821f1908b1025.jpg","text":"TemporaryFile(/tmp/multipartBody2030652749456515029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626982848,"filename":"image_23012025_11_08_02_332125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8ab4af4a394afc437a8f4e08910fab6.jpg","text":"TemporaryFile(/tmp/multipartBody6452617960782945746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626982848,"filename":"image_23012025_11_08_02_332125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aabb8f71813e567ebfe895920574427a.jpg","text":"TemporaryFile(/tmp/multipartBody8815113362940850527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626982848,"filename":"image_23012025_11_07_03_129883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/214695e80be3cc7e208b7ff13216b2d3.jpg","text":"TemporaryFile(/tmp/multipartBody7591816800172396223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626982848,"filename":"image_23012025_11_08_02_332125_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330804400","file1":"1330804395","file0":"1330804388","file3":"1330804404"},"map_files_photo_id_array":[{"photo_id":"1330804400","filename":"file2"},{"photo_id":"1330804395","filename":"file1"},{"photo_id":"1330804388","filename":"file0"},{"photo_id":"1330804404","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330804395":["hashtag1","hashtag2"]},{"1330804404":["hashtag1","hashtag2"]},{"1330804388":["hashtag1","hashtag2"]},{"1330804400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330804395, 1330804404, 1330804388, 1330804400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.54215359687805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:09:22.289378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/08/image_23012025_11_08_02_332125_0003.jpg', '/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_02_515643_0000.jpg', '/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_02_515643_0001.jpg', '/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_02_515643_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/08/image_23012025_11_08_02_332125_0003.jpg
/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_02_515643_0000.jpg
/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_02_515643_0001.jpg
/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_02_515643_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330804429","1330804425","1330804433","1330804421"],"photo_ids_order":["1330804421","1330804425","1330804429","1330804433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c670c1566a9e85de9693a1680b1ffafc.jpg","text":"TemporaryFile(/tmp/multipartBody3098225766322161799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627033252,"filename":"image_23012025_11_09_02_515643_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b540733f83b237db0e69003260283849.jpg","text":"TemporaryFile(/tmp/multipartBody1118841539239710524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627033252,"filename":"image_23012025_11_09_02_515643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65a987cb571dd16e65827ed4134d201b.jpg","text":"TemporaryFile(/tmp/multipartBody7340345696260171073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627033252,"filename":"image_23012025_11_09_02_515643_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7cd272db71c0458d35f321b79aad0dd.jpg","text":"TemporaryFile(/tmp/multipartBody741877649263516504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627033252,"filename":"image_23012025_11_08_02_332125_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330804429","file1":"1330804425","file0":"1330804421","file3":"1330804433"},"map_files_photo_id_array":[{"photo_id":"1330804429","filename":"file2"},{"photo_id":"1330804425","filename":"file1"},{"photo_id":"1330804421","filename":"file0"},{"photo_id":"1330804433","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330804429":["hashtag1","hashtag2"]},{"1330804425":["hashtag1","hashtag2"]},{"1330804433":["hashtag1","hashtag2"]},{"1330804421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330804429, 1330804425, 1330804433, 1330804421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.465920209884644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 11:10:02.890125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/47/image_21012025_18_47_02_213973_0002.jpg', '/home/pi/Desktop/images/21012025/18/47/image_21012025_18_47_02_213973_0003.jpg', '/home/pi/Desktop/images/21012025/18/48/image_21012025_18_48_02_417981_0000.jpg', '/home/pi/Desktop/images/21012025/18/48/image_21012025_18_48_02_417981_0001.jpg', '/home/pi/Desktop/images/21012025/18/48/image_21012025_18_48_02_417981_0002.jpg', '/home/pi/Desktop/images/21012025/18/48/image_21012025_18_48_02_417981_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/47/image_21012025_18_47_02_213973_0002.jpg
/home/pi/Desktop/images/21012025/18/47/image_21012025_18_47_02_213973_0003.jpg
/home/pi/Desktop/images/21012025/18/48/image_21012025_18_48_02_417981_0000.jpg
/home/pi/Desktop/images/21012025/18/48/image_21012025_18_48_02_417981_0001.jpg
/home/pi/Desktop/images/21012025/18/48/image_21012025_18_48_02_417981_0002.jpg
/home/pi/Desktop/images/21012025/18/48/image_21012025_18_48_02_417981_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":["1330804509","1330804493","1330804512","1330804474","1330804540","1330804483"],"photo_ids_order":["1330804474","1330804483","1330804493","1330804509","1330804512","1330804540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63bb3a7663736974cc9d795d2fbf1567.jpg","text":"TemporaryFile(/tmp/multipartBody3933632053275892001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627081530,"filename":"image_21012025_18_48_02_417981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/592f78a2e72280ad1e5969d3c550e47a.jpg","text":"TemporaryFile(/tmp/multipartBody9060547554621696291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627081530,"filename":"image_21012025_18_48_02_417981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd38bb2375cfdd258a26be098dd9109b.jpg","text":"TemporaryFile(/tmp/multipartBody2975746500815035737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627081530,"filename":"image_21012025_18_48_02_417981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e73660597f6dcb592dd0429ad2057093.jpg","text":"TemporaryFile(/tmp/multipartBody4345568492881277570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627081530,"filename":"image_21012025_18_47_02_213973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1546e416517504e2ca705acd13cc32c2.jpg","text":"TemporaryFile(/tmp/multipartBody2645734451394430726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627081530,"filename":"image_21012025_18_48_02_417981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85f05018dfe4e177dff1e6cb9c1ad5c9.jpg","text":"TemporaryFile(/tmp/multipartBody543096494656367365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627081530,"filename":"image_21012025_18_47_02_213973_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330804493","file1":"1330804483","file0":"1330804474","file4":"1330804512","file5":"1330804540","file3":"1330804509"},"map_files_photo_id_array":[{"photo_id":"1330804540","filename":"file5"},{"photo_id":"1330804493","filename":"file2"},{"photo_id":"1330804512","filename":"file4"},{"photo_id":"1330804483","filename":"file1"},{"photo_id":"1330804474","filename":"file0"},{"photo_id":"1330804509","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330804509":["hashtag1","hashtag2"]},{"1330804493":["hashtag1","hashtag2"]},{"1330804512":["hashtag1","hashtag2"]},{"1330804474":["hashtag1","hashtag2"]},{"1330804540":["hashtag1","hashtag2"]},{"1330804483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330804509, 1330804493, 1330804512, 1330804474, 1330804540, 1330804483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.04203057289124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:11:22.679272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_02_515643_0003.jpg', '/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_02_638265_0000.jpg', '/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_02_638265_0001.jpg', '/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_02_638265_0002.jpg', '/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_02_638265_0003.jpg', '/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_02_861102_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_02_515643_0003.jpg
/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_02_638265_0000.jpg
/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_02_638265_0001.jpg
/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_02_638265_0002.jpg
/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_02_638265_0003.jpg
/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_02_861102_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":["1330804584","1330804575","1330804617","1330804652","1330804625","1330804568"],"photo_ids_order":["1330804568","1330804575","1330804584","1330804617","1330804625","1330804652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/459b7baf3773f46a30073a40aabb8932.jpg","text":"TemporaryFile(/tmp/multipartBody4347636037020809573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627158442,"filename":"image_23012025_11_10_02_638265_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6db2a1deedc582ac21ba650ddb81012a.jpg","text":"TemporaryFile(/tmp/multipartBody1784224676864222760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627158442,"filename":"image_23012025_11_10_02_638265_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/602b3ce82138f61671643b1922d230a2.jpg","text":"TemporaryFile(/tmp/multipartBody8767992659455198209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627158442,"filename":"image_23012025_11_10_02_638265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3c1d94aa98ebb351077fb2d6d3a2746.jpg","text":"TemporaryFile(/tmp/multipartBody2732293260530278882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627158442,"filename":"image_23012025_11_11_02_861102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/247bacd0f8082cca630a7b61973146fc.jpg","text":"TemporaryFile(/tmp/multipartBody2099893502116709391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627158442,"filename":"image_23012025_11_10_02_638265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4dcac338f25d819464be05a296a3900d.jpg","text":"TemporaryFile(/tmp/multipartBody6020062671484188223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627158442,"filename":"image_23012025_11_09_02_515643_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330804584","file1":"1330804575","file0":"1330804568","file4":"1330804625","file5":"1330804652","file3":"1330804617"},"map_files_photo_id_array":[{"photo_id":"1330804652","filename":"file5"},{"photo_id":"1330804584","filename":"file2"},{"photo_id":"1330804625","filename":"file4"},{"photo_id":"1330804575","filename":"file1"},{"photo_id":"1330804568","filename":"file0"},{"photo_id":"1330804617","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330804584":["hashtag1","hashtag2"]},{"1330804575":["hashtag1","hashtag2"]},{"1330804617":["hashtag1","hashtag2"]},{"1330804652":["hashtag1","hashtag2"]},{"1330804625":["hashtag1","hashtag2"]},{"1330804568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330804584, 1330804575, 1330804617, 1330804652, 1330804625, 1330804568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.742157220840454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:12:31.834226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_02_861102_0001.jpg', '/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_02_861102_0002.jpg', '/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_02_861102_0003.jpg', '/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_03_083793_0000.jpg', '/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_03_083793_0001.jpg', '/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_03_083793_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_02_861102_0001.jpg
/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_02_861102_0002.jpg
/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_02_861102_0003.jpg
/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_03_083793_0000.jpg
/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_03_083793_0001.jpg
/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_03_083793_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330804810","1330804906","1330804878","1330804923","1330804806","1330804856"],"photo_ids_order":["1330804806","1330804810","1330804856","1330804878","1330804906","1330804923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a11062ea976c9a839d0a245385a1b622.jpg","text":"TemporaryFile(/tmp/multipartBody2462535239190598284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627227885,"filename":"image_23012025_11_11_02_861102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f1b932f5ef2766d2fabc686341287e5.jpg","text":"TemporaryFile(/tmp/multipartBody6344000413825722441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627227885,"filename":"image_23012025_11_12_03_083793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4dd1215756a80b13d6e8979a0f4e574f.jpg","text":"TemporaryFile(/tmp/multipartBody1189286525889359356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627227885,"filename":"image_23012025_11_12_03_083793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40aa21855bc106d3d13434cee9500525.jpg","text":"TemporaryFile(/tmp/multipartBody49732458973011318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627227885,"filename":"image_23012025_11_12_03_083793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a0a7f248fcd8745ce8f7607907f73a4.jpg","text":"TemporaryFile(/tmp/multipartBody339587611808381904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627227885,"filename":"image_23012025_11_11_02_861102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f290113347af97be8cc49b0ebe3bf66a.jpg","text":"TemporaryFile(/tmp/multipartBody8823831147703773663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627227885,"filename":"image_23012025_11_11_02_861102_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330804856","file1":"1330804810","file0":"1330804806","file4":"1330804906","file5":"1330804923","file3":"1330804878"},"map_files_photo_id_array":[{"photo_id":"1330804923","filename":"file5"},{"photo_id":"1330804856","filename":"file2"},{"photo_id":"1330804906","filename":"file4"},{"photo_id":"1330804810","filename":"file1"},{"photo_id":"1330804806","filename":"file0"},{"photo_id":"1330804878","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330804810":["hashtag1","hashtag2"]},{"1330804906":["hashtag1","hashtag2"]},{"1330804878":["hashtag1","hashtag2"]},{"1330804923":["hashtag1","hashtag2"]},{"1330804806":["hashtag1","hashtag2"]},{"1330804856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330804810, 1330804906, 1330804878, 1330804923, 1330804806, 1330804856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.864803075790405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:13:31.976511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_03_083793_0003.jpg', '/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_02_281560_0000.jpg', '/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_02_281560_0001.jpg', '/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_02_281560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_03_083793_0003.jpg
/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_02_281560_0000.jpg
/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_02_281560_0001.jpg
/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_02_281560_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330804992","1330804982","1330804988","1330804996"],"photo_ids_order":["1330804982","1330804988","1330804992","1330804996"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d1d19e44728f0b8a03b1c42672bdc10.jpg","text":"TemporaryFile(/tmp/multipartBody3470906826669803642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627282862,"filename":"image_23012025_11_13_02_281560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/543282622a5776115012ab76530e7900.jpg","text":"TemporaryFile(/tmp/multipartBody8486239382629569346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627282862,"filename":"image_23012025_11_12_03_083793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6a06d8c8b6494083b4f433c31c0d4ad.jpg","text":"TemporaryFile(/tmp/multipartBody3712356870899382521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627282862,"filename":"image_23012025_11_13_02_281560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d6160def44c3bf748f5f9e06d471ac7.jpg","text":"TemporaryFile(/tmp/multipartBody4843496270160252591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627282862,"filename":"image_23012025_11_13_02_281560_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330804992","file1":"1330804988","file0":"1330804982","file3":"1330804996"},"map_files_photo_id_array":[{"photo_id":"1330804992","filename":"file2"},{"photo_id":"1330804988","filename":"file1"},{"photo_id":"1330804982","filename":"file0"},{"photo_id":"1330804996","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330804992":["hashtag1","hashtag2"]},{"1330804982":["hashtag1","hashtag2"]},{"1330804988":["hashtag1","hashtag2"]},{"1330804996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330804992, 1330804982, 1330804988, 1330804996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.24720025062561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:14:22.580591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_02_281560_0003.jpg', '/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_02_421620_0000.jpg', '/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_02_421620_0001.jpg', '/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_02_421620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_02_281560_0003.jpg
/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_02_421620_0000.jpg
/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_02_421620_0001.jpg
/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_02_421620_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330805133","1330805061","1330805030","1330805038"],"photo_ids_order":["1330805030","1330805038","1330805061","1330805133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcb82b3b6ba3dc35d96f25085d66ec51.jpg","text":"TemporaryFile(/tmp/multipartBody1273906126111606785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627333707,"filename":"image_23012025_11_14_02_421620_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac6f27cd9556b106d4f32bb8f6cb2eec.jpg","text":"TemporaryFile(/tmp/multipartBody7013105208652969418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627333707,"filename":"image_23012025_11_14_02_421620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d3117a1bc49ac951f8731a1d2eb7c61.jpg","text":"TemporaryFile(/tmp/multipartBody9202950495316356142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627333707,"filename":"image_23012025_11_13_02_281560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c136475eda71c96a8e199d4e74a90501.jpg","text":"TemporaryFile(/tmp/multipartBody7863430654100847977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627333707,"filename":"image_23012025_11_14_02_421620_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330805061","file1":"1330805038","file0":"1330805030","file3":"1330805133"},"map_files_photo_id_array":[{"photo_id":"1330805061","filename":"file2"},{"photo_id":"1330805038","filename":"file1"},{"photo_id":"1330805030","filename":"file0"},{"photo_id":"1330805133","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330805133":["hashtag1","hashtag2"]},{"1330805061":["hashtag1","hashtag2"]},{"1330805030":["hashtag1","hashtag2"]},{"1330805038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330805133, 1330805061, 1330805030, 1330805038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42632293701172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 11:15:03.494746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/49/image_21012025_18_49_02_545638_0000.jpg', '/home/pi/Desktop/images/21012025/18/49/image_21012025_18_49_02_545638_0001.jpg', '/home/pi/Desktop/images/21012025/18/49/image_21012025_18_49_02_545638_0002.jpg', '/home/pi/Desktop/images/21012025/18/49/image_21012025_18_49_02_545638_0003.jpg', '/home/pi/Desktop/images/21012025/18/50/image_21012025_18_50_02_875738_0000.jpg', '/home/pi/Desktop/images/21012025/18/50/image_21012025_18_50_02_875738_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/49/image_21012025_18_49_02_545638_0000.jpg
/home/pi/Desktop/images/21012025/18/49/image_21012025_18_49_02_545638_0001.jpg
/home/pi/Desktop/images/21012025/18/49/image_21012025_18_49_02_545638_0002.jpg
/home/pi/Desktop/images/21012025/18/49/image_21012025_18_49_02_545638_0003.jpg
/home/pi/Desktop/images/21012025/18/50/image_21012025_18_50_02_875738_0000.jpg
/home/pi/Desktop/images/21012025/18/50/image_21012025_18_50_02_875738_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":["1330805229","1330805238","1330805264","1330805243","1330805281","1330805233"],"photo_ids_order":["1330805229","1330805233","1330805238","1330805243","1330805264","1330805281"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ce2caec5b7055d24c60c149d9adf8bc.jpg","text":"TemporaryFile(/tmp/multipartBody7907593583354595746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627380590,"filename":"image_21012025_18_49_02_545638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af1e17b6b8bb41055f5e369a411d2dd5.jpg","text":"TemporaryFile(/tmp/multipartBody4565883828003028768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627380590,"filename":"image_21012025_18_49_02_545638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7df2f661c481a37277a3494ba1f324b1.jpg","text":"TemporaryFile(/tmp/multipartBody3246060507243800237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627380590,"filename":"image_21012025_18_50_02_875738_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d430a9f91953df14a099a0b145711332.jpg","text":"TemporaryFile(/tmp/multipartBody7209676556642579923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627380590,"filename":"image_21012025_18_49_02_545638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1569d5e80b0f1dd440ffe266b5075cbe.jpg","text":"TemporaryFile(/tmp/multipartBody4505711534827333349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627380590,"filename":"image_21012025_18_50_02_875738_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0dafa53bb6f9ee8e893f308f98fd97bf.jpg","text":"TemporaryFile(/tmp/multipartBody8170721659763865246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627380590,"filename":"image_21012025_18_49_02_545638_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330805238","file1":"1330805233","file0":"1330805229","file4":"1330805264","file5":"1330805281","file3":"1330805243"},"map_files_photo_id_array":[{"photo_id":"1330805281","filename":"file5"},{"photo_id":"1330805238","filename":"file2"},{"photo_id":"1330805264","filename":"file4"},{"photo_id":"1330805233","filename":"file1"},{"photo_id":"1330805229","filename":"file0"},{"photo_id":"1330805243","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330805229":["hashtag1","hashtag2"]},{"1330805238":["hashtag1","hashtag2"]},{"1330805264":["hashtag1","hashtag2"]},{"1330805243":["hashtag1","hashtag2"]},{"1330805281":["hashtag1","hashtag2"]},{"1330805233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330805229, 1330805238, 1330805264, 1330805243, 1330805281, 1330805233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.74080944061279 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:16:22.012051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_02_421620_0003.jpg', '/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_02_947321_0000.jpg', '/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_02_947321_0001.jpg', '/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_02_947321_0002.jpg', '/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_02_947321_0003.jpg', '/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_03_185501_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_02_421620_0003.jpg
/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_02_947321_0000.jpg
/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_02_947321_0001.jpg
/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_02_947321_0002.jpg
/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_02_947321_0003.jpg
/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_03_185501_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":["1330805358","1330805367","1330805355","1330805372","1330805351","1330805362"],"photo_ids_order":["1330805351","1330805355","1330805358","1330805362","1330805367","1330805372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7064d23395cef2c3c5ed3986662fa11d.jpg","text":"TemporaryFile(/tmp/multipartBody8556107033300551493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627458039,"filename":"image_23012025_11_15_02_947321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e323bd1170b8ffc33d5e6b87a9a1ee6.jpg","text":"TemporaryFile(/tmp/multipartBody9089213127735786749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627458039,"filename":"image_23012025_11_15_02_947321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73f46640bfb008975742b4a2cc87a114.jpg","text":"TemporaryFile(/tmp/multipartBody4409205872430750033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627458039,"filename":"image_23012025_11_15_02_947321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b5a9aca623759a1b5633f2033e1003c.jpg","text":"TemporaryFile(/tmp/multipartBody305890496308963215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627458039,"filename":"image_23012025_11_16_03_185501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d65ea0a28266a42f82c89746559e5c96.jpg","text":"TemporaryFile(/tmp/multipartBody2931576843909768080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627458039,"filename":"image_23012025_11_14_02_421620_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c07196883323b7918b2d64bcbdef9a4c.jpg","text":"TemporaryFile(/tmp/multipartBody7649593774957822411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627458039,"filename":"image_23012025_11_15_02_947321_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330805358","file1":"1330805355","file0":"1330805351","file4":"1330805367","file5":"1330805372","file3":"1330805362"},"map_files_photo_id_array":[{"photo_id":"1330805372","filename":"file5"},{"photo_id":"1330805358","filename":"file2"},{"photo_id":"1330805367","filename":"file4"},{"photo_id":"1330805355","filename":"file1"},{"photo_id":"1330805351","filename":"file0"},{"photo_id":"1330805362","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330805358":["hashtag1","hashtag2"]},{"1330805367":["hashtag1","hashtag2"]},{"1330805355":["hashtag1","hashtag2"]},{"1330805372":["hashtag1","hashtag2"]},{"1330805351":["hashtag1","hashtag2"]},{"1330805362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330805358, 1330805367, 1330805355, 1330805372, 1330805351, 1330805362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.28131937980652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:17:32.148099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_03_185501_0001.jpg', '/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_03_185501_0002.jpg', '/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_03_185501_0003.jpg', '/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_02_344581_0000.jpg', '/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_02_344581_0001.jpg', '/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_02_344581_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_03_185501_0001.jpg
/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_03_185501_0002.jpg
/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_03_185501_0003.jpg
/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_02_344581_0000.jpg
/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_02_344581_0001.jpg
/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_02_344581_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330805487","1330805460","1330805438","1330805432","1330805429","1330805458"],"photo_ids_order":["1330805429","1330805432","1330805438","1330805458","1330805460","1330805487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5d0b3446911bba8fa9250754c7be6a5.jpg","text":"TemporaryFile(/tmp/multipartBody4030501090769720504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627528704,"filename":"image_23012025_11_17_02_344581_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f04de0386e2bbe3ceaa06592e16411bb.jpg","text":"TemporaryFile(/tmp/multipartBody7340550830197310518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627528704,"filename":"image_23012025_11_17_02_344581_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ef1357989389d16e8e1cda16bea80b7.jpg","text":"TemporaryFile(/tmp/multipartBody5367180199252217623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627528704,"filename":"image_23012025_11_16_03_185501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5028ab5f5ab6e18f71c2d9f9583fe79.jpg","text":"TemporaryFile(/tmp/multipartBody5331663755029389122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627528704,"filename":"image_23012025_11_16_03_185501_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c774d6f3f35eb8faefa3dd9e4929ef9.jpg","text":"TemporaryFile(/tmp/multipartBody7928873808879935226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627528704,"filename":"image_23012025_11_16_03_185501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d98ba6b52fad28a920ac567a2c29fe1.jpg","text":"TemporaryFile(/tmp/multipartBody8365981487773224313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627528704,"filename":"image_23012025_11_17_02_344581_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330805438","file1":"1330805432","file0":"1330805429","file4":"1330805460","file5":"1330805487","file3":"1330805458"},"map_files_photo_id_array":[{"photo_id":"1330805487","filename":"file5"},{"photo_id":"1330805438","filename":"file2"},{"photo_id":"1330805460","filename":"file4"},{"photo_id":"1330805432","filename":"file1"},{"photo_id":"1330805429","filename":"file0"},{"photo_id":"1330805458","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330805487":["hashtag1","hashtag2"]},{"1330805460":["hashtag1","hashtag2"]},{"1330805438":["hashtag1","hashtag2"]},{"1330805432":["hashtag1","hashtag2"]},{"1330805429":["hashtag1","hashtag2"]},{"1330805458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330805487, 1330805460, 1330805438, 1330805432, 1330805429, 1330805458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.78444647789001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:18:52.271445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_02_344581_0003.jpg', '/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_02_632890_0000.jpg', '/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_02_632890_0001.jpg', '/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_02_632890_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_02_344581_0003.jpg
/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_02_632890_0000.jpg
/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_02_632890_0001.jpg
/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_02_632890_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330805532","1330805526","1330805520","1330805528"],"photo_ids_order":["1330805520","1330805526","1330805528","1330805532"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d6398b14cff0535a7581f29b3c0f0db.jpg","text":"TemporaryFile(/tmp/multipartBody2146236795803810537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627603366,"filename":"image_23012025_11_18_02_632890_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f011d640d2c39fcd06354a4123738883.jpg","text":"TemporaryFile(/tmp/multipartBody6076279516436086379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627603366,"filename":"image_23012025_11_18_02_632890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2472bda207287314b075d18db5a4ac2.jpg","text":"TemporaryFile(/tmp/multipartBody1862783756449994314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627603366,"filename":"image_23012025_11_17_02_344581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea92f4953840bcb18c0daefba943ff7c.jpg","text":"TemporaryFile(/tmp/multipartBody2958070632684993900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627603366,"filename":"image_23012025_11_18_02_632890_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330805528","file1":"1330805526","file0":"1330805520","file3":"1330805532"},"map_files_photo_id_array":[{"photo_id":"1330805528","filename":"file2"},{"photo_id":"1330805526","filename":"file1"},{"photo_id":"1330805520","filename":"file0"},{"photo_id":"1330805532","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330805532":["hashtag1","hashtag2"]},{"1330805526":["hashtag1","hashtag2"]},{"1330805520":["hashtag1","hashtag2"]},{"1330805528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330805532, 1330805526, 1330805520, 1330805528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.637038707733154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 11:19:42.509223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_02_632890_0003.jpg', '/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_02_653364_0000.jpg', '/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_02_653364_0001.jpg', '/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_02_653364_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_02_632890_0003.jpg
/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_02_653364_0000.jpg
/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_02_653364_0001.jpg
/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_02_653364_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330805580","1330805584","1330805587","1330805592"],"photo_ids_order":["1330805580","1330805584","1330805587","1330805592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f244d7e7d9b778e72d252af7571b1bb7.jpg","text":"TemporaryFile(/tmp/multipartBody8101961820679251917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627653901,"filename":"image_23012025_11_18_02_632890_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e57d7169b6e933d2685ef54bf1ccb1c.jpg","text":"TemporaryFile(/tmp/multipartBody3140994058061244685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627653901,"filename":"image_23012025_11_19_02_653364_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0077f6e98a496ddbf6010241dbddedb8.jpg","text":"TemporaryFile(/tmp/multipartBody7717611597685199119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627653901,"filename":"image_23012025_11_19_02_653364_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ddcf3d424c103887a0db50b998411ad.jpg","text":"TemporaryFile(/tmp/multipartBody4221813713294501253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627653901,"filename":"image_23012025_11_19_02_653364_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330805587","file1":"1330805584","file0":"1330805580","file3":"1330805592"},"map_files_photo_id_array":[{"photo_id":"1330805587","filename":"file2"},{"photo_id":"1330805584","filename":"file1"},{"photo_id":"1330805580","filename":"file0"},{"photo_id":"1330805592","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330805580":["hashtag1","hashtag2"]},{"1330805584":["hashtag1","hashtag2"]},{"1330805587":["hashtag1","hashtag2"]},{"1330805592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330805580, 1330805584, 1330805587, 1330805592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13756823539734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:20:32.726617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_02_653364_0003.jpg', '/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_02_792053_0000.jpg', '/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_02_792053_0001.jpg', '/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_02_792053_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_02_653364_0003.jpg
/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_02_792053_0000.jpg
/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_02_792053_0001.jpg
/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_02_792053_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330805622","1330805618","1330805627","1330805614"],"photo_ids_order":["1330805614","1330805618","1330805622","1330805627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/baa6b147e09a237436de3be17b680654.jpg","text":"TemporaryFile(/tmp/multipartBody6808694842741138139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627704004,"filename":"image_23012025_11_20_02_792053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/029219cffe9afdfc38ee6b9fd6026a50.jpg","text":"TemporaryFile(/tmp/multipartBody4048213914612673239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627704004,"filename":"image_23012025_11_20_02_792053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d46ff7eeda74c080bc30d5e2ab603446.jpg","text":"TemporaryFile(/tmp/multipartBody1428066241802361057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627704004,"filename":"image_23012025_11_20_02_792053_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e438f409143590adb6307d367ae1971f.jpg","text":"TemporaryFile(/tmp/multipartBody6022578245798967601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627704004,"filename":"image_23012025_11_19_02_653364_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330805622","file1":"1330805618","file0":"1330805614","file3":"1330805627"},"map_files_photo_id_array":[{"photo_id":"1330805622","filename":"file2"},{"photo_id":"1330805618","filename":"file1"},{"photo_id":"1330805614","filename":"file0"},{"photo_id":"1330805627","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330805622":["hashtag1","hashtag2"]},{"1330805618":["hashtag1","hashtag2"]},{"1330805627":["hashtag1","hashtag2"]},{"1330805614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330805622, 1330805618, 1330805627, 1330805614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.19299554824829 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:21:21.983458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_02_792053_0003.jpg', '/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_03_080542_0000.jpg', '/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_03_080542_0001.jpg', '/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_03_080542_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_02_792053_0003.jpg
/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_03_080542_0000.jpg
/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_03_080542_0001.jpg
/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_03_080542_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330805682","1330805658","1330805654","1330805674"],"photo_ids_order":["1330805654","1330805658","1330805674","1330805682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f967bcf2a493f345ebbf7075c4c137f.jpg","text":"TemporaryFile(/tmp/multipartBody5768711600253694245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627753383,"filename":"image_23012025_11_21_03_080542_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9a1956479cbe37839b106ad75c02591.jpg","text":"TemporaryFile(/tmp/multipartBody3683731349381414642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627753383,"filename":"image_23012025_11_21_03_080542_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4b992d3c7955ded2096cdbeb21dd6e3.jpg","text":"TemporaryFile(/tmp/multipartBody2147713181284792341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627753383,"filename":"image_23012025_11_20_02_792053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b962b4bed1758e97024244d83a2fd8c0.jpg","text":"TemporaryFile(/tmp/multipartBody3356202399407428148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627753383,"filename":"image_23012025_11_21_03_080542_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330805674","file1":"1330805658","file0":"1330805654","file3":"1330805682"},"map_files_photo_id_array":[{"photo_id":"1330805674","filename":"file2"},{"photo_id":"1330805658","filename":"file1"},{"photo_id":"1330805654","filename":"file0"},{"photo_id":"1330805682","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330805682":["hashtag1","hashtag2"]},{"1330805658":["hashtag1","hashtag2"]},{"1330805654":["hashtag1","hashtag2"]},{"1330805674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330805682, 1330805658, 1330805654, 1330805674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.091198205947876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:22:22.162240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_03_080542_0003.jpg', '/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_02_291030_0000.jpg', '/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_02_291030_0001.jpg', '/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_02_291030_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_03_080542_0003.jpg
/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_02_291030_0000.jpg
/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_02_291030_0001.jpg
/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_02_291030_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330805811","1330805789","1330805818","1330805728"],"photo_ids_order":["1330805728","1330805789","1330805811","1330805818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8510e91de9aab7d55c3323b62dce0573.jpg","text":"TemporaryFile(/tmp/multipartBody7585300081350144256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627813101,"filename":"image_23012025_11_22_02_291030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b399c522b8688563f2c07cc601c6a6e0.jpg","text":"TemporaryFile(/tmp/multipartBody25171570559900036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627813101,"filename":"image_23012025_11_22_02_291030_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e6e0904504f8625badbc80c3f0eda26.jpg","text":"TemporaryFile(/tmp/multipartBody4837043428634629861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627813101,"filename":"image_23012025_11_22_02_291030_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42b73bd2882ab634167a45d72a6f1d4f.jpg","text":"TemporaryFile(/tmp/multipartBody3631916662694938546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627813101,"filename":"image_23012025_11_21_03_080542_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330805811","file1":"1330805789","file0":"1330805728","file3":"1330805818"},"map_files_photo_id_array":[{"photo_id":"1330805811","filename":"file2"},{"photo_id":"1330805789","filename":"file1"},{"photo_id":"1330805728","filename":"file0"},{"photo_id":"1330805818","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330805811":["hashtag1","hashtag2"]},{"1330805789":["hashtag1","hashtag2"]},{"1330805818":["hashtag1","hashtag2"]},{"1330805728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330805811, 1330805789, 1330805818, 1330805728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.218223094940186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 11:23:02.806865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/50/image_21012025_18_50_02_875738_0002.jpg', '/home/pi/Desktop/images/21012025/18/50/image_21012025_18_50_02_875738_0003.jpg', '/home/pi/Desktop/images/21012025/18/51/image_21012025_18_51_02_906839_0000.jpg', '/home/pi/Desktop/images/21012025/18/51/image_21012025_18_51_02_906839_0001.jpg', '/home/pi/Desktop/images/21012025/18/51/image_21012025_18_51_02_906839_0002.jpg', '/home/pi/Desktop/images/21012025/18/51/image_21012025_18_51_02_906839_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/50/image_21012025_18_50_02_875738_0002.jpg
/home/pi/Desktop/images/21012025/18/50/image_21012025_18_50_02_875738_0003.jpg
/home/pi/Desktop/images/21012025/18/51/image_21012025_18_51_02_906839_0000.jpg
/home/pi/Desktop/images/21012025/18/51/image_21012025_18_51_02_906839_0001.jpg
/home/pi/Desktop/images/21012025/18/51/image_21012025_18_51_02_906839_0002.jpg
/home/pi/Desktop/images/21012025/18/51/image_21012025_18_51_02_906839_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":["1330805934","1330805943","1330805937","1330805951","1330805930","1330805956"],"photo_ids_order":["1330805930","1330805934","1330805937","1330805943","1330805951","1330805956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6da8fbfcd7b48aa0a9de77ef790498c.jpg","text":"TemporaryFile(/tmp/multipartBody2502854063155391962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627860003,"filename":"image_21012025_18_50_02_875738_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ebe317fce1578612d23f14c8546ea09.jpg","text":"TemporaryFile(/tmp/multipartBody2652531483078137041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627860003,"filename":"image_21012025_18_51_02_906839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/127911a7691d37d4a9480a878c03ed48.jpg","text":"TemporaryFile(/tmp/multipartBody3349739464091326254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627860003,"filename":"image_21012025_18_51_02_906839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/536eee7d161233d6ee3a1ad40eca5d2a.jpg","text":"TemporaryFile(/tmp/multipartBody6182138526156376310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627860003,"filename":"image_21012025_18_51_02_906839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/568eea04853dd5fa9b926652acb79b56.jpg","text":"TemporaryFile(/tmp/multipartBody4052268934807750681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627860003,"filename":"image_21012025_18_50_02_875738_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8adb81a8c8eb1ffe27b1e632a35db2b5.jpg","text":"TemporaryFile(/tmp/multipartBody8274986179656608212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627860003,"filename":"image_21012025_18_51_02_906839_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330805937","file1":"1330805934","file0":"1330805930","file4":"1330805951","file5":"1330805956","file3":"1330805943"},"map_files_photo_id_array":[{"photo_id":"1330805956","filename":"file5"},{"photo_id":"1330805937","filename":"file2"},{"photo_id":"1330805951","filename":"file4"},{"photo_id":"1330805934","filename":"file1"},{"photo_id":"1330805930","filename":"file0"},{"photo_id":"1330805943","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330805934":["hashtag1","hashtag2"]},{"1330805943":["hashtag1","hashtag2"]},{"1330805937":["hashtag1","hashtag2"]},{"1330805951":["hashtag1","hashtag2"]},{"1330805930":["hashtag1","hashtag2"]},{"1330805956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330805934, 1330805943, 1330805937, 1330805951, 1330805930, 1330805956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.669660806655884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:24:22.453963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_02_291030_0003.jpg', '/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_02_541069_0000.jpg', '/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_02_541069_0001.jpg', '/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_02_541069_0002.jpg', '/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_02_541069_0003.jpg', '/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_02_656516_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_02_291030_0003.jpg
/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_02_541069_0000.jpg
/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_02_541069_0001.jpg
/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_02_541069_0002.jpg
/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_02_541069_0003.jpg
/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_02_656516_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":["1330806804","1330806779","1330806784","1330806793","1330806781","1330806774"],"photo_ids_order":["1330806774","1330806779","1330806781","1330806784","1330806793","1330806804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62f81dabf34920bdbf8ca7a8203bb0c9.jpg","text":"TemporaryFile(/tmp/multipartBody4080886717327314360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627939157,"filename":"image_23012025_11_24_02_656516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee9b009e57219ae8f951d9f3e0fbe890.jpg","text":"TemporaryFile(/tmp/multipartBody2721176676312044316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627939157,"filename":"image_23012025_11_23_02_541069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e279c691715fb34b25a0c40c73021cc5.jpg","text":"TemporaryFile(/tmp/multipartBody727681334316624920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627939157,"filename":"image_23012025_11_23_02_541069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad8e55d6648beb12945537ea84b9f892.jpg","text":"TemporaryFile(/tmp/multipartBody4127968900790078157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627939157,"filename":"image_23012025_11_23_02_541069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20bfa6b3039eec7034de9980ce37a068.jpg","text":"TemporaryFile(/tmp/multipartBody4417255779372743240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627939157,"filename":"image_23012025_11_23_02_541069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19f451dd2fef09fa7f602436b8c5fde8.jpg","text":"TemporaryFile(/tmp/multipartBody4359466819591164229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627939157,"filename":"image_23012025_11_22_02_291030_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330806781","file1":"1330806779","file0":"1330806774","file4":"1330806793","file5":"1330806804","file3":"1330806784"},"map_files_photo_id_array":[{"photo_id":"1330806804","filename":"file5"},{"photo_id":"1330806781","filename":"file2"},{"photo_id":"1330806793","filename":"file4"},{"photo_id":"1330806779","filename":"file1"},{"photo_id":"1330806774","filename":"file0"},{"photo_id":"1330806784","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330806804":["hashtag1","hashtag2"]},{"1330806779":["hashtag1","hashtag2"]},{"1330806784":["hashtag1","hashtag2"]},{"1330806793":["hashtag1","hashtag2"]},{"1330806781":["hashtag1","hashtag2"]},{"1330806774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330806804, 1330806779, 1330806784, 1330806793, 1330806781, 1330806774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.96710562705994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:25:32.605615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_02_656516_0001.jpg', '/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_02_656516_0002.jpg', '/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_02_656516_0003.jpg', '/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_02_819149_0000.jpg', '/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_02_819149_0001.jpg', '/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_02_819149_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_02_656516_0001.jpg
/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_02_656516_0002.jpg
/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_02_656516_0003.jpg
/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_02_819149_0000.jpg
/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_02_819149_0001.jpg
/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_02_819149_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330806893","1330806869","1330806863","1330806923","1330806892","1330807173"],"photo_ids_order":["1330806863","1330806869","1330806892","1330806893","1330806923","1330807173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a18e9b4c875f048f03145f96521afff.jpg","text":"TemporaryFile(/tmp/multipartBody840669265176872630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628009381,"filename":"image_23012025_11_25_02_819149_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6844e08b99dfe2350011955fa06d86d0.jpg","text":"TemporaryFile(/tmp/multipartBody7546563724796447209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628009381,"filename":"image_23012025_11_24_02_656516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/221610abef67a498fcef3f394e584a5e.jpg","text":"TemporaryFile(/tmp/multipartBody6718393561144342892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628009381,"filename":"image_23012025_11_24_02_656516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9fdb9467e37f2c964d8d2ede15d4f13.jpg","text":"TemporaryFile(/tmp/multipartBody8946843942450891464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628009381,"filename":"image_23012025_11_25_02_819149_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9dfc27dae3d0f4df38c62cfcf83bb223.jpg","text":"TemporaryFile(/tmp/multipartBody535213658177110176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628009381,"filename":"image_23012025_11_24_02_656516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b005894dfdd6bf18a21f8b4a9d64a95.jpg","text":"TemporaryFile(/tmp/multipartBody1498767688136222361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628009381,"filename":"image_23012025_11_25_02_819149_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330806892","file1":"1330806869","file0":"1330806863","file4":"1330806923","file5":"1330807173","file3":"1330806893"},"map_files_photo_id_array":[{"photo_id":"1330807173","filename":"file5"},{"photo_id":"1330806892","filename":"file2"},{"photo_id":"1330806923","filename":"file4"},{"photo_id":"1330806869","filename":"file1"},{"photo_id":"1330806863","filename":"file0"},{"photo_id":"1330806893","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330806893":["hashtag1","hashtag2"]},{"1330806869":["hashtag1","hashtag2"]},{"1330806863":["hashtag1","hashtag2"]},{"1330806923":["hashtag1","hashtag2"]},{"1330806892":["hashtag1","hashtag2"]},{"1330807173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330806893, 1330806869, 1330806863, 1330806923, 1330806892, 1330807173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.91558599472046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 11:26:41.824682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_02_819149_0003.jpg', '/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_02_954309_0000.jpg', '/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_02_954309_0001.jpg', '/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_02_954309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_02_819149_0003.jpg
/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_02_954309_0000.jpg
/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_02_954309_0001.jpg
/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_02_954309_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330807376","1330807390","1330807386","1330807487"],"photo_ids_order":["1330807376","1330807386","1330807390","1330807487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33e42574b302ad7f031d8838d8f9f2c8.jpg","text":"TemporaryFile(/tmp/multipartBody3034846663653979872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628072858,"filename":"image_23012025_11_25_02_819149_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81a2b987180f6a73313b5f1f4dfdafa1.jpg","text":"TemporaryFile(/tmp/multipartBody5514164414121849860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628072858,"filename":"image_23012025_11_26_02_954309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3543a0a9f0de0097d4f2a42e28c4a93a.jpg","text":"TemporaryFile(/tmp/multipartBody8078958356847667358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628072858,"filename":"image_23012025_11_26_02_954309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d8d1f55a83ba5bc11e5281f04e018b0.jpg","text":"TemporaryFile(/tmp/multipartBody3725846372265758007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628072858,"filename":"image_23012025_11_26_02_954309_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330807390","file1":"1330807386","file0":"1330807376","file3":"1330807487"},"map_files_photo_id_array":[{"photo_id":"1330807390","filename":"file2"},{"photo_id":"1330807386","filename":"file1"},{"photo_id":"1330807376","filename":"file0"},{"photo_id":"1330807487","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330807376":["hashtag1","hashtag2"]},{"1330807390":["hashtag1","hashtag2"]},{"1330807386":["hashtag1","hashtag2"]},{"1330807487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330807376, 1330807390, 1330807386, 1330807487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.707387924194336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:27:31.995490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_02_954309_0003.jpg', '/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_02_160656_0000.jpg', '/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_02_160656_0001.jpg', '/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_02_160656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_02_954309_0003.jpg
/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_02_160656_0000.jpg
/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_02_160656_0001.jpg
/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_02_160656_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330807628","1330807618","1330807626","1330807611"],"photo_ids_order":["1330807611","1330807618","1330807626","1330807628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be6a19704c378d0e14af41fe7a63bf99.jpg","text":"TemporaryFile(/tmp/multipartBody8302604034895419333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628122523,"filename":"image_23012025_11_27_02_160656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/919ea147173bb31fb3da37868a2fd2ec.jpg","text":"TemporaryFile(/tmp/multipartBody4528245941755544107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628122523,"filename":"image_23012025_11_27_02_160656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e4e4266c204e70a65423078d93513e2.jpg","text":"TemporaryFile(/tmp/multipartBody3280739215621960738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628122523,"filename":"image_23012025_11_27_02_160656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68db677e3da93cd62bca23f2fde99082.jpg","text":"TemporaryFile(/tmp/multipartBody7625919712242522791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628122523,"filename":"image_23012025_11_26_02_954309_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330807626","file1":"1330807618","file0":"1330807611","file3":"1330807628"},"map_files_photo_id_array":[{"photo_id":"1330807626","filename":"file2"},{"photo_id":"1330807618","filename":"file1"},{"photo_id":"1330807611","filename":"file0"},{"photo_id":"1330807628","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330807628":["hashtag1","hashtag2"]},{"1330807618":["hashtag1","hashtag2"]},{"1330807626":["hashtag1","hashtag2"]},{"1330807611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330807628, 1330807618, 1330807626, 1330807611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.02504920959473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:28:22.232106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_02_160656_0003.jpg', '/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_02_377333_0000.jpg', '/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_02_377333_0001.jpg', '/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_02_377333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_02_160656_0003.jpg
/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_02_377333_0000.jpg
/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_02_377333_0001.jpg
/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_02_377333_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330807948","1330807944","1330807938","1330807932"],"photo_ids_order":["1330807932","1330807938","1330807944","1330807948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a9c43249bf5f5ece71b8efea2f4c1e3.jpg","text":"TemporaryFile(/tmp/multipartBody5841029841222595773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628173326,"filename":"image_23012025_11_28_02_377333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/110fbe72e1487fd39cd75cc6bb7b1de6.jpg","text":"TemporaryFile(/tmp/multipartBody4451830830882490911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628173326,"filename":"image_23012025_11_28_02_377333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/200ba51b5f9a95dda159cb58545fd950.jpg","text":"TemporaryFile(/tmp/multipartBody1228398868226302832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628173326,"filename":"image_23012025_11_28_02_377333_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7924ce1b76a5fecdfac2ac811d2d595e.jpg","text":"TemporaryFile(/tmp/multipartBody6493791642497366735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628173326,"filename":"image_23012025_11_27_02_160656_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330807944","file1":"1330807938","file0":"1330807932","file3":"1330807948"},"map_files_photo_id_array":[{"photo_id":"1330807944","filename":"file2"},{"photo_id":"1330807938","filename":"file1"},{"photo_id":"1330807932","filename":"file0"},{"photo_id":"1330807948","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330807948":["hashtag1","hashtag2"]},{"1330807944":["hashtag1","hashtag2"]},{"1330807938":["hashtag1","hashtag2"]},{"1330807932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330807948, 1330807944, 1330807938, 1330807932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.572213649749756 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-23 11:29:22.418218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_02_377333_0003.jpg', '/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_02_599135_0000.jpg', '/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_02_599135_0001.jpg', '/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_02_599135_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_02_377333_0003.jpg
/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_02_599135_0000.jpg
/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_02_599135_0001.jpg
/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_02_599135_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330807988","1330807981","1330807975","1330807971"],"photo_ids_order":["1330807971","1330807975","1330807981","1330807988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6083c9f14b456c4c3a504db30234f8eb.jpg","text":"TemporaryFile(/tmp/multipartBody9218744320950149743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628233364,"filename":"image_23012025_11_29_02_599135_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6237be86d5a91299d0974bb3d2bb89a9.jpg","text":"TemporaryFile(/tmp/multipartBody7051962460442188835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628233364,"filename":"image_23012025_11_29_02_599135_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9dd5aa01852ad9d6d9cf7a083137ab6d.jpg","text":"TemporaryFile(/tmp/multipartBody2393076836283950219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628233364,"filename":"image_23012025_11_29_02_599135_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac54f8ae0cd65a61580bcf46d397c588.jpg","text":"TemporaryFile(/tmp/multipartBody9029561077653825599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628233364,"filename":"image_23012025_11_28_02_377333_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330807981","file1":"1330807975","file0":"1330807971","file3":"1330807988"},"map_files_photo_id_array":[{"photo_id":"1330807981","filename":"file2"},{"photo_id":"1330807975","filename":"file1"},{"photo_id":"1330807971","filename":"file0"},{"photo_id":"1330807988","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330807988":["hashtag1","hashtag2"]},{"1330807981":["hashtag1","hashtag2"]},{"1330807975":["hashtag1","hashtag2"]},{"1330807971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330807988, 1330807981, 1330807975, 1330807971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.58359241485596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:30:22.571773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_02_599135_0003.jpg', '/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_02_827670_0000.jpg', '/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_02_827670_0001.jpg', '/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_02_827670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_02_599135_0003.jpg
/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_02_827670_0000.jpg
/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_02_827670_0001.jpg
/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_02_827670_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330808048","1330808056","1330808052","1330808034"],"photo_ids_order":["1330808034","1330808048","1330808052","1330808056"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb071c739fbe105989f315566daf300a.jpg","text":"TemporaryFile(/tmp/multipartBody1985004082723057528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628293620,"filename":"image_23012025_11_30_02_827670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b60b51c614b76696213d21ac153778c6.jpg","text":"TemporaryFile(/tmp/multipartBody6415424183172106486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628293620,"filename":"image_23012025_11_30_02_827670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8457f49e6491dab998d8e634203316e7.jpg","text":"TemporaryFile(/tmp/multipartBody4667005359634767635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628293620,"filename":"image_23012025_11_30_02_827670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/456d0bf47be00213ca1dcfef7931b219.jpg","text":"TemporaryFile(/tmp/multipartBody4960393982887559170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628293620,"filename":"image_23012025_11_29_02_599135_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330808052","file1":"1330808048","file0":"1330808034","file3":"1330808056"},"map_files_photo_id_array":[{"photo_id":"1330808052","filename":"file2"},{"photo_id":"1330808048","filename":"file1"},{"photo_id":"1330808034","filename":"file0"},{"photo_id":"1330808056","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330808048":["hashtag1","hashtag2"]},{"1330808056":["hashtag1","hashtag2"]},{"1330808052":["hashtag1","hashtag2"]},{"1330808034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330808048, 1330808056, 1330808052, 1330808034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.94522404670715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:31:22.796843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_02_827670_0003.jpg', '/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_02_916920_0000.jpg', '/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_02_916920_0001.jpg', '/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_02_916920_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_02_827670_0003.jpg
/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_02_916920_0000.jpg
/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_02_916920_0001.jpg
/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_02_916920_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330808153","1330808120","1330808114","1330808084"],"photo_ids_order":["1330808084","1330808114","1330808120","1330808153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f89243895f4aaea5fad5c9b6229eaf3.jpg","text":"TemporaryFile(/tmp/multipartBody5001114415877066435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628353942,"filename":"image_23012025_11_31_02_916920_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/745af3c98590b0965f26333c441acdf5.jpg","text":"TemporaryFile(/tmp/multipartBody4138132612888522592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628353942,"filename":"image_23012025_11_31_02_916920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a38e5fb735288c9cbd9c7671f3a3dd84.jpg","text":"TemporaryFile(/tmp/multipartBody496703318539068204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628353942,"filename":"image_23012025_11_31_02_916920_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4b4b681e5c4ab3d4a1c2bd70d92239f.jpg","text":"TemporaryFile(/tmp/multipartBody1562139990164856408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628353942,"filename":"image_23012025_11_30_02_827670_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330808120","file1":"1330808114","file0":"1330808084","file3":"1330808153"},"map_files_photo_id_array":[{"photo_id":"1330808120","filename":"file2"},{"photo_id":"1330808114","filename":"file1"},{"photo_id":"1330808084","filename":"file0"},{"photo_id":"1330808153","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330808153":["hashtag1","hashtag2"]},{"1330808120":["hashtag1","hashtag2"]},{"1330808114":["hashtag1","hashtag2"]},{"1330808084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330808153, 1330808120, 1330808114, 1330808084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.234599113464355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:32:21.906904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_02_916920_0003.jpg', '/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_03_169007_0000.jpg', '/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_03_169007_0001.jpg', '/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_03_169007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_02_916920_0003.jpg
/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_03_169007_0000.jpg
/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_03_169007_0001.jpg
/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_03_169007_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.945410251617432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 11:32:41.917004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_02_916920_0003.jpg', '/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_03_169007_0000.jpg', '/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_03_169007_0001.jpg', '/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_03_169007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_02_916920_0003.jpg
/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_03_169007_0000.jpg
/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_03_169007_0001.jpg
/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_03_169007_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330808290","1330808284","1330808287","1330808282"],"photo_ids_order":["1330808282","1330808284","1330808287","1330808290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc03e58e4e67885e1245a6656d220132.jpg","text":"TemporaryFile(/tmp/multipartBody1978084904849133255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628433248,"filename":"image_23012025_11_32_03_169007_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff342e5b9d8d56dbfa2f9211a4eff130.jpg","text":"TemporaryFile(/tmp/multipartBody8556219234185904447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628433248,"filename":"image_23012025_11_32_03_169007_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de3c72c5937ff1d91e70231e08315bd1.jpg","text":"TemporaryFile(/tmp/multipartBody4338019429042833132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628433248,"filename":"image_23012025_11_32_03_169007_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b0f43cfc76dea8d5ec2680e099f6e62.jpg","text":"TemporaryFile(/tmp/multipartBody3686099714841263382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628433248,"filename":"image_23012025_11_31_02_916920_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330808287","file1":"1330808284","file0":"1330808282","file3":"1330808290"},"map_files_photo_id_array":[{"photo_id":"1330808287","filename":"file2"},{"photo_id":"1330808284","filename":"file1"},{"photo_id":"1330808282","filename":"file0"},{"photo_id":"1330808290","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330808290":["hashtag1","hashtag2"]},{"1330808284":["hashtag1","hashtag2"]},{"1330808287":["hashtag1","hashtag2"]},{"1330808282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330808290, 1330808284, 1330808287, 1330808282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.577282428741455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:33:32.113435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_03_169007_0003.jpg', '/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_02_290181_0000.jpg', '/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_02_290181_0001.jpg', '/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_02_290181_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_03_169007_0003.jpg
/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_02_290181_0000.jpg
/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_02_290181_0001.jpg
/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_02_290181_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330808315","1330808311","1330808322","1330808319"],"photo_ids_order":["1330808311","1330808315","1330808319","1330808322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8573bf754191d8b9b29ad702b6916e2.jpg","text":"TemporaryFile(/tmp/multipartBody9218443670017724871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628483270,"filename":"image_23012025_11_33_02_290181_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/87d3133d5c1e7f539a7f365d917a3418.jpg","text":"TemporaryFile(/tmp/multipartBody7738180819064398409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628483270,"filename":"image_23012025_11_32_03_169007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59bdf44e0671fe022a8642e585689dba.jpg","text":"TemporaryFile(/tmp/multipartBody544099392444608885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628483270,"filename":"image_23012025_11_33_02_290181_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/acd2dbb870aac6d90ca9a337478d9d6a.jpg","text":"TemporaryFile(/tmp/multipartBody9086328958258859855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628483270,"filename":"image_23012025_11_33_02_290181_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330808319","file1":"1330808315","file0":"1330808311","file3":"1330808322"},"map_files_photo_id_array":[{"photo_id":"1330808319","filename":"file2"},{"photo_id":"1330808315","filename":"file1"},{"photo_id":"1330808311","filename":"file0"},{"photo_id":"1330808322","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330808315":["hashtag1","hashtag2"]},{"1330808311":["hashtag1","hashtag2"]},{"1330808322":["hashtag1","hashtag2"]},{"1330808319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330808315, 1330808311, 1330808322, 1330808319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.611250162124634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:34:22.346313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_02_290181_0003.jpg', '/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_02_438926_0000.jpg', '/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_02_438926_0001.jpg', '/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_02_438926_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_02_290181_0003.jpg
/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_02_438926_0000.jpg
/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_02_438926_0001.jpg
/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_02_438926_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330808348","1330808353","1330808357","1330808342"],"photo_ids_order":["1330808342","1330808348","1330808353","1330808357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77469343f6d931fad51be2ab646e0507.jpg","text":"TemporaryFile(/tmp/multipartBody5833907616858056484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628533714,"filename":"image_23012025_11_34_02_438926_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d1abb6a35abf4c45b526fdf679e9e60.jpg","text":"TemporaryFile(/tmp/multipartBody7600767933678988418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628533714,"filename":"image_23012025_11_34_02_438926_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c6fd3f58794f68a31490d57421ac64d.jpg","text":"TemporaryFile(/tmp/multipartBody6292843869382508633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628533714,"filename":"image_23012025_11_34_02_438926_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b47a647f8607a9636e4d87e12b196be.jpg","text":"TemporaryFile(/tmp/multipartBody7394064256701150425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628533714,"filename":"image_23012025_11_33_02_290181_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330808353","file1":"1330808348","file0":"1330808342","file3":"1330808357"},"map_files_photo_id_array":[{"photo_id":"1330808353","filename":"file2"},{"photo_id":"1330808348","filename":"file1"},{"photo_id":"1330808342","filename":"file0"},{"photo_id":"1330808357","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330808348":["hashtag1","hashtag2"]},{"1330808353":["hashtag1","hashtag2"]},{"1330808357":["hashtag1","hashtag2"]},{"1330808342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330808348, 1330808353, 1330808357, 1330808342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63978910446167 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-23 11:35:22.498360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_02_438926_0003.jpg', '/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_02_667341_0000.jpg', '/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_02_667341_0001.jpg', '/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_02_667341_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_02_438926_0003.jpg
/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_02_667341_0000.jpg
/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_02_667341_0001.jpg
/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_02_667341_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330808531","1330808458","1330808379","1330808528"],"photo_ids_order":["1330808379","1330808458","1330808528","1330808531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/317db995f6d3b7e8217c399119fd98e8.jpg","text":"TemporaryFile(/tmp/multipartBody8409558561094932025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628593454,"filename":"image_23012025_11_35_02_667341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ad07e46be68d5a05a59cbde6b4d7633.jpg","text":"TemporaryFile(/tmp/multipartBody6022357503553187561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628593454,"filename":"image_23012025_11_35_02_667341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c884d3069896d351c08589a83746fbb.jpg","text":"TemporaryFile(/tmp/multipartBody402399140075524044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628593454,"filename":"image_23012025_11_34_02_438926_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3105fac680bdc03748f921d1e371dc4.jpg","text":"TemporaryFile(/tmp/multipartBody3302139662408805261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628593454,"filename":"image_23012025_11_35_02_667341_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330808528","file1":"1330808458","file0":"1330808379","file3":"1330808531"},"map_files_photo_id_array":[{"photo_id":"1330808528","filename":"file2"},{"photo_id":"1330808458","filename":"file1"},{"photo_id":"1330808379","filename":"file0"},{"photo_id":"1330808531","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330808531":["hashtag1","hashtag2"]},{"1330808458":["hashtag1","hashtag2"]},{"1330808379":["hashtag1","hashtag2"]},{"1330808528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330808531, 1330808458, 1330808379, 1330808528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.77485656738281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:36:22.778733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_02_667341_0003.jpg', '/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_02_853205_0000.jpg', '/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_02_853205_0001.jpg', '/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_02_853205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_02_667341_0003.jpg
/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_02_853205_0000.jpg
/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_02_853205_0001.jpg
/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_02_853205_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330808575","1330808560","1330808597","1330808564"],"photo_ids_order":["1330808560","1330808564","1330808575","1330808597"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3036d70895c1d277fc27f2e384e63391.jpg","text":"TemporaryFile(/tmp/multipartBody8595516814712799810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628653936,"filename":"image_23012025_11_36_02_853205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f52e9b58110d1ce118823d0b7e493c99.jpg","text":"TemporaryFile(/tmp/multipartBody6255758830243733209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628653936,"filename":"image_23012025_11_35_02_667341_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac1cc1c2f82ca6c62f994a95031b4ef0.jpg","text":"TemporaryFile(/tmp/multipartBody4619608300008611990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628653936,"filename":"image_23012025_11_36_02_853205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3083307ea3fd0fceb7e8e27f08c7b528.jpg","text":"TemporaryFile(/tmp/multipartBody8425736103236284706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628653936,"filename":"image_23012025_11_36_02_853205_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330808575","file1":"1330808564","file0":"1330808560","file3":"1330808597"},"map_files_photo_id_array":[{"photo_id":"1330808575","filename":"file2"},{"photo_id":"1330808564","filename":"file1"},{"photo_id":"1330808560","filename":"file0"},{"photo_id":"1330808597","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330808575":["hashtag1","hashtag2"]},{"1330808560":["hashtag1","hashtag2"]},{"1330808597":["hashtag1","hashtag2"]},{"1330808564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330808575, 1330808560, 1330808597, 1330808564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.70032477378845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:37:21.953006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_02_853205_0003.jpg', '/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_03_113833_0000.jpg', '/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_03_113833_0001.jpg', '/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_03_113833_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_02_853205_0003.jpg
/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_03_113833_0000.jpg
/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_03_113833_0001.jpg
/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_03_113833_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330808630","1330808632","1330808626","1330808628"],"photo_ids_order":["1330808626","1330808628","1330808630","1330808632"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8dc57daff5e7571fc05d2cce02ce84fe.jpg","text":"TemporaryFile(/tmp/multipartBody6375492410979487341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628713052,"filename":"image_23012025_11_37_03_113833_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cd48b1710b53869cb2926bcbe91c025.jpg","text":"TemporaryFile(/tmp/multipartBody4670569745304695171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628713052,"filename":"image_23012025_11_37_03_113833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1db4be5f686a9f2e1f9b3cf433c4143.jpg","text":"TemporaryFile(/tmp/multipartBody1773079112703634588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628713052,"filename":"image_23012025_11_36_02_853205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b96a7666ac8e6f1a02eeb34c455da1d.jpg","text":"TemporaryFile(/tmp/multipartBody775914179505051116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628713052,"filename":"image_23012025_11_37_03_113833_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330808630","file1":"1330808628","file0":"1330808626","file3":"1330808632"},"map_files_photo_id_array":[{"photo_id":"1330808630","filename":"file2"},{"photo_id":"1330808628","filename":"file1"},{"photo_id":"1330808626","filename":"file0"},{"photo_id":"1330808632","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330808630":["hashtag1","hashtag2"]},{"1330808632":["hashtag1","hashtag2"]},{"1330808626":["hashtag1","hashtag2"]},{"1330808628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330808630, 1330808632, 1330808626, 1330808628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 72.29256105422974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 11:38:42.078974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_03_113833_0003.jpg', '/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_02_270282_0000.jpg', '/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_02_270282_0001.jpg', '/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_02_270282_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_03_113833_0003.jpg
/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_02_270282_0000.jpg
/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_02_270282_0001.jpg
/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_02_270282_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330809525","1330809519","1330809228","1330809386"],"photo_ids_order":["1330809228","1330809386","1330809519","1330809525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51d8b985557fc830f94d9120f25f2752.jpg","text":"TemporaryFile(/tmp/multipartBody450304163448605762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628793260,"filename":"image_23012025_11_38_02_270282_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05f0207ccce8dc1a6f15e7ab54804ab6.jpg","text":"TemporaryFile(/tmp/multipartBody6233921308355753300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628793260,"filename":"image_23012025_11_38_02_270282_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0cf1c1c5d87c78d0dd286e11d2499e30.jpg","text":"TemporaryFile(/tmp/multipartBody4207305661033585312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628793260,"filename":"image_23012025_11_37_03_113833_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cef9290748a33654b075493babcc7d1d.jpg","text":"TemporaryFile(/tmp/multipartBody3801385030378010202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628793260,"filename":"image_23012025_11_38_02_270282_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330809519","file1":"1330809386","file0":"1330809228","file3":"1330809525"},"map_files_photo_id_array":[{"photo_id":"1330809519","filename":"file2"},{"photo_id":"1330809386","filename":"file1"},{"photo_id":"1330809228","filename":"file0"},{"photo_id":"1330809525","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330809525":["hashtag1","hashtag2"]},{"1330809519":["hashtag1","hashtag2"]},{"1330809228":["hashtag1","hashtag2"]},{"1330809386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330809525, 1330809519, 1330809228, 1330809386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.31486487388611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:39:32.251035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_02_270282_0003.jpg', '/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_02_435822_0000.jpg', '/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_02_435822_0001.jpg', '/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_02_435822_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_02_270282_0003.jpg
/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_02_435822_0000.jpg
/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_02_435822_0001.jpg
/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_02_435822_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330809550","1330809544","1330809551","1330809548"],"photo_ids_order":["1330809544","1330809548","1330809550","1330809551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b54996120072515497fee68e134fac6f.jpg","text":"TemporaryFile(/tmp/multipartBody3209632124562211161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628843208,"filename":"image_23012025_11_39_02_435822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24ea19b5373b4fa70f33950eea12729c.jpg","text":"TemporaryFile(/tmp/multipartBody2865940407318450533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628843208,"filename":"image_23012025_11_38_02_270282_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc854984d0601e5c6bfb93ae482e6707.jpg","text":"TemporaryFile(/tmp/multipartBody6311673425089389229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628843208,"filename":"image_23012025_11_39_02_435822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53b9102dd48d78337430afb834a6fa27.jpg","text":"TemporaryFile(/tmp/multipartBody7951294728544718096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628843208,"filename":"image_23012025_11_39_02_435822_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330809550","file1":"1330809548","file0":"1330809544","file3":"1330809551"},"map_files_photo_id_array":[{"photo_id":"1330809550","filename":"file2"},{"photo_id":"1330809548","filename":"file1"},{"photo_id":"1330809544","filename":"file0"},{"photo_id":"1330809551","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330809550":["hashtag1","hashtag2"]},{"1330809544":["hashtag1","hashtag2"]},{"1330809551":["hashtag1","hashtag2"]},{"1330809548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330809550, 1330809544, 1330809551, 1330809548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73216915130615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:40:22.508778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_02_435822_0003.jpg', '/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_02_609781_0000.jpg', '/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_02_609781_0001.jpg', '/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_02_609781_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_02_435822_0003.jpg
/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_02_609781_0000.jpg
/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_02_609781_0001.jpg
/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_02_609781_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330809625","1330809570","1330809732","1330809566"],"photo_ids_order":["1330809566","1330809570","1330809625","1330809732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d44d08d1278da611cfa9e00e6848d63.jpg","text":"TemporaryFile(/tmp/multipartBody2613761004494194963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628893675,"filename":"image_23012025_11_40_02_609781_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0112d58de5909894edc7f8dbf9eba75e.jpg","text":"TemporaryFile(/tmp/multipartBody2884208755520823846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628893675,"filename":"image_23012025_11_40_02_609781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/542e7f0c944f11887d015d616c617c16.jpg","text":"TemporaryFile(/tmp/multipartBody6024496128663871719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628893675,"filename":"image_23012025_11_40_02_609781_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b0fec2deeebb29fd694c89881c3c9a3.jpg","text":"TemporaryFile(/tmp/multipartBody8113973771771672509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628893675,"filename":"image_23012025_11_39_02_435822_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330809625","file1":"1330809570","file0":"1330809566","file3":"1330809732"},"map_files_photo_id_array":[{"photo_id":"1330809625","filename":"file2"},{"photo_id":"1330809570","filename":"file1"},{"photo_id":"1330809566","filename":"file0"},{"photo_id":"1330809732","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330809625":["hashtag1","hashtag2"]},{"1330809570":["hashtag1","hashtag2"]},{"1330809732":["hashtag1","hashtag2"]},{"1330809566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330809625, 1330809570, 1330809732, 1330809566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.017040491104126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:41:22.716286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_02_609781_0003.jpg', '/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_02_880386_0000.jpg', '/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_02_880386_0001.jpg', '/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_02_880386_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_02_609781_0003.jpg
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_02_880386_0000.jpg
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_02_880386_0001.jpg
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_02_880386_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330810081","1330810093","1330810168","1330810088"],"photo_ids_order":["1330810081","1330810088","1330810093","1330810168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97973e294d01d0955fdc76e8426c5de7.jpg","text":"TemporaryFile(/tmp/multipartBody4782715914704507008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628953656,"filename":"image_23012025_11_40_02_609781_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d59209a6d2b93a50dcfdb09d36dc4ef.jpg","text":"TemporaryFile(/tmp/multipartBody5590930259384327576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628953656,"filename":"image_23012025_11_41_02_880386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3057cf3fab460c6154b8597f9eb59db.jpg","text":"TemporaryFile(/tmp/multipartBody8879162822941140677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628953656,"filename":"image_23012025_11_41_02_880386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7fe31b6a2956b45a81b303903db70040.jpg","text":"TemporaryFile(/tmp/multipartBody377126362061777180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628953656,"filename":"image_23012025_11_41_02_880386_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330810093","file1":"1330810088","file0":"1330810081","file3":"1330810168"},"map_files_photo_id_array":[{"photo_id":"1330810093","filename":"file2"},{"photo_id":"1330810088","filename":"file1"},{"photo_id":"1330810081","filename":"file0"},{"photo_id":"1330810168","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330810081":["hashtag1","hashtag2"]},{"1330810093":["hashtag1","hashtag2"]},{"1330810168":["hashtag1","hashtag2"]},{"1330810088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330810081, 1330810093, 1330810168, 1330810088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.114422082901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:42:21.890083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_02_880386_0003.jpg', '/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_03_079931_0000.jpg', '/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_03_079931_0001.jpg', '/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_03_079931_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_02_880386_0003.jpg
/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_03_079931_0000.jpg
/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_03_079931_0001.jpg
/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_03_079931_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330810279","1330810420","1330810402","1330810386"],"photo_ids_order":["1330810279","1330810386","1330810402","1330810420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e21d1cf8b6d77200a7c083987b5884b.jpg","text":"TemporaryFile(/tmp/multipartBody1720488205949472933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629012984,"filename":"image_23012025_11_41_02_880386_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee855d8b067ffe91ba7cd293d66232e5.jpg","text":"TemporaryFile(/tmp/multipartBody6185115562362848416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629012984,"filename":"image_23012025_11_42_03_079931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57e1034c6dd62c67e7e262eafc2c04a7.jpg","text":"TemporaryFile(/tmp/multipartBody5439876828349513278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629012984,"filename":"image_23012025_11_42_03_079931_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cd6e91a6a2b517f149e136f7c7d6d15.jpg","text":"TemporaryFile(/tmp/multipartBody2230322313157302570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629012984,"filename":"image_23012025_11_42_03_079931_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330810402","file1":"1330810386","file0":"1330810279","file3":"1330810420"},"map_files_photo_id_array":[{"photo_id":"1330810402","filename":"file2"},{"photo_id":"1330810386","filename":"file1"},{"photo_id":"1330810279","filename":"file0"},{"photo_id":"1330810420","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330810279":["hashtag1","hashtag2"]},{"1330810420":["hashtag1","hashtag2"]},{"1330810402":["hashtag1","hashtag2"]},{"1330810386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330810279, 1330810420, 1330810402, 1330810386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.43146061897278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:43:22.105610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_03_079931_0003.jpg', '/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_02_274955_0000.jpg', '/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_02_274955_0001.jpg', '/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_02_274955_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_03_079931_0003.jpg
/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_02_274955_0000.jpg
/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_02_274955_0001.jpg
/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_02_274955_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330810888","1330810893","1330810860","1330810895"],"photo_ids_order":["1330810860","1330810888","1330810893","1330810895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a06522520baf939518df2e02bd1ab519.jpg","text":"TemporaryFile(/tmp/multipartBody1551512549613836204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629073292,"filename":"image_23012025_11_43_02_274955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfc81075d667e7ed881db9fb464f2168.jpg","text":"TemporaryFile(/tmp/multipartBody4622534698444313267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629073292,"filename":"image_23012025_11_43_02_274955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d12e6e9e07b80f8cd85431d73a05302.jpg","text":"TemporaryFile(/tmp/multipartBody4351452843036908723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629073292,"filename":"image_23012025_11_42_03_079931_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b267af62f35afcc5259b141d02e224d.jpg","text":"TemporaryFile(/tmp/multipartBody5898630142260133709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629073292,"filename":"image_23012025_11_43_02_274955_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330810893","file1":"1330810888","file0":"1330810860","file3":"1330810895"},"map_files_photo_id_array":[{"photo_id":"1330810893","filename":"file2"},{"photo_id":"1330810888","filename":"file1"},{"photo_id":"1330810860","filename":"file0"},{"photo_id":"1330810895","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330810888":["hashtag1","hashtag2"]},{"1330810893":["hashtag1","hashtag2"]},{"1330810860":["hashtag1","hashtag2"]},{"1330810895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330810888, 1330810893, 1330810860, 1330810895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.572911500930786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:44:22.241107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_02_274955_0003.jpg', '/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_02_411015_0000.jpg', '/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_02_411015_0001.jpg', '/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_02_411015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_02_274955_0003.jpg
/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_02_411015_0000.jpg
/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_02_411015_0001.jpg
/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_02_411015_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330811119","1330811088","1330811150","1330811102"],"photo_ids_order":["1330811088","1330811102","1330811119","1330811150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3933b2fdebe57b53fc63ffba1a40bf29.jpg","text":"TemporaryFile(/tmp/multipartBody5634837940862373567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629133763,"filename":"image_23012025_11_44_02_411015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a46e9aa35873af00ec5840ffbda46fe1.jpg","text":"TemporaryFile(/tmp/multipartBody4209076433029224017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629133763,"filename":"image_23012025_11_43_02_274955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a358f074c758f59e51f142dbcafd050a.jpg","text":"TemporaryFile(/tmp/multipartBody5385421092039494115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629133763,"filename":"image_23012025_11_44_02_411015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b154cdd48ebdac01ba36ab2917ef31a0.jpg","text":"TemporaryFile(/tmp/multipartBody9020717159222839907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629133763,"filename":"image_23012025_11_44_02_411015_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330811119","file1":"1330811102","file0":"1330811088","file3":"1330811150"},"map_files_photo_id_array":[{"photo_id":"1330811119","filename":"file2"},{"photo_id":"1330811102","filename":"file1"},{"photo_id":"1330811088","filename":"file0"},{"photo_id":"1330811150","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330811119":["hashtag1","hashtag2"]},{"1330811088":["hashtag1","hashtag2"]},{"1330811150":["hashtag1","hashtag2"]},{"1330811102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330811119, 1330811088, 1330811150, 1330811102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.16322469711304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:45:22.471971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_02_411015_0003.jpg', '/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_02_628688_0000.jpg', '/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_02_628688_0001.jpg', '/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_02_628688_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_02_411015_0003.jpg
/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_02_628688_0000.jpg
/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_02_628688_0001.jpg
/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_02_628688_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330811269","1330811233","1330811259","1330811273"],"photo_ids_order":["1330811233","1330811259","1330811269","1330811273"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04fe7137ef1a759baf46338219f0b8b1.jpg","text":"TemporaryFile(/tmp/multipartBody4768034018992940765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629193768,"filename":"image_23012025_11_45_02_628688_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6e4710e41102782b9655d7495450fed.jpg","text":"TemporaryFile(/tmp/multipartBody939123529988005877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629193768,"filename":"image_23012025_11_44_02_411015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bcb3216eadab709db62b35f2f7bfb387.jpg","text":"TemporaryFile(/tmp/multipartBody6567299773544356966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629193768,"filename":"image_23012025_11_45_02_628688_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f67b25242900c9319b866a861d35cba.jpg","text":"TemporaryFile(/tmp/multipartBody2421272618722903445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629193768,"filename":"image_23012025_11_45_02_628688_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330811269","file1":"1330811259","file0":"1330811233","file3":"1330811273"},"map_files_photo_id_array":[{"photo_id":"1330811269","filename":"file2"},{"photo_id":"1330811259","filename":"file1"},{"photo_id":"1330811233","filename":"file0"},{"photo_id":"1330811273","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330811269":["hashtag1","hashtag2"]},{"1330811233":["hashtag1","hashtag2"]},{"1330811259":["hashtag1","hashtag2"]},{"1330811273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330811269, 1330811233, 1330811259, 1330811273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.67116332054138 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-23 11:46:22.698985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_02_628688_0003.jpg', '/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_02_773349_0000.jpg', '/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_02_773349_0001.jpg', '/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_02_773349_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_02_628688_0003.jpg
/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_02_773349_0000.jpg
/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_02_773349_0001.jpg
/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_02_773349_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330811536","1330811524","1330811541","1330811529"],"photo_ids_order":["1330811524","1330811529","1330811536","1330811541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2fe44bfaa28c14f35291ef45b4c780f.jpg","text":"TemporaryFile(/tmp/multipartBody5564259143682527772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629254051,"filename":"image_23012025_11_46_02_773349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9de7dcadebc9156d3612758ee7c57450.jpg","text":"TemporaryFile(/tmp/multipartBody7875188281867449045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629254051,"filename":"image_23012025_11_45_02_628688_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ddf1ed52a0de69c8e0ee5defaa0ef62.jpg","text":"TemporaryFile(/tmp/multipartBody8381722191511613025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629254051,"filename":"image_23012025_11_46_02_773349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed2507655af19cd5b31f96bcdda84817.jpg","text":"TemporaryFile(/tmp/multipartBody3175276051219292965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629254051,"filename":"image_23012025_11_46_02_773349_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330811536","file1":"1330811529","file0":"1330811524","file3":"1330811541"},"map_files_photo_id_array":[{"photo_id":"1330811536","filename":"file2"},{"photo_id":"1330811529","filename":"file1"},{"photo_id":"1330811524","filename":"file0"},{"photo_id":"1330811541","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330811536":["hashtag1","hashtag2"]},{"1330811524":["hashtag1","hashtag2"]},{"1330811541":["hashtag1","hashtag2"]},{"1330811529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330811536, 1330811524, 1330811541, 1330811529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.92865705490112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:47:21.845825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_02_773349_0003.jpg', '/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_02_997106_0000.jpg', '/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_02_997106_0001.jpg', '/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_02_997106_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_02_773349_0003.jpg
/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_02_997106_0000.jpg
/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_02_997106_0001.jpg
/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_02_997106_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330811629","1330811625","1330811615","1330811618"],"photo_ids_order":["1330811615","1330811618","1330811625","1330811629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae36264e7b1eb1e4c9eff79ded9692e9.jpg","text":"TemporaryFile(/tmp/multipartBody2055777335811472196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629313050,"filename":"image_23012025_11_47_02_997106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d45e2abe578846e60d4453752a961b2.jpg","text":"TemporaryFile(/tmp/multipartBody3977724739797836204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629313050,"filename":"image_23012025_11_47_02_997106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2214e58108ca6a580bb337d053c31d8f.jpg","text":"TemporaryFile(/tmp/multipartBody1489821261487470830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629313050,"filename":"image_23012025_11_46_02_773349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79846b9d00ec3c84028d73b764c62a1f.jpg","text":"TemporaryFile(/tmp/multipartBody6868891590754145319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629313050,"filename":"image_23012025_11_47_02_997106_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330811625","file1":"1330811618","file0":"1330811615","file3":"1330811629"},"map_files_photo_id_array":[{"photo_id":"1330811625","filename":"file2"},{"photo_id":"1330811618","filename":"file1"},{"photo_id":"1330811615","filename":"file0"},{"photo_id":"1330811629","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330811629":["hashtag1","hashtag2"]},{"1330811625":["hashtag1","hashtag2"]},{"1330811615":["hashtag1","hashtag2"]},{"1330811618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330811629, 1330811625, 1330811615, 1330811618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.563313722610474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:48:22.003638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_02_997106_0003.jpg', '/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_02_228909_0000.jpg', '/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_02_228909_0001.jpg', '/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_02_228909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_02_997106_0003.jpg
/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_02_228909_0000.jpg
/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_02_228909_0001.jpg
/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_02_228909_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330811662","1330811656","1330811667","1330811651"],"photo_ids_order":["1330811651","1330811656","1330811662","1330811667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/507f42b2e89ac643a8eb287eb7b52ba2.jpg","text":"TemporaryFile(/tmp/multipartBody5983239119104943035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629373270,"filename":"image_23012025_11_48_02_228909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38c8530a50b9e00f1ce71b4239f20580.jpg","text":"TemporaryFile(/tmp/multipartBody2106352692116967163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629373270,"filename":"image_23012025_11_48_02_228909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c632c2f99a208eadb9a111eb12c7cec.jpg","text":"TemporaryFile(/tmp/multipartBody3170532911976938052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629373270,"filename":"image_23012025_11_48_02_228909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/591c70a5371042b30ef492a6429c583f.jpg","text":"TemporaryFile(/tmp/multipartBody6709514322817168856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629373270,"filename":"image_23012025_11_47_02_997106_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330811662","file1":"1330811656","file0":"1330811651","file3":"1330811667"},"map_files_photo_id_array":[{"photo_id":"1330811662","filename":"file2"},{"photo_id":"1330811656","filename":"file1"},{"photo_id":"1330811651","filename":"file0"},{"photo_id":"1330811667","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330811662":["hashtag1","hashtag2"]},{"1330811656":["hashtag1","hashtag2"]},{"1330811667":["hashtag1","hashtag2"]},{"1330811651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330811662, 1330811656, 1330811667, 1330811651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.91972517967224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:49:22.246619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_02_228909_0003.jpg', '/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_02_331356_0000.jpg', '/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_02_331356_0001.jpg', '/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_02_331356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_02_228909_0003.jpg
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_02_331356_0000.jpg
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_02_331356_0001.jpg
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_02_331356_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330811688","1330811697","1330811703","1330811692"],"photo_ids_order":["1330811688","1330811692","1330811697","1330811703"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/944c4129d849fa7e26091e64e6b27dbc.jpg","text":"TemporaryFile(/tmp/multipartBody1738275393551797360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629433644,"filename":"image_23012025_11_48_02_228909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c8a3eb7960e6821a097240897704c87.jpg","text":"TemporaryFile(/tmp/multipartBody7752881298458171154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629433644,"filename":"image_23012025_11_49_02_331356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e548147fa6f046b8bca2b5ebd7be102c.jpg","text":"TemporaryFile(/tmp/multipartBody4736444390388694333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629433644,"filename":"image_23012025_11_49_02_331356_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc3e440b7bcf59036827e482fff8f520.jpg","text":"TemporaryFile(/tmp/multipartBody3621914394140114800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629433644,"filename":"image_23012025_11_49_02_331356_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330811697","file1":"1330811692","file0":"1330811688","file3":"1330811703"},"map_files_photo_id_array":[{"photo_id":"1330811697","filename":"file2"},{"photo_id":"1330811692","filename":"file1"},{"photo_id":"1330811688","filename":"file0"},{"photo_id":"1330811703","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330811688":["hashtag1","hashtag2"]},{"1330811697":["hashtag1","hashtag2"]},{"1330811703":["hashtag1","hashtag2"]},{"1330811692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330811688, 1330811697, 1330811703, 1330811692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.878615617752075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:50:22.311004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_02_331356_0003.jpg', '/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_02_569331_0000.jpg', '/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_02_569331_0001.jpg', '/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_02_569331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_02_331356_0003.jpg
/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_02_569331_0000.jpg
/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_02_569331_0001.jpg
/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_02_569331_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330811790","1330811781","1330811754","1330811747"],"photo_ids_order":["1330811747","1330811754","1330811781","1330811790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1613a6357a8ab8205aa702d10f90e15.jpg","text":"TemporaryFile(/tmp/multipartBody5599071056729409285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629493974,"filename":"image_23012025_11_50_02_569331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4af897fd2a652b4912c40f1f76d10225.jpg","text":"TemporaryFile(/tmp/multipartBody1730859759649526899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629493974,"filename":"image_23012025_11_50_02_569331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2055796e7c69e19a5cf24cc42d7e053.jpg","text":"TemporaryFile(/tmp/multipartBody441211647474850203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629493974,"filename":"image_23012025_11_50_02_569331_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50e68b7f1ca28ff0eddddb96a1c7ff42.jpg","text":"TemporaryFile(/tmp/multipartBody5811259033346220805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629493974,"filename":"image_23012025_11_49_02_331356_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330811781","file1":"1330811754","file0":"1330811747","file3":"1330811790"},"map_files_photo_id_array":[{"photo_id":"1330811781","filename":"file2"},{"photo_id":"1330811754","filename":"file1"},{"photo_id":"1330811747","filename":"file0"},{"photo_id":"1330811790","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330811790":["hashtag1","hashtag2"]},{"1330811781":["hashtag1","hashtag2"]},{"1330811754":["hashtag1","hashtag2"]},{"1330811747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330811790, 1330811781, 1330811754, 1330811747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.380101442337036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:51:22.599837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_02_569331_0003.jpg', '/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_02_685995_0000.jpg', '/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_02_685995_0001.jpg', '/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_02_685995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_02_569331_0003.jpg
/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_02_685995_0000.jpg
/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_02_685995_0001.jpg
/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_02_685995_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330811821","1330811841","1330811838","1330811832"],"photo_ids_order":["1330811821","1330811832","1330811838","1330811841"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c522c80af09b9572272f936641cddc37.jpg","text":"TemporaryFile(/tmp/multipartBody6373712014048113794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629554031,"filename":"image_23012025_11_50_02_569331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/833b77a5a187b7549253982489d25cbc.jpg","text":"TemporaryFile(/tmp/multipartBody5252918380563743897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629554031,"filename":"image_23012025_11_51_02_685995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6aeb9dc2fc1cbe6181a50b0cad2924d6.jpg","text":"TemporaryFile(/tmp/multipartBody4647016382466215445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629554031,"filename":"image_23012025_11_51_02_685995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89f8dd217fcedf72f734af86b9bf8965.jpg","text":"TemporaryFile(/tmp/multipartBody1049013927871381457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629554031,"filename":"image_23012025_11_51_02_685995_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330811838","file1":"1330811832","file0":"1330811821","file3":"1330811841"},"map_files_photo_id_array":[{"photo_id":"1330811838","filename":"file2"},{"photo_id":"1330811832","filename":"file1"},{"photo_id":"1330811821","filename":"file0"},{"photo_id":"1330811841","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330811821":["hashtag1","hashtag2"]},{"1330811841":["hashtag1","hashtag2"]},{"1330811838":["hashtag1","hashtag2"]},{"1330811832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330811821, 1330811841, 1330811838, 1330811832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.75683045387268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:52:22.738281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_02_685995_0003.jpg', '/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_02_852927_0000.jpg', '/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_02_852927_0001.jpg', '/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_02_852927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_02_685995_0003.jpg
/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_02_852927_0000.jpg
/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_02_852927_0001.jpg
/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_02_852927_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330811979","1330811940","1330812008","1330811998"],"photo_ids_order":["1330811940","1330811979","1330811998","1330812008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bf51c836a6e947414163d27163e57c4.jpg","text":"TemporaryFile(/tmp/multipartBody1666627150951828070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629614053,"filename":"image_23012025_11_52_02_852927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f3f00866e4de734ebd5d6f5f8319783.jpg","text":"TemporaryFile(/tmp/multipartBody5530954750612555146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629614053,"filename":"image_23012025_11_51_02_685995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d708e8669e603e5d5c9f1504f5decdf.jpg","text":"TemporaryFile(/tmp/multipartBody1501913014132512455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629614053,"filename":"image_23012025_11_52_02_852927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c3d40a689a0fb7ff8da51cf8e9eca6b.jpg","text":"TemporaryFile(/tmp/multipartBody8306989627474980115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629614053,"filename":"image_23012025_11_52_02_852927_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330811998","file1":"1330811979","file0":"1330811940","file3":"1330812008"},"map_files_photo_id_array":[{"photo_id":"1330811998","filename":"file2"},{"photo_id":"1330811979","filename":"file1"},{"photo_id":"1330811940","filename":"file0"},{"photo_id":"1330812008","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330811979":["hashtag1","hashtag2"]},{"1330811940":["hashtag1","hashtag2"]},{"1330812008":["hashtag1","hashtag2"]},{"1330811998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330811979, 1330811940, 1330812008, 1330811998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.791297912597656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:53:22.000369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_02_852927_0003.jpg', '/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_03_052098_0000.jpg', '/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_03_052098_0001.jpg', '/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_03_052098_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_02_852927_0003.jpg
/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_03_052098_0000.jpg
/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_03_052098_0001.jpg
/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_03_052098_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330812087","1330812111","1330812095","1330812083"],"photo_ids_order":["1330812083","1330812087","1330812095","1330812111"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a0ec1731bdf60ce991ceaff94a27605.jpg","text":"TemporaryFile(/tmp/multipartBody943047099056283231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629673261,"filename":"image_23012025_11_53_03_052098_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b0389fbc97576c8f1ed2536c96ea5e9.jpg","text":"TemporaryFile(/tmp/multipartBody4220431778877062554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629673261,"filename":"image_23012025_11_53_03_052098_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77a5b9d5fe9f6b6f82e3a3cb6178b839.jpg","text":"TemporaryFile(/tmp/multipartBody784426301529849078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629673261,"filename":"image_23012025_11_53_03_052098_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1353751c5e0017d063a879e261fce3ec.jpg","text":"TemporaryFile(/tmp/multipartBody1203239179608624673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629673261,"filename":"image_23012025_11_52_02_852927_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330812095","file1":"1330812087","file0":"1330812083","file3":"1330812111"},"map_files_photo_id_array":[{"photo_id":"1330812095","filename":"file2"},{"photo_id":"1330812087","filename":"file1"},{"photo_id":"1330812083","filename":"file0"},{"photo_id":"1330812111","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330812087":["hashtag1","hashtag2"]},{"1330812111":["hashtag1","hashtag2"]},{"1330812095":["hashtag1","hashtag2"]},{"1330812083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330812087, 1330812111, 1330812095, 1330812083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.52951169013977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:54:22.090892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_03_052098_0003.jpg', '/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_02_345109_0000.jpg', '/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_02_345109_0001.jpg', '/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_02_345109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_03_052098_0003.jpg
/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_02_345109_0000.jpg
/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_02_345109_0001.jpg
/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_02_345109_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330812205","1330812195","1330812272","1330812184"],"photo_ids_order":["1330812184","1330812195","1330812205","1330812272"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4535837fa0e2817c190df544b27d52c.jpg","text":"TemporaryFile(/tmp/multipartBody7734651309561251537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629732960,"filename":"image_23012025_11_54_02_345109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47e36b38030f314f2e9f8c4e444ffc95.jpg","text":"TemporaryFile(/tmp/multipartBody8323695925561014818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629732960,"filename":"image_23012025_11_54_02_345109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8e77acc18031fabba74b838c6696b43.jpg","text":"TemporaryFile(/tmp/multipartBody4025991231254122212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629732960,"filename":"image_23012025_11_54_02_345109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0cc131085b7f6e83b13864ba430c101.jpg","text":"TemporaryFile(/tmp/multipartBody3519863237594199771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629732960,"filename":"image_23012025_11_53_03_052098_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330812205","file1":"1330812195","file0":"1330812184","file3":"1330812272"},"map_files_photo_id_array":[{"photo_id":"1330812205","filename":"file2"},{"photo_id":"1330812195","filename":"file1"},{"photo_id":"1330812184","filename":"file0"},{"photo_id":"1330812272","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330812205":["hashtag1","hashtag2"]},{"1330812195":["hashtag1","hashtag2"]},{"1330812272":["hashtag1","hashtag2"]},{"1330812184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330812205, 1330812195, 1330812272, 1330812184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.104695320129395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:55:22.379229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_02_345109_0003.jpg', '/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_02_506747_0000.jpg', '/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_02_506747_0001.jpg', '/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_02_506747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_02_345109_0003.jpg
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_02_506747_0000.jpg
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_02_506747_0001.jpg
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_02_506747_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330812511","1330812492","1330812506","1330812499"],"photo_ids_order":["1330812492","1330812499","1330812506","1330812511"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42490d149198feee136ea48ef927a322.jpg","text":"TemporaryFile(/tmp/multipartBody7681653356027956420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629793604,"filename":"image_23012025_11_55_02_506747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1877cc2865cefaac6c7bfe866e6e66d.jpg","text":"TemporaryFile(/tmp/multipartBody5232505887053096002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629793604,"filename":"image_23012025_11_54_02_345109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7248f7037062d287a119d1e053959b51.jpg","text":"TemporaryFile(/tmp/multipartBody7973817019505836500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629793604,"filename":"image_23012025_11_55_02_506747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30436b558dcfbfb287043af685daafda.jpg","text":"TemporaryFile(/tmp/multipartBody972429543842414375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629793604,"filename":"image_23012025_11_55_02_506747_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330812506","file1":"1330812499","file0":"1330812492","file3":"1330812511"},"map_files_photo_id_array":[{"photo_id":"1330812506","filename":"file2"},{"photo_id":"1330812499","filename":"file1"},{"photo_id":"1330812492","filename":"file0"},{"photo_id":"1330812511","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330812511":["hashtag1","hashtag2"]},{"1330812492":["hashtag1","hashtag2"]},{"1330812506":["hashtag1","hashtag2"]},{"1330812499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330812511, 1330812492, 1330812506, 1330812499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.854793548583984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:56:22.615652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_02_506747_0003.jpg', '/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_02_746775_0000.jpg', '/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_02_746775_0001.jpg', '/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_02_746775_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_02_506747_0003.jpg
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_02_746775_0000.jpg
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_02_746775_0001.jpg
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_02_746775_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330812520","1330812534","1330812528","1330812523"],"photo_ids_order":["1330812520","1330812523","1330812528","1330812534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e94d94aa99ba0248ceb2d25a7b05a2b.jpg","text":"TemporaryFile(/tmp/multipartBody5511618470503623124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629854273,"filename":"image_23012025_11_55_02_506747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d32021676fd2da79fac1847c6d0a343c.jpg","text":"TemporaryFile(/tmp/multipartBody926549027228947333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629854273,"filename":"image_23012025_11_56_02_746775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d01fe2181bda2aa13b41a904dc1500f7.jpg","text":"TemporaryFile(/tmp/multipartBody5906074832806489053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629854273,"filename":"image_23012025_11_56_02_746775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d6168baa58b0373ce3b77750ef11ea5.jpg","text":"TemporaryFile(/tmp/multipartBody7638429460796084777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629854273,"filename":"image_23012025_11_56_02_746775_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330812528","file1":"1330812523","file0":"1330812520","file3":"1330812534"},"map_files_photo_id_array":[{"photo_id":"1330812528","filename":"file2"},{"photo_id":"1330812523","filename":"file1"},{"photo_id":"1330812520","filename":"file0"},{"photo_id":"1330812534","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330812520":["hashtag1","hashtag2"]},{"1330812534":["hashtag1","hashtag2"]},{"1330812528":["hashtag1","hashtag2"]},{"1330812523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330812520, 1330812534, 1330812528, 1330812523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.4332857131958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 11:57:22.746294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_02_746775_0003.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0000.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0001.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_02_746775_0003.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0000.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0001.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_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-23 11:59:02.615445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_02_746775_0003.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0000.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0001.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0002.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0003.jpg', '/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_03_062946_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_02_746775_0003.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0000.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0001.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0002.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0003.jpg
/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_03_062946_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 12:01:21.754768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_02_746775_0003.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0000.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0001.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0002.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0003.jpg', '/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_03_062946_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_02_746775_0003.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0000.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0001.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0002.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_02_956232_0003.jpg
/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_03_062946_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":["1330813194","1330813188","1330813155","1330813190","1330813208","1330813157"],"photo_ids_order":["1330813155","1330813157","1330813188","1330813190","1330813194","1330813208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a31d30b7654abe4c00cb73c31e26ec4.jpg","text":"TemporaryFile(/tmp/multipartBody2695543812824732912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630159644,"filename":"image_23012025_11_57_02_956232_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84c5d9fc227775d2e90c8547093619c2.jpg","text":"TemporaryFile(/tmp/multipartBody8781393203980881957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630159644,"filename":"image_23012025_11_57_02_956232_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8557580a38d4b75e747fb963a2077247.jpg","text":"TemporaryFile(/tmp/multipartBody1083590790658174735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630159644,"filename":"image_23012025_11_56_02_746775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0602e75fa3e223404eafe47647b3b93b.jpg","text":"TemporaryFile(/tmp/multipartBody2007277179228088909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630159644,"filename":"image_23012025_11_57_02_956232_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aae345c9ecd060b2d1190d6e4105a076.jpg","text":"TemporaryFile(/tmp/multipartBody2726169566759487770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630159644,"filename":"image_23012025_11_58_03_062946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdefbac63ba07c3301029d6ad3e4a16c.jpg","text":"TemporaryFile(/tmp/multipartBody5479482815000438227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630159644,"filename":"image_23012025_11_57_02_956232_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330813188","file1":"1330813157","file0":"1330813155","file4":"1330813194","file5":"1330813208","file3":"1330813190"},"map_files_photo_id_array":[{"photo_id":"1330813208","filename":"file5"},{"photo_id":"1330813188","filename":"file2"},{"photo_id":"1330813194","filename":"file4"},{"photo_id":"1330813157","filename":"file1"},{"photo_id":"1330813155","filename":"file0"},{"photo_id":"1330813190","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330813194":["hashtag1","hashtag2"]},{"1330813188":["hashtag1","hashtag2"]},{"1330813155":["hashtag1","hashtag2"]},{"1330813190":["hashtag1","hashtag2"]},{"1330813208":["hashtag1","hashtag2"]},{"1330813157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330813194, 1330813188, 1330813155, 1330813190, 1330813208, 1330813157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.14886522293091 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:02:32.022567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_03_062946_0001.jpg', '/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_03_062946_0002.jpg', '/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_03_062946_0003.jpg', '/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_02_284587_0000.jpg', '/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_02_284587_0001.jpg', '/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_02_284587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_03_062946_0001.jpg
/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_03_062946_0002.jpg
/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_03_062946_0003.jpg
/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_02_284587_0000.jpg
/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_02_284587_0001.jpg
/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_02_284587_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330813353","1330813317","1330813349","1330813310","1330813330","1330813327"],"photo_ids_order":["1330813310","1330813317","1330813327","1330813330","1330813349","1330813353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94298677cf54b44d667322431e9c1227.jpg","text":"TemporaryFile(/tmp/multipartBody232659108673726846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630228633,"filename":"image_23012025_11_59_02_284587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fe2d4ed2fa95fb80b874591060063f1.jpg","text":"TemporaryFile(/tmp/multipartBody5477393468365034746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630228633,"filename":"image_23012025_11_58_03_062946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe903c12067ebfe878b423bcc5b939be.jpg","text":"TemporaryFile(/tmp/multipartBody1219536510724645104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630228633,"filename":"image_23012025_11_59_02_284587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99452251d96dc19f9b90b37307a9160b.jpg","text":"TemporaryFile(/tmp/multipartBody4747604145290149365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630228633,"filename":"image_23012025_11_58_03_062946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f8323de689deaa7d6266e600b6e945d.jpg","text":"TemporaryFile(/tmp/multipartBody4702104928730709697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630228633,"filename":"image_23012025_11_59_02_284587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/421cd86ff58e19378e939c2f234c1e10.jpg","text":"TemporaryFile(/tmp/multipartBody607299754032436894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630228633,"filename":"image_23012025_11_58_03_062946_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330813327","file1":"1330813317","file0":"1330813310","file4":"1330813349","file5":"1330813353","file3":"1330813330"},"map_files_photo_id_array":[{"photo_id":"1330813353","filename":"file5"},{"photo_id":"1330813327","filename":"file2"},{"photo_id":"1330813349","filename":"file4"},{"photo_id":"1330813317","filename":"file1"},{"photo_id":"1330813310","filename":"file0"},{"photo_id":"1330813330","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330813353":["hashtag1","hashtag2"]},{"1330813317":["hashtag1","hashtag2"]},{"1330813349":["hashtag1","hashtag2"]},{"1330813310":["hashtag1","hashtag2"]},{"1330813330":["hashtag1","hashtag2"]},{"1330813327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330813353, 1330813317, 1330813349, 1330813310, 1330813330, 1330813327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.17948412895203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 12:03:42.229073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_02_284587_0003.jpg', '/home/pi/Desktop/images/23012025/12/00/image_23012025_12_00_02_465668_0000.jpg', '/home/pi/Desktop/images/23012025/12/00/image_23012025_12_00_02_465668_0001.jpg', '/home/pi/Desktop/images/23012025/12/00/image_23012025_12_00_02_465668_0002.jpg', '/home/pi/Desktop/images/23012025/12/00/image_23012025_12_00_02_465668_0003.jpg', '/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_20_191492_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_02_284587_0003.jpg
/home/pi/Desktop/images/23012025/12/00/image_23012025_12_00_02_465668_0000.jpg
/home/pi/Desktop/images/23012025/12/00/image_23012025_12_00_02_465668_0001.jpg
/home/pi/Desktop/images/23012025/12/00/image_23012025_12_00_02_465668_0002.jpg
/home/pi/Desktop/images/23012025/12/00/image_23012025_12_00_02_465668_0003.jpg
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_20_191492_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":["1330813392","1330813386","1330813389","1330813382","1330813385","1330813384"],"photo_ids_order":["1330813382","1330813384","1330813385","1330813386","1330813389","1330813392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/203bcc0e614aaeeb3d6f7e2c4b1b1e16.jpg","text":"TemporaryFile(/tmp/multipartBody2900007926048547318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630298590,"filename":"image_23012025_12_02_20_191492_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c65679fc43463323e4438faad7ca6fc0.jpg","text":"TemporaryFile(/tmp/multipartBody8995047925263452483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630298590,"filename":"image_23012025_12_00_02_465668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c2afb26bdf61549ddc3297b2b067e33.jpg","text":"TemporaryFile(/tmp/multipartBody8957668099096173376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630298590,"filename":"image_23012025_12_00_02_465668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2cafdc5a7a682b0926d5987767ed1bd.jpg","text":"TemporaryFile(/tmp/multipartBody5542200090407609270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630298590,"filename":"image_23012025_11_59_02_284587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4823c6afe096a73054fb20d83b43edb3.jpg","text":"TemporaryFile(/tmp/multipartBody1606417242441266892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630298590,"filename":"image_23012025_12_00_02_465668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e80bd361fe71587715bf2aeb4caba7d0.jpg","text":"TemporaryFile(/tmp/multipartBody6200889836088207883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630298590,"filename":"image_23012025_12_00_02_465668_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330813385","file1":"1330813384","file0":"1330813382","file4":"1330813389","file5":"1330813392","file3":"1330813386"},"map_files_photo_id_array":[{"photo_id":"1330813392","filename":"file5"},{"photo_id":"1330813385","filename":"file2"},{"photo_id":"1330813389","filename":"file4"},{"photo_id":"1330813384","filename":"file1"},{"photo_id":"1330813382","filename":"file0"},{"photo_id":"1330813386","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330813392":["hashtag1","hashtag2"]},{"1330813386":["hashtag1","hashtag2"]},{"1330813389":["hashtag1","hashtag2"]},{"1330813382":["hashtag1","hashtag2"]},{"1330813385":["hashtag1","hashtag2"]},{"1330813384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330813392, 1330813386, 1330813389, 1330813382, 1330813385, 1330813384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.462961196899414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 12:04:42.401033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_20_191492_0001.jpg', '/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_20_191492_0002.jpg', '/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_20_191492_0003.jpg', '/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_02_620326_0000.jpg', '/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_02_620326_0001.jpg', '/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_02_620326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_20_191492_0001.jpg
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_20_191492_0002.jpg
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_20_191492_0003.jpg
/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_02_620326_0000.jpg
/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_02_620326_0001.jpg
/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_02_620326_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330814208","1330814189","1330813895","1330814193","1330814187","1330814067"],"photo_ids_order":["1330813895","1330814067","1330814187","1330814189","1330814193","1330814208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10a9b04d6143081cfed5b2989eb65e2d.jpg","text":"TemporaryFile(/tmp/multipartBody4107883140853320294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630359233,"filename":"image_23012025_12_04_02_620326_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/970724ae56b74179a338232c851234cb.jpg","text":"TemporaryFile(/tmp/multipartBody6027776926061787374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630359233,"filename":"image_23012025_12_04_02_620326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27e3ec2e623b3065b53b1afff05fb6c0.jpg","text":"TemporaryFile(/tmp/multipartBody5123825730805792878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630359233,"filename":"image_23012025_12_02_20_191492_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26ce7cbbb58ae24cf42a2e7d39510e27.jpg","text":"TemporaryFile(/tmp/multipartBody3746966609137860849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630359233,"filename":"image_23012025_12_04_02_620326_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25fd66ed5d852aab25b78d58b4231ec6.jpg","text":"TemporaryFile(/tmp/multipartBody682296541937948222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630359233,"filename":"image_23012025_12_02_20_191492_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04644994d1acfd1e0749b717c922e99f.jpg","text":"TemporaryFile(/tmp/multipartBody6720529892018355675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630359233,"filename":"image_23012025_12_02_20_191492_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330814187","file1":"1330814067","file0":"1330813895","file4":"1330814193","file5":"1330814208","file3":"1330814189"},"map_files_photo_id_array":[{"photo_id":"1330814208","filename":"file5"},{"photo_id":"1330814187","filename":"file2"},{"photo_id":"1330814193","filename":"file4"},{"photo_id":"1330814067","filename":"file1"},{"photo_id":"1330813895","filename":"file0"},{"photo_id":"1330814189","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330814208":["hashtag1","hashtag2"]},{"1330814189":["hashtag1","hashtag2"]},{"1330813895":["hashtag1","hashtag2"]},{"1330814193":["hashtag1","hashtag2"]},{"1330814187":["hashtag1","hashtag2"]},{"1330814067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330814208, 1330814189, 1330813895, 1330814193, 1330814187, 1330814067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.10420656204224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:05:52.582941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_02_620326_0003.jpg', '/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_02_748151_0000.jpg', '/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_02_748151_0001.jpg', '/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_02_748151_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_02_620326_0003.jpg
/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_02_748151_0000.jpg
/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_02_748151_0001.jpg
/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_02_748151_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.109729766845703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:06:21.769135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_02_620326_0003.jpg', '/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_02_748151_0000.jpg', '/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_02_748151_0001.jpg', '/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_02_748151_0002.jpg', '/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_02_748151_0003.jpg', '/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_03_022829_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_02_620326_0003.jpg
/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_02_748151_0000.jpg
/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_02_748151_0001.jpg
/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_02_748151_0002.jpg
/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_02_748151_0003.jpg
/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_03_022829_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":["1330814633","1330814618","1330814614","1330814622","1330814565","1330814466"],"photo_ids_order":["1330814466","1330814565","1330814614","1330814618","1330814622","1330814633"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f46a6ef87b90a7fd005da4e893a39c1d.jpg","text":"TemporaryFile(/tmp/multipartBody589093484046363845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630458655,"filename":"image_23012025_12_06_03_022829_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b47cacd7709560744ceca78f6270e4d.jpg","text":"TemporaryFile(/tmp/multipartBody6777163317625193079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630458655,"filename":"image_23012025_12_05_02_748151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/345afd0c3d838fbcb297506744f8a3db.jpg","text":"TemporaryFile(/tmp/multipartBody1509639681921521586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630458655,"filename":"image_23012025_12_05_02_748151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35dbc9b199b4f830e1556a6dd5312004.jpg","text":"TemporaryFile(/tmp/multipartBody600678182400817707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630458655,"filename":"image_23012025_12_05_02_748151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/219ea934108d6054881dc330ad61b00a.jpg","text":"TemporaryFile(/tmp/multipartBody5820225199460909539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630458655,"filename":"image_23012025_12_05_02_748151_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfcb9eb46ad49566c84e190c7bcadb6a.jpg","text":"TemporaryFile(/tmp/multipartBody3848479194827125589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630458655,"filename":"image_23012025_12_04_02_620326_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330814614","file1":"1330814565","file0":"1330814466","file4":"1330814622","file5":"1330814633","file3":"1330814618"},"map_files_photo_id_array":[{"photo_id":"1330814633","filename":"file5"},{"photo_id":"1330814614","filename":"file2"},{"photo_id":"1330814622","filename":"file4"},{"photo_id":"1330814565","filename":"file1"},{"photo_id":"1330814466","filename":"file0"},{"photo_id":"1330814618","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330814633":["hashtag1","hashtag2"]},{"1330814618":["hashtag1","hashtag2"]},{"1330814614":["hashtag1","hashtag2"]},{"1330814622":["hashtag1","hashtag2"]},{"1330814565":["hashtag1","hashtag2"]},{"1330814466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330814633, 1330814618, 1330814614, 1330814622, 1330814565, 1330814466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.57754707336426 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-23 12:07:31.932896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_03_022829_0001.jpg', '/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_03_022829_0002.jpg', '/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_03_022829_0003.jpg', '/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_02_149109_0000.jpg', '/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_02_149109_0001.jpg', '/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_02_149109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_03_022829_0001.jpg
/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_03_022829_0002.jpg
/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_03_022829_0003.jpg
/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_02_149109_0000.jpg
/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_02_149109_0001.jpg
/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_02_149109_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330815026","1330814978","1330815227","1330815177","1330815327","1330815071"],"photo_ids_order":["1330814978","1330815026","1330815071","1330815177","1330815227","1330815327"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d2459142283d04777f6aa4c76ce3da6.jpg","text":"TemporaryFile(/tmp/multipartBody7476346930443096320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630529313,"filename":"image_23012025_12_06_03_022829_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1bcb56597ea47b21d4ff4423982c180b.jpg","text":"TemporaryFile(/tmp/multipartBody1328002337950976089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630529313,"filename":"image_23012025_12_06_03_022829_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/410a5782ade18d8a84f93b1ca0bfafb5.jpg","text":"TemporaryFile(/tmp/multipartBody3065689737320075182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630529313,"filename":"image_23012025_12_07_02_149109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05eb2216a9f226add847cf0b193c59b1.jpg","text":"TemporaryFile(/tmp/multipartBody1680535914654363262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630529313,"filename":"image_23012025_12_07_02_149109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/875ea3f960cc88db592a97963dfbca9e.jpg","text":"TemporaryFile(/tmp/multipartBody1397792289660118268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630529313,"filename":"image_23012025_12_07_02_149109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f3ecde4f56f35a56e594680a493daa5.jpg","text":"TemporaryFile(/tmp/multipartBody4828004748063515100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630529313,"filename":"image_23012025_12_06_03_022829_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330815071","file1":"1330815026","file0":"1330814978","file4":"1330815227","file5":"1330815327","file3":"1330815177"},"map_files_photo_id_array":[{"photo_id":"1330815327","filename":"file5"},{"photo_id":"1330815071","filename":"file2"},{"photo_id":"1330815227","filename":"file4"},{"photo_id":"1330815026","filename":"file1"},{"photo_id":"1330814978","filename":"file0"},{"photo_id":"1330815177","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330815026":["hashtag1","hashtag2"]},{"1330814978":["hashtag1","hashtag2"]},{"1330815227":["hashtag1","hashtag2"]},{"1330815177":["hashtag1","hashtag2"]},{"1330815327":["hashtag1","hashtag2"]},{"1330815071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330815026, 1330814978, 1330815227, 1330815177, 1330815327, 1330815071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.46657657623291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 12:08:42.130286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_02_149109_0003.jpg', '/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_02_394741_0000.jpg', '/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_02_394741_0001.jpg', '/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_02_394741_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_02_149109_0003.jpg
/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_02_394741_0000.jpg
/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_02_394741_0001.jpg
/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_02_394741_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330815878","1330815847","1330815873","1330815885"],"photo_ids_order":["1330815847","1330815873","1330815878","1330815885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04230dad3e1c76984806725a534f1c58.jpg","text":"TemporaryFile(/tmp/multipartBody2450220434688496959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630593486,"filename":"image_23012025_12_08_02_394741_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ecdb3da7e9a3800f8e252ca7c1452ba.jpg","text":"TemporaryFile(/tmp/multipartBody2489056428159240660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630593486,"filename":"image_23012025_12_07_02_149109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0becedaddba224f92a07b1fe356d9448.jpg","text":"TemporaryFile(/tmp/multipartBody5335397162897825976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630593486,"filename":"image_23012025_12_08_02_394741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb17a3ae94675b4812d2a9a27d271007.jpg","text":"TemporaryFile(/tmp/multipartBody7496106086348126685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630593486,"filename":"image_23012025_12_08_02_394741_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330815878","file1":"1330815873","file0":"1330815847","file3":"1330815885"},"map_files_photo_id_array":[{"photo_id":"1330815878","filename":"file2"},{"photo_id":"1330815873","filename":"file1"},{"photo_id":"1330815847","filename":"file0"},{"photo_id":"1330815885","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330815878":["hashtag1","hashtag2"]},{"1330815847":["hashtag1","hashtag2"]},{"1330815873":["hashtag1","hashtag2"]},{"1330815885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330815878, 1330815847, 1330815873, 1330815885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.43383502960205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:09:32.287277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_02_394741_0003.jpg', '/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_02_528672_0000.jpg', '/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_02_528672_0001.jpg', '/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_02_528672_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_02_394741_0003.jpg
/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_02_528672_0000.jpg
/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_02_528672_0001.jpg
/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_02_528672_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330815989","1330815944","1330815964","1330815940"],"photo_ids_order":["1330815940","1330815944","1330815964","1330815989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6731107c9a3291fb6822040adaca7034.jpg","text":"TemporaryFile(/tmp/multipartBody8869891543622317989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630643885,"filename":"image_23012025_12_09_02_528672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45e28b0e3978bdf95de413fb20e649d0.jpg","text":"TemporaryFile(/tmp/multipartBody8611003876984636177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630643885,"filename":"image_23012025_12_09_02_528672_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24a85f161e062d2270d6d58fe0827656.jpg","text":"TemporaryFile(/tmp/multipartBody5957378010678273187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630643885,"filename":"image_23012025_12_09_02_528672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6af4bc653f29fcc95019f41e67a2bbb1.jpg","text":"TemporaryFile(/tmp/multipartBody2226106736155874790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630643885,"filename":"image_23012025_12_08_02_394741_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330815964","file1":"1330815944","file0":"1330815940","file3":"1330815989"},"map_files_photo_id_array":[{"photo_id":"1330815964","filename":"file2"},{"photo_id":"1330815944","filename":"file1"},{"photo_id":"1330815940","filename":"file0"},{"photo_id":"1330815989","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330815989":["hashtag1","hashtag2"]},{"1330815944":["hashtag1","hashtag2"]},{"1330815964":["hashtag1","hashtag2"]},{"1330815940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330815989, 1330815944, 1330815964, 1330815940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.51525807380676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:10:22.497953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_02_528672_0003.jpg', '/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0000.jpg', '/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0001.jpg', '/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_02_528672_0003.jpg
/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0000.jpg
/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0001.jpg
/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.453476667404175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 12:10:42.518956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_02_528672_0003.jpg', '/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0000.jpg', '/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0001.jpg', '/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_02_528672_0003.jpg
/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0000.jpg
/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0001.jpg
/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330816514","1330816507","1330816602","1330816568"],"photo_ids_order":["1330816507","1330816514","1330816568","1330816602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53f89be2ae83856bea6bdbcbcac4b7ad.jpg","text":"TemporaryFile(/tmp/multipartBody1870571261153115312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630714358,"filename":"image_23012025_12_10_02_647498_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/527f2f1257a0ea2085daeafa65be6f1d.jpg","text":"TemporaryFile(/tmp/multipartBody2318334129890192409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630714358,"filename":"image_23012025_12_09_02_528672_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6ef91151f8d6039eb5c75fb7dd706b7.jpg","text":"TemporaryFile(/tmp/multipartBody1126387546962416524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630714358,"filename":"image_23012025_12_10_02_647498_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13ec82a1f78b36d96fd55dea7c19234f.jpg","text":"TemporaryFile(/tmp/multipartBody3809343113317574063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630714358,"filename":"image_23012025_12_10_02_647498_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330816568","file1":"1330816514","file0":"1330816507","file3":"1330816602"},"map_files_photo_id_array":[{"photo_id":"1330816568","filename":"file2"},{"photo_id":"1330816514","filename":"file1"},{"photo_id":"1330816507","filename":"file0"},{"photo_id":"1330816602","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330816514":["hashtag1","hashtag2"]},{"1330816507":["hashtag1","hashtag2"]},{"1330816602":["hashtag1","hashtag2"]},{"1330816568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330816514, 1330816507, 1330816602, 1330816568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.008758544921875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:11:32.620451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0003.jpg', '/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_02_858224_0000.jpg', '/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_02_858224_0001.jpg', '/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_02_858224_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0003.jpg
/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_02_858224_0000.jpg
/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_02_858224_0001.jpg
/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_02_858224_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.136274337768555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:11:52.598490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0003.jpg', '/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_02_858224_0000.jpg', '/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_02_858224_0001.jpg', '/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_02_858224_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_02_647498_0003.jpg
/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_02_858224_0000.jpg
/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_02_858224_0001.jpg
/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_02_858224_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330816646","1330816687","1330816651","1330816682"],"photo_ids_order":["1330816646","1330816651","1330816682","1330816687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f5fb599ede392183e27fa9dc3535f86.jpg","text":"TemporaryFile(/tmp/multipartBody7579203601618777907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630784114,"filename":"image_23012025_12_10_02_647498_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10cc4bd02a4a1c74ff90014226bbd290.jpg","text":"TemporaryFile(/tmp/multipartBody8710570767142754112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630784114,"filename":"image_23012025_12_11_02_858224_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9572c73fdd6272d643f1f98fc599a6af.jpg","text":"TemporaryFile(/tmp/multipartBody3997346504624132556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630784114,"filename":"image_23012025_12_11_02_858224_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b316c88bc41e13cb90088a4570d1b43.jpg","text":"TemporaryFile(/tmp/multipartBody5172081515428150398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630784114,"filename":"image_23012025_12_11_02_858224_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330816682","file1":"1330816651","file0":"1330816646","file3":"1330816687"},"map_files_photo_id_array":[{"photo_id":"1330816682","filename":"file2"},{"photo_id":"1330816651","filename":"file1"},{"photo_id":"1330816646","filename":"file0"},{"photo_id":"1330816687","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330816646":["hashtag1","hashtag2"]},{"1330816687":["hashtag1","hashtag2"]},{"1330816651":["hashtag1","hashtag2"]},{"1330816682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330816646, 1330816687, 1330816651, 1330816682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.400970458984375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 12:12:41.845999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_02_858224_0003.jpg', '/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_02_995295_0000.jpg', '/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_02_995295_0001.jpg', '/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_02_995295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_02_858224_0003.jpg
/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_02_995295_0000.jpg
/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_02_995295_0001.jpg
/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_02_995295_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330816802","1330816860","1330816863","1330816752"],"photo_ids_order":["1330816752","1330816802","1330816860","1330816863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01dca6b2f0f5893cbd2dbffcd0f63ea8.jpg","text":"TemporaryFile(/tmp/multipartBody838625425777696989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630833645,"filename":"image_23012025_12_12_02_995295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0e847dcd96a190e1a555589e59555f3.jpg","text":"TemporaryFile(/tmp/multipartBody8861666153762845766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630833645,"filename":"image_23012025_12_12_02_995295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d9d56f27dd7e67fea88e38697966e7d.jpg","text":"TemporaryFile(/tmp/multipartBody128373452515189661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630833645,"filename":"image_23012025_12_12_02_995295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3253a4589ad9eacbbe498762ccdd2d4.jpg","text":"TemporaryFile(/tmp/multipartBody3556049535625471935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630833645,"filename":"image_23012025_12_11_02_858224_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330816860","file1":"1330816802","file0":"1330816752","file3":"1330816863"},"map_files_photo_id_array":[{"photo_id":"1330816860","filename":"file2"},{"photo_id":"1330816802","filename":"file1"},{"photo_id":"1330816752","filename":"file0"},{"photo_id":"1330816863","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330816802":["hashtag1","hashtag2"]},{"1330816860":["hashtag1","hashtag2"]},{"1330816863":["hashtag1","hashtag2"]},{"1330816752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330816802, 1330816860, 1330816863, 1330816752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.85259938240051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:13:31.982772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_02_995295_0003.jpg', '/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_02_183313_0000.jpg', '/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_02_183313_0001.jpg', '/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_02_183313_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_02_995295_0003.jpg
/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_02_183313_0000.jpg
/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_02_183313_0001.jpg
/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_02_183313_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330816876","1330816880","1330816883","1330816886"],"photo_ids_order":["1330816876","1330816880","1330816883","1330816886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43f7e62ef73ff9fa7cb567a295c85569.jpg","text":"TemporaryFile(/tmp/multipartBody3645399243110871303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630883789,"filename":"image_23012025_12_12_02_995295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/990a11aefc59726e658bc173d5b3873d.jpg","text":"TemporaryFile(/tmp/multipartBody6902575203104939277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630883789,"filename":"image_23012025_12_13_02_183313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec126f2a44664b29ee1698cf623de8ea.jpg","text":"TemporaryFile(/tmp/multipartBody7333812454775515338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630883789,"filename":"image_23012025_12_13_02_183313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43d01dff9e65ca92e280987c7ce2e393.jpg","text":"TemporaryFile(/tmp/multipartBody2396159464479244738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630883789,"filename":"image_23012025_12_13_02_183313_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330816883","file1":"1330816880","file0":"1330816876","file3":"1330816886"},"map_files_photo_id_array":[{"photo_id":"1330816883","filename":"file2"},{"photo_id":"1330816880","filename":"file1"},{"photo_id":"1330816876","filename":"file0"},{"photo_id":"1330816886","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330816876":["hashtag1","hashtag2"]},{"1330816880":["hashtag1","hashtag2"]},{"1330816883":["hashtag1","hashtag2"]},{"1330816886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330816876, 1330816880, 1330816883, 1330816886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.05740308761597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:14:22.177930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_02_183313_0003.jpg', '/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_02_299592_0000.jpg', '/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_02_299592_0001.jpg', '/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_02_299592_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_02_183313_0003.jpg
/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_02_299592_0000.jpg
/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_02_299592_0001.jpg
/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_02_299592_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330816918","1330816923","1330816928","1330816907"],"photo_ids_order":["1330816907","1330816918","1330816923","1330816928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2b288a20693614ee8df17bbcc1ba1cd.jpg","text":"TemporaryFile(/tmp/multipartBody8500118568418642996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630934265,"filename":"image_23012025_12_14_02_299592_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd90d43d8d03a7d1b552c5607b63e954.jpg","text":"TemporaryFile(/tmp/multipartBody8666996556151774528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630934265,"filename":"image_23012025_12_14_02_299592_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/697b446a1709835ad0160a9e370e65e7.jpg","text":"TemporaryFile(/tmp/multipartBody6450168538206471861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630934265,"filename":"image_23012025_12_14_02_299592_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1138b38f1a8db47308ff6ffa523502d1.jpg","text":"TemporaryFile(/tmp/multipartBody8458911956108634483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630934265,"filename":"image_23012025_12_13_02_183313_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330816923","file1":"1330816918","file0":"1330816907","file3":"1330816928"},"map_files_photo_id_array":[{"photo_id":"1330816923","filename":"file2"},{"photo_id":"1330816918","filename":"file1"},{"photo_id":"1330816907","filename":"file0"},{"photo_id":"1330816928","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330816918":["hashtag1","hashtag2"]},{"1330816923":["hashtag1","hashtag2"]},{"1330816928":["hashtag1","hashtag2"]},{"1330816907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330816918, 1330816923, 1330816928, 1330816907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.283281564712524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:15:22.299833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_02_299592_0003.jpg', '/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_02_525175_0000.jpg', '/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_02_525175_0001.jpg', '/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_02_525175_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_02_299592_0003.jpg
/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_02_525175_0000.jpg
/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_02_525175_0001.jpg
/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_02_525175_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330816998","1330816989","1330816994","1330817003"],"photo_ids_order":["1330816989","1330816994","1330816998","1330817003"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a849ab2169a4775391532e2322778c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1715507617034591175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630994166,"filename":"image_23012025_12_15_02_525175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81bf496d72a861bbb46fd9cda38d2c7d.jpg","text":"TemporaryFile(/tmp/multipartBody7513273704365790578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630994166,"filename":"image_23012025_12_14_02_299592_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6732812126d3d6f149e6fb5faef7a565.jpg","text":"TemporaryFile(/tmp/multipartBody4390560369295794506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630994166,"filename":"image_23012025_12_15_02_525175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/256d688433d0a0ee5e91b8fcdc60b3cf.jpg","text":"TemporaryFile(/tmp/multipartBody2475112789285892074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630994166,"filename":"image_23012025_12_15_02_525175_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330816998","file1":"1330816994","file0":"1330816989","file3":"1330817003"},"map_files_photo_id_array":[{"photo_id":"1330816998","filename":"file2"},{"photo_id":"1330816994","filename":"file1"},{"photo_id":"1330816989","filename":"file0"},{"photo_id":"1330817003","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330816998":["hashtag1","hashtag2"]},{"1330816989":["hashtag1","hashtag2"]},{"1330816994":["hashtag1","hashtag2"]},{"1330817003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330816998, 1330816989, 1330816994, 1330817003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.850616455078125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:16:22.523006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_02_525175_0003.jpg', '/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_02_724598_0000.jpg', '/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_02_724598_0001.jpg', '/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_02_724598_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_02_525175_0003.jpg
/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_02_724598_0000.jpg
/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_02_724598_0001.jpg
/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_02_724598_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330817047","1330817064","1330817040","1330817078"],"photo_ids_order":["1330817040","1330817047","1330817064","1330817078"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3aa780c6d27669a7acfbee06686823e6.jpg","text":"TemporaryFile(/tmp/multipartBody7927982720668042425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631054089,"filename":"image_23012025_12_16_02_724598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1cb3b2ccc514d54fd7e9528e969dfdd5.jpg","text":"TemporaryFile(/tmp/multipartBody775471147679559706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631054089,"filename":"image_23012025_12_16_02_724598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17993a42b3a5bc89f73762e47566f393.jpg","text":"TemporaryFile(/tmp/multipartBody1320751056944585970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631054089,"filename":"image_23012025_12_15_02_525175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b763b508f0bfea8b6a62a81b45c09663.jpg","text":"TemporaryFile(/tmp/multipartBody2908850414394839245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631054089,"filename":"image_23012025_12_16_02_724598_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330817064","file1":"1330817047","file0":"1330817040","file3":"1330817078"},"map_files_photo_id_array":[{"photo_id":"1330817064","filename":"file2"},{"photo_id":"1330817047","filename":"file1"},{"photo_id":"1330817040","filename":"file0"},{"photo_id":"1330817078","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330817047":["hashtag1","hashtag2"]},{"1330817064":["hashtag1","hashtag2"]},{"1330817040":["hashtag1","hashtag2"]},{"1330817078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330817047, 1330817064, 1330817040, 1330817078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.545154094696045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:17:22.638594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_02_724598_0003.jpg', '/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_02_804669_0000.jpg', '/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_02_804669_0001.jpg', '/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_02_804669_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_02_724598_0003.jpg
/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_02_804669_0000.jpg
/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_02_804669_0001.jpg
/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_02_804669_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330817173","1330817157","1330817180","1330817162"],"photo_ids_order":["1330817157","1330817162","1330817173","1330817180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b2e55e7029e48758ae0ec3ea17f54bb.jpg","text":"TemporaryFile(/tmp/multipartBody8849007450309489523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631114376,"filename":"image_23012025_12_17_02_804669_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/295c113d393ff646c9a59a12dc5022bc.jpg","text":"TemporaryFile(/tmp/multipartBody5997462590345347340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631114376,"filename":"image_23012025_12_16_02_724598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4515f0b13d178812b9e8cc1671f32319.jpg","text":"TemporaryFile(/tmp/multipartBody1055194329587298027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631114376,"filename":"image_23012025_12_17_02_804669_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db1f0dc4d6264658ddf526544c8f3f2f.jpg","text":"TemporaryFile(/tmp/multipartBody6232775516082930016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631114376,"filename":"image_23012025_12_17_02_804669_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330817173","file1":"1330817162","file0":"1330817157","file3":"1330817180"},"map_files_photo_id_array":[{"photo_id":"1330817173","filename":"file2"},{"photo_id":"1330817162","filename":"file1"},{"photo_id":"1330817157","filename":"file0"},{"photo_id":"1330817180","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330817173":["hashtag1","hashtag2"]},{"1330817157":["hashtag1","hashtag2"]},{"1330817180":["hashtag1","hashtag2"]},{"1330817162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330817173, 1330817157, 1330817180, 1330817162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.2838180065155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:18:22.787305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_02_804669_0003.jpg', '/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_03_025748_0000.jpg', '/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_03_025748_0001.jpg', '/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_03_025748_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_02_804669_0003.jpg
/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_03_025748_0000.jpg
/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_03_025748_0001.jpg
/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_03_025748_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330817212","1330817206","1330817217","1330817222"],"photo_ids_order":["1330817206","1330817212","1330817217","1330817222"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5f40d65106618d39fe413e1107ac3b6.jpg","text":"TemporaryFile(/tmp/multipartBody6587719845366049045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631174104,"filename":"image_23012025_12_18_03_025748_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a61889d84fa72b5dc052277260136363.jpg","text":"TemporaryFile(/tmp/multipartBody1769836911623340479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631174104,"filename":"image_23012025_12_17_02_804669_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16dfd2cee901bc574997de12f4cbc173.jpg","text":"TemporaryFile(/tmp/multipartBody7176413873438694680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631174104,"filename":"image_23012025_12_18_03_025748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56e1c3fe7e6cb88216cd01f58b9ee9fa.jpg","text":"TemporaryFile(/tmp/multipartBody1346684783418199432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631174104,"filename":"image_23012025_12_18_03_025748_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330817217","file1":"1330817212","file0":"1330817206","file3":"1330817222"},"map_files_photo_id_array":[{"photo_id":"1330817217","filename":"file2"},{"photo_id":"1330817212","filename":"file1"},{"photo_id":"1330817206","filename":"file0"},{"photo_id":"1330817222","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330817212":["hashtag1","hashtag2"]},{"1330817206":["hashtag1","hashtag2"]},{"1330817217":["hashtag1","hashtag2"]},{"1330817222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330817212, 1330817206, 1330817217, 1330817222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.97234582901001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:19:21.994051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_03_025748_0003.jpg', '/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_03_131629_0000.jpg', '/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_03_131629_0001.jpg', '/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_03_131629_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_03_025748_0003.jpg
/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_03_131629_0000.jpg
/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_03_131629_0001.jpg
/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_03_131629_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330817253","1330817247","1330817235","1330817240"],"photo_ids_order":["1330817235","1330817240","1330817247","1330817253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38f08cd474ab1fa7cbd079b42c1f4ace.jpg","text":"TemporaryFile(/tmp/multipartBody6845703533381086053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631233404,"filename":"image_23012025_12_19_03_131629_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/696e997c5c2afd02e2c30d14a56ab9b3.jpg","text":"TemporaryFile(/tmp/multipartBody7166381530968735309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631233404,"filename":"image_23012025_12_19_03_131629_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c9ee61c8a184f0390672e106ea07d64.jpg","text":"TemporaryFile(/tmp/multipartBody5930978592239470501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631233404,"filename":"image_23012025_12_18_03_025748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1bc4dbc492ce21a80914b1120247c32b.jpg","text":"TemporaryFile(/tmp/multipartBody5212066279036927187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631233404,"filename":"image_23012025_12_19_03_131629_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330817247","file1":"1330817240","file0":"1330817235","file3":"1330817253"},"map_files_photo_id_array":[{"photo_id":"1330817247","filename":"file2"},{"photo_id":"1330817240","filename":"file1"},{"photo_id":"1330817235","filename":"file0"},{"photo_id":"1330817253","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330817253":["hashtag1","hashtag2"]},{"1330817247":["hashtag1","hashtag2"]},{"1330817235":["hashtag1","hashtag2"]},{"1330817240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330817253, 1330817247, 1330817235, 1330817240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.25457143783569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:20:22.174401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_03_131629_0003.jpg', '/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_02_358304_0000.jpg', '/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_02_358304_0001.jpg', '/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_02_358304_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_03_131629_0003.jpg
/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_02_358304_0000.jpg
/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_02_358304_0001.jpg
/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_02_358304_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330817275","1330817286","1330817282","1330817270"],"photo_ids_order":["1330817270","1330817275","1330817282","1330817286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7669c7b9609677b92671a5f85f4752b.jpg","text":"TemporaryFile(/tmp/multipartBody1827311428649234828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631293491,"filename":"image_23012025_12_20_02_358304_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3dfd80be8d625e08890036fbe428bc48.jpg","text":"TemporaryFile(/tmp/multipartBody6495172241295727441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631293491,"filename":"image_23012025_12_20_02_358304_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68f70b44b479aa97320461c0e21be9d2.jpg","text":"TemporaryFile(/tmp/multipartBody3130024818600105050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631293491,"filename":"image_23012025_12_20_02_358304_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21a6694976b0d1dfed8ec743536b5446.jpg","text":"TemporaryFile(/tmp/multipartBody6413102390807878281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631293491,"filename":"image_23012025_12_19_03_131629_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330817282","file1":"1330817275","file0":"1330817270","file3":"1330817286"},"map_files_photo_id_array":[{"photo_id":"1330817282","filename":"file2"},{"photo_id":"1330817275","filename":"file1"},{"photo_id":"1330817270","filename":"file0"},{"photo_id":"1330817286","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330817275":["hashtag1","hashtag2"]},{"1330817286":["hashtag1","hashtag2"]},{"1330817282":["hashtag1","hashtag2"]},{"1330817270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330817275, 1330817286, 1330817282, 1330817270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.40657639503479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:21:22.320089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_02_358304_0003.jpg', '/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_02_473081_0000.jpg', '/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_02_473081_0001.jpg', '/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_02_473081_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_02_358304_0003.jpg
/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_02_473081_0000.jpg
/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_02_473081_0001.jpg
/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_02_473081_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330817512","1330817481","1330817466","1330817451"],"photo_ids_order":["1330817451","1330817466","1330817481","1330817512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33ac04b2f18f464e071c497138c523b6.jpg","text":"TemporaryFile(/tmp/multipartBody7405118986356187424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631353622,"filename":"image_23012025_12_21_02_473081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe6b3f90112506488b96c8899684afff.jpg","text":"TemporaryFile(/tmp/multipartBody1399905616665947529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631353622,"filename":"image_23012025_12_21_02_473081_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a03cfe07d984f0db7131e628687a8bf.jpg","text":"TemporaryFile(/tmp/multipartBody758503867874131817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631353622,"filename":"image_23012025_12_21_02_473081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84bf0788ed7659f5ae59ef5de1f43366.jpg","text":"TemporaryFile(/tmp/multipartBody8439849724141805117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631353622,"filename":"image_23012025_12_20_02_358304_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330817481","file1":"1330817466","file0":"1330817451","file3":"1330817512"},"map_files_photo_id_array":[{"photo_id":"1330817481","filename":"file2"},{"photo_id":"1330817466","filename":"file1"},{"photo_id":"1330817451","filename":"file0"},{"photo_id":"1330817512","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330817512":["hashtag1","hashtag2"]},{"1330817481":["hashtag1","hashtag2"]},{"1330817466":["hashtag1","hashtag2"]},{"1330817451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330817512, 1330817481, 1330817466, 1330817451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.33243227005005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:22:22.501431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_02_473081_0003.jpg', '/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_02_677805_0000.jpg', '/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_02_677805_0001.jpg', '/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_02_677805_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_02_473081_0003.jpg
/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_02_677805_0000.jpg
/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_02_677805_0001.jpg
/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_02_677805_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330817626","1330817635","1330817631","1330817609"],"photo_ids_order":["1330817609","1330817626","1330817631","1330817635"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89020d1b3e3e347a6e7b4b255880a193.jpg","text":"TemporaryFile(/tmp/multipartBody7109929860459123383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631413864,"filename":"image_23012025_12_22_02_677805_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a890f1f09e0b04e2524764bfac729d8e.jpg","text":"TemporaryFile(/tmp/multipartBody5733378826991656759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631413864,"filename":"image_23012025_12_22_02_677805_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3b3d0109eaa251187b20df3832b8f2b.jpg","text":"TemporaryFile(/tmp/multipartBody8748942665304001497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631413864,"filename":"image_23012025_12_22_02_677805_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d364ab08c69060453e53d6a07cbcbda1.jpg","text":"TemporaryFile(/tmp/multipartBody5108051801335446092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631413864,"filename":"image_23012025_12_21_02_473081_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330817631","file1":"1330817626","file0":"1330817609","file3":"1330817635"},"map_files_photo_id_array":[{"photo_id":"1330817631","filename":"file2"},{"photo_id":"1330817626","filename":"file1"},{"photo_id":"1330817609","filename":"file0"},{"photo_id":"1330817635","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330817626":["hashtag1","hashtag2"]},{"1330817635":["hashtag1","hashtag2"]},{"1330817631":["hashtag1","hashtag2"]},{"1330817609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330817626, 1330817635, 1330817631, 1330817609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.975075244903564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:23:22.586475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_02_677805_0003.jpg', '/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_02_788997_0000.jpg', '/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_02_788997_0001.jpg', '/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_02_788997_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_02_677805_0003.jpg
/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_02_788997_0000.jpg
/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_02_788997_0001.jpg
/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_02_788997_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330817815","1330817790","1330817775","1330817810"],"photo_ids_order":["1330817775","1330817790","1330817810","1330817815"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/022231231331307bace4d63e753f0b62.jpg","text":"TemporaryFile(/tmp/multipartBody6439278296311258131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631473989,"filename":"image_23012025_12_23_02_788997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07687cc8413e0884497465d2653fe002.jpg","text":"TemporaryFile(/tmp/multipartBody4051739752992978459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631473989,"filename":"image_23012025_12_23_02_788997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc8cc56d496bd409f2775794f37c8eaf.jpg","text":"TemporaryFile(/tmp/multipartBody8880522275252384154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631473989,"filename":"image_23012025_12_22_02_677805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7583942b3e7e87b925e89307b21e9468.jpg","text":"TemporaryFile(/tmp/multipartBody8347925814812765892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631473989,"filename":"image_23012025_12_23_02_788997_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330817810","file1":"1330817790","file0":"1330817775","file3":"1330817815"},"map_files_photo_id_array":[{"photo_id":"1330817810","filename":"file2"},{"photo_id":"1330817790","filename":"file1"},{"photo_id":"1330817775","filename":"file0"},{"photo_id":"1330817815","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330817815":["hashtag1","hashtag2"]},{"1330817790":["hashtag1","hashtag2"]},{"1330817775":["hashtag1","hashtag2"]},{"1330817810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330817815, 1330817790, 1330817775, 1330817810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.3856246471405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:24:21.787936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_02_788997_0003.jpg', '/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_02_951757_0000.jpg', '/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_02_951757_0001.jpg', '/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_02_951757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_02_788997_0003.jpg
/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_02_951757_0000.jpg
/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_02_951757_0001.jpg
/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_02_951757_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330818099","1330818012","1330818122","1330818049"],"photo_ids_order":["1330818012","1330818049","1330818099","1330818122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91df68f71633305f0608c9987559b24a.jpg","text":"TemporaryFile(/tmp/multipartBody2279293814427566061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631532903,"filename":"image_23012025_12_24_02_951757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05a2672db1b7f0c6aec4d45bf34e8707.jpg","text":"TemporaryFile(/tmp/multipartBody3564507380724389777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631532903,"filename":"image_23012025_12_23_02_788997_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2604ee37f6fb2732e6ee6b382651df9.jpg","text":"TemporaryFile(/tmp/multipartBody7422399813784562435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631532903,"filename":"image_23012025_12_24_02_951757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ae15a7efd26649eedd6dca353990461.jpg","text":"TemporaryFile(/tmp/multipartBody8785386679908535705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631532903,"filename":"image_23012025_12_24_02_951757_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330818099","file1":"1330818049","file0":"1330818012","file3":"1330818122"},"map_files_photo_id_array":[{"photo_id":"1330818099","filename":"file2"},{"photo_id":"1330818049","filename":"file1"},{"photo_id":"1330818012","filename":"file0"},{"photo_id":"1330818122","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330818099":["hashtag1","hashtag2"]},{"1330818012":["hashtag1","hashtag2"]},{"1330818122":["hashtag1","hashtag2"]},{"1330818049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330818099, 1330818012, 1330818122, 1330818049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.85781717300415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:25:22.005610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_02_951757_0003.jpg', '/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_02_132660_0000.jpg', '/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_02_132660_0001.jpg', '/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_02_132660_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_02_951757_0003.jpg
/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_02_132660_0000.jpg
/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_02_132660_0001.jpg
/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_02_132660_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330818783","1330818779","1330818803","1330818799"],"photo_ids_order":["1330818779","1330818783","1330818799","1330818803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/884dd7809f6f027b5870a856f67b1569.jpg","text":"TemporaryFile(/tmp/multipartBody8433490408997404974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631592962,"filename":"image_23012025_12_25_02_132660_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9d125607c4a466bd79ac6fa058f4fd0.jpg","text":"TemporaryFile(/tmp/multipartBody4702534950641039976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631592962,"filename":"image_23012025_12_24_02_951757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd986ff2ea368fe3ca5bf0d9be5c7cf4.jpg","text":"TemporaryFile(/tmp/multipartBody2951396790403929625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631592962,"filename":"image_23012025_12_25_02_132660_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e8230136143ea7d3e52ed693a1f80d9.jpg","text":"TemporaryFile(/tmp/multipartBody9142669015301204631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631592962,"filename":"image_23012025_12_25_02_132660_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330818799","file1":"1330818783","file0":"1330818779","file3":"1330818803"},"map_files_photo_id_array":[{"photo_id":"1330818799","filename":"file2"},{"photo_id":"1330818783","filename":"file1"},{"photo_id":"1330818779","filename":"file0"},{"photo_id":"1330818803","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330818783":["hashtag1","hashtag2"]},{"1330818779":["hashtag1","hashtag2"]},{"1330818803":["hashtag1","hashtag2"]},{"1330818799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330818783, 1330818779, 1330818803, 1330818799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.31994032859802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:26:22.157475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_02_132660_0003.jpg', '/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_02_320171_0000.jpg', '/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_02_320171_0001.jpg', '/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_02_320171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_02_132660_0003.jpg
/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_02_320171_0000.jpg
/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_02_320171_0001.jpg
/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_02_320171_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330819050","1330819046","1330819040","1330819057"],"photo_ids_order":["1330819040","1330819046","1330819050","1330819057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b109120f297cb87e7a49bbae4cea8a82.jpg","text":"TemporaryFile(/tmp/multipartBody1598040306837668253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631653654,"filename":"image_23012025_12_26_02_320171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7948bb01d55e3752703863159c9e34a.jpg","text":"TemporaryFile(/tmp/multipartBody2173943545744857108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631653654,"filename":"image_23012025_12_26_02_320171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96327be8c139224eeb972ebe97935c63.jpg","text":"TemporaryFile(/tmp/multipartBody5228012344559274372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631653654,"filename":"image_23012025_12_25_02_132660_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0370f78d0df541b6fe1cf823f14d25ff.jpg","text":"TemporaryFile(/tmp/multipartBody2883846092669426582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631653654,"filename":"image_23012025_12_26_02_320171_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330819050","file1":"1330819046","file0":"1330819040","file3":"1330819057"},"map_files_photo_id_array":[{"photo_id":"1330819050","filename":"file2"},{"photo_id":"1330819046","filename":"file1"},{"photo_id":"1330819040","filename":"file0"},{"photo_id":"1330819057","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330819050":["hashtag1","hashtag2"]},{"1330819046":["hashtag1","hashtag2"]},{"1330819040":["hashtag1","hashtag2"]},{"1330819057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330819050, 1330819046, 1330819040, 1330819057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.154131174087524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:27:22.315872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_02_320171_0003.jpg', '/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_02_581953_0000.jpg', '/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_02_581953_0001.jpg', '/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_02_581953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_02_320171_0003.jpg
/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_02_581953_0000.jpg
/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_02_581953_0001.jpg
/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_02_581953_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330819287","1330819292","1330819297","1330819357"],"photo_ids_order":["1330819287","1330819292","1330819297","1330819357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/898c82679f37189de594eb35e57f3954.jpg","text":"TemporaryFile(/tmp/multipartBody6831897842229437591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631713451,"filename":"image_23012025_12_26_02_320171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9573c59292262b8af3a9d01ec2f5b1be.jpg","text":"TemporaryFile(/tmp/multipartBody1213246996129847227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631713451,"filename":"image_23012025_12_27_02_581953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7caeeda57f4dd50fd71f673397e6730f.jpg","text":"TemporaryFile(/tmp/multipartBody7018395079732445251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631713451,"filename":"image_23012025_12_27_02_581953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74a733b497272250c80708aab8bd5e8b.jpg","text":"TemporaryFile(/tmp/multipartBody3117424411698170319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631713451,"filename":"image_23012025_12_27_02_581953_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330819297","file1":"1330819292","file0":"1330819287","file3":"1330819357"},"map_files_photo_id_array":[{"photo_id":"1330819297","filename":"file2"},{"photo_id":"1330819292","filename":"file1"},{"photo_id":"1330819287","filename":"file0"},{"photo_id":"1330819357","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330819287":["hashtag1","hashtag2"]},{"1330819292":["hashtag1","hashtag2"]},{"1330819297":["hashtag1","hashtag2"]},{"1330819357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330819287, 1330819292, 1330819297, 1330819357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74650263786316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 12:28:02.974523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/52/image_21012025_18_52_03_141560_0000.jpg', '/home/pi/Desktop/images/21012025/18/52/image_21012025_18_52_03_141560_0001.jpg', '/home/pi/Desktop/images/21012025/18/52/image_21012025_18_52_03_141560_0002.jpg', '/home/pi/Desktop/images/21012025/18/52/image_21012025_18_52_03_141560_0003.jpg', '/home/pi/Desktop/images/21012025/18/53/image_21012025_18_53_02_276997_0000.jpg', '/home/pi/Desktop/images/21012025/18/53/image_21012025_18_53_02_276997_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/52/image_21012025_18_52_03_141560_0000.jpg
/home/pi/Desktop/images/21012025/18/52/image_21012025_18_52_03_141560_0001.jpg
/home/pi/Desktop/images/21012025/18/52/image_21012025_18_52_03_141560_0002.jpg
/home/pi/Desktop/images/21012025/18/52/image_21012025_18_52_03_141560_0003.jpg
/home/pi/Desktop/images/21012025/18/53/image_21012025_18_53_02_276997_0000.jpg
/home/pi/Desktop/images/21012025/18/53/image_21012025_18_53_02_276997_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":["1330819533","1330819527","1330819517","1330819540","1330819522","1330819519"],"photo_ids_order":["1330819517","1330819519","1330819522","1330819527","1330819533","1330819540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f38db257250617b4f71b04db70e4dda0.jpg","text":"TemporaryFile(/tmp/multipartBody7471347957032839297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631761420,"filename":"image_21012025_18_53_02_276997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c73d7e2b4378d67e002dfd11ea53c6c.jpg","text":"TemporaryFile(/tmp/multipartBody3707375951853186304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631761420,"filename":"image_21012025_18_52_03_141560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d54c8e5e887ea73b2d30f7924b56f8a.jpg","text":"TemporaryFile(/tmp/multipartBody5979236184220019330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631761420,"filename":"image_21012025_18_52_03_141560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33b542c7a51fb0505669ebea6a6284fc.jpg","text":"TemporaryFile(/tmp/multipartBody3219943169802520370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631761420,"filename":"image_21012025_18_53_02_276997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/490d239448c98d1a4bb471a4036fecf4.jpg","text":"TemporaryFile(/tmp/multipartBody8492641955859907552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631761420,"filename":"image_21012025_18_52_03_141560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6977f576d964d7ee06aba8ea3915e996.jpg","text":"TemporaryFile(/tmp/multipartBody5995882521182502001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631761420,"filename":"image_21012025_18_52_03_141560_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330819522","file1":"1330819519","file0":"1330819517","file4":"1330819533","file5":"1330819540","file3":"1330819527"},"map_files_photo_id_array":[{"photo_id":"1330819540","filename":"file5"},{"photo_id":"1330819522","filename":"file2"},{"photo_id":"1330819533","filename":"file4"},{"photo_id":"1330819519","filename":"file1"},{"photo_id":"1330819517","filename":"file0"},{"photo_id":"1330819527","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330819533":["hashtag1","hashtag2"]},{"1330819527":["hashtag1","hashtag2"]},{"1330819517":["hashtag1","hashtag2"]},{"1330819540":["hashtag1","hashtag2"]},{"1330819522":["hashtag1","hashtag2"]},{"1330819519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330819533, 1330819527, 1330819517, 1330819540, 1330819522, 1330819519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.79294943809509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:29:22.664203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_02_581953_0003.jpg', '/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_02_633333_0000.jpg', '/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_02_633333_0001.jpg', '/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_02_633333_0002.jpg', '/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_02_633333_0003.jpg', '/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_02_811101_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_02_581953_0003.jpg
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_02_633333_0000.jpg
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_02_633333_0001.jpg
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_02_633333_0002.jpg
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_02_633333_0003.jpg
/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_02_811101_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":["1330819584","1330819574","1330819568","1330819582","1330819579","1330819587"],"photo_ids_order":["1330819568","1330819574","1330819579","1330819582","1330819584","1330819587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a98a6a739147e169c3add1ab5793fec.jpg","text":"TemporaryFile(/tmp/multipartBody723561174796317825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631839632,"filename":"image_23012025_12_28_02_633333_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6029011df77f7399bf382bdabf7843e9.jpg","text":"TemporaryFile(/tmp/multipartBody5569396198716597058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631839632,"filename":"image_23012025_12_28_02_633333_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3729c4abe750cc2b4473cb3940f8e0a8.jpg","text":"TemporaryFile(/tmp/multipartBody4846291945803426946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631839632,"filename":"image_23012025_12_27_02_581953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d698cdda08e0a4ea599c82b3607bbe6.jpg","text":"TemporaryFile(/tmp/multipartBody7643384232533249282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631839632,"filename":"image_23012025_12_28_02_633333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a2462cab981cb35ae8fa75917f3693c.jpg","text":"TemporaryFile(/tmp/multipartBody7536698518097626390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631839632,"filename":"image_23012025_12_28_02_633333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88742893387a181e6a3d7213f2ca66a2.jpg","text":"TemporaryFile(/tmp/multipartBody4066768337855240569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631839632,"filename":"image_23012025_12_29_02_811101_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330819579","file1":"1330819574","file0":"1330819568","file4":"1330819584","file5":"1330819587","file3":"1330819582"},"map_files_photo_id_array":[{"photo_id":"1330819587","filename":"file5"},{"photo_id":"1330819579","filename":"file2"},{"photo_id":"1330819584","filename":"file4"},{"photo_id":"1330819574","filename":"file1"},{"photo_id":"1330819568","filename":"file0"},{"photo_id":"1330819582","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330819584":["hashtag1","hashtag2"]},{"1330819574":["hashtag1","hashtag2"]},{"1330819568":["hashtag1","hashtag2"]},{"1330819582":["hashtag1","hashtag2"]},{"1330819579":["hashtag1","hashtag2"]},{"1330819587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330819584, 1330819574, 1330819568, 1330819582, 1330819579, 1330819587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.323665142059326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:30:21.843813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_02_811101_0001.jpg', '/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_02_811101_0002.jpg', '/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_02_811101_0003.jpg', '/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_03_120081_0000.jpg', '/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_03_120081_0001.jpg', '/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_03_120081_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_02_811101_0001.jpg
/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_02_811101_0002.jpg
/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_02_811101_0003.jpg
/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_03_120081_0000.jpg
/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_03_120081_0001.jpg
/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_03_120081_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330819781","1330819778","1330819760","1330819733","1330819768","1330819738"],"photo_ids_order":["1330819733","1330819738","1330819760","1330819768","1330819778","1330819781"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ad5bcb3099875bfe078d42f4963f010.jpg","text":"TemporaryFile(/tmp/multipartBody5225239654949066511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631898186,"filename":"image_23012025_12_30_03_120081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2adbda0d7df21f037825fe709e6b51a.jpg","text":"TemporaryFile(/tmp/multipartBody2057746272039665393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631898186,"filename":"image_23012025_12_30_03_120081_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35939025b28b4cf163823508cb84c790.jpg","text":"TemporaryFile(/tmp/multipartBody5931619371545530188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631898186,"filename":"image_23012025_12_29_02_811101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5dfde7c8048d70c84f6c39ca7777cf3.jpg","text":"TemporaryFile(/tmp/multipartBody2336751776810629554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631898186,"filename":"image_23012025_12_29_02_811101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c512643f515ab1ef9769d8bef9662cf0.jpg","text":"TemporaryFile(/tmp/multipartBody4186946791965859495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631898186,"filename":"image_23012025_12_30_03_120081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e39d6f171e8e75d784e6b63d1792d08.jpg","text":"TemporaryFile(/tmp/multipartBody3060924984541321491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631898186,"filename":"image_23012025_12_29_02_811101_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330819760","file1":"1330819738","file0":"1330819733","file4":"1330819778","file5":"1330819781","file3":"1330819768"},"map_files_photo_id_array":[{"photo_id":"1330819781","filename":"file5"},{"photo_id":"1330819760","filename":"file2"},{"photo_id":"1330819778","filename":"file4"},{"photo_id":"1330819738","filename":"file1"},{"photo_id":"1330819733","filename":"file0"},{"photo_id":"1330819768","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330819781":["hashtag1","hashtag2"]},{"1330819778":["hashtag1","hashtag2"]},{"1330819760":["hashtag1","hashtag2"]},{"1330819733":["hashtag1","hashtag2"]},{"1330819768":["hashtag1","hashtag2"]},{"1330819738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330819781, 1330819778, 1330819760, 1330819733, 1330819768, 1330819738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.10380959510803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:31:32.028133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_03_120081_0003.jpg', '/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_02_239774_0000.jpg', '/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_02_239774_0001.jpg', '/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_02_239774_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_03_120081_0003.jpg
/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_02_239774_0000.jpg
/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_02_239774_0001.jpg
/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_02_239774_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330819803","1330819796","1330819805","1330819801"],"photo_ids_order":["1330819796","1330819801","1330819803","1330819805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb545020a1d46a628bdf167eb7221df7.jpg","text":"TemporaryFile(/tmp/multipartBody3814762638892495848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631963069,"filename":"image_23012025_12_31_02_239774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a48209eb2ce84bf9c39d15926f6a87b.jpg","text":"TemporaryFile(/tmp/multipartBody7266406515814786721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631963069,"filename":"image_23012025_12_30_03_120081_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/908b5c2e6f11f45138ba836de59ff335.jpg","text":"TemporaryFile(/tmp/multipartBody2276676351648076928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631963069,"filename":"image_23012025_12_31_02_239774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca17cea00748da57fd2c5d60d8604bee.jpg","text":"TemporaryFile(/tmp/multipartBody6315624814890857150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631963069,"filename":"image_23012025_12_31_02_239774_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330819803","file1":"1330819801","file0":"1330819796","file3":"1330819805"},"map_files_photo_id_array":[{"photo_id":"1330819803","filename":"file2"},{"photo_id":"1330819801","filename":"file1"},{"photo_id":"1330819796","filename":"file0"},{"photo_id":"1330819805","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330819803":["hashtag1","hashtag2"]},{"1330819796":["hashtag1","hashtag2"]},{"1330819805":["hashtag1","hashtag2"]},{"1330819801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330819803, 1330819796, 1330819805, 1330819801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.31756854057312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:32:22.281148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_02_239774_0003.jpg', '/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_02_421657_0000.jpg', '/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_02_421657_0001.jpg', '/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_02_421657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_02_239774_0003.jpg
/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_02_421657_0000.jpg
/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_02_421657_0001.jpg
/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_02_421657_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330819850","1330819853","1330819841","1330819825"],"photo_ids_order":["1330819825","1330819841","1330819850","1330819853"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf50e2bec98d63646bed74df123baab6.jpg","text":"TemporaryFile(/tmp/multipartBody3960472395333626868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632013681,"filename":"image_23012025_12_32_02_421657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39bee871fa0fd55d4bd2bd18c2981541.jpg","text":"TemporaryFile(/tmp/multipartBody7012703291451358565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632013681,"filename":"image_23012025_12_32_02_421657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75cebd6fd2a2fd755b12017f5061009f.jpg","text":"TemporaryFile(/tmp/multipartBody4857726581730473258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632013681,"filename":"image_23012025_12_32_02_421657_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1ac7179329162d6d4317e575200d890.jpg","text":"TemporaryFile(/tmp/multipartBody263081004333205807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632013681,"filename":"image_23012025_12_31_02_239774_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330819850","file1":"1330819841","file0":"1330819825","file3":"1330819853"},"map_files_photo_id_array":[{"photo_id":"1330819850","filename":"file2"},{"photo_id":"1330819841","filename":"file1"},{"photo_id":"1330819825","filename":"file0"},{"photo_id":"1330819853","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330819850":["hashtag1","hashtag2"]},{"1330819853":["hashtag1","hashtag2"]},{"1330819841":["hashtag1","hashtag2"]},{"1330819825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330819850, 1330819853, 1330819841, 1330819825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.03984355926514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:33:22.394968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_02_421657_0003.jpg', '/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_02_547279_0000.jpg', '/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_02_547279_0001.jpg', '/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_02_547279_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_02_421657_0003.jpg
/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_02_547279_0000.jpg
/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_02_547279_0001.jpg
/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_02_547279_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330820385","1330820337","1330820264","1330820246"],"photo_ids_order":["1330820246","1330820264","1330820337","1330820385"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18abfa359ecfd75dfc2b99f069e5535a.jpg","text":"TemporaryFile(/tmp/multipartBody2747115996057775908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632073824,"filename":"image_23012025_12_33_02_547279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4e7490e23e35ef99b222832d2263cfd.jpg","text":"TemporaryFile(/tmp/multipartBody2104390581551940531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632073824,"filename":"image_23012025_12_33_02_547279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f691306cb026d63e50ac4fbe42ea6ce.jpg","text":"TemporaryFile(/tmp/multipartBody9027885024706301164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632073824,"filename":"image_23012025_12_33_02_547279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65ad64bbf477a08959420a86f409eb8b.jpg","text":"TemporaryFile(/tmp/multipartBody7554520093855793776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632073824,"filename":"image_23012025_12_32_02_421657_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330820337","file1":"1330820264","file0":"1330820246","file3":"1330820385"},"map_files_photo_id_array":[{"photo_id":"1330820337","filename":"file2"},{"photo_id":"1330820264","filename":"file1"},{"photo_id":"1330820246","filename":"file0"},{"photo_id":"1330820385","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330820385":["hashtag1","hashtag2"]},{"1330820337":["hashtag1","hashtag2"]},{"1330820264":["hashtag1","hashtag2"]},{"1330820246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330820385, 1330820337, 1330820264, 1330820246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12964582443237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:34:22.653715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_02_547279_0003.jpg', '/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_02_766108_0000.jpg', '/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_02_766108_0001.jpg', '/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_02_766108_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_02_547279_0003.jpg
/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_02_766108_0000.jpg
/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_02_766108_0001.jpg
/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_02_766108_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330820616","1330820610","1330820607","1330820618"],"photo_ids_order":["1330820607","1330820610","1330820616","1330820618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4fa7932a0275e38a814c033fd5f294a0.jpg","text":"TemporaryFile(/tmp/multipartBody1074135847530419344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632134039,"filename":"image_23012025_12_34_02_766108_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67beb5cd7f4792f06c62deec12c6f1a2.jpg","text":"TemporaryFile(/tmp/multipartBody3958662327732493099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632134039,"filename":"image_23012025_12_34_02_766108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f855b316a80a0742a067e51d4206151c.jpg","text":"TemporaryFile(/tmp/multipartBody2799205718190581441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632134039,"filename":"image_23012025_12_33_02_547279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/894adf4eb2f658f79edc588b7df18d0a.jpg","text":"TemporaryFile(/tmp/multipartBody2842110732651961348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632134039,"filename":"image_23012025_12_34_02_766108_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330820616","file1":"1330820610","file0":"1330820607","file3":"1330820618"},"map_files_photo_id_array":[{"photo_id":"1330820616","filename":"file2"},{"photo_id":"1330820610","filename":"file1"},{"photo_id":"1330820607","filename":"file0"},{"photo_id":"1330820618","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330820616":["hashtag1","hashtag2"]},{"1330820610":["hashtag1","hashtag2"]},{"1330820607":["hashtag1","hashtag2"]},{"1330820618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330820616, 1330820610, 1330820607, 1330820618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.45671892166138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:35:21.851773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_02_766108_0003.jpg', '/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_02_922612_0000.jpg', '/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_02_922612_0001.jpg', '/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_02_922612_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_02_766108_0003.jpg
/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_02_922612_0000.jpg
/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_02_922612_0001.jpg
/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_02_922612_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330820649","1330820645","1330820639","1330820641"],"photo_ids_order":["1330820639","1330820641","1330820645","1330820649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da9373d8f9039ef8205627488f0fe730.jpg","text":"TemporaryFile(/tmp/multipartBody7938124457841734151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632193173,"filename":"image_23012025_12_35_02_922612_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2cffd884e11895879de43f97529e2f43.jpg","text":"TemporaryFile(/tmp/multipartBody703053203741379568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632193173,"filename":"image_23012025_12_35_02_922612_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0039d9d32d4e7bb00cc5b8f169c247d0.jpg","text":"TemporaryFile(/tmp/multipartBody2400509047303984845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632193173,"filename":"image_23012025_12_34_02_766108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9138b4314871f67a842062fd54349dd1.jpg","text":"TemporaryFile(/tmp/multipartBody1727981681497354855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632193173,"filename":"image_23012025_12_35_02_922612_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330820645","file1":"1330820641","file0":"1330820639","file3":"1330820649"},"map_files_photo_id_array":[{"photo_id":"1330820645","filename":"file2"},{"photo_id":"1330820641","filename":"file1"},{"photo_id":"1330820639","filename":"file0"},{"photo_id":"1330820649","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330820649":["hashtag1","hashtag2"]},{"1330820645":["hashtag1","hashtag2"]},{"1330820639":["hashtag1","hashtag2"]},{"1330820641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330820649, 1330820645, 1330820639, 1330820641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.57637691497803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:36:21.922707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_02_922612_0003.jpg', '/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_02_179504_0000.jpg', '/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_02_179504_0001.jpg', '/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_02_179504_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_02_922612_0003.jpg
/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_02_179504_0000.jpg
/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_02_179504_0001.jpg
/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_02_179504_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330820679","1330820674","1330820668","1330820683"],"photo_ids_order":["1330820668","1330820674","1330820679","1330820683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3fbb11a4f2ac5086d94d595c3cbdc562.jpg","text":"TemporaryFile(/tmp/multipartBody1684896534597492415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632253207,"filename":"image_23012025_12_36_02_179504_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/477a7122a83d357315132a5227079e47.jpg","text":"TemporaryFile(/tmp/multipartBody2836452952016767527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632253207,"filename":"image_23012025_12_36_02_179504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4855ef2c665646f54eb1d1f27e012e8f.jpg","text":"TemporaryFile(/tmp/multipartBody5767166060172844847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632253207,"filename":"image_23012025_12_35_02_922612_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b92f08a11a53e09a40a1b09fce60697.jpg","text":"TemporaryFile(/tmp/multipartBody1672277014528143451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632253207,"filename":"image_23012025_12_36_02_179504_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330820679","file1":"1330820674","file0":"1330820668","file3":"1330820683"},"map_files_photo_id_array":[{"photo_id":"1330820679","filename":"file2"},{"photo_id":"1330820674","filename":"file1"},{"photo_id":"1330820668","filename":"file0"},{"photo_id":"1330820683","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330820679":["hashtag1","hashtag2"]},{"1330820674":["hashtag1","hashtag2"]},{"1330820668":["hashtag1","hashtag2"]},{"1330820683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330820679, 1330820674, 1330820668, 1330820683)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.75892519950867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:37:22.109259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_02_179504_0003.jpg', '/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_02_272571_0000.jpg', '/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_02_272571_0001.jpg', '/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_02_272571_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_02_179504_0003.jpg
/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_02_272571_0000.jpg
/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_02_272571_0001.jpg
/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_02_272571_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330820715","1330820711","1330820720","1330820722"],"photo_ids_order":["1330820711","1330820715","1330820720","1330820722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d177fa333120725a65eb68d6214e9a4.jpg","text":"TemporaryFile(/tmp/multipartBody1636369960344925270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632313580,"filename":"image_23012025_12_37_02_272571_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b36364b7d649720eb234962009376d64.jpg","text":"TemporaryFile(/tmp/multipartBody5248324372803249347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632313580,"filename":"image_23012025_12_36_02_179504_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa8974ea26d96e9bcc2952c7deaceed1.jpg","text":"TemporaryFile(/tmp/multipartBody957248077488795933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632313580,"filename":"image_23012025_12_37_02_272571_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ffa257a5e3325ccb6d2f18d0a8f4cd3.jpg","text":"TemporaryFile(/tmp/multipartBody8028890533886013053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632313580,"filename":"image_23012025_12_37_02_272571_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330820720","file1":"1330820715","file0":"1330820711","file3":"1330820722"},"map_files_photo_id_array":[{"photo_id":"1330820720","filename":"file2"},{"photo_id":"1330820715","filename":"file1"},{"photo_id":"1330820711","filename":"file0"},{"photo_id":"1330820722","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330820715":["hashtag1","hashtag2"]},{"1330820711":["hashtag1","hashtag2"]},{"1330820720":["hashtag1","hashtag2"]},{"1330820722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330820715, 1330820711, 1330820720, 1330820722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.96546745300293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:38:22.358667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_02_272571_0003.jpg', '/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_02_454066_0000.jpg', '/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_02_454066_0001.jpg', '/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_02_454066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_02_272571_0003.jpg
/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_02_454066_0000.jpg
/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_02_454066_0001.jpg
/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_02_454066_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330820799","1330820805","1330820794","1330820803"],"photo_ids_order":["1330820794","1330820799","1330820803","1330820805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/966e49e3a8c309745dc69f3f061e9bdd.jpg","text":"TemporaryFile(/tmp/multipartBody4201382982473934104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632373469,"filename":"image_23012025_12_38_02_454066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd5ba354116949d123cb1dab9d75a41d.jpg","text":"TemporaryFile(/tmp/multipartBody2459837020854184580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632373469,"filename":"image_23012025_12_38_02_454066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/abcd209824ae1ed3a666b25dcb2b327f.jpg","text":"TemporaryFile(/tmp/multipartBody697521190464635297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632373469,"filename":"image_23012025_12_37_02_272571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02222a1ca21f1c5dffabe938d4ca0da7.jpg","text":"TemporaryFile(/tmp/multipartBody3597237626094564123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632373469,"filename":"image_23012025_12_38_02_454066_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330820803","file1":"1330820799","file0":"1330820794","file3":"1330820805"},"map_files_photo_id_array":[{"photo_id":"1330820803","filename":"file2"},{"photo_id":"1330820799","filename":"file1"},{"photo_id":"1330820794","filename":"file0"},{"photo_id":"1330820805","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330820799":["hashtag1","hashtag2"]},{"1330820805":["hashtag1","hashtag2"]},{"1330820794":["hashtag1","hashtag2"]},{"1330820803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330820799, 1330820805, 1330820794, 1330820803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.02201581001282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:39:22.740875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_02_454066_0003.jpg', '/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_02_671629_0000.jpg', '/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_02_671629_0001.jpg', '/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_02_671629_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_02_454066_0003.jpg
/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_02_671629_0000.jpg
/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_02_671629_0001.jpg
/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_02_671629_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330820864","1330820834","1330820869","1330820857"],"photo_ids_order":["1330820834","1330820857","1330820864","1330820869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7de357a88baae38fc56748ca710caee.jpg","text":"TemporaryFile(/tmp/multipartBody4425243382337212158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632433932,"filename":"image_23012025_12_39_02_671629_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0d9f623bb99bd926d2b214e2b073472.jpg","text":"TemporaryFile(/tmp/multipartBody8349978715471263541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632433932,"filename":"image_23012025_12_38_02_454066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1820b1e821cf207abb2a4059be4d27a.jpg","text":"TemporaryFile(/tmp/multipartBody7703123794172297076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632433932,"filename":"image_23012025_12_39_02_671629_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7b9e3cbcb95f98859200f23900aae97.jpg","text":"TemporaryFile(/tmp/multipartBody7902976380776245189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632433932,"filename":"image_23012025_12_39_02_671629_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330820864","file1":"1330820857","file0":"1330820834","file3":"1330820869"},"map_files_photo_id_array":[{"photo_id":"1330820864","filename":"file2"},{"photo_id":"1330820857","filename":"file1"},{"photo_id":"1330820834","filename":"file0"},{"photo_id":"1330820869","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330820864":["hashtag1","hashtag2"]},{"1330820834":["hashtag1","hashtag2"]},{"1330820869":["hashtag1","hashtag2"]},{"1330820857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330820864, 1330820834, 1330820869, 1330820857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.22904086112976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:40:21.956958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_02_671629_0003.jpg', '/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_03_113383_0000.jpg', '/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_03_113383_0001.jpg', '/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_03_113383_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_02_671629_0003.jpg
/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_03_113383_0000.jpg
/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_03_113383_0001.jpg
/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_03_113383_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330821006","1330820991","1330820996","1330820983"],"photo_ids_order":["1330820983","1330820991","1330820996","1330821006"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2927714531049f342706cacf48a073c3.jpg","text":"TemporaryFile(/tmp/multipartBody6387540641333120793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632492964,"filename":"image_23012025_12_40_03_113383_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37642710fa2f54a0d42cfad551a2959f.jpg","text":"TemporaryFile(/tmp/multipartBody4148351740440854552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632492964,"filename":"image_23012025_12_40_03_113383_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c19d4d3a29204eb341998ca4d3a61f7b.jpg","text":"TemporaryFile(/tmp/multipartBody240757299773590822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632492964,"filename":"image_23012025_12_40_03_113383_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56b3672ce93992e41e4bd501b1269af2.jpg","text":"TemporaryFile(/tmp/multipartBody8276152019192045161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632492964,"filename":"image_23012025_12_39_02_671629_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330820996","file1":"1330820991","file0":"1330820983","file3":"1330821006"},"map_files_photo_id_array":[{"photo_id":"1330820996","filename":"file2"},{"photo_id":"1330820991","filename":"file1"},{"photo_id":"1330820983","filename":"file0"},{"photo_id":"1330821006","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330821006":["hashtag1","hashtag2"]},{"1330820991":["hashtag1","hashtag2"]},{"1330820996":["hashtag1","hashtag2"]},{"1330820983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330821006, 1330820991, 1330820996, 1330820983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.57976055145264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:41:22.089940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_03_113383_0003.jpg', '/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_02_264724_0000.jpg', '/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_02_264724_0001.jpg', '/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_02_264724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_03_113383_0003.jpg
/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_02_264724_0000.jpg
/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_02_264724_0001.jpg
/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_02_264724_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330821143","1330821085","1330821160","1330821096"],"photo_ids_order":["1330821085","1330821096","1330821143","1330821160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e3a3227c9b48a610058c916f172b39f.jpg","text":"TemporaryFile(/tmp/multipartBody4526139893987441023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632553430,"filename":"image_23012025_12_41_02_264724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23e0b5d962f4e7e971d8fb9c7236d3c6.jpg","text":"TemporaryFile(/tmp/multipartBody3062320807874181517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632553430,"filename":"image_23012025_12_40_03_113383_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed8057749f9020e915ab0b977da00947.jpg","text":"TemporaryFile(/tmp/multipartBody933900301563554433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632553430,"filename":"image_23012025_12_41_02_264724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90a81d95404738ca8b261b456ff3f92a.jpg","text":"TemporaryFile(/tmp/multipartBody2952957913826086385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632553430,"filename":"image_23012025_12_41_02_264724_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330821143","file1":"1330821096","file0":"1330821085","file3":"1330821160"},"map_files_photo_id_array":[{"photo_id":"1330821143","filename":"file2"},{"photo_id":"1330821096","filename":"file1"},{"photo_id":"1330821085","filename":"file0"},{"photo_id":"1330821160","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330821143":["hashtag1","hashtag2"]},{"1330821085":["hashtag1","hashtag2"]},{"1330821160":["hashtag1","hashtag2"]},{"1330821096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330821143, 1330821085, 1330821160, 1330821096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.81758499145508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:42:22.270805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_02_264724_0003.jpg', '/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_02_424206_0000.jpg', '/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_02_424206_0001.jpg', '/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_02_424206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_02_264724_0003.jpg
/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_02_424206_0000.jpg
/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_02_424206_0001.jpg
/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_02_424206_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330821199","1330821208","1330821205","1330821195"],"photo_ids_order":["1330821195","1330821199","1330821205","1330821208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a552175acdafda522d886b8f24b5bece.jpg","text":"TemporaryFile(/tmp/multipartBody7378849651717178199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632613581,"filename":"image_23012025_12_42_02_424206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91399a3da1ee5e8c729e6b5e1e567aa1.jpg","text":"TemporaryFile(/tmp/multipartBody5955093023899333768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632613581,"filename":"image_23012025_12_42_02_424206_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80bd3fa5d603534e1d94b38a355e7ae7.jpg","text":"TemporaryFile(/tmp/multipartBody4887931499702063068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632613581,"filename":"image_23012025_12_42_02_424206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c9f4796dbc14daeed330ad6298cf800.jpg","text":"TemporaryFile(/tmp/multipartBody6000017439516826098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632613581,"filename":"image_23012025_12_41_02_264724_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330821205","file1":"1330821199","file0":"1330821195","file3":"1330821208"},"map_files_photo_id_array":[{"photo_id":"1330821205","filename":"file2"},{"photo_id":"1330821199","filename":"file1"},{"photo_id":"1330821195","filename":"file0"},{"photo_id":"1330821208","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330821199":["hashtag1","hashtag2"]},{"1330821208":["hashtag1","hashtag2"]},{"1330821205":["hashtag1","hashtag2"]},{"1330821195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330821199, 1330821208, 1330821205, 1330821195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.35515069961548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:43:22.448422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_02_424206_0003.jpg', '/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_02_591321_0000.jpg', '/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_02_591321_0001.jpg', '/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_02_591321_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_02_424206_0003.jpg
/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_02_591321_0000.jpg
/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_02_591321_0001.jpg
/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_02_591321_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330821237","1330821234","1330821227","1330821230"],"photo_ids_order":["1330821227","1330821230","1330821234","1330821237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/859f61197125f9c0483eabbe699cc83f.jpg","text":"TemporaryFile(/tmp/multipartBody4010238562200750148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632674223,"filename":"image_23012025_12_43_02_591321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17f9fc714b6189c0b659237f5640f43e.jpg","text":"TemporaryFile(/tmp/multipartBody3081926632871087215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632674223,"filename":"image_23012025_12_43_02_591321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d28f58b4b6df1f13e2eebcad8a7a09c.jpg","text":"TemporaryFile(/tmp/multipartBody4232739224560108410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632674223,"filename":"image_23012025_12_42_02_424206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c98abca0c6560de1ebf67a404fde540.jpg","text":"TemporaryFile(/tmp/multipartBody3082460200361551923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632674223,"filename":"image_23012025_12_43_02_591321_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330821234","file1":"1330821230","file0":"1330821227","file3":"1330821237"},"map_files_photo_id_array":[{"photo_id":"1330821234","filename":"file2"},{"photo_id":"1330821230","filename":"file1"},{"photo_id":"1330821227","filename":"file0"},{"photo_id":"1330821237","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330821237":["hashtag1","hashtag2"]},{"1330821234":["hashtag1","hashtag2"]},{"1330821227":["hashtag1","hashtag2"]},{"1330821230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330821237, 1330821234, 1330821227, 1330821230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.31732702255249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:44:22.699571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_02_591321_0003.jpg', '/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_02_782843_0000.jpg', '/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_02_782843_0001.jpg', '/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_02_782843_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_02_591321_0003.jpg
/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_02_782843_0000.jpg
/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_02_782843_0001.jpg
/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_02_782843_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330821261","1330821256","1330821271","1330821267"],"photo_ids_order":["1330821256","1330821261","1330821267","1330821271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb3ec4ec03658a5dddd6856a7e6ddf71.jpg","text":"TemporaryFile(/tmp/multipartBody1309548470166453523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632734223,"filename":"image_23012025_12_44_02_782843_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8883936d6c8bea8bac41dd81f8d437f8.jpg","text":"TemporaryFile(/tmp/multipartBody6403437458469296924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632734223,"filename":"image_23012025_12_43_02_591321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5643e7bc79fcbe47ab390e69f9575102.jpg","text":"TemporaryFile(/tmp/multipartBody5756554754276612732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632734223,"filename":"image_23012025_12_44_02_782843_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa5403fb9ed1dfdd142de4c563942ce9.jpg","text":"TemporaryFile(/tmp/multipartBody965974909123557731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632734223,"filename":"image_23012025_12_44_02_782843_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330821267","file1":"1330821261","file0":"1330821256","file3":"1330821271"},"map_files_photo_id_array":[{"photo_id":"1330821267","filename":"file2"},{"photo_id":"1330821261","filename":"file1"},{"photo_id":"1330821256","filename":"file0"},{"photo_id":"1330821271","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330821261":["hashtag1","hashtag2"]},{"1330821256":["hashtag1","hashtag2"]},{"1330821271":["hashtag1","hashtag2"]},{"1330821267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330821261, 1330821256, 1330821271, 1330821267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.22529220581055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:45:22.790911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_02_782843_0003.jpg', '/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_02_968717_0000.jpg', '/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_02_968717_0001.jpg', '/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_02_968717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_02_782843_0003.jpg
/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_02_968717_0000.jpg
/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_02_968717_0001.jpg
/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_02_968717_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330821476","1330821446","1330821506","1330821399"],"photo_ids_order":["1330821399","1330821446","1330821476","1330821506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80589e7c2d1fe97b298245b6857cef4e.jpg","text":"TemporaryFile(/tmp/multipartBody6605310837157752251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632793990,"filename":"image_23012025_12_45_02_968717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ad30725db3243e3254dbf4b8daf6c99.jpg","text":"TemporaryFile(/tmp/multipartBody7347392887646240116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632793990,"filename":"image_23012025_12_45_02_968717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/896de86d278fc3779182ee505b91f538.jpg","text":"TemporaryFile(/tmp/multipartBody3634411904104793710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632793990,"filename":"image_23012025_12_45_02_968717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59422629130e44e085ac2f241a88a807.jpg","text":"TemporaryFile(/tmp/multipartBody7397936768137159794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632793990,"filename":"image_23012025_12_44_02_782843_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330821476","file1":"1330821446","file0":"1330821399","file3":"1330821506"},"map_files_photo_id_array":[{"photo_id":"1330821476","filename":"file2"},{"photo_id":"1330821446","filename":"file1"},{"photo_id":"1330821399","filename":"file0"},{"photo_id":"1330821506","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330821476":["hashtag1","hashtag2"]},{"1330821446":["hashtag1","hashtag2"]},{"1330821506":["hashtag1","hashtag2"]},{"1330821399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330821476, 1330821446, 1330821506, 1330821399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.89052748680115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:46:21.852747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_02_968717_0003.jpg', '/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_03_112518_0000.jpg', '/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_03_112518_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_02_968717_0003.jpg
/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_03_112518_0000.jpg
/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_03_112518_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: 8.396101474761963 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:46:31.908425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_02_968717_0003.jpg', '/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_03_112518_0000.jpg', '/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_03_112518_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_02_968717_0003.jpg
/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_03_112518_0000.jpg
/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_03_112518_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":["1330821636","1330821600","1330821625"],"photo_ids_order":["1330821600","1330821625","1330821636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d2dce00f8886b84fb3109204a40546b.jpg","text":"TemporaryFile(/tmp/multipartBody5319476282042737160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632860683,"filename":"image_23012025_12_46_03_112518_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0dad097c72d518d258556639bd8ad0d5.jpg","text":"TemporaryFile(/tmp/multipartBody6740170271015319260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632860683,"filename":"image_23012025_12_45_02_968717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7837f72a68078ad489a6338e9f86184d.jpg","text":"TemporaryFile(/tmp/multipartBody7133083357162331841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632860683,"filename":"image_23012025_12_46_03_112518_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330821636","file1":"1330821625","file0":"1330821600"},"map_files_photo_id_array":[{"photo_id":"1330821636","filename":"file2"},{"photo_id":"1330821625","filename":"file1"},{"photo_id":"1330821600","filename":"file0"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330821636":["hashtag1","hashtag2"]},{"1330821600":["hashtag1","hashtag2"]},{"1330821625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330821636, 1330821600, 1330821625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.739203691482544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:47:22.280483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_03_112518_0003.jpg', '/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_02_315058_0000.jpg', '/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_02_315058_0001.jpg', '/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_02_315058_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_03_112518_0003.jpg
/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_02_315058_0000.jpg
/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_02_315058_0001.jpg
/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_02_315058_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330821689","1330821683","1330821673","1330821678"],"photo_ids_order":["1330821673","1330821678","1330821683","1330821689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/038b4028724359f62e46c7c7d25d488d.jpg","text":"TemporaryFile(/tmp/multipartBody4575123966407292915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632914288,"filename":"image_23012025_12_47_02_315058_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28944f77a01bcb07dc347b3a018cf90d.jpg","text":"TemporaryFile(/tmp/multipartBody833571720444287934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632914288,"filename":"image_23012025_12_47_02_315058_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9a915b40a4ee1bbc24f007e5f881256.jpg","text":"TemporaryFile(/tmp/multipartBody1761146373871801221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632914288,"filename":"image_23012025_12_46_03_112518_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a15441f0fc3b14bfd3026f34a284d14.jpg","text":"TemporaryFile(/tmp/multipartBody5555186725765508810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632914288,"filename":"image_23012025_12_47_02_315058_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330821683","file1":"1330821678","file0":"1330821673","file3":"1330821689"},"map_files_photo_id_array":[{"photo_id":"1330821683","filename":"file2"},{"photo_id":"1330821678","filename":"file1"},{"photo_id":"1330821673","filename":"file0"},{"photo_id":"1330821689","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330821689":["hashtag1","hashtag2"]},{"1330821683":["hashtag1","hashtag2"]},{"1330821673":["hashtag1","hashtag2"]},{"1330821678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330821689, 1330821683, 1330821673, 1330821678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.862956523895264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:48:22.281763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_02_315058_0003.jpg', '/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_02_594518_0000.jpg', '/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_02_594518_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_02_315058_0003.jpg
/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_02_594518_0000.jpg
/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_02_594518_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":["1330821714","1330821707","1330821721"],"photo_ids_order":["1330821707","1330821714","1330821721"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2dfb71e1d1dfec2d37a08cac1a3ee1d5.jpg","text":"TemporaryFile(/tmp/multipartBody3432680541935248192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632971457,"filename":"image_23012025_12_48_02_594518_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a08e40b967a3ce664e2f482ffd4789e5.jpg","text":"TemporaryFile(/tmp/multipartBody3189262896875666818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632971457,"filename":"image_23012025_12_47_02_315058_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd44c0db8be9662ae99ccc570266ab1f.jpg","text":"TemporaryFile(/tmp/multipartBody411180013651315197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632971457,"filename":"image_23012025_12_48_02_594518_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330821721","file1":"1330821714","file0":"1330821707"},"map_files_photo_id_array":[{"photo_id":"1330821721","filename":"file2"},{"photo_id":"1330821714","filename":"file1"},{"photo_id":"1330821707","filename":"file0"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330821714":["hashtag1","hashtag2"]},{"1330821707":["hashtag1","hashtag2"]},{"1330821721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330821714, 1330821707, 1330821721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.360304832458496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 12:49:03.046681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/53/image_21012025_18_53_02_276997_0002.jpg', '/home/pi/Desktop/images/21012025/18/53/image_21012025_18_53_02_276997_0003.jpg', '/home/pi/Desktop/images/21012025/18/54/image_21012025_18_54_02_514407_0000.jpg', '/home/pi/Desktop/images/21012025/18/54/image_21012025_18_54_02_514407_0001.jpg', '/home/pi/Desktop/images/21012025/18/54/image_21012025_18_54_02_514407_0002.jpg', '/home/pi/Desktop/images/21012025/18/54/image_21012025_18_54_02_514407_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/53/image_21012025_18_53_02_276997_0002.jpg
/home/pi/Desktop/images/21012025/18/53/image_21012025_18_53_02_276997_0003.jpg
/home/pi/Desktop/images/21012025/18/54/image_21012025_18_54_02_514407_0000.jpg
/home/pi/Desktop/images/21012025/18/54/image_21012025_18_54_02_514407_0001.jpg
/home/pi/Desktop/images/21012025/18/54/image_21012025_18_54_02_514407_0002.jpg
/home/pi/Desktop/images/21012025/18/54/image_21012025_18_54_02_514407_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":["1330821752","1330821749","1330821764","1330821758","1330821746","1330821806"],"photo_ids_order":["1330821746","1330821749","1330821752","1330821758","1330821764","1330821806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc422913ad6d7aa1e664bb2f95309eab.jpg","text":"TemporaryFile(/tmp/multipartBody292671134406314074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633021557,"filename":"image_21012025_18_54_02_514407_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49eba0159c6fa8be9a682d83f0263bae.jpg","text":"TemporaryFile(/tmp/multipartBody2950256536389562539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633021557,"filename":"image_21012025_18_53_02_276997_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9488aa1a3fa22bcac41a5dd8587e8e90.jpg","text":"TemporaryFile(/tmp/multipartBody2251060128220749021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633021557,"filename":"image_21012025_18_54_02_514407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a44d937084968253c04d3d4c253bcfe.jpg","text":"TemporaryFile(/tmp/multipartBody8251708812675916426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633021557,"filename":"image_21012025_18_54_02_514407_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de57b74fa3e6f7fb3fb62d5c61e0bf1f.jpg","text":"TemporaryFile(/tmp/multipartBody4011368720981405979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633021557,"filename":"image_21012025_18_53_02_276997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53470efc41b0d32a0ceca00beab6255b.jpg","text":"TemporaryFile(/tmp/multipartBody1965719625676028127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633021557,"filename":"image_21012025_18_54_02_514407_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330821752","file1":"1330821749","file0":"1330821746","file4":"1330821764","file5":"1330821806","file3":"1330821758"},"map_files_photo_id_array":[{"photo_id":"1330821806","filename":"file5"},{"photo_id":"1330821752","filename":"file2"},{"photo_id":"1330821764","filename":"file4"},{"photo_id":"1330821749","filename":"file1"},{"photo_id":"1330821746","filename":"file0"},{"photo_id":"1330821758","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330821752":["hashtag1","hashtag2"]},{"1330821749":["hashtag1","hashtag2"]},{"1330821764":["hashtag1","hashtag2"]},{"1330821758":["hashtag1","hashtag2"]},{"1330821746":["hashtag1","hashtag2"]},{"1330821806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330821752, 1330821749, 1330821764, 1330821758, 1330821746, 1330821806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.7928466796875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 12:50:03.085834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_02_594518_0002.jpg', '/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_02_632879_0001.jpg', '/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_02_632879_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_02_594518_0002.jpg
/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_02_632879_0001.jpg
/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_02_632879_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.796561479568481 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:50:22.698179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_02_594518_0002.jpg', '/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_02_632879_0001.jpg', '/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_02_632879_0002.jpg', '/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_02_632879_0003.jpg', '/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_02_885030_0000.jpg', '/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_02_885030_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_02_594518_0002.jpg
/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_02_632879_0001.jpg
/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_02_632879_0002.jpg
/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_02_632879_0003.jpg
/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_02_885030_0000.jpg
/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_02_885030_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330822218","1330822151","1330822052","1330821986","1330822208","1330822180"],"photo_ids_order":["1330821986","1330822052","1330822151","1330822180","1330822208","1330822218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4dc411de51429dc7b2e85ab6d9c88cb4.jpg","text":"TemporaryFile(/tmp/multipartBody1773897256622868670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633100416,"filename":"image_23012025_12_50_02_885030_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9a3d8119aaab92f18319e1fd565f1b6.jpg","text":"TemporaryFile(/tmp/multipartBody7627636141331457132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633100416,"filename":"image_23012025_12_49_02_632879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3062588f3eb66a3101a8705b41033c7.jpg","text":"TemporaryFile(/tmp/multipartBody4351046375961639258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633100416,"filename":"image_23012025_12_49_02_632879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61db294c7322b98f82ac678dca9edbed.jpg","text":"TemporaryFile(/tmp/multipartBody5713632675477477332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633100416,"filename":"image_23012025_12_48_02_594518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc6ca89d9c5d0da590bbd6e87f3c6a4c.jpg","text":"TemporaryFile(/tmp/multipartBody8401534017671450462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633100416,"filename":"image_23012025_12_50_02_885030_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/793069ca4496412b27ee5ec26dc9f597.jpg","text":"TemporaryFile(/tmp/multipartBody6601224485496898107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633100416,"filename":"image_23012025_12_49_02_632879_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330822151","file1":"1330822052","file0":"1330821986","file4":"1330822208","file5":"1330822218","file3":"1330822180"},"map_files_photo_id_array":[{"photo_id":"1330822218","filename":"file5"},{"photo_id":"1330822151","filename":"file2"},{"photo_id":"1330822208","filename":"file4"},{"photo_id":"1330822052","filename":"file1"},{"photo_id":"1330821986","filename":"file0"},{"photo_id":"1330822180","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330822218":["hashtag1","hashtag2"]},{"1330822151":["hashtag1","hashtag2"]},{"1330822052":["hashtag1","hashtag2"]},{"1330821986":["hashtag1","hashtag2"]},{"1330822208":["hashtag1","hashtag2"]},{"1330822180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330822218, 1330822151, 1330822052, 1330821986, 1330822208, 1330822180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.509804248809814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:51:31.831194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_02_885030_0003.jpg', '/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_02_976133_0001.jpg', '/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_02_976133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_02_885030_0003.jpg
/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_02_976133_0001.jpg
/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_02_976133_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330822340","1330822304","1330822300"],"photo_ids_order":["1330822300","1330822304","1330822340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81f9b8af79870163faeea2ca87c009df.jpg","text":"TemporaryFile(/tmp/multipartBody64602788797443278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633161014,"filename":"image_23012025_12_51_02_976133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f8c9df86d85e00a8796ec2dfb3b7339.jpg","text":"TemporaryFile(/tmp/multipartBody2458280226771353471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633161014,"filename":"image_23012025_12_51_02_976133_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ce2e0066f87b2f2f1669233c3a3abaa.jpg","text":"TemporaryFile(/tmp/multipartBody4034874472410132544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633161014,"filename":"image_23012025_12_50_02_885030_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330822340","file1":"1330822304","file0":"1330822300"},"map_files_photo_id_array":[{"photo_id":"1330822340","filename":"file2"},{"photo_id":"1330822304","filename":"file1"},{"photo_id":"1330822300","filename":"file0"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330822340":["hashtag1","hashtag2"]},{"1330822304":["hashtag1","hashtag2"]},{"1330822300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330822340, 1330822304, 1330822300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.45704793930054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:52:22.160878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_02_976133_0003.jpg', '/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_02_197193_0000.jpg', '/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_02_197193_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_02_976133_0003.jpg
/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_02_197193_0000.jpg
/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_02_197193_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":["1330822436","1330822430","1330822400"],"photo_ids_order":["1330822400","1330822430","1330822436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46b42e7c2a48ffc243bb3df3080f80ef.jpg","text":"TemporaryFile(/tmp/multipartBody3661827236297015073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633211367,"filename":"image_23012025_12_52_02_197193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/437a0fdd9604e6d8e2aec36fb8b69d60.jpg","text":"TemporaryFile(/tmp/multipartBody7766643835366902963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633211367,"filename":"image_23012025_12_52_02_197193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/87a30754adb57a17ace1fad79c49b69b.jpg","text":"TemporaryFile(/tmp/multipartBody2052569204759217202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633211367,"filename":"image_23012025_12_51_02_976133_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330822436","file1":"1330822430","file0":"1330822400"},"map_files_photo_id_array":[{"photo_id":"1330822436","filename":"file2"},{"photo_id":"1330822430","filename":"file1"},{"photo_id":"1330822400","filename":"file0"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330822436":["hashtag1","hashtag2"]},{"1330822430":["hashtag1","hashtag2"]},{"1330822400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330822436, 1330822430, 1330822400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.705177545547485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 12:53:02.904019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/55/image_21012025_18_55_02_633745_0000.jpg', '/home/pi/Desktop/images/21012025/18/55/image_21012025_18_55_02_633745_0001.jpg', '/home/pi/Desktop/images/21012025/18/55/image_21012025_18_55_02_633745_0002.jpg', '/home/pi/Desktop/images/21012025/18/55/image_21012025_18_55_02_633745_0003.jpg', '/home/pi/Desktop/images/21012025/18/56/image_21012025_18_56_02_827668_0000.jpg', '/home/pi/Desktop/images/21012025/18/56/image_21012025_18_56_02_827668_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/55/image_21012025_18_55_02_633745_0000.jpg
/home/pi/Desktop/images/21012025/18/55/image_21012025_18_55_02_633745_0001.jpg
/home/pi/Desktop/images/21012025/18/55/image_21012025_18_55_02_633745_0002.jpg
/home/pi/Desktop/images/21012025/18/55/image_21012025_18_55_02_633745_0003.jpg
/home/pi/Desktop/images/21012025/18/56/image_21012025_18_56_02_827668_0000.jpg
/home/pi/Desktop/images/21012025/18/56/image_21012025_18_56_02_827668_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":["1330822466","1330822478","1330822474","1330822461","1330822470","1330822455"],"photo_ids_order":["1330822455","1330822461","1330822466","1330822470","1330822474","1330822478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8564ed82095ceb96f2dfb7c128246732.jpg","text":"TemporaryFile(/tmp/multipartBody5431585587626355641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633260965,"filename":"image_21012025_18_55_02_633745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5406c35cca5bb7f2547690b02584ae2.jpg","text":"TemporaryFile(/tmp/multipartBody5643121720269680211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633260965,"filename":"image_21012025_18_56_02_827668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/702290bc363f4e315e40e5d363ff2d72.jpg","text":"TemporaryFile(/tmp/multipartBody1853728420621858488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633260965,"filename":"image_21012025_18_56_02_827668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d74349510bc5dc74e3d18525349a81f9.jpg","text":"TemporaryFile(/tmp/multipartBody8068225460326349635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633260965,"filename":"image_21012025_18_55_02_633745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8459e7e28943d5f54e08b135b5e73b16.jpg","text":"TemporaryFile(/tmp/multipartBody5424269016348351217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633260965,"filename":"image_21012025_18_55_02_633745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36e1387959ddf756e58c91be501ff29b.jpg","text":"TemporaryFile(/tmp/multipartBody8973536640663024583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633260965,"filename":"image_21012025_18_55_02_633745_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330822466","file1":"1330822461","file0":"1330822455","file4":"1330822474","file5":"1330822478","file3":"1330822470"},"map_files_photo_id_array":[{"photo_id":"1330822478","filename":"file5"},{"photo_id":"1330822466","filename":"file2"},{"photo_id":"1330822474","filename":"file4"},{"photo_id":"1330822461","filename":"file1"},{"photo_id":"1330822455","filename":"file0"},{"photo_id":"1330822470","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330822466":["hashtag1","hashtag2"]},{"1330822478":["hashtag1","hashtag2"]},{"1330822474":["hashtag1","hashtag2"]},{"1330822461":["hashtag1","hashtag2"]},{"1330822470":["hashtag1","hashtag2"]},{"1330822455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330822466, 1330822478, 1330822474, 1330822461, 1330822470, 1330822455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.698222637176514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 12:54:22.489298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_02_197193_0003.jpg', '/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_02_432620_0000.jpg', '/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_02_432620_0001.jpg', '/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_02_432620_0002.jpg', '/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_02_432620_0003.jpg', '/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_02_665297_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_02_197193_0003.jpg
/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_02_432620_0000.jpg
/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_02_432620_0001.jpg
/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_02_432620_0002.jpg
/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_02_432620_0003.jpg
/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_02_665297_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":["1330822509","1330822500","1330822503","1330822526","1330822505","1330822512"],"photo_ids_order":["1330822500","1330822503","1330822505","1330822509","1330822512","1330822526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2623e3a275b820a73d20cf02b404ed30.jpg","text":"TemporaryFile(/tmp/multipartBody8590796808590989572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633340197,"filename":"image_23012025_12_53_02_432620_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e84d4f8186d62030ceede3b522ed8a75.jpg","text":"TemporaryFile(/tmp/multipartBody9130282282229520414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633340197,"filename":"image_23012025_12_52_02_197193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef334321dcd5a44828fd616d706c2ae1.jpg","text":"TemporaryFile(/tmp/multipartBody2159215801323040495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633340197,"filename":"image_23012025_12_53_02_432620_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0345c778f180c2f179adf0023f50fb5d.jpg","text":"TemporaryFile(/tmp/multipartBody2465719737602571116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633340197,"filename":"image_23012025_12_54_02_665297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4798870a39fd8173840de83dc37d9e37.jpg","text":"TemporaryFile(/tmp/multipartBody4037324319261786902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633340197,"filename":"image_23012025_12_53_02_432620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7ae1cdf0ff2f47d57e150b9e950ea53.jpg","text":"TemporaryFile(/tmp/multipartBody7551941543283238625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633340197,"filename":"image_23012025_12_53_02_432620_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330822505","file1":"1330822503","file0":"1330822500","file4":"1330822512","file5":"1330822526","file3":"1330822509"},"map_files_photo_id_array":[{"photo_id":"1330822526","filename":"file5"},{"photo_id":"1330822505","filename":"file2"},{"photo_id":"1330822512","filename":"file4"},{"photo_id":"1330822503","filename":"file1"},{"photo_id":"1330822500","filename":"file0"},{"photo_id":"1330822509","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330822509":["hashtag1","hashtag2"]},{"1330822500":["hashtag1","hashtag2"]},{"1330822503":["hashtag1","hashtag2"]},{"1330822526":["hashtag1","hashtag2"]},{"1330822505":["hashtag1","hashtag2"]},{"1330822512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330822509, 1330822500, 1330822503, 1330822526, 1330822505, 1330822512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.91678357124329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:55:52.645368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_02_665297_0001.jpg', '/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_02_665297_0002.jpg', '/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_02_665297_0003.jpg', '/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_02_873851_0000.jpg', '/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_02_873851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_02_665297_0001.jpg
/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_02_665297_0002.jpg
/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_02_665297_0003.jpg
/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_02_873851_0000.jpg
/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_02_873851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330822643","1330822610","1330822635","1330822638","1330822611"],"photo_ids_order":["1330822610","1330822611","1330822635","1330822638","1330822643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e564413687c08e4ae02d33d4e860893.jpg","text":"TemporaryFile(/tmp/multipartBody1687453214398092842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633427492,"filename":"image_23012025_12_55_02_873851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/794e2d7f0b1bdb49c94f6841f74e3788.jpg","text":"TemporaryFile(/tmp/multipartBody2479327455712969466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633427492,"filename":"image_23012025_12_54_02_665297_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88ee9bb0bf20bb47df0fd4f87c785880.jpg","text":"TemporaryFile(/tmp/multipartBody3190491195949397374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633427492,"filename":"image_23012025_12_54_02_665297_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af7a72f6015996013699516d9a0dafc4.jpg","text":"TemporaryFile(/tmp/multipartBody2862903894164878862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633427492,"filename":"image_23012025_12_55_02_873851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/723a0309752956fe335577d2561a9500.jpg","text":"TemporaryFile(/tmp/multipartBody3294017191275100492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633427492,"filename":"image_23012025_12_54_02_665297_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330822635","file1":"1330822611","file0":"1330822610","file4":"1330822643","file3":"1330822638"},"map_files_photo_id_array":[{"photo_id":"1330822635","filename":"file2"},{"photo_id":"1330822643","filename":"file4"},{"photo_id":"1330822611","filename":"file1"},{"photo_id":"1330822610","filename":"file0"},{"photo_id":"1330822638","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330822643":["hashtag1","hashtag2"]},{"1330822610":["hashtag1","hashtag2"]},{"1330822635":["hashtag1","hashtag2"]},{"1330822638":["hashtag1","hashtag2"]},{"1330822611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330822643, 1330822610, 1330822635, 1330822638, 1330822611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 56.559839725494385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:56:51.806497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_02_873851_0003.jpg', '/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_03_042538_0000.jpg', '/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_03_042538_0001.jpg', '/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_03_042538_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_02_873851_0003.jpg
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_03_042538_0000.jpg
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_03_042538_0001.jpg
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_03_042538_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330822721","1330822715","1330822723","1330822680"],"photo_ids_order":["1330822680","1330822715","1330822721","1330822723"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6ee0b548834cc6c2fe0346fdd2a21c2.jpg","text":"TemporaryFile(/tmp/multipartBody4041238571615532914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633483843,"filename":"image_23012025_12_56_03_042538_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44a9e560c0ad41ae984efcb78409aad0.jpg","text":"TemporaryFile(/tmp/multipartBody7232012804255170731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633483843,"filename":"image_23012025_12_56_03_042538_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a6bd9b7acefef1318e78975da7d75f5.jpg","text":"TemporaryFile(/tmp/multipartBody60874125748446094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633483843,"filename":"image_23012025_12_56_03_042538_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e1157afd8085ecb333e3ce62899c4ca.jpg","text":"TemporaryFile(/tmp/multipartBody3998661278024701542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633483843,"filename":"image_23012025_12_55_02_873851_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330822721","file1":"1330822715","file0":"1330822680","file3":"1330822723"},"map_files_photo_id_array":[{"photo_id":"1330822721","filename":"file2"},{"photo_id":"1330822715","filename":"file1"},{"photo_id":"1330822680","filename":"file0"},{"photo_id":"1330822723","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330822721":["hashtag1","hashtag2"]},{"1330822715":["hashtag1","hashtag2"]},{"1330822723":["hashtag1","hashtag2"]},{"1330822680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330822721, 1330822715, 1330822723, 1330822680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.96441316604614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 12:57:42.034742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_03_042538_0003.jpg', '/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_02_181420_0000.jpg', '/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_02_181420_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_03_042538_0003.jpg
/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_02_181420_0000.jpg
/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_02_181420_0001.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 12:59:03.084987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_03_042538_0003.jpg', '/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_02_181420_0000.jpg', '/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_02_181420_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_03_042538_0003.jpg
/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_02_181420_0000.jpg
/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_02_181420_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":["1330822804","1330822813","1330822797"],"photo_ids_order":["1330822797","1330822804","1330822813"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50f9627ad415e38c7e71f4955be47c1a.jpg","text":"TemporaryFile(/tmp/multipartBody6401812732852563653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633612317,"filename":"image_23012025_12_57_02_181420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a57a8540f6ef695c7175beb3e42837a3.jpg","text":"TemporaryFile(/tmp/multipartBody8820076144837952282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633612317,"filename":"image_23012025_12_57_02_181420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00b1197a11c302f0b8398472a5039edd.jpg","text":"TemporaryFile(/tmp/multipartBody8384968443570214987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633612317,"filename":"image_23012025_12_56_03_042538_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330822813","file1":"1330822804","file0":"1330822797"},"map_files_photo_id_array":[{"photo_id":"1330822813","filename":"file2"},{"photo_id":"1330822804","filename":"file1"},{"photo_id":"1330822797","filename":"file0"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330822804":["hashtag1","hashtag2"]},{"1330822813":["hashtag1","hashtag2"]},{"1330822797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330822804, 1330822813, 1330822797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 42.44409966468811 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:59:52.296218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_02_181420_0002.jpg', '/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_02_360924_0000.jpg', '/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_02_360924_0001.jpg', '/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_02_360924_0002.jpg', '/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_02_360924_0003.jpg', '/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_02_589258_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_02_181420_0002.jpg
/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_02_360924_0000.jpg
/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_02_360924_0001.jpg
/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_02_360924_0002.jpg
/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_02_360924_0003.jpg
/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_02_589258_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":["1330822889","1330822838","1330822864","1330822848","1330822857","1330822842"],"photo_ids_order":["1330822838","1330822842","1330822848","1330822857","1330822864","1330822889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8effc83a9566fdc1ed25f16375c8716.jpg","text":"TemporaryFile(/tmp/multipartBody8747800702408834593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633669999,"filename":"image_23012025_12_59_02_589258_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72d8b26fefd5df0cf7c74adf2026e54e.jpg","text":"TemporaryFile(/tmp/multipartBody3070014761097527665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633669999,"filename":"image_23012025_12_57_02_181420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45f35ddf637e4d9a1f0388fb46e3e768.jpg","text":"TemporaryFile(/tmp/multipartBody439613799475182343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633669999,"filename":"image_23012025_12_58_02_360924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52fe09ba860f4762b76233a42f849282.jpg","text":"TemporaryFile(/tmp/multipartBody215925227199855485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633669999,"filename":"image_23012025_12_58_02_360924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61ce9db77058e76cce4240735dd48a13.jpg","text":"TemporaryFile(/tmp/multipartBody7650167035889992417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633669999,"filename":"image_23012025_12_58_02_360924_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd1d5a6098032f15e192f27eb7550858.jpg","text":"TemporaryFile(/tmp/multipartBody7487838449546560086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633669999,"filename":"image_23012025_12_58_02_360924_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330822848","file1":"1330822842","file0":"1330822838","file4":"1330822864","file5":"1330822889","file3":"1330822857"},"map_files_photo_id_array":[{"photo_id":"1330822889","filename":"file5"},{"photo_id":"1330822848","filename":"file2"},{"photo_id":"1330822864","filename":"file4"},{"photo_id":"1330822842","filename":"file1"},{"photo_id":"1330822838","filename":"file0"},{"photo_id":"1330822857","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330822889":["hashtag1","hashtag2"]},{"1330822838":["hashtag1","hashtag2"]},{"1330822864":["hashtag1","hashtag2"]},{"1330822848":["hashtag1","hashtag2"]},{"1330822857":["hashtag1","hashtag2"]},{"1330822842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330822889, 1330822838, 1330822864, 1330822848, 1330822857, 1330822842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.07001876831055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 13:01:03.151345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_02_589258_0001.jpg', '/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_02_589258_0002.jpg', '/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_02_589258_0003.jpg', '/home/pi/Desktop/images/23012025/13/00/image_23012025_13_00_02_804792_0000.jpg', '/home/pi/Desktop/images/23012025/13/00/image_23012025_13_00_02_804792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_02_589258_0001.jpg
/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_02_589258_0002.jpg
/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_02_589258_0003.jpg
/home/pi/Desktop/images/23012025/13/00/image_23012025_13_00_02_804792_0000.jpg
/home/pi/Desktop/images/23012025/13/00/image_23012025_13_00_02_804792_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330822979","1330823080","1330823046","1330822953","1330822938"],"photo_ids_order":["1330822938","1330822953","1330822979","1330823046","1330823080"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9122782d40f7410d0f6a23de2d6fc8c.jpg","text":"TemporaryFile(/tmp/multipartBody2808679226910370920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633738098,"filename":"image_23012025_12_59_02_589258_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c37989a10ebd536f30f31d59df3406ff.jpg","text":"TemporaryFile(/tmp/multipartBody4402449313440079779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633738098,"filename":"image_23012025_13_00_02_804792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52745010a98fe9c671492d461174cdb5.jpg","text":"TemporaryFile(/tmp/multipartBody8886941867949310527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633738098,"filename":"image_23012025_13_00_02_804792_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/474408b333f969f7661b0a9281ff74d3.jpg","text":"TemporaryFile(/tmp/multipartBody4109776486899944875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633738098,"filename":"image_23012025_12_59_02_589258_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b45368f1d1f11153fbebf51c069e6c0.jpg","text":"TemporaryFile(/tmp/multipartBody7330236292226744785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633738098,"filename":"image_23012025_12_59_02_589258_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330822979","file1":"1330822953","file0":"1330822938","file4":"1330823080","file3":"1330823046"},"map_files_photo_id_array":[{"photo_id":"1330822979","filename":"file2"},{"photo_id":"1330823080","filename":"file4"},{"photo_id":"1330822953","filename":"file1"},{"photo_id":"1330822938","filename":"file0"},{"photo_id":"1330823046","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330822979":["hashtag1","hashtag2"]},{"1330823080":["hashtag1","hashtag2"]},{"1330823046":["hashtag1","hashtag2"]},{"1330822953":["hashtag1","hashtag2"]},{"1330822938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330822979, 1330823080, 1330823046, 1330822953, 1330822938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 52.21570110321045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 13:02:02.203096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/00/image_23012025_13_00_02_804792_0003.jpg', '/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_02_842701_0000.jpg', '/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_02_842701_0001.jpg', '/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_02_842701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/00/image_23012025_13_00_02_804792_0003.jpg
/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_02_842701_0000.jpg
/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_02_842701_0001.jpg
/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_02_842701_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330823122","1330823112","1330823109","1330823118"],"photo_ids_order":["1330823109","1330823112","1330823118","1330823122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/705c9b45f2d19fd801a7d5663df54106.jpg","text":"TemporaryFile(/tmp/multipartBody762254891173379996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633793617,"filename":"image_23012025_13_01_02_842701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3911fd16f13451c818cbf0703a99775.jpg","text":"TemporaryFile(/tmp/multipartBody4583605752959443233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633793617,"filename":"image_23012025_13_01_02_842701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eef5111398c0f38e5f696052113fe3cf.jpg","text":"TemporaryFile(/tmp/multipartBody8715527005386479395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633793617,"filename":"image_23012025_13_00_02_804792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1352d3179e8b4f5b222a96400dfe20d5.jpg","text":"TemporaryFile(/tmp/multipartBody8602361652105649811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633793617,"filename":"image_23012025_13_01_02_842701_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330823118","file1":"1330823112","file0":"1330823109","file3":"1330823122"},"map_files_photo_id_array":[{"photo_id":"1330823118","filename":"file2"},{"photo_id":"1330823112","filename":"file1"},{"photo_id":"1330823109","filename":"file0"},{"photo_id":"1330823122","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330823122":["hashtag1","hashtag2"]},{"1330823112":["hashtag1","hashtag2"]},{"1330823109":["hashtag1","hashtag2"]},{"1330823118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330823122, 1330823112, 1330823109, 1330823118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.27926015853882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:02:51.873774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_02_842701_0003.jpg', '/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_03_042715_0000.jpg', '/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_03_042715_0001.jpg', '/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_03_042715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_02_842701_0003.jpg
/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_03_042715_0000.jpg
/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_03_042715_0001.jpg
/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_03_042715_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330823138","1330823147","1330823143","1330823153"],"photo_ids_order":["1330823138","1330823143","1330823147","1330823153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e36d8aed6b07806de0e27793e1e513e.jpg","text":"TemporaryFile(/tmp/multipartBody4076445169668029688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633842826,"filename":"image_23012025_13_01_02_842701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a4616b6bfce79e2f6645c8629273792.jpg","text":"TemporaryFile(/tmp/multipartBody5542144432317782001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633842826,"filename":"image_23012025_13_02_03_042715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb6d2440e854626cfeefb5b38064d6d1.jpg","text":"TemporaryFile(/tmp/multipartBody7386971872907651747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633842826,"filename":"image_23012025_13_02_03_042715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7eb930381350b5e44596e37b996da83.jpg","text":"TemporaryFile(/tmp/multipartBody9025008868417374820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633842826,"filename":"image_23012025_13_02_03_042715_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330823147","file1":"1330823143","file0":"1330823138","file3":"1330823153"},"map_files_photo_id_array":[{"photo_id":"1330823147","filename":"file2"},{"photo_id":"1330823143","filename":"file1"},{"photo_id":"1330823138","filename":"file0"},{"photo_id":"1330823153","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330823138":["hashtag1","hashtag2"]},{"1330823147":["hashtag1","hashtag2"]},{"1330823143":["hashtag1","hashtag2"]},{"1330823153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330823138, 1330823147, 1330823143, 1330823153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87197184562683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:03:32.032110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_03_042715_0003.jpg', '/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_02_238586_0000.jpg', '/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_02_238586_0001.jpg', '/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_02_238586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_03_042715_0003.jpg
/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_02_238586_0000.jpg
/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_02_238586_0001.jpg
/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_02_238586_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330823177","1330823169","1330823180","1330823174"],"photo_ids_order":["1330823169","1330823174","1330823177","1330823180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6866b8c1561d75a166fbbe2a09c3c119.jpg","text":"TemporaryFile(/tmp/multipartBody550423505139783226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633882517,"filename":"image_23012025_13_03_02_238586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/690bbb866fb2259be889c5f9f18470a5.jpg","text":"TemporaryFile(/tmp/multipartBody250677992493540350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633882517,"filename":"image_23012025_13_02_03_042715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45138753b8dad7c835a57c39c95a7523.jpg","text":"TemporaryFile(/tmp/multipartBody7076110071219497520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633882517,"filename":"image_23012025_13_03_02_238586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb154cf881957d53bb94d53654d96264.jpg","text":"TemporaryFile(/tmp/multipartBody271906878497245504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633882517,"filename":"image_23012025_13_03_02_238586_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330823177","file1":"1330823174","file0":"1330823169","file3":"1330823180"},"map_files_photo_id_array":[{"photo_id":"1330823177","filename":"file2"},{"photo_id":"1330823174","filename":"file1"},{"photo_id":"1330823169","filename":"file0"},{"photo_id":"1330823180","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330823177":["hashtag1","hashtag2"]},{"1330823169":["hashtag1","hashtag2"]},{"1330823180":["hashtag1","hashtag2"]},{"1330823174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330823177, 1330823169, 1330823180, 1330823174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.746553897857666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:04:22.303195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_02_238586_0003.jpg', '/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_02_412994_0000.jpg', '/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_02_412994_0001.jpg', '/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_02_412994_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_02_238586_0003.jpg
/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_02_412994_0000.jpg
/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_02_412994_0001.jpg
/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_02_412994_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330823207","1330823197","1330823201","1330823209"],"photo_ids_order":["1330823197","1330823201","1330823207","1330823209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ff359bbf4c62f750b089c7dcc3a2a27.jpg","text":"TemporaryFile(/tmp/multipartBody1027222835394959570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633934028,"filename":"image_23012025_13_04_02_412994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfa614e2ae5f50c0366ecd08342f5ae7.jpg","text":"TemporaryFile(/tmp/multipartBody3066250284401645093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633934028,"filename":"image_23012025_13_03_02_238586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3fb17e8224b68e5514ce12c0772f318.jpg","text":"TemporaryFile(/tmp/multipartBody406076450997407442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633934028,"filename":"image_23012025_13_04_02_412994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e678123cfbb0e27ddbd2c8ea77d174cc.jpg","text":"TemporaryFile(/tmp/multipartBody3100919507244366581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633934028,"filename":"image_23012025_13_04_02_412994_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330823207","file1":"1330823201","file0":"1330823197","file3":"1330823209"},"map_files_photo_id_array":[{"photo_id":"1330823207","filename":"file2"},{"photo_id":"1330823201","filename":"file1"},{"photo_id":"1330823197","filename":"file0"},{"photo_id":"1330823209","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330823207":["hashtag1","hashtag2"]},{"1330823197":["hashtag1","hashtag2"]},{"1330823201":["hashtag1","hashtag2"]},{"1330823209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330823207, 1330823197, 1330823201, 1330823209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.444724798202515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:05:22.439825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_02_412994_0003.jpg', '/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_02_624299_0000.jpg', '/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_02_624299_0001.jpg', '/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_02_624299_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_02_412994_0003.jpg
/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_02_624299_0000.jpg
/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_02_624299_0001.jpg
/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_02_624299_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330823240","1330823243","1330823251","1330823247"],"photo_ids_order":["1330823240","1330823243","1330823247","1330823251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fc5bc74b793aa663bcedaaff6c804fc.jpg","text":"TemporaryFile(/tmp/multipartBody2615193070326139939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633993608,"filename":"image_23012025_13_04_02_412994_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db9b32939fe10557c37a3c7c5c174932.jpg","text":"TemporaryFile(/tmp/multipartBody981252390846869835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633993608,"filename":"image_23012025_13_05_02_624299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60663e201685da9d93f4b28b394c13ce.jpg","text":"TemporaryFile(/tmp/multipartBody2312497015250498034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633993608,"filename":"image_23012025_13_05_02_624299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4805c545e73ef43b5c19432651ba6825.jpg","text":"TemporaryFile(/tmp/multipartBody359023014108709331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633993608,"filename":"image_23012025_13_05_02_624299_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330823247","file1":"1330823243","file0":"1330823240","file3":"1330823251"},"map_files_photo_id_array":[{"photo_id":"1330823247","filename":"file2"},{"photo_id":"1330823243","filename":"file1"},{"photo_id":"1330823240","filename":"file0"},{"photo_id":"1330823251","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330823240":["hashtag1","hashtag2"]},{"1330823243":["hashtag1","hashtag2"]},{"1330823251":["hashtag1","hashtag2"]},{"1330823247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330823240, 1330823243, 1330823251, 1330823247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68295645713806 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-23 13:06:22.641683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_02_624299_0003.jpg', '/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_02_883640_0000.jpg', '/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_02_883640_0001.jpg', '/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_02_883640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_02_624299_0003.jpg
/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_02_883640_0000.jpg
/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_02_883640_0001.jpg
/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_02_883640_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330823282","1330823272","1330823277","1330823288"],"photo_ids_order":["1330823272","1330823277","1330823282","1330823288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8e28f668f0bcb4ea34c3069406e5c1d.jpg","text":"TemporaryFile(/tmp/multipartBody6394085807128876099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634053995,"filename":"image_23012025_13_06_02_883640_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fc359640f7fa55288384bdf6b0e78e4.jpg","text":"TemporaryFile(/tmp/multipartBody418214942756319131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634053995,"filename":"image_23012025_13_05_02_624299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/877fd513e6ea1a6471b4b3c2a967f97a.jpg","text":"TemporaryFile(/tmp/multipartBody579797578236711962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634053995,"filename":"image_23012025_13_06_02_883640_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c690a836a797239b407fbdd76a5e10a.jpg","text":"TemporaryFile(/tmp/multipartBody7584338745543061336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634053995,"filename":"image_23012025_13_06_02_883640_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330823282","file1":"1330823277","file0":"1330823272","file3":"1330823288"},"map_files_photo_id_array":[{"photo_id":"1330823282","filename":"file2"},{"photo_id":"1330823277","filename":"file1"},{"photo_id":"1330823272","filename":"file0"},{"photo_id":"1330823288","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330823282":["hashtag1","hashtag2"]},{"1330823272":["hashtag1","hashtag2"]},{"1330823277":["hashtag1","hashtag2"]},{"1330823288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330823282, 1330823272, 1330823277, 1330823288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.78418445587158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:07:21.899954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_02_883640_0003.jpg', '/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_02_961791_0000.jpg', '/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_02_961791_0001.jpg', '/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_02_961791_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_02_883640_0003.jpg
/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_02_961791_0000.jpg
/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_02_961791_0001.jpg
/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_02_961791_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330823317","1330823340","1330823337","1330823328"],"photo_ids_order":["1330823317","1330823328","1330823337","1330823340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4fd84e3d8eb8eb74f185b18f8781574d.jpg","text":"TemporaryFile(/tmp/multipartBody74510481116811943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634113918,"filename":"image_23012025_13_06_02_883640_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1470155b5dcaa6df4ed8d073ce219f8.jpg","text":"TemporaryFile(/tmp/multipartBody5998294967032959390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634113918,"filename":"image_23012025_13_07_02_961791_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35244014ddbe0c9c21901b0f53b34e19.jpg","text":"TemporaryFile(/tmp/multipartBody1251825123963243081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634113918,"filename":"image_23012025_13_07_02_961791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c284fcc04e6e5b83ecb37d7632b4fcca.jpg","text":"TemporaryFile(/tmp/multipartBody7689671098550008459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634113918,"filename":"image_23012025_13_07_02_961791_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330823337","file1":"1330823328","file0":"1330823317","file3":"1330823340"},"map_files_photo_id_array":[{"photo_id":"1330823337","filename":"file2"},{"photo_id":"1330823328","filename":"file1"},{"photo_id":"1330823317","filename":"file0"},{"photo_id":"1330823340","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330823317":["hashtag1","hashtag2"]},{"1330823340":["hashtag1","hashtag2"]},{"1330823337":["hashtag1","hashtag2"]},{"1330823328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330823317, 1330823340, 1330823337, 1330823328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51822853088379 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 13:08:02.584729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/56/image_21012025_18_56_02_827668_0002.jpg', '/home/pi/Desktop/images/21012025/18/56/image_21012025_18_56_02_827668_0003.jpg', '/home/pi/Desktop/images/21012025/18/57/image_21012025_18_57_02_947361_0000.jpg', '/home/pi/Desktop/images/21012025/18/57/image_21012025_18_57_02_947361_0001.jpg', '/home/pi/Desktop/images/21012025/18/57/image_21012025_18_57_02_947361_0002.jpg', '/home/pi/Desktop/images/21012025/18/57/image_21012025_18_57_02_947361_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/56/image_21012025_18_56_02_827668_0002.jpg
/home/pi/Desktop/images/21012025/18/56/image_21012025_18_56_02_827668_0003.jpg
/home/pi/Desktop/images/21012025/18/57/image_21012025_18_57_02_947361_0000.jpg
/home/pi/Desktop/images/21012025/18/57/image_21012025_18_57_02_947361_0001.jpg
/home/pi/Desktop/images/21012025/18/57/image_21012025_18_57_02_947361_0002.jpg
/home/pi/Desktop/images/21012025/18/57/image_21012025_18_57_02_947361_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":["1330823391","1330823373","1330823397","1330823370","1330823384","1330823378"],"photo_ids_order":["1330823370","1330823373","1330823378","1330823384","1330823391","1330823397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca5a2ee4bb8b057c7836595405a6501d.jpg","text":"TemporaryFile(/tmp/multipartBody7123793295774999315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634160420,"filename":"image_21012025_18_57_02_947361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b498ce9553daac9523860e3f13429d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5799628226346933838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634160420,"filename":"image_21012025_18_56_02_827668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/449b6f54d6ce756944e481f06c3e49d9.jpg","text":"TemporaryFile(/tmp/multipartBody4599711625609806243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634160420,"filename":"image_21012025_18_57_02_947361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e11afd63fe6ab4d8b3d0d829f737b650.jpg","text":"TemporaryFile(/tmp/multipartBody7071834453557870377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634160420,"filename":"image_21012025_18_56_02_827668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34fa201c7fd5ee108f66569a513d04b5.jpg","text":"TemporaryFile(/tmp/multipartBody3611418140494321594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634160420,"filename":"image_21012025_18_57_02_947361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6a661316defb8763368c2849295466f.jpg","text":"TemporaryFile(/tmp/multipartBody7531698626423369283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634160420,"filename":"image_21012025_18_57_02_947361_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330823378","file1":"1330823373","file0":"1330823370","file4":"1330823391","file5":"1330823397","file3":"1330823384"},"map_files_photo_id_array":[{"photo_id":"1330823397","filename":"file5"},{"photo_id":"1330823378","filename":"file2"},{"photo_id":"1330823391","filename":"file4"},{"photo_id":"1330823373","filename":"file1"},{"photo_id":"1330823370","filename":"file0"},{"photo_id":"1330823384","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330823391":["hashtag1","hashtag2"]},{"1330823373":["hashtag1","hashtag2"]},{"1330823397":["hashtag1","hashtag2"]},{"1330823370":["hashtag1","hashtag2"]},{"1330823384":["hashtag1","hashtag2"]},{"1330823378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330823391, 1330823373, 1330823397, 1330823370, 1330823384, 1330823378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.83036732673645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 13:09:02.734115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_02_961791_0003.jpg', '/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_02_326924_0000.jpg', '/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_02_326924_0001.jpg', '/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_02_326924_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_02_961791_0003.jpg
/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_02_326924_0000.jpg
/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_02_326924_0001.jpg
/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_02_326924_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330823420","1330823426","1330823413","1330823416"],"photo_ids_order":["1330823413","1330823416","1330823420","1330823426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b916d6358864d6d780832929c5d38485.jpg","text":"TemporaryFile(/tmp/multipartBody4873918840148188301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634214921,"filename":"image_23012025_13_08_02_326924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0916d8a38d9d2ceda1e267362dd50cc1.jpg","text":"TemporaryFile(/tmp/multipartBody4116791788685349267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634214921,"filename":"image_23012025_13_08_02_326924_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a331b633a476b9a040c1319e0596149.jpg","text":"TemporaryFile(/tmp/multipartBody3199356142217714616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634214921,"filename":"image_23012025_13_07_02_961791_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f66cd1afa40b82064f09511095021c06.jpg","text":"TemporaryFile(/tmp/multipartBody4774849633030014315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634214921,"filename":"image_23012025_13_08_02_326924_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330823420","file1":"1330823416","file0":"1330823413","file3":"1330823426"},"map_files_photo_id_array":[{"photo_id":"1330823420","filename":"file2"},{"photo_id":"1330823416","filename":"file1"},{"photo_id":"1330823413","filename":"file0"},{"photo_id":"1330823426","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330823420":["hashtag1","hashtag2"]},{"1330823426":["hashtag1","hashtag2"]},{"1330823413":["hashtag1","hashtag2"]},{"1330823416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330823420, 1330823426, 1330823413, 1330823416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.255147218704224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:09:52.205177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_02_326924_0003.jpg', '/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_02_512888_0000.jpg', '/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_02_512888_0001.jpg', '/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_02_512888_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_02_326924_0003.jpg
/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_02_512888_0000.jpg
/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_02_512888_0001.jpg
/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_02_512888_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330824376","1330823452","1330823754","1330824086"],"photo_ids_order":["1330823452","1330823754","1330824086","1330824376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d09a282406c025454a35ffe6b7e386ce.jpg","text":"TemporaryFile(/tmp/multipartBody6610027054432821447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634264448,"filename":"image_23012025_13_09_02_512888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad385a38dd667d55b50eb2a40cee0ac0.jpg","text":"TemporaryFile(/tmp/multipartBody4313524197912710119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634264448,"filename":"image_23012025_13_08_02_326924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3dff056d7210a676895f2586c4257080.jpg","text":"TemporaryFile(/tmp/multipartBody3901922191823700731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634264448,"filename":"image_23012025_13_09_02_512888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2da59bbc52a6db785ba20d1670aac2d7.jpg","text":"TemporaryFile(/tmp/multipartBody621584038718785236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634264448,"filename":"image_23012025_13_09_02_512888_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330824086","file1":"1330823754","file0":"1330823452","file3":"1330824376"},"map_files_photo_id_array":[{"photo_id":"1330824086","filename":"file2"},{"photo_id":"1330823754","filename":"file1"},{"photo_id":"1330823452","filename":"file0"},{"photo_id":"1330824376","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330824376":["hashtag1","hashtag2"]},{"1330823452":["hashtag1","hashtag2"]},{"1330823754":["hashtag1","hashtag2"]},{"1330824086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330824376, 1330823452, 1330823754, 1330824086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.456931829452515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 13:10:42.396817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_02_512888_0003.jpg', '/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_02_632118_0000.jpg', '/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_02_632118_0001.jpg', '/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_02_632118_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_02_512888_0003.jpg
/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_02_632118_0000.jpg
/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_02_632118_0001.jpg
/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_02_632118_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330824448","1330824427","1330824453","1330824432"],"photo_ids_order":["1330824427","1330824432","1330824448","1330824453"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ac66eb23b9cbc10038d25462ba4a3f7.jpg","text":"TemporaryFile(/tmp/multipartBody8363110331302471993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634314043,"filename":"image_23012025_13_10_02_632118_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df4505513599d98035f88863a12ad446.jpg","text":"TemporaryFile(/tmp/multipartBody8720636853597942876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634314043,"filename":"image_23012025_13_09_02_512888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1f59d063fc536662b1d429bb6e9a805.jpg","text":"TemporaryFile(/tmp/multipartBody7061390037968127986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634314043,"filename":"image_23012025_13_10_02_632118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ec05c22b378c4559dd373d6f73b58fa.jpg","text":"TemporaryFile(/tmp/multipartBody3031464591457664348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634314043,"filename":"image_23012025_13_10_02_632118_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330824448","file1":"1330824432","file0":"1330824427","file3":"1330824453"},"map_files_photo_id_array":[{"photo_id":"1330824448","filename":"file2"},{"photo_id":"1330824432","filename":"file1"},{"photo_id":"1330824427","filename":"file0"},{"photo_id":"1330824453","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330824448":["hashtag1","hashtag2"]},{"1330824427":["hashtag1","hashtag2"]},{"1330824453":["hashtag1","hashtag2"]},{"1330824432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330824448, 1330824427, 1330824453, 1330824432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33299016952515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:11:22.544483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_02_632118_0003.jpg', '/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_02_879648_0000.jpg', '/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_02_879648_0001.jpg', '/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_02_879648_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_02_632118_0003.jpg
/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_02_879648_0000.jpg
/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_02_879648_0001.jpg
/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_02_879648_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330824495","1330824513","1330824510","1330824488"],"photo_ids_order":["1330824488","1330824495","1330824510","1330824513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1723513ef79764f982d4eb5e2a2f480.jpg","text":"TemporaryFile(/tmp/multipartBody5273914086981295378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634354212,"filename":"image_23012025_13_11_02_879648_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b16ebba3dbb77646e9d45e8c0b12a686.jpg","text":"TemporaryFile(/tmp/multipartBody7584660637255265142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634354212,"filename":"image_23012025_13_11_02_879648_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b359bdc1a7d10c5e24fb4f333e15e7a.jpg","text":"TemporaryFile(/tmp/multipartBody4781118034638215250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634354212,"filename":"image_23012025_13_11_02_879648_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ba4ab625d333f93e722cc637cfe8784.jpg","text":"TemporaryFile(/tmp/multipartBody1965694888046889796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634354212,"filename":"image_23012025_13_10_02_632118_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330824510","file1":"1330824495","file0":"1330824488","file3":"1330824513"},"map_files_photo_id_array":[{"photo_id":"1330824510","filename":"file2"},{"photo_id":"1330824495","filename":"file1"},{"photo_id":"1330824488","filename":"file0"},{"photo_id":"1330824513","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330824495":["hashtag1","hashtag2"]},{"1330824513":["hashtag1","hashtag2"]},{"1330824510":["hashtag1","hashtag2"]},{"1330824488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330824495, 1330824513, 1330824510, 1330824488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.89596700668335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:12:21.903649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_02_879648_0003.jpg', '/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_02_982447_0000.jpg', '/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_02_982447_0001.jpg', '/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_02_982447_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_02_879648_0003.jpg
/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_02_982447_0000.jpg
/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_02_982447_0001.jpg
/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_02_982447_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330825172","1330825073","1330825148","1330825195"],"photo_ids_order":["1330825073","1330825148","1330825172","1330825195"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7a56c3c76deda627afb911558fad9c8.jpg","text":"TemporaryFile(/tmp/multipartBody728072694400538939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634413468,"filename":"image_23012025_13_12_02_982447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1cf1aee6bdd6a16a1f77037cc4d3851d.jpg","text":"TemporaryFile(/tmp/multipartBody3694711413536188363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634413468,"filename":"image_23012025_13_11_02_879648_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce647c456baf6bdd808b85b75e69d0e0.jpg","text":"TemporaryFile(/tmp/multipartBody1001038665751421697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634413468,"filename":"image_23012025_13_12_02_982447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25a67830ee4eb70ec9f490f122e694f4.jpg","text":"TemporaryFile(/tmp/multipartBody6288675355462870474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634413468,"filename":"image_23012025_13_12_02_982447_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330825172","file1":"1330825148","file0":"1330825073","file3":"1330825195"},"map_files_photo_id_array":[{"photo_id":"1330825172","filename":"file2"},{"photo_id":"1330825148","filename":"file1"},{"photo_id":"1330825073","filename":"file0"},{"photo_id":"1330825195","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330825172":["hashtag1","hashtag2"]},{"1330825073":["hashtag1","hashtag2"]},{"1330825148":["hashtag1","hashtag2"]},{"1330825195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330825172, 1330825073, 1330825148, 1330825195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13574409484863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:13:22.047395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_02_982447_0003.jpg', '/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_02_156546_0000.jpg', '/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_02_156546_0001.jpg', '/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_02_156546_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_02_982447_0003.jpg
/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_02_156546_0000.jpg
/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_02_156546_0001.jpg
/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_02_156546_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330825261","1330825246","1330825231","1330825256"],"photo_ids_order":["1330825231","1330825246","1330825256","1330825261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58529529fda72c1215d5fce4d095aa10.jpg","text":"TemporaryFile(/tmp/multipartBody7832371948969990332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634473511,"filename":"image_23012025_13_13_02_156546_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b7c499ede159a35f4d7d09360c09bd1.jpg","text":"TemporaryFile(/tmp/multipartBody6034020179586701649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634473511,"filename":"image_23012025_13_13_02_156546_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc57df62111c370a5ffb110afcdce7f2.jpg","text":"TemporaryFile(/tmp/multipartBody823216193331701062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634473511,"filename":"image_23012025_13_12_02_982447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e973f1c8749d2c48cb440ca9976c63e.jpg","text":"TemporaryFile(/tmp/multipartBody1795713766913654969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634473511,"filename":"image_23012025_13_13_02_156546_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330825256","file1":"1330825246","file0":"1330825231","file3":"1330825261"},"map_files_photo_id_array":[{"photo_id":"1330825256","filename":"file2"},{"photo_id":"1330825246","filename":"file1"},{"photo_id":"1330825231","filename":"file0"},{"photo_id":"1330825261","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330825261":["hashtag1","hashtag2"]},{"1330825246":["hashtag1","hashtag2"]},{"1330825231":["hashtag1","hashtag2"]},{"1330825256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330825261, 1330825246, 1330825231, 1330825256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14740467071533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:14:22.217497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_02_156546_0003.jpg', '/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_02_340761_0000.jpg', '/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_02_340761_0001.jpg', '/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_02_340761_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_02_156546_0003.jpg
/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_02_340761_0000.jpg
/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_02_340761_0001.jpg
/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_02_340761_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330825354","1330825401","1330825298","1330825390"],"photo_ids_order":["1330825298","1330825354","1330825390","1330825401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6c9aa4338908d423837784db6ae45d0.jpg","text":"TemporaryFile(/tmp/multipartBody5413458118801442475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634533644,"filename":"image_23012025_13_14_02_340761_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6d4d537ae358e31dea28c74c2012719.jpg","text":"TemporaryFile(/tmp/multipartBody4753870543414482553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634533644,"filename":"image_23012025_13_14_02_340761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cae36348db658563cc1330015fc3881f.jpg","text":"TemporaryFile(/tmp/multipartBody3567646814130774417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634533644,"filename":"image_23012025_13_13_02_156546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77a37177e44772d946748429ed1ac03e.jpg","text":"TemporaryFile(/tmp/multipartBody1103346482848581366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634533644,"filename":"image_23012025_13_14_02_340761_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330825390","file1":"1330825354","file0":"1330825298","file3":"1330825401"},"map_files_photo_id_array":[{"photo_id":"1330825390","filename":"file2"},{"photo_id":"1330825354","filename":"file1"},{"photo_id":"1330825298","filename":"file0"},{"photo_id":"1330825401","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330825354":["hashtag1","hashtag2"]},{"1330825401":["hashtag1","hashtag2"]},{"1330825298":["hashtag1","hashtag2"]},{"1330825390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330825354, 1330825401, 1330825298, 1330825390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.272733211517334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 13:15:02.959018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/58/image_21012025_18_58_02_211781_0000.jpg', '/home/pi/Desktop/images/21012025/18/58/image_21012025_18_58_02_211781_0001.jpg', '/home/pi/Desktop/images/21012025/18/58/image_21012025_18_58_02_211781_0002.jpg', '/home/pi/Desktop/images/21012025/18/58/image_21012025_18_58_02_211781_0003.jpg', '/home/pi/Desktop/images/21012025/18/59/image_21012025_18_59_02_353886_0000.jpg', '/home/pi/Desktop/images/21012025/18/59/image_21012025_18_59_02_353886_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/58/image_21012025_18_58_02_211781_0000.jpg
/home/pi/Desktop/images/21012025/18/58/image_21012025_18_58_02_211781_0001.jpg
/home/pi/Desktop/images/21012025/18/58/image_21012025_18_58_02_211781_0002.jpg
/home/pi/Desktop/images/21012025/18/58/image_21012025_18_58_02_211781_0003.jpg
/home/pi/Desktop/images/21012025/18/59/image_21012025_18_59_02_353886_0000.jpg
/home/pi/Desktop/images/21012025/18/59/image_21012025_18_59_02_353886_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":["1330825452","1330825448","1330825442","1330825430","1330825424","1330825459"],"photo_ids_order":["1330825424","1330825430","1330825442","1330825448","1330825452","1330825459"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/acb1571caf2761250a86b82d07dcaa50.jpg","text":"TemporaryFile(/tmp/multipartBody7396278023549154836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634581192,"filename":"image_21012025_18_59_02_353886_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77c7bbdc95a1a042cad8738352f5f241.jpg","text":"TemporaryFile(/tmp/multipartBody6434070441823394332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634581192,"filename":"image_21012025_18_58_02_211781_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d60e0bdbfdcb84b0f938126ed444e18b.jpg","text":"TemporaryFile(/tmp/multipartBody4134050331774211681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634581192,"filename":"image_21012025_18_58_02_211781_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd1b40796f8f2919b2c9117528fc953a.jpg","text":"TemporaryFile(/tmp/multipartBody5319108408934480905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634581192,"filename":"image_21012025_18_58_02_211781_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/134f8c324b5fb20f893b801b574bb430.jpg","text":"TemporaryFile(/tmp/multipartBody9172790745737242594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634581192,"filename":"image_21012025_18_58_02_211781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b19b940c0230df49183bece112ceaba4.jpg","text":"TemporaryFile(/tmp/multipartBody6001029220539449859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634581192,"filename":"image_21012025_18_59_02_353886_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330825442","file1":"1330825430","file0":"1330825424","file4":"1330825452","file5":"1330825459","file3":"1330825448"},"map_files_photo_id_array":[{"photo_id":"1330825459","filename":"file5"},{"photo_id":"1330825442","filename":"file2"},{"photo_id":"1330825452","filename":"file4"},{"photo_id":"1330825430","filename":"file1"},{"photo_id":"1330825424","filename":"file0"},{"photo_id":"1330825448","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330825452":["hashtag1","hashtag2"]},{"1330825448":["hashtag1","hashtag2"]},{"1330825442":["hashtag1","hashtag2"]},{"1330825430":["hashtag1","hashtag2"]},{"1330825424":["hashtag1","hashtag2"]},{"1330825459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330825452, 1330825448, 1330825442, 1330825430, 1330825424, 1330825459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.07450532913208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 13:16:02.986131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_02_340761_0003.jpg', '/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_02_522230_0000.jpg', '/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_02_522230_0001.jpg', '/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_02_522230_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_02_340761_0003.jpg
/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_02_522230_0000.jpg
/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_02_522230_0001.jpg
/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_02_522230_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330825479","1330825487","1330825483","1330825477"],"photo_ids_order":["1330825477","1330825479","1330825483","1330825487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5502a36b00cf8b1b7ecdc177165aec34.jpg","text":"TemporaryFile(/tmp/multipartBody8912889584333171657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634634831,"filename":"image_23012025_13_15_02_522230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9c9d1e5d6bc0db47474c382bbeb9ac2.jpg","text":"TemporaryFile(/tmp/multipartBody2671430760778032866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634634831,"filename":"image_23012025_13_15_02_522230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9068751333ac13b7ae73741546fe583.jpg","text":"TemporaryFile(/tmp/multipartBody8596653088862228497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634634831,"filename":"image_23012025_13_15_02_522230_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3766d0cab4b825973cab4878906f2c43.jpg","text":"TemporaryFile(/tmp/multipartBody4712076053638895247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634634831,"filename":"image_23012025_13_14_02_340761_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330825483","file1":"1330825479","file0":"1330825477","file3":"1330825487"},"map_files_photo_id_array":[{"photo_id":"1330825483","filename":"file2"},{"photo_id":"1330825479","filename":"file1"},{"photo_id":"1330825477","filename":"file0"},{"photo_id":"1330825487","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330825479":["hashtag1","hashtag2"]},{"1330825487":["hashtag1","hashtag2"]},{"1330825483":["hashtag1","hashtag2"]},{"1330825477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330825479, 1330825487, 1330825483, 1330825477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.28256678581238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:16:52.498489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_02_522230_0003.jpg', '/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_02_752715_0000.jpg', '/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_02_752715_0001.jpg', '/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_02_752715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_02_522230_0003.jpg
/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_02_752715_0000.jpg
/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_02_752715_0001.jpg
/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_02_752715_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330825595","1330825583","1330825586","1330825571"],"photo_ids_order":["1330825571","1330825583","1330825586","1330825595"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0dfcc385a4145273dc88e9fc7ee62750.jpg","text":"TemporaryFile(/tmp/multipartBody2919586482538510061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634684302,"filename":"image_23012025_13_16_02_752715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9886849b4d75fa4fb42a7bf9807213ea.jpg","text":"TemporaryFile(/tmp/multipartBody3854662897302414784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634684302,"filename":"image_23012025_13_16_02_752715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f28e0b7da23347865f79866fab35065.jpg","text":"TemporaryFile(/tmp/multipartBody8493305067641135482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634684302,"filename":"image_23012025_13_16_02_752715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4431a3539ba49b38f7083ed662e6661.jpg","text":"TemporaryFile(/tmp/multipartBody930387404752303717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634684302,"filename":"image_23012025_13_15_02_522230_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330825586","file1":"1330825583","file0":"1330825571","file3":"1330825595"},"map_files_photo_id_array":[{"photo_id":"1330825586","filename":"file2"},{"photo_id":"1330825583","filename":"file1"},{"photo_id":"1330825571","filename":"file0"},{"photo_id":"1330825595","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330825595":["hashtag1","hashtag2"]},{"1330825583":["hashtag1","hashtag2"]},{"1330825586":["hashtag1","hashtag2"]},{"1330825571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330825595, 1330825583, 1330825586, 1330825571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.709009647369385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 13:17:42.706334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_02_752715_0003.jpg', '/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_02_915523_0000.jpg', '/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_02_915523_0001.jpg', '/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_02_915523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_02_752715_0003.jpg
/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_02_915523_0000.jpg
/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_02_915523_0001.jpg
/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_02_915523_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330825679","1330825670","1330825673","1330825667"],"photo_ids_order":["1330825667","1330825670","1330825673","1330825679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/106006cf1539eb4f0ffb368f14cee9aa.jpg","text":"TemporaryFile(/tmp/multipartBody8224247252714083544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634734550,"filename":"image_23012025_13_17_02_915523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4362c64c70dc055a0984ae229b3aaccf.jpg","text":"TemporaryFile(/tmp/multipartBody5774275099425546320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634734550,"filename":"image_23012025_13_17_02_915523_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8767905331d610678a26389b99566789.jpg","text":"TemporaryFile(/tmp/multipartBody2669779305289285332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634734550,"filename":"image_23012025_13_17_02_915523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfa18e14bc1e01a46b6630d6c67f3359.jpg","text":"TemporaryFile(/tmp/multipartBody4923311175168019985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634734550,"filename":"image_23012025_13_16_02_752715_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330825673","file1":"1330825670","file0":"1330825667","file3":"1330825679"},"map_files_photo_id_array":[{"photo_id":"1330825673","filename":"file2"},{"photo_id":"1330825670","filename":"file1"},{"photo_id":"1330825667","filename":"file0"},{"photo_id":"1330825679","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330825679":["hashtag1","hashtag2"]},{"1330825670":["hashtag1","hashtag2"]},{"1330825673":["hashtag1","hashtag2"]},{"1330825667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330825679, 1330825670, 1330825673, 1330825667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.77782845497131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:18:31.913358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_02_915523_0003.jpg', '/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_03_022762_0000.jpg', '/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_03_022762_0001.jpg', '/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_03_022762_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_02_915523_0003.jpg
/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_03_022762_0000.jpg
/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_03_022762_0001.jpg
/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_03_022762_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330825812","1330825787","1330825736","1330825741"],"photo_ids_order":["1330825736","1330825741","1330825787","1330825812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84bf12d8ffc4df1de5d51517e4461653.jpg","text":"TemporaryFile(/tmp/multipartBody8525658097018178300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634783624,"filename":"image_23012025_13_18_03_022762_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bef9d927db54e5d7f415ce9b93e54095.jpg","text":"TemporaryFile(/tmp/multipartBody1731814317246818222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634783624,"filename":"image_23012025_13_18_03_022762_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b38d1c56635ae11dd0c2424e3343331.jpg","text":"TemporaryFile(/tmp/multipartBody7868604557542421084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634783624,"filename":"image_23012025_13_17_02_915523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d88f0e543f9afce2c94d1756c98e64e.jpg","text":"TemporaryFile(/tmp/multipartBody3552311413479256130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634783624,"filename":"image_23012025_13_18_03_022762_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330825787","file1":"1330825741","file0":"1330825736","file3":"1330825812"},"map_files_photo_id_array":[{"photo_id":"1330825787","filename":"file2"},{"photo_id":"1330825741","filename":"file1"},{"photo_id":"1330825736","filename":"file0"},{"photo_id":"1330825812","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330825812":["hashtag1","hashtag2"]},{"1330825787":["hashtag1","hashtag2"]},{"1330825736":["hashtag1","hashtag2"]},{"1330825741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330825812, 1330825787, 1330825736, 1330825741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 54.75118136405945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:19:32.093086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_03_022762_0003.jpg', '/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_02_248723_0000.jpg', '/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_02_248723_0001.jpg', '/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_02_248723_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_03_022762_0003.jpg
/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_02_248723_0000.jpg
/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_02_248723_0001.jpg
/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_02_248723_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330825863","1330825872","1330825857","1330825868"],"photo_ids_order":["1330825857","1330825863","1330825868","1330825872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f04d29e539433204fc362e05ced2dfc.jpg","text":"TemporaryFile(/tmp/multipartBody7028167017329857413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634843359,"filename":"image_23012025_13_19_02_248723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/752e4ac231f1a323d603af48308495ad.jpg","text":"TemporaryFile(/tmp/multipartBody6051957214503346563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634843359,"filename":"image_23012025_13_19_02_248723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2e3fabdd9c6b5149c559d1884d34b57.jpg","text":"TemporaryFile(/tmp/multipartBody2641337412909535548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634843359,"filename":"image_23012025_13_18_03_022762_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df737facb7b36af6f694e0878e63e054.jpg","text":"TemporaryFile(/tmp/multipartBody3872916348413234029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634843359,"filename":"image_23012025_13_19_02_248723_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330825868","file1":"1330825863","file0":"1330825857","file3":"1330825872"},"map_files_photo_id_array":[{"photo_id":"1330825868","filename":"file2"},{"photo_id":"1330825863","filename":"file1"},{"photo_id":"1330825857","filename":"file0"},{"photo_id":"1330825872","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330825863":["hashtag1","hashtag2"]},{"1330825872":["hashtag1","hashtag2"]},{"1330825857":["hashtag1","hashtag2"]},{"1330825868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330825863, 1330825872, 1330825857, 1330825868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30982446670532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:20:22.327584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_02_248723_0003.jpg', '/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_02_441117_0000.jpg', '/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_02_441117_0001.jpg', '/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_02_441117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_02_248723_0003.jpg
/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_02_441117_0000.jpg
/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_02_441117_0001.jpg
/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_02_441117_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.045186042785645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 13:20:42.338869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_02_248723_0003.jpg', '/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_02_441117_0000.jpg', '/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_02_441117_0001.jpg', '/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_02_441117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_02_248723_0003.jpg
/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_02_441117_0000.jpg
/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_02_441117_0001.jpg
/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_02_441117_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330826078","1330826066","1330826102","1330826038"],"photo_ids_order":["1330826038","1330826066","1330826078","1330826102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77bdee6aa505559ab44c234a6d00918f.jpg","text":"TemporaryFile(/tmp/multipartBody2868883990364935265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634913755,"filename":"image_23012025_13_20_02_441117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4013ca4bfb6fac0099e29998f55a7dcf.jpg","text":"TemporaryFile(/tmp/multipartBody2479778503510798356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634913755,"filename":"image_23012025_13_20_02_441117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bed038c627ef26a8f3439b5abd492bce.jpg","text":"TemporaryFile(/tmp/multipartBody4804281247918271133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634913755,"filename":"image_23012025_13_20_02_441117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7c331e969a484ff550f481d5290b92f.jpg","text":"TemporaryFile(/tmp/multipartBody8514442768353210301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634913755,"filename":"image_23012025_13_19_02_248723_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330826078","file1":"1330826066","file0":"1330826038","file3":"1330826102"},"map_files_photo_id_array":[{"photo_id":"1330826078","filename":"file2"},{"photo_id":"1330826066","filename":"file1"},{"photo_id":"1330826038","filename":"file0"},{"photo_id":"1330826102","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330826078":["hashtag1","hashtag2"]},{"1330826066":["hashtag1","hashtag2"]},{"1330826102":["hashtag1","hashtag2"]},{"1330826038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330826078, 1330826066, 1330826102, 1330826038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.568991899490356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:21:32.467452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_02_441117_0003.jpg', '/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_02_662506_0000.jpg', '/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_02_662506_0001.jpg', '/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_02_662506_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_02_441117_0003.jpg
/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_02_662506_0000.jpg
/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_02_662506_0001.jpg
/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_02_662506_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330826250","1330826246","1330826243","1330826201"],"photo_ids_order":["1330826201","1330826243","1330826246","1330826250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4194da83ece20ca20fa72129d401c18.jpg","text":"TemporaryFile(/tmp/multipartBody1402506063849027131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634964197,"filename":"image_23012025_13_21_02_662506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9138fd20e971b2889733b6c49500662.jpg","text":"TemporaryFile(/tmp/multipartBody1791240605897620483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634964197,"filename":"image_23012025_13_21_02_662506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a0dbbca2e5985f4dc3bac99789c98a9.jpg","text":"TemporaryFile(/tmp/multipartBody4579172147309218470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634964197,"filename":"image_23012025_13_21_02_662506_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbc1dd3e6b94756ab07473bcad54db28.jpg","text":"TemporaryFile(/tmp/multipartBody2014342030899077133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634964197,"filename":"image_23012025_13_20_02_441117_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330826246","file1":"1330826243","file0":"1330826201","file3":"1330826250"},"map_files_photo_id_array":[{"photo_id":"1330826246","filename":"file2"},{"photo_id":"1330826243","filename":"file1"},{"photo_id":"1330826201","filename":"file0"},{"photo_id":"1330826250","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330826250":["hashtag1","hashtag2"]},{"1330826246":["hashtag1","hashtag2"]},{"1330826243":["hashtag1","hashtag2"]},{"1330826201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330826250, 1330826246, 1330826243, 1330826201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.24616456031799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:22:22.678145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_02_662506_0003.jpg', '/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_02_849102_0000.jpg', '/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_02_849102_0001.jpg', '/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_02_849102_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_02_662506_0003.jpg
/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_02_849102_0000.jpg
/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_02_849102_0001.jpg
/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_02_849102_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330827201","1330827257","1330827056","1330826882"],"photo_ids_order":["1330826882","1330827056","1330827201","1330827257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b67d114fe9021d471560c3e147ed37f.jpg","text":"TemporaryFile(/tmp/multipartBody6417039979089002501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635014189,"filename":"image_23012025_13_22_02_849102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6635dcb6bea4a7d454beadff5a57d43.jpg","text":"TemporaryFile(/tmp/multipartBody2779394186246579984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635014189,"filename":"image_23012025_13_22_02_849102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf1485b3173d160d1e995810a8a29f0e.jpg","text":"TemporaryFile(/tmp/multipartBody3115004064234120781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635014189,"filename":"image_23012025_13_22_02_849102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3f4d0502babafddb9fde219b3e53bce.jpg","text":"TemporaryFile(/tmp/multipartBody7320019402650507022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635014189,"filename":"image_23012025_13_21_02_662506_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330827201","file1":"1330827056","file0":"1330826882","file3":"1330827257"},"map_files_photo_id_array":[{"photo_id":"1330827201","filename":"file2"},{"photo_id":"1330827056","filename":"file1"},{"photo_id":"1330826882","filename":"file0"},{"photo_id":"1330827257","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330827201":["hashtag1","hashtag2"]},{"1330827257":["hashtag1","hashtag2"]},{"1330827056":["hashtag1","hashtag2"]},{"1330826882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330827201, 1330827257, 1330827056, 1330826882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.61436605453491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:23:21.902308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_02_849102_0003.jpg', '/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_03_037298_0000.jpg', '/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_03_037298_0001.jpg', '/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_03_037298_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_02_849102_0003.jpg
/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_03_037298_0000.jpg
/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_03_037298_0001.jpg
/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_03_037298_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330827395","1330827340","1330827346","1330827351"],"photo_ids_order":["1330827340","1330827346","1330827351","1330827395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b023e6e38e9864626fbce426313a1770.jpg","text":"TemporaryFile(/tmp/multipartBody3649373906080163747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635073100,"filename":"image_23012025_13_23_03_037298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d2e1f226d6447cf0c0546bf78668e6a.jpg","text":"TemporaryFile(/tmp/multipartBody321510459021859570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635073100,"filename":"image_23012025_13_22_02_849102_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a120b1e9c973e7a1c0036b93ac36748.jpg","text":"TemporaryFile(/tmp/multipartBody7508020309344134082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635073100,"filename":"image_23012025_13_23_03_037298_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab7679383ae77aecbac5c73175bcf6a5.jpg","text":"TemporaryFile(/tmp/multipartBody6249115621517088515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635073100,"filename":"image_23012025_13_23_03_037298_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330827351","file1":"1330827346","file0":"1330827340","file3":"1330827395"},"map_files_photo_id_array":[{"photo_id":"1330827351","filename":"file2"},{"photo_id":"1330827346","filename":"file1"},{"photo_id":"1330827340","filename":"file0"},{"photo_id":"1330827395","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330827395":["hashtag1","hashtag2"]},{"1330827340":["hashtag1","hashtag2"]},{"1330827346":["hashtag1","hashtag2"]},{"1330827351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330827395, 1330827340, 1330827346, 1330827351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.7937285900116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:24:22.095662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_03_037298_0003.jpg', '/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_02_295021_0000.jpg', '/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_02_295021_0001.jpg', '/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_02_295021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_03_037298_0003.jpg
/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_02_295021_0000.jpg
/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_02_295021_0001.jpg
/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_02_295021_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330827844","1330827786","1330827852","1330827849"],"photo_ids_order":["1330827786","1330827844","1330827849","1330827852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6eac637add7617d2b805ca7f30e971b0.jpg","text":"TemporaryFile(/tmp/multipartBody5328507872964216125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635133624,"filename":"image_23012025_13_24_02_295021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d22f193d3b2fc55278175a217df533f.jpg","text":"TemporaryFile(/tmp/multipartBody2461891204410530734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635133624,"filename":"image_23012025_13_23_03_037298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbc58171ae3a5cf7c45a68d9a2552a3a.jpg","text":"TemporaryFile(/tmp/multipartBody835725062460926410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635133624,"filename":"image_23012025_13_24_02_295021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62e92721da36d846f9b430ef9da823ef.jpg","text":"TemporaryFile(/tmp/multipartBody2696687031088063830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635133624,"filename":"image_23012025_13_24_02_295021_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330827849","file1":"1330827844","file0":"1330827786","file3":"1330827852"},"map_files_photo_id_array":[{"photo_id":"1330827849","filename":"file2"},{"photo_id":"1330827844","filename":"file1"},{"photo_id":"1330827786","filename":"file0"},{"photo_id":"1330827852","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330827844":["hashtag1","hashtag2"]},{"1330827786":["hashtag1","hashtag2"]},{"1330827852":["hashtag1","hashtag2"]},{"1330827849":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330827844, 1330827786, 1330827852, 1330827849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.76435923576355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:25:22.268957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_02_295021_0003.jpg', '/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_02_427395_0000.jpg', '/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_02_427395_0001.jpg', '/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_02_427395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_02_295021_0003.jpg
/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_02_427395_0000.jpg
/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_02_427395_0001.jpg
/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_02_427395_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330828034","1330828016","1330828021","1330828030"],"photo_ids_order":["1330828016","1330828021","1330828030","1330828034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3329b796d517c892e14968a9f2cd44fc.jpg","text":"TemporaryFile(/tmp/multipartBody8760768629853046677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635193696,"filename":"image_23012025_13_25_02_427395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47e32b2e3dea9635f09c8399d216ee31.jpg","text":"TemporaryFile(/tmp/multipartBody4595012817570513684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635193696,"filename":"image_23012025_13_24_02_295021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c0c27a9ac1e03f42d21839e946663d5.jpg","text":"TemporaryFile(/tmp/multipartBody8839399226130056033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635193696,"filename":"image_23012025_13_25_02_427395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b154cc484d6c54d02890eed0bb71a952.jpg","text":"TemporaryFile(/tmp/multipartBody5305241624174288238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635193696,"filename":"image_23012025_13_25_02_427395_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330828030","file1":"1330828021","file0":"1330828016","file3":"1330828034"},"map_files_photo_id_array":[{"photo_id":"1330828030","filename":"file2"},{"photo_id":"1330828021","filename":"file1"},{"photo_id":"1330828016","filename":"file0"},{"photo_id":"1330828034","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330828034":["hashtag1","hashtag2"]},{"1330828016":["hashtag1","hashtag2"]},{"1330828021":["hashtag1","hashtag2"]},{"1330828030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330828034, 1330828016, 1330828021, 1330828030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.58765363693237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:26:22.579035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_02_427395_0003.jpg', '/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_02_611570_0000.jpg', '/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_02_611570_0001.jpg', '/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_02_611570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_02_427395_0003.jpg
/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_02_611570_0000.jpg
/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_02_611570_0001.jpg
/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_02_611570_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.965533971786499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 13:26:42.489101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_02_427395_0003.jpg', '/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_02_611570_0000.jpg', '/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_02_611570_0001.jpg', '/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_02_611570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_02_427395_0003.jpg
/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_02_611570_0000.jpg
/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_02_611570_0001.jpg
/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_02_611570_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330828142","1330828139","1330828147","1330828152"],"photo_ids_order":["1330828139","1330828142","1330828147","1330828152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07618f98ba3fd4d73e738e683861e565.jpg","text":"TemporaryFile(/tmp/multipartBody4481319999269867580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635273830,"filename":"image_23012025_13_26_02_611570_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fd545a3e12c207901776134b3fc528d.jpg","text":"TemporaryFile(/tmp/multipartBody4649476944074318562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635273830,"filename":"image_23012025_13_25_02_427395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/025b8dd0dd1b5db2f716f55a62d3c9ca.jpg","text":"TemporaryFile(/tmp/multipartBody6050836544434435530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635273830,"filename":"image_23012025_13_26_02_611570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f748386f1ba7885c44818ae4a90d7f05.jpg","text":"TemporaryFile(/tmp/multipartBody206483954793240215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635273830,"filename":"image_23012025_13_26_02_611570_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330828147","file1":"1330828142","file0":"1330828139","file3":"1330828152"},"map_files_photo_id_array":[{"photo_id":"1330828147","filename":"file2"},{"photo_id":"1330828142","filename":"file1"},{"photo_id":"1330828139","filename":"file0"},{"photo_id":"1330828152","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330828142":["hashtag1","hashtag2"]},{"1330828139":["hashtag1","hashtag2"]},{"1330828147":["hashtag1","hashtag2"]},{"1330828152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330828142, 1330828139, 1330828147, 1330828152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.445008516311646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:27:32.687935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_02_611570_0003.jpg', '/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_02_898747_0000.jpg', '/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_02_898747_0001.jpg', '/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_02_898747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_02_611570_0003.jpg
/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_02_898747_0000.jpg
/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_02_898747_0001.jpg
/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_02_898747_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330828498","1330828279","1330828267","1330828414"],"photo_ids_order":["1330828267","1330828279","1330828414","1330828498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/877adfb65bcc0a9e8764b0514fccda39.jpg","text":"TemporaryFile(/tmp/multipartBody8390571619997432990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635323959,"filename":"image_23012025_13_27_02_898747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bdd5b222614f389f4dfbbae169be198.jpg","text":"TemporaryFile(/tmp/multipartBody921813902365702336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635323959,"filename":"image_23012025_13_27_02_898747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b1e0b1c2bfaef9d32f8ef55ecc9d0cb.jpg","text":"TemporaryFile(/tmp/multipartBody7287899502851549260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635323959,"filename":"image_23012025_13_26_02_611570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96e9651aac589c5595632271c214693a.jpg","text":"TemporaryFile(/tmp/multipartBody8412689201672246377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635323959,"filename":"image_23012025_13_27_02_898747_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330828414","file1":"1330828279","file0":"1330828267","file3":"1330828498"},"map_files_photo_id_array":[{"photo_id":"1330828414","filename":"file2"},{"photo_id":"1330828279","filename":"file1"},{"photo_id":"1330828267","filename":"file0"},{"photo_id":"1330828498","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330828498":["hashtag1","hashtag2"]},{"1330828279":["hashtag1","hashtag2"]},{"1330828267":["hashtag1","hashtag2"]},{"1330828414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330828498, 1330828279, 1330828267, 1330828414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.62405061721802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:28:21.864972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_02_898747_0003.jpg', '/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_03_066213_0000.jpg', '/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_03_066213_0001.jpg', '/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_03_066213_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_02_898747_0003.jpg
/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_03_066213_0000.jpg
/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_03_066213_0001.jpg
/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_03_066213_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330828550","1330828555","1330828545","1330828539"],"photo_ids_order":["1330828539","1330828545","1330828550","1330828555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ef89d853d513c567e843a4a71c8a59e.jpg","text":"TemporaryFile(/tmp/multipartBody2638824317614272824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635373343,"filename":"image_23012025_13_28_03_066213_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06ece1adc58b9220874e2cf7092ffcdf.jpg","text":"TemporaryFile(/tmp/multipartBody8682107129750995168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635373343,"filename":"image_23012025_13_28_03_066213_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/986ff708185c63243ca8ca4ebc7ea202.jpg","text":"TemporaryFile(/tmp/multipartBody2838301396552476631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635373343,"filename":"image_23012025_13_28_03_066213_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8eb0056c0fa653da3cfea551d8476c90.jpg","text":"TemporaryFile(/tmp/multipartBody260936320226605867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635373343,"filename":"image_23012025_13_27_02_898747_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330828550","file1":"1330828545","file0":"1330828539","file3":"1330828555"},"map_files_photo_id_array":[{"photo_id":"1330828550","filename":"file2"},{"photo_id":"1330828545","filename":"file1"},{"photo_id":"1330828539","filename":"file0"},{"photo_id":"1330828555","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330828550":["hashtag1","hashtag2"]},{"1330828555":["hashtag1","hashtag2"]},{"1330828545":["hashtag1","hashtag2"]},{"1330828539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330828550, 1330828555, 1330828545, 1330828539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.239370346069336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 13:29:02.644589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/18/59/image_21012025_18_59_02_353886_0002.jpg', '/home/pi/Desktop/images/21012025/18/59/image_21012025_18_59_02_353886_0003.jpg', '/home/pi/Desktop/images/21012025/19/00/image_21012025_19_00_02_570109_0000.jpg', '/home/pi/Desktop/images/21012025/19/00/image_21012025_19_00_02_570109_0001.jpg', '/home/pi/Desktop/images/21012025/19/00/image_21012025_19_00_02_570109_0002.jpg', '/home/pi/Desktop/images/21012025/19/00/image_21012025_19_00_02_570109_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/18/59/image_21012025_18_59_02_353886_0002.jpg
/home/pi/Desktop/images/21012025/18/59/image_21012025_18_59_02_353886_0003.jpg
/home/pi/Desktop/images/21012025/19/00/image_21012025_19_00_02_570109_0000.jpg
/home/pi/Desktop/images/21012025/19/00/image_21012025_19_00_02_570109_0001.jpg
/home/pi/Desktop/images/21012025/19/00/image_21012025_19_00_02_570109_0002.jpg
/home/pi/Desktop/images/21012025/19/00/image_21012025_19_00_02_570109_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":["1330828614","1330828604","1330828624","1330828609","1330828629","1330828620"],"photo_ids_order":["1330828604","1330828609","1330828614","1330828620","1330828624","1330828629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75e1540889c9b66d2061d6141d7b54ab.jpg","text":"TemporaryFile(/tmp/multipartBody1213316865993588687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635420936,"filename":"image_21012025_19_00_02_570109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de47efa9a33e57e096123579d3c9fc74.jpg","text":"TemporaryFile(/tmp/multipartBody2584829589067083711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635420936,"filename":"image_21012025_18_59_02_353886_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b9d21894cc6f6150fcc647853e35ccf.jpg","text":"TemporaryFile(/tmp/multipartBody2098602518133611928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635420936,"filename":"image_21012025_19_00_02_570109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbf5cb4b37400ef68f1320d0bc359cc6.jpg","text":"TemporaryFile(/tmp/multipartBody8439975003437692221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635420936,"filename":"image_21012025_18_59_02_353886_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f4487c3081cf8f1a84ebad51ab3adaf.jpg","text":"TemporaryFile(/tmp/multipartBody1451594872924102905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635420936,"filename":"image_21012025_19_00_02_570109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfcd16b87013904cac1fc3622cb373e7.jpg","text":"TemporaryFile(/tmp/multipartBody6773655342828353038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635420936,"filename":"image_21012025_19_00_02_570109_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330828614","file1":"1330828609","file0":"1330828604","file4":"1330828624","file5":"1330828629","file3":"1330828620"},"map_files_photo_id_array":[{"photo_id":"1330828629","filename":"file5"},{"photo_id":"1330828614","filename":"file2"},{"photo_id":"1330828624","filename":"file4"},{"photo_id":"1330828609","filename":"file1"},{"photo_id":"1330828604","filename":"file0"},{"photo_id":"1330828620","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330828614":["hashtag1","hashtag2"]},{"1330828604":["hashtag1","hashtag2"]},{"1330828624":["hashtag1","hashtag2"]},{"1330828609":["hashtag1","hashtag2"]},{"1330828629":["hashtag1","hashtag2"]},{"1330828620":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330828614, 1330828604, 1330828624, 1330828609, 1330828629, 1330828620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.87552237510681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 13:30:02.802104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_03_066213_0003.jpg', '/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_02_291261_0000.jpg', '/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_02_291261_0001.jpg', '/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_02_291261_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_03_066213_0003.jpg
/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_02_291261_0000.jpg
/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_02_291261_0001.jpg
/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_02_291261_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.685992956161499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:30:22.325002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_03_066213_0003.jpg', '/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_02_291261_0000.jpg', '/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_02_291261_0001.jpg', '/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_02_291261_0002.jpg', '/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_02_291261_0003.jpg', '/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_02_371982_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_03_066213_0003.jpg
/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_02_291261_0000.jpg
/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_02_291261_0001.jpg
/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_02_291261_0002.jpg
/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_02_291261_0003.jpg
/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_02_371982_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":["1330828664","1330828675","1330828669","1330828678","1330828671","1330828659"],"photo_ids_order":["1330828659","1330828664","1330828669","1330828671","1330828675","1330828678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5354a5c32101f74f14ab679e2031cc6a.jpg","text":"TemporaryFile(/tmp/multipartBody8994946363181251295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635498873,"filename":"image_23012025_13_29_02_291261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a122edb3d65a5c04b1f8c8e22f1c097f.jpg","text":"TemporaryFile(/tmp/multipartBody2645746339280722789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635498873,"filename":"image_23012025_13_29_02_291261_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/451bfa0f7cff616a079d7eef049e210a.jpg","text":"TemporaryFile(/tmp/multipartBody4606222354920767900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635498873,"filename":"image_23012025_13_29_02_291261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12c4d68f9e2199cd438bdb2b16da2243.jpg","text":"TemporaryFile(/tmp/multipartBody594096950731576635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635498873,"filename":"image_23012025_13_30_02_371982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65a44e4eea51822525580156e6d20e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4723826014495012088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635498873,"filename":"image_23012025_13_29_02_291261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6ae59d6a082445e6cb589e7d763cc08.jpg","text":"TemporaryFile(/tmp/multipartBody3286420369440945242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635498873,"filename":"image_23012025_13_28_03_066213_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330828669","file1":"1330828664","file0":"1330828659","file4":"1330828675","file5":"1330828678","file3":"1330828671"},"map_files_photo_id_array":[{"photo_id":"1330828678","filename":"file5"},{"photo_id":"1330828669","filename":"file2"},{"photo_id":"1330828675","filename":"file4"},{"photo_id":"1330828664","filename":"file1"},{"photo_id":"1330828659","filename":"file0"},{"photo_id":"1330828671","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330828664":["hashtag1","hashtag2"]},{"1330828675":["hashtag1","hashtag2"]},{"1330828669":["hashtag1","hashtag2"]},{"1330828678":["hashtag1","hashtag2"]},{"1330828671":["hashtag1","hashtag2"]},{"1330828659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330828664, 1330828675, 1330828669, 1330828678, 1330828671, 1330828659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.84067177772522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:31:22.611694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_02_371982_0001.jpg', '/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_02_371982_0002.jpg', '/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_02_371982_0003.jpg', '/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_02_663494_0000.jpg', '/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_02_663494_0001.jpg', '/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_02_663494_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_02_371982_0001.jpg
/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_02_371982_0002.jpg
/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_02_371982_0003.jpg
/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_02_663494_0000.jpg
/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_02_663494_0001.jpg
/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_02_663494_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330828700","1330828720","1330828746","1330828695","1330828725","1330828710"],"photo_ids_order":["1330828695","1330828700","1330828710","1330828720","1330828725","1330828746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05756b9ce9ce190739d9c62c7438bc34.jpg","text":"TemporaryFile(/tmp/multipartBody3381020533648503831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635560015,"filename":"image_23012025_13_30_02_371982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41bbe3acb42b2e53a7bf0c09392db9b0.jpg","text":"TemporaryFile(/tmp/multipartBody6548916829656213697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635560015,"filename":"image_23012025_13_31_02_663494_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbd3e4edd3d44cbe12bff6e65a25e6c0.jpg","text":"TemporaryFile(/tmp/multipartBody9087146510800318928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635560015,"filename":"image_23012025_13_31_02_663494_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a23581230e5b50391205d67c90c99aa.jpg","text":"TemporaryFile(/tmp/multipartBody1871824346758094069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635560015,"filename":"image_23012025_13_30_02_371982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60067008ede8c94bbd799ae9b9a7c4a6.jpg","text":"TemporaryFile(/tmp/multipartBody7003710181872789040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635560015,"filename":"image_23012025_13_31_02_663494_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7878f37bd598d73ddbb1535f44995aa0.jpg","text":"TemporaryFile(/tmp/multipartBody7641487746278022647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635560015,"filename":"image_23012025_13_30_02_371982_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330828710","file1":"1330828700","file0":"1330828695","file4":"1330828725","file5":"1330828746","file3":"1330828720"},"map_files_photo_id_array":[{"photo_id":"1330828746","filename":"file5"},{"photo_id":"1330828710","filename":"file2"},{"photo_id":"1330828725","filename":"file4"},{"photo_id":"1330828700","filename":"file1"},{"photo_id":"1330828695","filename":"file0"},{"photo_id":"1330828720","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330828700":["hashtag1","hashtag2"]},{"1330828720":["hashtag1","hashtag2"]},{"1330828746":["hashtag1","hashtag2"]},{"1330828695":["hashtag1","hashtag2"]},{"1330828725":["hashtag1","hashtag2"]},{"1330828710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330828700, 1330828720, 1330828746, 1330828695, 1330828725, 1330828710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.91276979446411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:32:22.753024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_02_663494_0003.jpg', '/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_02_857404_0000.jpg', '/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_02_857404_0001.jpg', '/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_02_857404_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_02_663494_0003.jpg
/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_02_857404_0000.jpg
/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_02_857404_0001.jpg
/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_02_857404_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330828819","1330828938","1330828854","1330828827"],"photo_ids_order":["1330828819","1330828827","1330828854","1330828938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f4cebe9a7b1f0678dc0c8754116d3ec.jpg","text":"TemporaryFile(/tmp/multipartBody8676010465084658084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635613892,"filename":"image_23012025_13_31_02_663494_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e94e1b2a8a3b8fff43403da87cc3514.jpg","text":"TemporaryFile(/tmp/multipartBody2124142821468107874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635613892,"filename":"image_23012025_13_32_02_857404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b918f9914be9756781d6c01bc5637df5.jpg","text":"TemporaryFile(/tmp/multipartBody936898896207412229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635613892,"filename":"image_23012025_13_32_02_857404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c5d6f8994219f1261c55d7b3d56bb61.jpg","text":"TemporaryFile(/tmp/multipartBody8493824498634626723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635613892,"filename":"image_23012025_13_32_02_857404_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330828854","file1":"1330828827","file0":"1330828819","file3":"1330828938"},"map_files_photo_id_array":[{"photo_id":"1330828854","filename":"file2"},{"photo_id":"1330828827","filename":"file1"},{"photo_id":"1330828819","filename":"file0"},{"photo_id":"1330828938","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330828819":["hashtag1","hashtag2"]},{"1330828938":["hashtag1","hashtag2"]},{"1330828854":["hashtag1","hashtag2"]},{"1330828827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330828819, 1330828938, 1330828854, 1330828827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.17285656929016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:33:21.910928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_02_857404_0003.jpg', '/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_03_040992_0000.jpg', '/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_03_040992_0001.jpg', '/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_03_040992_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_02_857404_0003.jpg
/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_03_040992_0000.jpg
/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_03_040992_0001.jpg
/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_03_040992_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330829045","1330829032","1330829035","1330829040"],"photo_ids_order":["1330829032","1330829035","1330829040","1330829045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e000f2a9cdf9d2279b80c4d9c0803a6.jpg","text":"TemporaryFile(/tmp/multipartBody143951520463217198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635673257,"filename":"image_23012025_13_33_03_040992_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e41ea74c13810c3e0026732fe059fcf0.jpg","text":"TemporaryFile(/tmp/multipartBody2347339236359728630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635673257,"filename":"image_23012025_13_32_02_857404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b75deda13c805f546fbd71e52b852fa1.jpg","text":"TemporaryFile(/tmp/multipartBody3198409027550149182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635673257,"filename":"image_23012025_13_33_03_040992_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8df153dc09374cdcef8e8273563b7b9.jpg","text":"TemporaryFile(/tmp/multipartBody8588296352995454427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635673257,"filename":"image_23012025_13_33_03_040992_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330829040","file1":"1330829035","file0":"1330829032","file3":"1330829045"},"map_files_photo_id_array":[{"photo_id":"1330829040","filename":"file2"},{"photo_id":"1330829035","filename":"file1"},{"photo_id":"1330829032","filename":"file0"},{"photo_id":"1330829045","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330829045":["hashtag1","hashtag2"]},{"1330829032":["hashtag1","hashtag2"]},{"1330829035":["hashtag1","hashtag2"]},{"1330829040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330829045, 1330829032, 1330829035, 1330829040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76704931259155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:34:22.084600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_03_040992_0003.jpg', '/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_02_225692_0000.jpg', '/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_02_225692_0001.jpg', '/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_02_225692_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_03_040992_0003.jpg
/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_02_225692_0000.jpg
/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_02_225692_0001.jpg
/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_02_225692_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330829083","1330829077","1330829087","1330829072"],"photo_ids_order":["1330829072","1330829077","1330829083","1330829087"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/115aa631199653d54f26c8f1cd7139c5.jpg","text":"TemporaryFile(/tmp/multipartBody4485095985435034106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635733707,"filename":"image_23012025_13_34_02_225692_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03633c3636488e4570a93f5482ccdc57.jpg","text":"TemporaryFile(/tmp/multipartBody6271224621815455340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635733707,"filename":"image_23012025_13_34_02_225692_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/accd87a68887e3bbe000e30288bbddd1.jpg","text":"TemporaryFile(/tmp/multipartBody1314889897911256661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635733707,"filename":"image_23012025_13_34_02_225692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e790ee8782622c5e0ee5734a5e341a65.jpg","text":"TemporaryFile(/tmp/multipartBody4318044614685291795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635733707,"filename":"image_23012025_13_33_03_040992_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330829083","file1":"1330829077","file0":"1330829072","file3":"1330829087"},"map_files_photo_id_array":[{"photo_id":"1330829083","filename":"file2"},{"photo_id":"1330829077","filename":"file1"},{"photo_id":"1330829072","filename":"file0"},{"photo_id":"1330829087","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330829083":["hashtag1","hashtag2"]},{"1330829077":["hashtag1","hashtag2"]},{"1330829087":["hashtag1","hashtag2"]},{"1330829072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330829083, 1330829077, 1330829087, 1330829072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.98882579803467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:35:22.296894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_02_225692_0003.jpg', '/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_02_506614_0000.jpg', '/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_02_506614_0001.jpg', '/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_02_506614_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_02_225692_0003.jpg
/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_02_506614_0000.jpg
/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_02_506614_0001.jpg
/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_02_506614_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330829123","1330829119","1330829127","1330829115"],"photo_ids_order":["1330829115","1330829119","1330829123","1330829127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41aebae330cc904276816a0f22766297.jpg","text":"TemporaryFile(/tmp/multipartBody8246774976805704312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635793677,"filename":"image_23012025_13_35_02_506614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c13667f321daa1fad51531b69e18d70.jpg","text":"TemporaryFile(/tmp/multipartBody7084392115596957258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635793677,"filename":"image_23012025_13_35_02_506614_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/727fe1c94eb1229c17e818188d2fd235.jpg","text":"TemporaryFile(/tmp/multipartBody224627786965861489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635793677,"filename":"image_23012025_13_35_02_506614_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79bf1e769667d873adc5efb7c2daff2a.jpg","text":"TemporaryFile(/tmp/multipartBody3395983119418090618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635793677,"filename":"image_23012025_13_34_02_225692_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330829123","file1":"1330829119","file0":"1330829115","file3":"1330829127"},"map_files_photo_id_array":[{"photo_id":"1330829123","filename":"file2"},{"photo_id":"1330829119","filename":"file1"},{"photo_id":"1330829115","filename":"file0"},{"photo_id":"1330829127","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330829123":["hashtag1","hashtag2"]},{"1330829119":["hashtag1","hashtag2"]},{"1330829127":["hashtag1","hashtag2"]},{"1330829115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330829123, 1330829119, 1330829127, 1330829115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.57893657684326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:36:22.543235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_02_506614_0003.jpg', '/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_02_654703_0000.jpg', '/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_02_654703_0001.jpg', '/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_02_654703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_02_506614_0003.jpg
/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_02_654703_0000.jpg
/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_02_654703_0001.jpg
/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_02_654703_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330829216","1330829241","1330829252","1330829195"],"photo_ids_order":["1330829195","1330829216","1330829241","1330829252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85cee21c497faa6cc58f2fb8a3e4661d.jpg","text":"TemporaryFile(/tmp/multipartBody4808958216106645676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635854054,"filename":"image_23012025_13_36_02_654703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fca656696e7a72c37a5b45903da9ec8.jpg","text":"TemporaryFile(/tmp/multipartBody5337509773967144963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635854054,"filename":"image_23012025_13_36_02_654703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6112f8bd658e582d5848ef6d22e8236e.jpg","text":"TemporaryFile(/tmp/multipartBody8321143034135415412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635854054,"filename":"image_23012025_13_36_02_654703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c42b46eeb06327b7cc2b783e25601d8e.jpg","text":"TemporaryFile(/tmp/multipartBody7389289160886022040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635854054,"filename":"image_23012025_13_35_02_506614_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330829241","file1":"1330829216","file0":"1330829195","file3":"1330829252"},"map_files_photo_id_array":[{"photo_id":"1330829241","filename":"file2"},{"photo_id":"1330829216","filename":"file1"},{"photo_id":"1330829195","filename":"file0"},{"photo_id":"1330829252","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330829216":["hashtag1","hashtag2"]},{"1330829241":["hashtag1","hashtag2"]},{"1330829252":["hashtag1","hashtag2"]},{"1330829195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330829216, 1330829241, 1330829252, 1330829195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67740297317505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:37:22.771976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_02_654703_0003.jpg', '/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_02_827091_0000.jpg', '/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_02_827091_0001.jpg', '/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_02_827091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_02_654703_0003.jpg
/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_02_827091_0000.jpg
/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_02_827091_0001.jpg
/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_02_827091_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330829677","1330829773","1330829524","1330829582"],"photo_ids_order":["1330829524","1330829582","1330829677","1330829773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d49dd94000b2261193fc3e97fe81fb8.jpg","text":"TemporaryFile(/tmp/multipartBody5842556795204255354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635914479,"filename":"image_23012025_13_37_02_827091_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e24eb66e0e602503dddf81ff1345161a.jpg","text":"TemporaryFile(/tmp/multipartBody5289177028745972726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635914479,"filename":"image_23012025_13_37_02_827091_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ff3393178e164f4aa28d6acc10ac214.jpg","text":"TemporaryFile(/tmp/multipartBody6002859859049118481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635914479,"filename":"image_23012025_13_36_02_654703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b6cdad5601267f8c4d42054a13e4e0e.jpg","text":"TemporaryFile(/tmp/multipartBody2767191847824580964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635914479,"filename":"image_23012025_13_37_02_827091_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330829677","file1":"1330829582","file0":"1330829524","file3":"1330829773"},"map_files_photo_id_array":[{"photo_id":"1330829677","filename":"file2"},{"photo_id":"1330829582","filename":"file1"},{"photo_id":"1330829524","filename":"file0"},{"photo_id":"1330829773","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330829677":["hashtag1","hashtag2"]},{"1330829773":["hashtag1","hashtag2"]},{"1330829524":["hashtag1","hashtag2"]},{"1330829582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330829677, 1330829773, 1330829524, 1330829582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.252453088760376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:38:21.878800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_02_827091_0003.jpg', '/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_03_092940_0000.jpg', '/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_03_092940_0001.jpg', '/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_03_092940_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_02_827091_0003.jpg
/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_03_092940_0000.jpg
/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_03_092940_0001.jpg
/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_03_092940_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330829989","1330829974","1330830007","1330829999"],"photo_ids_order":["1330829974","1330829989","1330829999","1330830007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f08f4d99d48a973de5c25882b963e904.jpg","text":"TemporaryFile(/tmp/multipartBody7096624595343614060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635972914,"filename":"image_23012025_13_38_03_092940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/477a3f1c577b40d9b41e7f4dee586d75.jpg","text":"TemporaryFile(/tmp/multipartBody7986092696784271033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635972914,"filename":"image_23012025_13_37_02_827091_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d41f55e406792857cd0f1f578275aac8.jpg","text":"TemporaryFile(/tmp/multipartBody816032522491136620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635972914,"filename":"image_23012025_13_38_03_092940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20277701df0b403383a2ce298102ee60.jpg","text":"TemporaryFile(/tmp/multipartBody2460814539474627988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635972914,"filename":"image_23012025_13_38_03_092940_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330829999","file1":"1330829989","file0":"1330829974","file3":"1330830007"},"map_files_photo_id_array":[{"photo_id":"1330829999","filename":"file2"},{"photo_id":"1330829989","filename":"file1"},{"photo_id":"1330829974","filename":"file0"},{"photo_id":"1330830007","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330829989":["hashtag1","hashtag2"]},{"1330829974":["hashtag1","hashtag2"]},{"1330830007":["hashtag1","hashtag2"]},{"1330829999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330829989, 1330829974, 1330830007, 1330829999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.58172798156738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:39:22.196303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_03_092940_0003.jpg', '/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_02_201430_0000.jpg', '/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_02_201430_0001.jpg', '/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_02_201430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_03_092940_0003.jpg
/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_02_201430_0000.jpg
/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_02_201430_0001.jpg
/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_02_201430_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330830077","1330830134","1330830154","1330830138"],"photo_ids_order":["1330830077","1330830134","1330830138","1330830154"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c1c4389d7eacb0c055d0cf5a316b5b8.jpg","text":"TemporaryFile(/tmp/multipartBody3359780707746709409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636034038,"filename":"image_23012025_13_38_03_092940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6392dd5f2742f813b878bce1068100a3.jpg","text":"TemporaryFile(/tmp/multipartBody2337403593404029115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636034038,"filename":"image_23012025_13_39_02_201430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eca924dcd6e4602b29d702847a8a7d69.jpg","text":"TemporaryFile(/tmp/multipartBody2732337331351644322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636034038,"filename":"image_23012025_13_39_02_201430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d4f8d48f4077200404db6646f560b5c.jpg","text":"TemporaryFile(/tmp/multipartBody5077617282722884300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636034038,"filename":"image_23012025_13_39_02_201430_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330830138","file1":"1330830134","file0":"1330830077","file3":"1330830154"},"map_files_photo_id_array":[{"photo_id":"1330830138","filename":"file2"},{"photo_id":"1330830134","filename":"file1"},{"photo_id":"1330830077","filename":"file0"},{"photo_id":"1330830154","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330830077":["hashtag1","hashtag2"]},{"1330830134":["hashtag1","hashtag2"]},{"1330830154":["hashtag1","hashtag2"]},{"1330830138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330830077, 1330830134, 1330830154, 1330830138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.95378923416138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:40:22.201466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_02_201430_0003.jpg', '/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_02_468488_0000.jpg', '/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_02_468488_0001.jpg', '/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_02_468488_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_02_201430_0003.jpg
/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_02_468488_0000.jpg
/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_02_468488_0001.jpg
/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_02_468488_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330830207","1330830211","1330830202","1330830195"],"photo_ids_order":["1330830195","1330830202","1330830207","1330830211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e2289a0dad2236426e2195ce80aaf49.jpg","text":"TemporaryFile(/tmp/multipartBody1596273307260529466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636093391,"filename":"image_23012025_13_40_02_468488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8795590b9af3098f9f77bc98cb3a3993.jpg","text":"TemporaryFile(/tmp/multipartBody2531857157214707618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636093391,"filename":"image_23012025_13_40_02_468488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f57eed50a0d8f98a3946afd10e23c2e2.jpg","text":"TemporaryFile(/tmp/multipartBody8559319913265847180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636093391,"filename":"image_23012025_13_40_02_468488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4e0fd19bc79d71b38418b2c7f06a129.jpg","text":"TemporaryFile(/tmp/multipartBody8601044079660691006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636093391,"filename":"image_23012025_13_39_02_201430_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330830207","file1":"1330830202","file0":"1330830195","file3":"1330830211"},"map_files_photo_id_array":[{"photo_id":"1330830207","filename":"file2"},{"photo_id":"1330830202","filename":"file1"},{"photo_id":"1330830195","filename":"file0"},{"photo_id":"1330830211","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330830207":["hashtag1","hashtag2"]},{"1330830211":["hashtag1","hashtag2"]},{"1330830202":["hashtag1","hashtag2"]},{"1330830195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330830207, 1330830211, 1330830202, 1330830195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.25652861595154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 13:41:02.993272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/01/image_21012025_19_01_02_704282_0000.jpg', '/home/pi/Desktop/images/21012025/19/01/image_21012025_19_01_02_704282_0001.jpg', '/home/pi/Desktop/images/21012025/19/01/image_21012025_19_01_02_704282_0002.jpg', '/home/pi/Desktop/images/21012025/19/01/image_21012025_19_01_02_704282_0003.jpg', '/home/pi/Desktop/images/21012025/19/02/image_21012025_19_02_02_860276_0000.jpg', '/home/pi/Desktop/images/21012025/19/02/image_21012025_19_02_02_860276_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/01/image_21012025_19_01_02_704282_0000.jpg
/home/pi/Desktop/images/21012025/19/01/image_21012025_19_01_02_704282_0001.jpg
/home/pi/Desktop/images/21012025/19/01/image_21012025_19_01_02_704282_0002.jpg
/home/pi/Desktop/images/21012025/19/01/image_21012025_19_01_02_704282_0003.jpg
/home/pi/Desktop/images/21012025/19/02/image_21012025_19_02_02_860276_0000.jpg
/home/pi/Desktop/images/21012025/19/02/image_21012025_19_02_02_860276_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":["1330830290","1330830298","1330830307","1330830282","1330830288","1330830303"],"photo_ids_order":["1330830282","1330830288","1330830290","1330830298","1330830303","1330830307"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb280e7960efe4ba6048bb9cb3569e57.jpg","text":"TemporaryFile(/tmp/multipartBody6677347621789452572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636141286,"filename":"image_21012025_19_01_02_704282_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90db08ce4196c53aff6f783d0324269b.jpg","text":"TemporaryFile(/tmp/multipartBody385635818806764339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636141286,"filename":"image_21012025_19_01_02_704282_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66594bb84aa5ee5f84821f36cc77e034.jpg","text":"TemporaryFile(/tmp/multipartBody535486462982517677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636141286,"filename":"image_21012025_19_02_02_860276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e078b21edb0e2526dbfbb911a6a655b6.jpg","text":"TemporaryFile(/tmp/multipartBody4285271928075601259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636141286,"filename":"image_21012025_19_01_02_704282_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c54c41e4df9e98e24bc445be3d5774e.jpg","text":"TemporaryFile(/tmp/multipartBody5272050356585094826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636141286,"filename":"image_21012025_19_01_02_704282_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10fa13d2598ab6e943e0d6eea37917d7.jpg","text":"TemporaryFile(/tmp/multipartBody8529471931686700223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636141286,"filename":"image_21012025_19_02_02_860276_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330830290","file1":"1330830288","file0":"1330830282","file4":"1330830303","file5":"1330830307","file3":"1330830298"},"map_files_photo_id_array":[{"photo_id":"1330830307","filename":"file5"},{"photo_id":"1330830290","filename":"file2"},{"photo_id":"1330830303","filename":"file4"},{"photo_id":"1330830288","filename":"file1"},{"photo_id":"1330830282","filename":"file0"},{"photo_id":"1330830298","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330830290":["hashtag1","hashtag2"]},{"1330830298":["hashtag1","hashtag2"]},{"1330830307":["hashtag1","hashtag2"]},{"1330830282":["hashtag1","hashtag2"]},{"1330830288":["hashtag1","hashtag2"]},{"1330830303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330830290, 1330830298, 1330830307, 1330830282, 1330830288, 1330830303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.43307852745056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 13:42:02.858439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_02_468488_0003.jpg', '/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_02_536019_0000.jpg', '/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_02_536019_0001.jpg', '/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_02_536019_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_02_468488_0003.jpg
/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_02_536019_0000.jpg
/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_02_536019_0001.jpg
/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_02_536019_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330830893","1330830689","1330830356","1330830469"],"photo_ids_order":["1330830356","1330830469","1330830689","1330830893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b963237c2ba59e9376eee5503f6a939e.jpg","text":"TemporaryFile(/tmp/multipartBody2950845914905631445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636194050,"filename":"image_23012025_13_41_02_536019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa4960777ac1099b2b0fbc7969f80562.jpg","text":"TemporaryFile(/tmp/multipartBody2600169490834229271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636194050,"filename":"image_23012025_13_41_02_536019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdb37e63b4ea69dcb19111be803bb195.jpg","text":"TemporaryFile(/tmp/multipartBody6714532184088482143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636194050,"filename":"image_23012025_13_40_02_468488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9c9b538fd546d1985112734779b6240.jpg","text":"TemporaryFile(/tmp/multipartBody3847162088300264925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636194050,"filename":"image_23012025_13_41_02_536019_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330830689","file1":"1330830469","file0":"1330830356","file3":"1330830893"},"map_files_photo_id_array":[{"photo_id":"1330830689","filename":"file2"},{"photo_id":"1330830469","filename":"file1"},{"photo_id":"1330830356","filename":"file0"},{"photo_id":"1330830893","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330830893":["hashtag1","hashtag2"]},{"1330830689":["hashtag1","hashtag2"]},{"1330830356":["hashtag1","hashtag2"]},{"1330830469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330830893, 1330830689, 1330830356, 1330830469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72739624977112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:42:52.525594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_02_536019_0003.jpg', '/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_02_698738_0000.jpg', '/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_02_698738_0001.jpg', '/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_02_698738_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_02_536019_0003.jpg
/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_02_698738_0000.jpg
/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_02_698738_0001.jpg
/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_02_698738_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330831661","1330831683","1330831686","1330831668"],"photo_ids_order":["1330831661","1330831668","1330831683","1330831686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/935267c349c46d9d50c1934011301280.jpg","text":"TemporaryFile(/tmp/multipartBody1816531747816527606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636243865,"filename":"image_23012025_13_41_02_536019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7441227ffe81d4fb90fd2186eb847edb.jpg","text":"TemporaryFile(/tmp/multipartBody5086818248053782260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636243865,"filename":"image_23012025_13_42_02_698738_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46f116d06df7418ee09eacf9326435bc.jpg","text":"TemporaryFile(/tmp/multipartBody7840472195503802142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636243865,"filename":"image_23012025_13_42_02_698738_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86eb899ffb2261a1468953dd1b6beecc.jpg","text":"TemporaryFile(/tmp/multipartBody5714756124701454954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636243865,"filename":"image_23012025_13_42_02_698738_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330831683","file1":"1330831668","file0":"1330831661","file3":"1330831686"},"map_files_photo_id_array":[{"photo_id":"1330831683","filename":"file2"},{"photo_id":"1330831668","filename":"file1"},{"photo_id":"1330831661","filename":"file0"},{"photo_id":"1330831686","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330831661":["hashtag1","hashtag2"]},{"1330831683":["hashtag1","hashtag2"]},{"1330831686":["hashtag1","hashtag2"]},{"1330831668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330831661, 1330831683, 1330831686, 1330831668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.78108739852905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 13:43:42.735044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_02_698738_0003.jpg', '/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_02_878413_0000.jpg', '/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_02_878413_0001.jpg', '/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_02_878413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_02_698738_0003.jpg
/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_02_878413_0000.jpg
/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_02_878413_0001.jpg
/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_02_878413_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330831808","1330831801","1330831794","1330831772"],"photo_ids_order":["1330831772","1330831794","1330831801","1330831808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/105d494ec2a1c9aa275d6bac42d900f8.jpg","text":"TemporaryFile(/tmp/multipartBody8459288065540131709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636294213,"filename":"image_23012025_13_43_02_878413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/48fb6b58b02f629b56c2a37df8e3ee73.jpg","text":"TemporaryFile(/tmp/multipartBody7981617958895602086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636294213,"filename":"image_23012025_13_43_02_878413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76d01e74f0113a3165719281d7c8db27.jpg","text":"TemporaryFile(/tmp/multipartBody7969962673115733666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636294213,"filename":"image_23012025_13_43_02_878413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0df83d014eb3583e7b4adb13e5a1fb7c.jpg","text":"TemporaryFile(/tmp/multipartBody8669960438687407081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636294213,"filename":"image_23012025_13_42_02_698738_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330831801","file1":"1330831794","file0":"1330831772","file3":"1330831808"},"map_files_photo_id_array":[{"photo_id":"1330831801","filename":"file2"},{"photo_id":"1330831794","filename":"file1"},{"photo_id":"1330831772","filename":"file0"},{"photo_id":"1330831808","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330831808":["hashtag1","hashtag2"]},{"1330831801":["hashtag1","hashtag2"]},{"1330831794":["hashtag1","hashtag2"]},{"1330831772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330831808, 1330831801, 1330831794, 1330831772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.2481906414032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:44:31.930593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_02_878413_0003.jpg', '/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_03_099893_0000.jpg', '/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_03_099893_0001.jpg', '/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_03_099893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_02_878413_0003.jpg
/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_03_099893_0000.jpg
/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_03_099893_0001.jpg
/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_03_099893_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330832211","1330832186","1330832216","1330832201"],"photo_ids_order":["1330832186","1330832201","1330832211","1330832216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1608d974fab4e36433c8f8a4c900b5d1.jpg","text":"TemporaryFile(/tmp/multipartBody8772967780139860928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636343362,"filename":"image_23012025_13_44_03_099893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f724758571bc2b84dc8a7f7617800368.jpg","text":"TemporaryFile(/tmp/multipartBody4727819648316849993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636343362,"filename":"image_23012025_13_43_02_878413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2bca11d7d4b8c72a99b80a2c3583c234.jpg","text":"TemporaryFile(/tmp/multipartBody865290282822917713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636343362,"filename":"image_23012025_13_44_03_099893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4dfb6b84c7d8676c43fb3d9d8d51367a.jpg","text":"TemporaryFile(/tmp/multipartBody1192867460821639159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636343362,"filename":"image_23012025_13_44_03_099893_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330832211","file1":"1330832201","file0":"1330832186","file3":"1330832216"},"map_files_photo_id_array":[{"photo_id":"1330832211","filename":"file2"},{"photo_id":"1330832201","filename":"file1"},{"photo_id":"1330832186","filename":"file0"},{"photo_id":"1330832216","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330832211":["hashtag1","hashtag2"]},{"1330832186":["hashtag1","hashtag2"]},{"1330832216":["hashtag1","hashtag2"]},{"1330832201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330832211, 1330832186, 1330832216, 1330832201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.97005271911621 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:45:22.189097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_03_099893_0003.jpg', '/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_02_272677_0000.jpg', '/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_02_272677_0001.jpg', '/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_02_272677_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_03_099893_0003.jpg
/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_02_272677_0000.jpg
/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_02_272677_0001.jpg
/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_02_272677_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330832440","1330832499","1330832418","1330832432"],"photo_ids_order":["1330832418","1330832432","1330832440","1330832499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f37049f9251a8fa427723aee358a9ac5.jpg","text":"TemporaryFile(/tmp/multipartBody1994173270129642268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636394027,"filename":"image_23012025_13_45_02_272677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b95845496a70127e8b497437146ffe6e.jpg","text":"TemporaryFile(/tmp/multipartBody3783778330329161730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636394027,"filename":"image_23012025_13_45_02_272677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3fd901236eba86969addf58d1631015.jpg","text":"TemporaryFile(/tmp/multipartBody1449877424901191527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636394027,"filename":"image_23012025_13_44_03_099893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d033ed7d1117cf9a70a297edeb0f7bb6.jpg","text":"TemporaryFile(/tmp/multipartBody5138682784012694415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636394027,"filename":"image_23012025_13_45_02_272677_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330832440","file1":"1330832432","file0":"1330832418","file3":"1330832499"},"map_files_photo_id_array":[{"photo_id":"1330832440","filename":"file2"},{"photo_id":"1330832432","filename":"file1"},{"photo_id":"1330832418","filename":"file0"},{"photo_id":"1330832499","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330832440":["hashtag1","hashtag2"]},{"1330832499":["hashtag1","hashtag2"]},{"1330832418":["hashtag1","hashtag2"]},{"1330832432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330832440, 1330832499, 1330832418, 1330832432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.929622411727905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:46:22.395843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_02_272677_0003.jpg', '/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0000.jpg', '/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0001.jpg', '/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_02_272677_0003.jpg
/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0000.jpg
/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0001.jpg
/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.88485598564148 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 13:46:42.420329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_02_272677_0003.jpg', '/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0000.jpg', '/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0001.jpg', '/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_02_272677_0003.jpg
/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0000.jpg
/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0001.jpg
/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330832758","1330832766","1330832771","1330832762"],"photo_ids_order":["1330832758","1330832762","1330832766","1330832771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b46e6d9c60a478a6013e6ec5a827f86.jpg","text":"TemporaryFile(/tmp/multipartBody3129540434413834409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636473711,"filename":"image_23012025_13_45_02_272677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9ae7e02e6ef045a886d50a64dea3a19.jpg","text":"TemporaryFile(/tmp/multipartBody3791324309091532374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636473711,"filename":"image_23012025_13_46_02_473764_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f39a4af396faf60bd13aceb1fedfcc4e.jpg","text":"TemporaryFile(/tmp/multipartBody4020982727359233916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636473711,"filename":"image_23012025_13_46_02_473764_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c88ff0d211495724963fd5c8e3424df.jpg","text":"TemporaryFile(/tmp/multipartBody1920368192830398398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636473711,"filename":"image_23012025_13_46_02_473764_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330832766","file1":"1330832762","file0":"1330832758","file3":"1330832771"},"map_files_photo_id_array":[{"photo_id":"1330832766","filename":"file2"},{"photo_id":"1330832762","filename":"file1"},{"photo_id":"1330832758","filename":"file0"},{"photo_id":"1330832771","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330832758":["hashtag1","hashtag2"]},{"1330832766":["hashtag1","hashtag2"]},{"1330832771":["hashtag1","hashtag2"]},{"1330832762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330832758, 1330832766, 1330832771, 1330832762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.710691928863525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:47:32.499929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0003.jpg', '/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_02_715878_0000.jpg', '/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_02_715878_0001.jpg', '/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_02_715878_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0003.jpg
/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_02_715878_0000.jpg
/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_02_715878_0001.jpg
/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_02_715878_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.163493394851685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:47:52.504228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0003.jpg', '/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_02_715878_0000.jpg', '/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_02_715878_0001.jpg', '/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_02_715878_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_02_473764_0003.jpg
/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_02_715878_0000.jpg
/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_02_715878_0001.jpg
/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_02_715878_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330832900","1330832934","1330832928","1330832896"],"photo_ids_order":["1330832896","1330832900","1330832928","1330832934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ebab8d6ba83099398ed331f301cf195.jpg","text":"TemporaryFile(/tmp/multipartBody2329397793199640378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636544530,"filename":"image_23012025_13_47_02_715878_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ba4d03eb92c6f85fe9abf49c39a8e82.jpg","text":"TemporaryFile(/tmp/multipartBody3789018140498648104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636544530,"filename":"image_23012025_13_47_02_715878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4023d385e4abf3a6385a9686270a4568.jpg","text":"TemporaryFile(/tmp/multipartBody5971830892101603091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636544530,"filename":"image_23012025_13_47_02_715878_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b814a9d76bb82dc0b5974d2b640be47.jpg","text":"TemporaryFile(/tmp/multipartBody6265584468500114061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636544530,"filename":"image_23012025_13_46_02_473764_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330832928","file1":"1330832900","file0":"1330832896","file3":"1330832934"},"map_files_photo_id_array":[{"photo_id":"1330832928","filename":"file2"},{"photo_id":"1330832900","filename":"file1"},{"photo_id":"1330832896","filename":"file0"},{"photo_id":"1330832934","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330832900":["hashtag1","hashtag2"]},{"1330832934":["hashtag1","hashtag2"]},{"1330832928":["hashtag1","hashtag2"]},{"1330832896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330832900, 1330832934, 1330832928, 1330832896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.708683013916016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 13:48:42.678986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_02_715878_0003.jpg', '/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_02_887144_0000.jpg', '/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_02_887144_0001.jpg', '/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_02_887144_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_02_715878_0003.jpg
/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_02_887144_0000.jpg
/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_02_887144_0001.jpg
/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_02_887144_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330832971","1330832967","1330832960","1330832963"],"photo_ids_order":["1330832960","1330832963","1330832967","1330832971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b56e86889c3ea7e4c9d46e01fe95f2a.jpg","text":"TemporaryFile(/tmp/multipartBody2782173594257593697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636593946,"filename":"image_23012025_13_48_02_887144_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6acab0bf6117e46dc890c59f8df6c9d5.jpg","text":"TemporaryFile(/tmp/multipartBody293766749705593543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636593946,"filename":"image_23012025_13_48_02_887144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ccf9bf78b2cb37772c1164d143ede873.jpg","text":"TemporaryFile(/tmp/multipartBody3816520974538578404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636593946,"filename":"image_23012025_13_47_02_715878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0f0f5efd57d6e0cac79231911710ec9.jpg","text":"TemporaryFile(/tmp/multipartBody6571419647157861553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636593946,"filename":"image_23012025_13_48_02_887144_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330832967","file1":"1330832963","file0":"1330832960","file3":"1330832971"},"map_files_photo_id_array":[{"photo_id":"1330832967","filename":"file2"},{"photo_id":"1330832963","filename":"file1"},{"photo_id":"1330832960","filename":"file0"},{"photo_id":"1330832971","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330832971":["hashtag1","hashtag2"]},{"1330832967":["hashtag1","hashtag2"]},{"1330832960":["hashtag1","hashtag2"]},{"1330832963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330832971, 1330832967, 1330832960, 1330832963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.098843574523926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:49:31.824933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_02_887144_0003.jpg', '/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_03_028615_0000.jpg', '/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_03_028615_0001.jpg', '/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_03_028615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_02_887144_0003.jpg
/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_03_028615_0000.jpg
/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_03_028615_0001.jpg
/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_03_028615_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330833010","1330833003","1330833023","1330833008"],"photo_ids_order":["1330833003","1330833008","1330833010","1330833023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ada8b97b14a8f9b19dbb3c4d1a30a57e.jpg","text":"TemporaryFile(/tmp/multipartBody3160683126449243010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636643198,"filename":"image_23012025_13_49_03_028615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/471d64495d5763e40f027f8183bb287f.jpg","text":"TemporaryFile(/tmp/multipartBody1350847125794145621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636643198,"filename":"image_23012025_13_48_02_887144_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4ab267b4168eee5198b4fa63c44fe5d.jpg","text":"TemporaryFile(/tmp/multipartBody2229008088456802532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636643198,"filename":"image_23012025_13_49_03_028615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c09b2fa9248585e486132d3eed2dd899.jpg","text":"TemporaryFile(/tmp/multipartBody3674936917620068814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636643198,"filename":"image_23012025_13_49_03_028615_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330833010","file1":"1330833008","file0":"1330833003","file3":"1330833023"},"map_files_photo_id_array":[{"photo_id":"1330833010","filename":"file2"},{"photo_id":"1330833008","filename":"file1"},{"photo_id":"1330833003","filename":"file0"},{"photo_id":"1330833023","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330833010":["hashtag1","hashtag2"]},{"1330833003":["hashtag1","hashtag2"]},{"1330833023":["hashtag1","hashtag2"]},{"1330833008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330833010, 1330833003, 1330833023, 1330833008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.46904706954956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:50:22.020741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_03_028615_0003.jpg', '/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_02_268936_0000.jpg', '/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_02_268936_0001.jpg', '/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_02_268936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_03_028615_0003.jpg
/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_02_268936_0000.jpg
/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_02_268936_0001.jpg
/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_02_268936_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330833145","1330833141","1330833135","1330833080"],"photo_ids_order":["1330833080","1330833135","1330833141","1330833145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34684e1c8f1f842319f02421328fa4ff.jpg","text":"TemporaryFile(/tmp/multipartBody3852664731975916702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636693505,"filename":"image_23012025_13_50_02_268936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/281f0bf4a2f0f85c81284700c7f23ed0.jpg","text":"TemporaryFile(/tmp/multipartBody8942206477156233268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636693505,"filename":"image_23012025_13_50_02_268936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d6a9edd487faea420efa58f5bee4d5f.jpg","text":"TemporaryFile(/tmp/multipartBody4855073639226416547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636693505,"filename":"image_23012025_13_50_02_268936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a6ab9ea478efb220708704e1e234091.jpg","text":"TemporaryFile(/tmp/multipartBody4072468398424545022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636693505,"filename":"image_23012025_13_49_03_028615_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330833141","file1":"1330833135","file0":"1330833080","file3":"1330833145"},"map_files_photo_id_array":[{"photo_id":"1330833141","filename":"file2"},{"photo_id":"1330833135","filename":"file1"},{"photo_id":"1330833080","filename":"file0"},{"photo_id":"1330833145","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330833145":["hashtag1","hashtag2"]},{"1330833141":["hashtag1","hashtag2"]},{"1330833135":["hashtag1","hashtag2"]},{"1330833080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330833145, 1330833141, 1330833135, 1330833080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08831429481506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 13:51:02.743941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/02/image_21012025_19_02_02_860276_0002.jpg', '/home/pi/Desktop/images/21012025/19/02/image_21012025_19_02_02_860276_0003.jpg', '/home/pi/Desktop/images/21012025/19/03/image_21012025_19_03_03_029079_0000.jpg', '/home/pi/Desktop/images/21012025/19/03/image_21012025_19_03_03_029079_0001.jpg', '/home/pi/Desktop/images/21012025/19/03/image_21012025_19_03_03_029079_0002.jpg', '/home/pi/Desktop/images/21012025/19/03/image_21012025_19_03_03_029079_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/02/image_21012025_19_02_02_860276_0002.jpg
/home/pi/Desktop/images/21012025/19/02/image_21012025_19_02_02_860276_0003.jpg
/home/pi/Desktop/images/21012025/19/03/image_21012025_19_03_03_029079_0000.jpg
/home/pi/Desktop/images/21012025/19/03/image_21012025_19_03_03_029079_0001.jpg
/home/pi/Desktop/images/21012025/19/03/image_21012025_19_03_03_029079_0002.jpg
/home/pi/Desktop/images/21012025/19/03/image_21012025_19_03_03_029079_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":["1330833354","1330833312","1330833350","1330833344","1330833338","1330833332"],"photo_ids_order":["1330833312","1330833332","1330833338","1330833344","1330833350","1330833354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ac63d396d169f74d6489e8d0b73111b.jpg","text":"TemporaryFile(/tmp/multipartBody7067026653596323552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636741086,"filename":"image_21012025_19_03_03_029079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3cdb49a951d9ded5fadea11f3d7a825.jpg","text":"TemporaryFile(/tmp/multipartBody3156406106512125305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636741086,"filename":"image_21012025_19_02_02_860276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/caa2a4b84158ab76b4df7d4772dfa8f1.jpg","text":"TemporaryFile(/tmp/multipartBody2158929902900492530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636741086,"filename":"image_21012025_19_03_03_029079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bae50885d02deb321499de4640e39e76.jpg","text":"TemporaryFile(/tmp/multipartBody3502984076546293248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636741086,"filename":"image_21012025_19_03_03_029079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5706ba35e6607373b6f11b91a24c5ad9.jpg","text":"TemporaryFile(/tmp/multipartBody497678974704639307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636741086,"filename":"image_21012025_19_03_03_029079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30fb0da2a6174c561daf98c74c41248f.jpg","text":"TemporaryFile(/tmp/multipartBody2534201314200283763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636741086,"filename":"image_21012025_19_02_02_860276_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330833338","file1":"1330833332","file0":"1330833312","file4":"1330833350","file5":"1330833354","file3":"1330833344"},"map_files_photo_id_array":[{"photo_id":"1330833354","filename":"file5"},{"photo_id":"1330833338","filename":"file2"},{"photo_id":"1330833350","filename":"file4"},{"photo_id":"1330833332","filename":"file1"},{"photo_id":"1330833312","filename":"file0"},{"photo_id":"1330833344","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330833354":["hashtag1","hashtag2"]},{"1330833312":["hashtag1","hashtag2"]},{"1330833350":["hashtag1","hashtag2"]},{"1330833344":["hashtag1","hashtag2"]},{"1330833338":["hashtag1","hashtag2"]},{"1330833332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330833354, 1330833312, 1330833350, 1330833344, 1330833338, 1330833332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.893444299697876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 13:52:02.803616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_02_268936_0003.jpg', '/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_02_388844_0000.jpg', '/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_02_388844_0001.jpg', '/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_02_388844_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_02_268936_0003.jpg
/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_02_388844_0000.jpg
/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_02_388844_0001.jpg
/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_02_388844_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330833384","1330833402","1330833379","1330833394"],"photo_ids_order":["1330833379","1330833384","1330833394","1330833402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73a19345dccdd62ca09c1e24d71e9d51.jpg","text":"TemporaryFile(/tmp/multipartBody4888574197033997755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636794124,"filename":"image_23012025_13_51_02_388844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85ce01c58ca5473e67e2cdea90874527.jpg","text":"TemporaryFile(/tmp/multipartBody7241179399364659258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636794124,"filename":"image_23012025_13_51_02_388844_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c09426c52f7b459b862dbab715ae49d.jpg","text":"TemporaryFile(/tmp/multipartBody3070376688427036724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636794124,"filename":"image_23012025_13_50_02_268936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d128de6b38a0bf82463cc2d422fa3a95.jpg","text":"TemporaryFile(/tmp/multipartBody499611992583508106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636794124,"filename":"image_23012025_13_51_02_388844_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330833394","file1":"1330833384","file0":"1330833379","file3":"1330833402"},"map_files_photo_id_array":[{"photo_id":"1330833394","filename":"file2"},{"photo_id":"1330833384","filename":"file1"},{"photo_id":"1330833379","filename":"file0"},{"photo_id":"1330833402","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330833384":["hashtag1","hashtag2"]},{"1330833402":["hashtag1","hashtag2"]},{"1330833379":["hashtag1","hashtag2"]},{"1330833394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330833384, 1330833402, 1330833379, 1330833394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.5298273563385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:52:52.283723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_02_388844_0003.jpg', '/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_02_541817_0000.jpg', '/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_02_541817_0001.jpg', '/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_02_541817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_02_388844_0003.jpg
/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_02_541817_0000.jpg
/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_02_541817_0001.jpg
/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_02_541817_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330833462","1330833558","1330833549","1330833554"],"photo_ids_order":["1330833462","1330833549","1330833554","1330833558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c50e8ab51e3b7984e3c3cbbd2ed661a.jpg","text":"TemporaryFile(/tmp/multipartBody5917291919413593901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636843650,"filename":"image_23012025_13_51_02_388844_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecc9007a427762f26d9155f526fc87a7.jpg","text":"TemporaryFile(/tmp/multipartBody6101026469179323968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636843650,"filename":"image_23012025_13_52_02_541817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83ea026ed0519530f583244ce8f6ceb3.jpg","text":"TemporaryFile(/tmp/multipartBody3882316940564328206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636843650,"filename":"image_23012025_13_52_02_541817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7474a58c10caf3e3cbbbeeef9393ba18.jpg","text":"TemporaryFile(/tmp/multipartBody6984395958055580004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636843650,"filename":"image_23012025_13_52_02_541817_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330833554","file1":"1330833549","file0":"1330833462","file3":"1330833558"},"map_files_photo_id_array":[{"photo_id":"1330833554","filename":"file2"},{"photo_id":"1330833549","filename":"file1"},{"photo_id":"1330833462","filename":"file0"},{"photo_id":"1330833558","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330833462":["hashtag1","hashtag2"]},{"1330833558":["hashtag1","hashtag2"]},{"1330833549":["hashtag1","hashtag2"]},{"1330833554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330833462, 1330833558, 1330833549, 1330833554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.469176054000854 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 13:53:42.501766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_02_541817_0003.jpg', '/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_02_663446_0000.jpg', '/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_02_663446_0001.jpg', '/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_02_663446_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_02_541817_0003.jpg
/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_02_663446_0000.jpg
/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_02_663446_0001.jpg
/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_02_663446_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330833604","1330833594","1330833588","1330833598"],"photo_ids_order":["1330833588","1330833594","1330833598","1330833604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec99201ba1424061c0b72699a634f477.jpg","text":"TemporaryFile(/tmp/multipartBody3673186365508235731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636893799,"filename":"image_23012025_13_53_02_663446_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b13d6c390e6267f080c0d0e84c413f5.jpg","text":"TemporaryFile(/tmp/multipartBody6709714546762187842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636893799,"filename":"image_23012025_13_53_02_663446_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/203f99a6bc75b5c908b2ed79006ee29b.jpg","text":"TemporaryFile(/tmp/multipartBody3682556127678604109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636893799,"filename":"image_23012025_13_52_02_541817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e98b873d477055295383de007cbc285.jpg","text":"TemporaryFile(/tmp/multipartBody1121708389497604136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636893799,"filename":"image_23012025_13_53_02_663446_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330833598","file1":"1330833594","file0":"1330833588","file3":"1330833604"},"map_files_photo_id_array":[{"photo_id":"1330833598","filename":"file2"},{"photo_id":"1330833594","filename":"file1"},{"photo_id":"1330833588","filename":"file0"},{"photo_id":"1330833604","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330833604":["hashtag1","hashtag2"]},{"1330833594":["hashtag1","hashtag2"]},{"1330833588":["hashtag1","hashtag2"]},{"1330833598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330833604, 1330833594, 1330833588, 1330833598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.655834913253784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:54:32.640059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_02_663446_0003.jpg', '/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_02_822121_0000.jpg', '/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_02_822121_0001.jpg', '/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_02_822121_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_02_663446_0003.jpg
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_02_822121_0000.jpg
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_02_822121_0001.jpg
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_02_822121_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.97911548614502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:54:52.648674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_02_663446_0003.jpg', '/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_02_822121_0000.jpg', '/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_02_822121_0001.jpg', '/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_02_822121_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_02_663446_0003.jpg
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_02_822121_0000.jpg
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_02_822121_0001.jpg
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_02_822121_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330833642","1330833653","1330833647","1330833658"],"photo_ids_order":["1330833642","1330833647","1330833653","1330833658"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf9dd8dd9cda3bc4c6b58231042cce3a.jpg","text":"TemporaryFile(/tmp/multipartBody369496648117771916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636964033,"filename":"image_23012025_13_53_02_663446_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30a66e02075c6615dc31b65cdf89dc35.jpg","text":"TemporaryFile(/tmp/multipartBody2600769532775318177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636964033,"filename":"image_23012025_13_54_02_822121_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70135d1b3ee109b6a44e3d94b713e4b9.jpg","text":"TemporaryFile(/tmp/multipartBody1594515224098181514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636964033,"filename":"image_23012025_13_54_02_822121_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b51f8cb490d46ead9a76a69dc27a6243.jpg","text":"TemporaryFile(/tmp/multipartBody2861982400124829270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636964033,"filename":"image_23012025_13_54_02_822121_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330833653","file1":"1330833647","file0":"1330833642","file3":"1330833658"},"map_files_photo_id_array":[{"photo_id":"1330833653","filename":"file2"},{"photo_id":"1330833647","filename":"file1"},{"photo_id":"1330833642","filename":"file0"},{"photo_id":"1330833658","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330833642":["hashtag1","hashtag2"]},{"1330833653":["hashtag1","hashtag2"]},{"1330833647":["hashtag1","hashtag2"]},{"1330833658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330833642, 1330833653, 1330833647, 1330833658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.519431352615356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 13:55:41.918059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_02_822121_0003.jpg', '/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_02_993197_0000.jpg', '/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_02_993197_0001.jpg', '/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_02_993197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_02_822121_0003.jpg
/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_02_993197_0000.jpg
/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_02_993197_0001.jpg
/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_02_993197_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330833693","1330833684","1330833689","1330833680"],"photo_ids_order":["1330833680","1330833684","1330833689","1330833693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/652256e95f9db22b8966164e9234f303.jpg","text":"TemporaryFile(/tmp/multipartBody3921833997237094312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637013444,"filename":"image_23012025_13_55_02_993197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/580b22be9f503d5d6d99ce79a89da02d.jpg","text":"TemporaryFile(/tmp/multipartBody1314780497970977248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637013444,"filename":"image_23012025_13_55_02_993197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c2f848a21f85b349313bf54d9cf3a39.jpg","text":"TemporaryFile(/tmp/multipartBody3603653405863754724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637013444,"filename":"image_23012025_13_55_02_993197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3821b8c515f6c74e6cc4c3d4ec17f644.jpg","text":"TemporaryFile(/tmp/multipartBody2933722701361544559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637013444,"filename":"image_23012025_13_54_02_822121_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330833689","file1":"1330833684","file0":"1330833680","file3":"1330833693"},"map_files_photo_id_array":[{"photo_id":"1330833689","filename":"file2"},{"photo_id":"1330833684","filename":"file1"},{"photo_id":"1330833680","filename":"file0"},{"photo_id":"1330833693","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330833693":["hashtag1","hashtag2"]},{"1330833684":["hashtag1","hashtag2"]},{"1330833689":["hashtag1","hashtag2"]},{"1330833680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330833693, 1330833684, 1330833689, 1330833680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2318332195282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 13:56:21.972524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_02_993197_0003.jpg', '/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_02_187941_0000.jpg', '/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_02_187941_0001.jpg', '/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_02_187941_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_02_993197_0003.jpg
/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_02_187941_0000.jpg
/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_02_187941_0001.jpg
/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_02_187941_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330833717","1330833732","1330833728","1330833722"],"photo_ids_order":["1330833717","1330833722","1330833728","1330833732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71127b9cd5effa1b67ed130d5bef6e94.jpg","text":"TemporaryFile(/tmp/multipartBody4568403732740987496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637053603,"filename":"image_23012025_13_55_02_993197_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1bca0070143b0fc2048b7f49fce60b0b.jpg","text":"TemporaryFile(/tmp/multipartBody4588381374670043701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637053603,"filename":"image_23012025_13_56_02_187941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/570770f47c1a17fca9503c6dd1c4e5ea.jpg","text":"TemporaryFile(/tmp/multipartBody5111776148225000295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637053603,"filename":"image_23012025_13_56_02_187941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d352648139cdab091da7ff6325db56ee.jpg","text":"TemporaryFile(/tmp/multipartBody2687667510108562191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637053603,"filename":"image_23012025_13_56_02_187941_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330833728","file1":"1330833722","file0":"1330833717","file3":"1330833732"},"map_files_photo_id_array":[{"photo_id":"1330833728","filename":"file2"},{"photo_id":"1330833722","filename":"file1"},{"photo_id":"1330833717","filename":"file0"},{"photo_id":"1330833732","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330833717":["hashtag1","hashtag2"]},{"1330833732":["hashtag1","hashtag2"]},{"1330833728":["hashtag1","hashtag2"]},{"1330833722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330833717, 1330833732, 1330833728, 1330833722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.918344020843506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 13:57:02.765450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/04/image_21012025_19_04_02_331013_0000.jpg', '/home/pi/Desktop/images/21012025/19/04/image_21012025_19_04_02_331013_0001.jpg', '/home/pi/Desktop/images/21012025/19/04/image_21012025_19_04_02_331013_0002.jpg', '/home/pi/Desktop/images/21012025/19/04/image_21012025_19_04_02_331013_0003.jpg', '/home/pi/Desktop/images/21012025/19/05/image_21012025_19_05_02_473186_0000.jpg', '/home/pi/Desktop/images/21012025/19/05/image_21012025_19_05_02_473186_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/04/image_21012025_19_04_02_331013_0000.jpg
/home/pi/Desktop/images/21012025/19/04/image_21012025_19_04_02_331013_0001.jpg
/home/pi/Desktop/images/21012025/19/04/image_21012025_19_04_02_331013_0002.jpg
/home/pi/Desktop/images/21012025/19/04/image_21012025_19_04_02_331013_0003.jpg
/home/pi/Desktop/images/21012025/19/05/image_21012025_19_05_02_473186_0000.jpg
/home/pi/Desktop/images/21012025/19/05/image_21012025_19_05_02_473186_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":["1330833753","1330833765","1330833759","1330833750","1330833744","1330833770"],"photo_ids_order":["1330833744","1330833750","1330833753","1330833759","1330833765","1330833770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6501e04c6b92e0b0401f5719b5e948c.jpg","text":"TemporaryFile(/tmp/multipartBody2619786279446073328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637100832,"filename":"image_21012025_19_04_02_331013_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2171fbeb04a61ce4f4bbc350e8f7d03.jpg","text":"TemporaryFile(/tmp/multipartBody7193909486559260122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637100832,"filename":"image_21012025_19_05_02_473186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2563e59e8fd5958f6a8b5551874a9f9f.jpg","text":"TemporaryFile(/tmp/multipartBody4968117694997191108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637100832,"filename":"image_21012025_19_04_02_331013_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b51f947165100b473f06a46da72b097.jpg","text":"TemporaryFile(/tmp/multipartBody6361249447766046173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637100832,"filename":"image_21012025_19_04_02_331013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a6b253e9b896557fca3bf80363250af.jpg","text":"TemporaryFile(/tmp/multipartBody4488643335547189077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637100832,"filename":"image_21012025_19_04_02_331013_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d61ac3cb6c26c911b399ab1c1e99dbdc.jpg","text":"TemporaryFile(/tmp/multipartBody4042382543113316904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637100832,"filename":"image_21012025_19_05_02_473186_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330833753","file1":"1330833750","file0":"1330833744","file4":"1330833765","file5":"1330833770","file3":"1330833759"},"map_files_photo_id_array":[{"photo_id":"1330833770","filename":"file5"},{"photo_id":"1330833753","filename":"file2"},{"photo_id":"1330833765","filename":"file4"},{"photo_id":"1330833750","filename":"file1"},{"photo_id":"1330833744","filename":"file0"},{"photo_id":"1330833759","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330833753":["hashtag1","hashtag2"]},{"1330833765":["hashtag1","hashtag2"]},{"1330833759":["hashtag1","hashtag2"]},{"1330833750":["hashtag1","hashtag2"]},{"1330833744":["hashtag1","hashtag2"]},{"1330833770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330833753, 1330833765, 1330833759, 1330833750, 1330833744, 1330833770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.86449074745178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 13:59:03.350411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_02_187941_0003.jpg', '/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_02_364827_0000.jpg', '/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_02_364827_0001.jpg', '/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_02_364827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_02_187941_0003.jpg
/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_02_364827_0000.jpg
/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_02_364827_0001.jpg
/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_02_364827_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330833826","1330833804","1330833833","1330833815"],"photo_ids_order":["1330833804","1330833815","1330833826","1330833833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe74a25c64b05337b989c6258ed27832.jpg","text":"TemporaryFile(/tmp/multipartBody7941874938725321667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637214992,"filename":"image_23012025_13_57_02_364827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0bff2195e549e165d538266767fbc54c.jpg","text":"TemporaryFile(/tmp/multipartBody1283269296989309207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637214992,"filename":"image_23012025_13_56_02_187941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/216b504c6dc589ac25e02ea6d14b987c.jpg","text":"TemporaryFile(/tmp/multipartBody2932320770786539820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637214992,"filename":"image_23012025_13_57_02_364827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8bdb7f28041559f6b8acac884f3fbb2.jpg","text":"TemporaryFile(/tmp/multipartBody6831237714313474917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637214992,"filename":"image_23012025_13_57_02_364827_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330833826","file1":"1330833815","file0":"1330833804","file3":"1330833833"},"map_files_photo_id_array":[{"photo_id":"1330833826","filename":"file2"},{"photo_id":"1330833815","filename":"file1"},{"photo_id":"1330833804","filename":"file0"},{"photo_id":"1330833833","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330833826":["hashtag1","hashtag2"]},{"1330833804":["hashtag1","hashtag2"]},{"1330833833":["hashtag1","hashtag2"]},{"1330833815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330833826, 1330833804, 1330833833, 1330833815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.235584020614624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:59:52.531034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_02_364827_0003.jpg', '/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_02_591354_0000.jpg', '/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_02_591354_0001.jpg', '/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_02_591354_0002.jpg', '/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_02_591354_0003.jpg', '/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_02_684775_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_02_364827_0003.jpg
/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_02_591354_0000.jpg
/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_02_591354_0001.jpg
/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_02_591354_0002.jpg
/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_02_591354_0003.jpg
/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_02_684775_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":["1330833858","1330833875","1330833890","1330833884","1330833863","1330833869"],"photo_ids_order":["1330833858","1330833863","1330833869","1330833875","1330833884","1330833890"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07ffca12b07d799fde0e39fe08b18796.jpg","text":"TemporaryFile(/tmp/multipartBody1159333406349605375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637269556,"filename":"image_23012025_13_57_02_364827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02f823eebca9c8674c471ca13b032071.jpg","text":"TemporaryFile(/tmp/multipartBody7769672484841337808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637269556,"filename":"image_23012025_13_58_02_591354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/666957d07498d822362d6fc096738c84.jpg","text":"TemporaryFile(/tmp/multipartBody2466320201325194588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637269556,"filename":"image_23012025_13_59_02_684775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3757c894ac43fa2363bf184c154711a.jpg","text":"TemporaryFile(/tmp/multipartBody8797179682181424930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637269556,"filename":"image_23012025_13_58_02_591354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bace5c413e231efa1e92bc9da508d083.jpg","text":"TemporaryFile(/tmp/multipartBody4745959552666613576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637269556,"filename":"image_23012025_13_58_02_591354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3aa6d082ba25c7bf13acc4c1da17f72b.jpg","text":"TemporaryFile(/tmp/multipartBody8950457826700490389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637269556,"filename":"image_23012025_13_58_02_591354_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330833869","file1":"1330833863","file0":"1330833858","file4":"1330833884","file5":"1330833890","file3":"1330833875"},"map_files_photo_id_array":[{"photo_id":"1330833890","filename":"file5"},{"photo_id":"1330833869","filename":"file2"},{"photo_id":"1330833884","filename":"file4"},{"photo_id":"1330833863","filename":"file1"},{"photo_id":"1330833858","filename":"file0"},{"photo_id":"1330833875","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330833858":["hashtag1","hashtag2"]},{"1330833875":["hashtag1","hashtag2"]},{"1330833890":["hashtag1","hashtag2"]},{"1330833884":["hashtag1","hashtag2"]},{"1330833863":["hashtag1","hashtag2"]},{"1330833869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330833858, 1330833875, 1330833890, 1330833884, 1330833863, 1330833869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.2332329750061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:00:52.673450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_02_684775_0001.jpg', '/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_02_684775_0002.jpg', '/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_02_684775_0003.jpg', '/home/pi/Desktop/images/23012025/14/00/image_23012025_14_00_02_940102_0000.jpg', '/home/pi/Desktop/images/23012025/14/00/image_23012025_14_00_02_940102_0001.jpg', '/home/pi/Desktop/images/23012025/14/00/image_23012025_14_00_02_940102_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_02_684775_0001.jpg
/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_02_684775_0002.jpg
/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_02_684775_0003.jpg
/home/pi/Desktop/images/23012025/14/00/image_23012025_14_00_02_940102_0000.jpg
/home/pi/Desktop/images/23012025/14/00/image_23012025_14_00_02_940102_0001.jpg
/home/pi/Desktop/images/23012025/14/00/image_23012025_14_00_02_940102_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330833925","1330833915","1330833930","1330833935","1330833920","1330833940"],"photo_ids_order":["1330833915","1330833920","1330833925","1330833930","1330833935","1330833940"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/015e8ad4b48c703ecbc04d24220f2f7c.jpg","text":"TemporaryFile(/tmp/multipartBody7876524167623899273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637330087,"filename":"image_23012025_13_59_02_684775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e556266cee88d20ebdbc57451401032.jpg","text":"TemporaryFile(/tmp/multipartBody6725760126526507789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637330087,"filename":"image_23012025_13_59_02_684775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b57cbb9be3745164e2f01b0ddc1be93.jpg","text":"TemporaryFile(/tmp/multipartBody6271006013360722766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637330087,"filename":"image_23012025_14_00_02_940102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6afd4b5349340f2696320e2c6ac2cee6.jpg","text":"TemporaryFile(/tmp/multipartBody6125413626277198386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637330087,"filename":"image_23012025_14_00_02_940102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1248269b20fb22fd955257b7de6f000.jpg","text":"TemporaryFile(/tmp/multipartBody8391892774369781725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637330087,"filename":"image_23012025_13_59_02_684775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66c1d1c169cc072c05ee17c05751b24d.jpg","text":"TemporaryFile(/tmp/multipartBody7530643284403909124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637330087,"filename":"image_23012025_14_00_02_940102_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330833925","file1":"1330833920","file0":"1330833915","file4":"1330833935","file5":"1330833940","file3":"1330833930"},"map_files_photo_id_array":[{"photo_id":"1330833940","filename":"file5"},{"photo_id":"1330833925","filename":"file2"},{"photo_id":"1330833935","filename":"file4"},{"photo_id":"1330833920","filename":"file1"},{"photo_id":"1330833915","filename":"file0"},{"photo_id":"1330833930","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330833925":["hashtag1","hashtag2"]},{"1330833915":["hashtag1","hashtag2"]},{"1330833930":["hashtag1","hashtag2"]},{"1330833935":["hashtag1","hashtag2"]},{"1330833920":["hashtag1","hashtag2"]},{"1330833940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330833925, 1330833915, 1330833930, 1330833935, 1330833920, 1330833940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.358741760253906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:01:51.835490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/00/image_23012025_14_00_02_940102_0003.jpg', '/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_03_141180_0000.jpg', '/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_03_141180_0001.jpg', '/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_03_141180_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/00/image_23012025_14_00_02_940102_0003.jpg
/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_03_141180_0000.jpg
/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_03_141180_0001.jpg
/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_03_141180_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330833954","1330833957","1330833962","1330833967"],"photo_ids_order":["1330833954","1330833957","1330833962","1330833967"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fbd2b791f633b1a9ad84eb63aebd6423.jpg","text":"TemporaryFile(/tmp/multipartBody8610106159951867934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637383387,"filename":"image_23012025_14_00_02_940102_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfe32889bb0c48a94016d7a72b1ea514.jpg","text":"TemporaryFile(/tmp/multipartBody4256205396411204067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637383387,"filename":"image_23012025_14_01_03_141180_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7f20a50a067511047c7305b1cb154dc.jpg","text":"TemporaryFile(/tmp/multipartBody6877988815775834162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637383387,"filename":"image_23012025_14_01_03_141180_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c7b416008951f12db810099c09de960.jpg","text":"TemporaryFile(/tmp/multipartBody5896561661029559848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637383387,"filename":"image_23012025_14_01_03_141180_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330833962","file1":"1330833957","file0":"1330833954","file3":"1330833967"},"map_files_photo_id_array":[{"photo_id":"1330833962","filename":"file2"},{"photo_id":"1330833957","filename":"file1"},{"photo_id":"1330833954","filename":"file0"},{"photo_id":"1330833967","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330833954":["hashtag1","hashtag2"]},{"1330833957":["hashtag1","hashtag2"]},{"1330833962":["hashtag1","hashtag2"]},{"1330833967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330833954, 1330833957, 1330833962, 1330833967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.22862195968628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:02:42.022204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_03_141180_0003.jpg', '/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_02_246568_0000.jpg', '/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_02_246568_0001.jpg', '/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_02_246568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_03_141180_0003.jpg
/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_02_246568_0000.jpg
/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_02_246568_0001.jpg
/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_02_246568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330834005","1330834007","1330834001","1330833997"],"photo_ids_order":["1330833997","1330834001","1330834005","1330834007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/456a527e6dcaddac77ae8a71eba33be3.jpg","text":"TemporaryFile(/tmp/multipartBody5579057613711438623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637433738,"filename":"image_23012025_14_02_02_246568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8eabd3edd7e64aa4270ad091a3b5f234.jpg","text":"TemporaryFile(/tmp/multipartBody7190606842158601791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637433738,"filename":"image_23012025_14_02_02_246568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ca29fbbf46b27fdb9a10b256f6c36d6.jpg","text":"TemporaryFile(/tmp/multipartBody686898239254810060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637433738,"filename":"image_23012025_14_02_02_246568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e73f1588b9f37c38b7eac4d4d763079e.jpg","text":"TemporaryFile(/tmp/multipartBody479142464700156525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637433738,"filename":"image_23012025_14_01_03_141180_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834005","file1":"1330834001","file0":"1330833997","file3":"1330834007"},"map_files_photo_id_array":[{"photo_id":"1330834005","filename":"file2"},{"photo_id":"1330834001","filename":"file1"},{"photo_id":"1330833997","filename":"file0"},{"photo_id":"1330834007","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834005":["hashtag1","hashtag2"]},{"1330834007":["hashtag1","hashtag2"]},{"1330834001":["hashtag1","hashtag2"]},{"1330833997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834005, 1330834007, 1330834001, 1330833997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98798131942749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:03:22.216826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_02_246568_0003.jpg', '/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_02_373899_0000.jpg', '/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_02_373899_0001.jpg', '/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_02_373899_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_02_246568_0003.jpg
/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_02_373899_0000.jpg
/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_02_373899_0001.jpg
/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_02_373899_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330834038","1330834023","1330834046","1330834031"],"photo_ids_order":["1330834023","1330834031","1330834038","1330834046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad82b79f70886ab0d0a4db3f854c6d76.jpg","text":"TemporaryFile(/tmp/multipartBody7556342064528380169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637473714,"filename":"image_23012025_14_03_02_373899_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc0d172aea2022f37c504efb5ad4ff88.jpg","text":"TemporaryFile(/tmp/multipartBody3606042499062404369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637473714,"filename":"image_23012025_14_02_02_246568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b82d569376ccc99e2d1b6853a6de5fc.jpg","text":"TemporaryFile(/tmp/multipartBody422335223388206062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637473714,"filename":"image_23012025_14_03_02_373899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d77a44b2c080ef771dd969b06ea65eb.jpg","text":"TemporaryFile(/tmp/multipartBody4762185812769121568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637473714,"filename":"image_23012025_14_03_02_373899_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834038","file1":"1330834031","file0":"1330834023","file3":"1330834046"},"map_files_photo_id_array":[{"photo_id":"1330834038","filename":"file2"},{"photo_id":"1330834031","filename":"file1"},{"photo_id":"1330834023","filename":"file0"},{"photo_id":"1330834046","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834038":["hashtag1","hashtag2"]},{"1330834023":["hashtag1","hashtag2"]},{"1330834046":["hashtag1","hashtag2"]},{"1330834031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834038, 1330834023, 1330834046, 1330834031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.218955755233765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:04:22.458223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_02_373899_0003.jpg', '/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_02_566431_0000.jpg', '/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_02_566431_0001.jpg', '/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_02_566431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_02_373899_0003.jpg
/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_02_566431_0000.jpg
/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_02_566431_0001.jpg
/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_02_566431_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330834094","1330834085","1330834100","1330834078"],"photo_ids_order":["1330834078","1330834085","1330834094","1330834100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1bf30375c33928b05979ed90f4b5edf9.jpg","text":"TemporaryFile(/tmp/multipartBody4622543191522886290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637533938,"filename":"image_23012025_14_04_02_566431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18e6e7d29c8226cd01af60ca56dcec04.jpg","text":"TemporaryFile(/tmp/multipartBody728251600557871599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637533938,"filename":"image_23012025_14_04_02_566431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f32e72f2405d017dcbe786598f73283.jpg","text":"TemporaryFile(/tmp/multipartBody8266952428854063783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637533938,"filename":"image_23012025_14_04_02_566431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b2cdd2e806e9495ce515c3dbd47e4cc.jpg","text":"TemporaryFile(/tmp/multipartBody8915369256290262010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637533938,"filename":"image_23012025_14_03_02_373899_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834094","file1":"1330834085","file0":"1330834078","file3":"1330834100"},"map_files_photo_id_array":[{"photo_id":"1330834094","filename":"file2"},{"photo_id":"1330834085","filename":"file1"},{"photo_id":"1330834078","filename":"file0"},{"photo_id":"1330834100","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834094":["hashtag1","hashtag2"]},{"1330834085":["hashtag1","hashtag2"]},{"1330834100":["hashtag1","hashtag2"]},{"1330834078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834094, 1330834085, 1330834100, 1330834078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8589231967926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:05:22.697272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_02_566431_0003.jpg', '/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_02_759281_0000.jpg', '/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_02_759281_0001.jpg', '/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_02_759281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_02_566431_0003.jpg
/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_02_759281_0000.jpg
/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_02_759281_0001.jpg
/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_02_759281_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330834142","1330834136","1330834130","1330834124"],"photo_ids_order":["1330834124","1330834130","1330834136","1330834142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8e884a6835889155a2eeb39c1853ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7983211185350643075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637594222,"filename":"image_23012025_14_05_02_759281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3af58e6d2ff61a302b375b48eeae2486.jpg","text":"TemporaryFile(/tmp/multipartBody4572909784631872039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637594222,"filename":"image_23012025_14_05_02_759281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce1ff757177fedf0133f334a7c3d2f90.jpg","text":"TemporaryFile(/tmp/multipartBody4324423045252716477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637594222,"filename":"image_23012025_14_05_02_759281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff0b36f8fc4daf3ac6891308348a9eae.jpg","text":"TemporaryFile(/tmp/multipartBody6977731549411428305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637594222,"filename":"image_23012025_14_04_02_566431_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834136","file1":"1330834130","file0":"1330834124","file3":"1330834142"},"map_files_photo_id_array":[{"photo_id":"1330834136","filename":"file2"},{"photo_id":"1330834130","filename":"file1"},{"photo_id":"1330834124","filename":"file0"},{"photo_id":"1330834142","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834142":["hashtag1","hashtag2"]},{"1330834136":["hashtag1","hashtag2"]},{"1330834130":["hashtag1","hashtag2"]},{"1330834124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834142, 1330834136, 1330834130, 1330834124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.28523111343384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:06:21.913338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_02_759281_0003.jpg', '/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_03_043143_0000.jpg', '/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_03_043143_0001.jpg', '/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_03_043143_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_02_759281_0003.jpg
/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_03_043143_0000.jpg
/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_03_043143_0001.jpg
/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_03_043143_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330834170","1330834183","1330834177","1330834165"],"photo_ids_order":["1330834165","1330834170","1330834177","1330834183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2459e715e594e5a27edf5d3c1fee996.jpg","text":"TemporaryFile(/tmp/multipartBody6646099171005868830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637653255,"filename":"image_23012025_14_06_03_043143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bed7fd8b9cd23ce2dbbe4cb243ed514d.jpg","text":"TemporaryFile(/tmp/multipartBody5123155713040801343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637653255,"filename":"image_23012025_14_06_03_043143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/468e80857cd5be92b8926124bd6a8bd1.jpg","text":"TemporaryFile(/tmp/multipartBody9076632616706702336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637653255,"filename":"image_23012025_14_06_03_043143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2c3a03cc8cceb89faf216c70df0abb3.jpg","text":"TemporaryFile(/tmp/multipartBody8159417006546125405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637653255,"filename":"image_23012025_14_05_02_759281_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834177","file1":"1330834170","file0":"1330834165","file3":"1330834183"},"map_files_photo_id_array":[{"photo_id":"1330834177","filename":"file2"},{"photo_id":"1330834170","filename":"file1"},{"photo_id":"1330834165","filename":"file0"},{"photo_id":"1330834183","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834170":["hashtag1","hashtag2"]},{"1330834183":["hashtag1","hashtag2"]},{"1330834177":["hashtag1","hashtag2"]},{"1330834165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834170, 1330834183, 1330834177, 1330834165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.009360790252686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:07:22.003534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_03_043143_0003.jpg', '/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_02_148800_0000.jpg', '/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_02_148800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_03_043143_0003.jpg
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_02_148800_0000.jpg
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_02_148800_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330834212","1330834206","1330834218"],"photo_ids_order":["1330834206","1330834212","1330834218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a20c2c309546d1a7287716f189404f9a.jpg","text":"TemporaryFile(/tmp/multipartBody4623072951194404031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637710777,"filename":"image_23012025_14_07_02_148800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b333416754a7beac5be09239a20de93a.jpg","text":"TemporaryFile(/tmp/multipartBody8527683029127275049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637710777,"filename":"image_23012025_14_06_03_043143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d41b5f6e406e867186ecc466c1f142d.jpg","text":"TemporaryFile(/tmp/multipartBody8776008410380280514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637710777,"filename":"image_23012025_14_07_02_148800_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834218","file1":"1330834212","file0":"1330834206"},"map_files_photo_id_array":[{"photo_id":"1330834218","filename":"file2"},{"photo_id":"1330834212","filename":"file1"},{"photo_id":"1330834206","filename":"file0"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834212":["hashtag1","hashtag2"]},{"1330834206":["hashtag1","hashtag2"]},{"1330834218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834212, 1330834206, 1330834218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.70395064353943 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:08:02.687448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/05/image_21012025_19_05_02_473186_0002.jpg', '/home/pi/Desktop/images/21012025/19/05/image_21012025_19_05_02_473186_0003.jpg', '/home/pi/Desktop/images/21012025/19/06/image_21012025_19_06_02_681812_0000.jpg', '/home/pi/Desktop/images/21012025/19/06/image_21012025_19_06_02_681812_0001.jpg', '/home/pi/Desktop/images/21012025/19/06/image_21012025_19_06_02_681812_0002.jpg', '/home/pi/Desktop/images/21012025/19/06/image_21012025_19_06_02_681812_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/05/image_21012025_19_05_02_473186_0002.jpg
/home/pi/Desktop/images/21012025/19/05/image_21012025_19_05_02_473186_0003.jpg
/home/pi/Desktop/images/21012025/19/06/image_21012025_19_06_02_681812_0000.jpg
/home/pi/Desktop/images/21012025/19/06/image_21012025_19_06_02_681812_0001.jpg
/home/pi/Desktop/images/21012025/19/06/image_21012025_19_06_02_681812_0002.jpg
/home/pi/Desktop/images/21012025/19/06/image_21012025_19_06_02_681812_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":["1330834282","1330834276","1330834270","1330834261","1330834255","1330834249"],"photo_ids_order":["1330834249","1330834255","1330834261","1330834270","1330834276","1330834282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f385125ca510f729d1b0c092c784faac.jpg","text":"TemporaryFile(/tmp/multipartBody8198306595906199083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637760716,"filename":"image_21012025_19_06_02_681812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99fd0ff802cbe299fd876a404538b568.jpg","text":"TemporaryFile(/tmp/multipartBody6626763799531655842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637760716,"filename":"image_21012025_19_06_02_681812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4de6f404ed1362a8e4e390bff710e4a.jpg","text":"TemporaryFile(/tmp/multipartBody892397415816914818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637760716,"filename":"image_21012025_19_06_02_681812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11c5cf85efc87808fcc0187617af4f0e.jpg","text":"TemporaryFile(/tmp/multipartBody7684511876321160863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637760716,"filename":"image_21012025_19_06_02_681812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c46d2050114b70f4776b1234e943ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6644256761664531035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637760716,"filename":"image_21012025_19_05_02_473186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b0c513cbd5f5544e649366e5d097311.jpg","text":"TemporaryFile(/tmp/multipartBody8478181540546445831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637760716,"filename":"image_21012025_19_05_02_473186_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834261","file1":"1330834255","file0":"1330834249","file4":"1330834276","file5":"1330834282","file3":"1330834270"},"map_files_photo_id_array":[{"photo_id":"1330834282","filename":"file5"},{"photo_id":"1330834261","filename":"file2"},{"photo_id":"1330834276","filename":"file4"},{"photo_id":"1330834255","filename":"file1"},{"photo_id":"1330834249","filename":"file0"},{"photo_id":"1330834270","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330834282":["hashtag1","hashtag2"]},{"1330834276":["hashtag1","hashtag2"]},{"1330834270":["hashtag1","hashtag2"]},{"1330834261":["hashtag1","hashtag2"]},{"1330834255":["hashtag1","hashtag2"]},{"1330834249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330834282, 1330834276, 1330834270, 1330834261, 1330834255, 1330834249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.88661456108093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:09:02.959152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_02_148800_0003.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_02_453211_0000.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_02_453211_0001.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_02_453211_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_02_148800_0003.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_02_453211_0000.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_02_453211_0001.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_02_453211_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330834314","1330834308","1330834302","1330834297"],"photo_ids_order":["1330834297","1330834302","1330834308","1330834314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/611b85fccef8b420dcb1a794e3ee7a37.jpg","text":"TemporaryFile(/tmp/multipartBody6644854214480991478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637814348,"filename":"image_23012025_14_08_02_453211_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c89665d4eb172479a4a310b565e5649.jpg","text":"TemporaryFile(/tmp/multipartBody2633281084482867727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637814348,"filename":"image_23012025_14_08_02_453211_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd351cb2b6f9dc1fa9e5d9ea085a30c8.jpg","text":"TemporaryFile(/tmp/multipartBody6413501561637359776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637814348,"filename":"image_23012025_14_08_02_453211_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/745cd11b25426a255344cd516974267c.jpg","text":"TemporaryFile(/tmp/multipartBody347572279581062940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637814348,"filename":"image_23012025_14_07_02_148800_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834308","file1":"1330834302","file0":"1330834297","file3":"1330834314"},"map_files_photo_id_array":[{"photo_id":"1330834308","filename":"file2"},{"photo_id":"1330834302","filename":"file1"},{"photo_id":"1330834297","filename":"file0"},{"photo_id":"1330834314","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834314":["hashtag1","hashtag2"]},{"1330834308":["hashtag1","hashtag2"]},{"1330834302":["hashtag1","hashtag2"]},{"1330834297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834314, 1330834308, 1330834302, 1330834297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.78157615661621 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:09:52.304859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_02_453211_0003.jpg', '/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_02_521749_0001.jpg', '/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_02_521749_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_02_453211_0003.jpg
/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_02_521749_0001.jpg
/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_02_521749_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330834348","1330834342","1330834336"],"photo_ids_order":["1330834336","1330834342","1330834348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53541d2e5e9cdd95e742f641f7c3c00c.jpg","text":"TemporaryFile(/tmp/multipartBody9053068218901801427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637860974,"filename":"image_23012025_14_09_02_521749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf964db96f8cc7c88a84dc9b59e97b33.jpg","text":"TemporaryFile(/tmp/multipartBody8538106799885561462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637860974,"filename":"image_23012025_14_09_02_521749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa45bba1527995c49ee1c0ab17979578.jpg","text":"TemporaryFile(/tmp/multipartBody9153336949678968467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637860974,"filename":"image_23012025_14_08_02_453211_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834348","file1":"1330834342","file0":"1330834336"},"map_files_photo_id_array":[{"photo_id":"1330834348","filename":"file2"},{"photo_id":"1330834342","filename":"file1"},{"photo_id":"1330834336","filename":"file0"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834348":["hashtag1","hashtag2"]},{"1330834342":["hashtag1","hashtag2"]},{"1330834336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834348, 1330834342, 1330834336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.97110891342163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:10:32.534841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_02_521749_0003.jpg', '/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0000.jpg', '/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0001.jpg', '/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_02_521749_0003.jpg
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0000.jpg
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0001.jpg
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330834383","1330834373","1330834378","1330834386"],"photo_ids_order":["1330834373","1330834378","1330834383","1330834386"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/258b0c9d0a839a36fa29970d6307c679.jpg","text":"TemporaryFile(/tmp/multipartBody544852260967291853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637903878,"filename":"image_23012025_14_10_02_692750_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8846e4aecff42bae014b9ea798cc9471.jpg","text":"TemporaryFile(/tmp/multipartBody4333740924661206455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637903878,"filename":"image_23012025_14_09_02_521749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd3ec5a48cf263c49097f10bf3041f85.jpg","text":"TemporaryFile(/tmp/multipartBody1007626794228770173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637903878,"filename":"image_23012025_14_10_02_692750_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/136305971c9820573249022ba5c4e4ad.jpg","text":"TemporaryFile(/tmp/multipartBody4528096668640266380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637903878,"filename":"image_23012025_14_10_02_692750_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834383","file1":"1330834378","file0":"1330834373","file3":"1330834386"},"map_files_photo_id_array":[{"photo_id":"1330834383","filename":"file2"},{"photo_id":"1330834378","filename":"file1"},{"photo_id":"1330834373","filename":"file0"},{"photo_id":"1330834386","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834383":["hashtag1","hashtag2"]},{"1330834373":["hashtag1","hashtag2"]},{"1330834378":["hashtag1","hashtag2"]},{"1330834386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834383, 1330834373, 1330834378, 1330834386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.425891160964966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:11:22.670702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.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: 10.715552568435669 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:11:42.762054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.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: 10.755378007888794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:12:02.491988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.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: 10.733527660369873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:12:22.095245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.273335695266724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:12:41.984353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.25790500640869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:13:02.679936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.150114059448242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:13:22.189588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.152624368667603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:13:42.169083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.18521523475647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:14:02.784622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.9798104763031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:14:22.424311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.307160139083862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:14:42.410841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.254881381988525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:15:03.261702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.10242748260498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:15:22.633895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.23365068435669 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:15:42.621372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.15384006500244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:16:02.191302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.831505060195923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:16:21.898307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.103273153305054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:16:41.933254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.274756908416748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:17:02.535417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.169174909591675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:17:21.977795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.243789196014404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:17:42.041140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.335140705108643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:18:02.665391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.13656258583069 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:18:22.278155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.782894134521484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:18:42.152812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.139859676361084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:19:02.784793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.22915005683899 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:19:22.366550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.30086636543274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:19:42.363444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.17929196357727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:20:02.883906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.205920457839966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:20:22.513857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.035473585128784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:20:42.469454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.077378273010254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:21:03.422586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.09468913078308 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:21:22.721784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.18708848953247 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:21:42.706245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.16717553138733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:22:02.276365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.330041646957397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:22:21.863398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.02877950668335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:22:41.965175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.257050275802612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:23:02.598008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.19992423057556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:23:22.079979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.013858556747437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:23:42.050778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.083051681518555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:24:02.734589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.2302086353302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:24:22.204912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.09776282310486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:24:42.225568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.317314386367798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:25:02.997632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.316065788269043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:25:22.378644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.29344630241394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:25:42.533876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.228071212768555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:26:03.023374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.07148289680481 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:26:22.634534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.791451454162598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:26:42.576878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.18372392654419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:27:02.574677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.035805702209473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:27:21.763914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.20915913581848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:27:41.797037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.133415460586548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:28:02.396626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.255549669265747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:28:22.126954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.085038423538208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:28:41.944981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.31194281578064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:29:02.947437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.227458000183105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:29:22.189896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.179628133773804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:29:42.186266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.202930688858032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:30:02.720427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.143094778060913 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:30:22.386985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.25809383392334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:30:42.349268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.102397441864014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:31:03.197578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.270644187927246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:31:22.620549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.281052827835083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:31:42.575343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.085084676742554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:32:03.152785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.226344347000122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:32:22.759828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.087934017181396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:32:42.721942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.361164808273315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:33:02.605971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.14956498146057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:33:21.923129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.20452094078064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:33:41.857935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.10874319076538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:34:02.377474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.27867364883423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:34:22.166577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.156213998794556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:34:42.023533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.04711675643921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:35:02.946524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.222506523132324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:35:22.295515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.37662434577942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:35:42.189933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.121994018554688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:36:02.747004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.235921144485474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:36:22.450506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.009018182754517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:36:42.459199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.19343876838684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:37:03.138416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.411707878112793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:37:22.653532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.265719175338745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:37:42.596539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.174806594848633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:38:03.114752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.134273529052734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:38:22.889232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.35679006576538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:38:42.802420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.15439510345459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:39:02.617886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.269644260406494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:39:21.931375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.15779423713684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:39:41.987401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.245729684829712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:40:02.455217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.125534772872925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:40:22.224067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.08964490890503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:40:42.146524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.272080183029175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:41:02.963896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.314146995544434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:41:22.438191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.29502248764038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:41:42.323336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.19809365272522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:42:03.052597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.096742630004883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:42:22.616058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.200429677963257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:42:42.535948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.176249742507935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:43:02.349804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.091979026794434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:43:21.866062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.095051288604736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:43:41.749923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.134880542755127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:44:02.457867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.18663239479065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:44:21.988956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.067098140716553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:44:42.040741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.016777992248535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:45:02.548278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.19740653038025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:45:22.090676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.258378267288208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:45:42.070948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.203548908233643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:46:02.592265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.03707242012024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:46:22.276610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.17375421524048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:46:42.273579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.003133058547974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:47:02.929376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.509865283966064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:47:22.501354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.17612886428833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:47:42.438702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.19398283958435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:48:03.046852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.10709857940674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:48:22.613959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.036134004592896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:48:42.590741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.14692974090576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:49:03.447842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.112287998199463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:49:22.827008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.1297607421875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:49:42.754602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.26424813270569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:50:02.346407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.08794331550598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:50:21.949590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.11166214942932 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:50:42.003598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.243767023086548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:51:02.717909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.129116773605347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:51:22.200628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.763574838638306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:51:42.220939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.143431186676025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:52:02.820119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.135297060012817 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:52:22.450368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.222977876663208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:52:42.415046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.196106672286987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:53:03.199287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.332780838012695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:53:22.564652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.224581480026245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:53:42.480448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.12003493309021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:54:03.193575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.010029792785645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:54:22.698977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.157329559326172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:54:42.707781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.088464736938477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:55:02.539634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.169304609298706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:55:21.833496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.1849844455719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:55:41.808844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.152233839035034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:56:02.458372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.28444266319275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:56:22.082232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.034985065460205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:56:42.044332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.987211227416992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:57:02.874498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.374613046646118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:57:22.355755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.48282217979431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:57:42.246521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.235926866531372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 14:59:03.176693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.317671060562134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 14:59:22.751950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.2308828830719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 14:59:42.563705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.22039556503296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:00:03.060326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.29310441017151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:00:22.748473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.261794328689575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:00:42.759111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.235018968582153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:01:02.521806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.22614359855652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:01:21.948560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.02849507331848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:01:41.962356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.171258211135864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:02:02.578263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.205430269241333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:02:22.242473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.183481454849243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:02:42.197474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.27531671524048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:03:03.056679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.072423934936523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:03:22.382926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.321853637695312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:03:42.303548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.306854248046875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:04:02.848888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.20163321495056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:04:22.550845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.24384617805481 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:04:42.488590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.14493441581726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:05:03.337283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.253149271011353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:05:22.733501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.167662620544434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:05:42.757558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.1550030708313 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:06:02.360494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.222790956497192 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:06:21.902663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.211487293243408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:06:41.896082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.16695761680603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:07:02.817472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.152629613876343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:07:22.159088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.09471845626831 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:07:42.060564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.183730125427246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:08:02.688024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.26351833343506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:08:22.250006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.07148051261902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:08:42.278719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.09717297554016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:09:02.840518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.441647052764893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:09:22.487452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.046422004699707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:09:42.575783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.205649614334106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:10:03.173076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.0693097114563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:10:22.755356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.15007209777832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:10:42.642195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.13461422920227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:11:02.577641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.11138153076172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:11:21.871466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.2005558013916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:11:41.934364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.02495551109314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:12:02.338874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.187823057174683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:12:22.125481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.063924551010132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:12:42.028858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.199254512786865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:13:02.955252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.053770303726196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:13:22.303591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.054258584976196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:13:42.237764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.116616249084473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:14:02.768290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.09778356552124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:14:22.370186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.30632519721985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:14:42.392706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.192551374435425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:15:03.094107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.242115259170532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:15:22.588530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.13909411430359 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:15:42.640857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.119322776794434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:16:03.135019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.300371408462524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:16:22.815651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.04810380935669 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:16:42.781702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.05362606048584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:17:02.512287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.302772045135498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:17:22.108405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.036136388778687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:17:41.965029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.142115831375122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:18:02.452987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.193478107452393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:18:22.119332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.09982204437256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:18:42.121688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.12199091911316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:19:02.856790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.313648462295532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:19:22.346152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.325929880142212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:19:42.301968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.329785346984863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:20:02.942052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.119176387786865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:20:22.461772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.120620012283325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:20:42.498621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.152117252349854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:21:03.288808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.208974599838257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:21:22.806408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.074216842651367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:21:42.633092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.089332580566406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:22:02.184556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.203858852386475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:22:21.827975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.102230548858643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:22:41.769517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.127174615859985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:23:02.697431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.486918449401855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:23:22.081954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.090879678726196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:23:42.084526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.11749577522278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:24:02.734009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.139904975891113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:24:22.317658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.116751432418823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:24:42.316933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.12950873374939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:25:03.141765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.307875871658325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:25:22.514049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.171305179595947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:25:42.487861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.200318574905396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:26:03.178116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.271787881851196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:26:22.737796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.244415283203125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:26:42.716465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.119007110595703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:27:02.491997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.10815715789795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:27:21.947560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.221606731414795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:27:41.940808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.214633464813232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:28:02.508864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.08385396003723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:28:22.095929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.005813121795654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:28:42.104882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.042046546936035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:29:02.872228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.332570791244507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:29:22.376978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.035976886749268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:29:42.281959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.1710102558136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:30:02.918305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.41291117668152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:30:22.505678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.01817512512207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:30:42.506505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.345880270004272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:31:03.295690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.0122013092041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:31:22.693030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.085121631622314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:31:42.678120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.244389533996582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:32:02.312908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.0387704372406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:32:21.790257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.142107486724854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:32:41.803013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.047977209091187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:33:02.591607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.23187804222107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:33:22.061161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.29401659965515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:33:42.002774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.13057518005371 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:34:02.553351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.20024561882019 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:34:22.224405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.157676935195923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:34:42.230790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.171361207962036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:35:02.974409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.268665313720703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:35:22.446305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.05274772644043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:35:42.408964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.19673252105713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:36:02.953883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.313048362731934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:36:22.530709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.079118967056274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:36:42.555541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.031737089157104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:37:03.324472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.27063798904419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:37:22.817575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.172991037368774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:37:42.754068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.20812726020813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:38:02.267374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.13344097137451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:38:21.940678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.16152048110962 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:38:41.926193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.040618181228638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:39:02.770935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.12634778022766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:39:22.190082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.234397172927856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:39:42.060775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.07056713104248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:40:02.649323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.054615020751953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:40:22.238804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.05605435371399 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:40:42.226752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.21997594833374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:41:03.078877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.08364772796631 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:41:22.528879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.202154874801636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:41:42.415226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.347257137298584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:42:03.066440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.088143348693848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:42:22.772626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.18904685974121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:42:42.682624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.09188222885132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:43:02.503467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.08905792236328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:43:21.845994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.136696100234985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:43:41.814327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.103006601333618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:44:02.336919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.12191915512085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:44:22.020327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.073956966400146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:44:41.925027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.287082195281982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:45:02.794037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.24225616455078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:45:22.289451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.405473232269287 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:45:42.117093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.2502179145813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:46:02.724567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.184796810150146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:46:22.378972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.360594749450684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:46:42.357414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.07300090789795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:47:03.226458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.25159454345703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:47:22.642385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.17532181739807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:47:42.507120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.087058782577515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:48:03.044676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.209401607513428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:48:22.797036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.325913190841675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:48:42.742873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.155396699905396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:49:02.658055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.42024803161621 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:49:21.916118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.177395820617676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:49:41.909071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.02338433265686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:50:02.455052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.178348541259766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:50:22.145929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.182687282562256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:50:42.029566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.881181478500366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:51:02.898495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.240784406661987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:51:22.258306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.03213405609131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:51:42.359400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.000110626220703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:52:02.938515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.29395866394043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:52:22.533765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.115598917007446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:52:42.444747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.22137475013733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:53:03.137685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.374089002609253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:53:22.649973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.135939836502075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:53:42.650656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.16986918449402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:54:02.198891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.168274402618408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:54:21.782448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.21456265449524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:54:41.806592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.983097076416016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:55:02.493424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.285043478012085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:55:22.016315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.03163981437683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:55:41.947253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.306249856948853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:56:02.521127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.17361879348755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:56:22.248689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.132989645004272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:56:42.204613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.763054132461548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:57:02.903434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.574726581573486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:57:22.326437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.41042447090149 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:57:42.426468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.233426332473755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 15:59:03.186586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.272098541259766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 15:59:22.709143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.160712242126465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 15:59:42.720616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.290841341018677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:00:02.365568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.06429958343506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:00:21.895943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.029531002044678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:00:41.896445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.01911473274231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:01:02.865304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.237868547439575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:01:22.180747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.06699514389038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:01:42.110916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.14037322998047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:02:02.845753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.060415506362915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:02:22.340896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.2472927570343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:02:42.429361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.267777919769287 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:03:03.252022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.227071523666382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:03:22.567344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.310944080352783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:03:42.477590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.39928650856018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:04:03.121175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.332570791244507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:04:22.759516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.041083335876465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:04:42.660592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.19831395149231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:05:02.650830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.40169668197632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:05:21.985375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.097403049468994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:05:42.043101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.01942467689514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:06:02.565448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.24569320678711 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:06:22.243046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.115484476089478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:06:42.227541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.30764889717102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:07:02.991140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.50278615951538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:07:22.378648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.21582579612732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:07:42.480257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.091822147369385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:08:02.979559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.30445623397827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:08:22.635696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.219934463500977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:08:42.685345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.084392786026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:09:02.416826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.34047031402588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:09:21.783027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.06312084197998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:09:41.815866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.17780613899231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:10:02.471125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.208750247955322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:10:22.037072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.157236576080322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:10:42.095756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.865482568740845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:11:02.663367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.24563217163086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:11:22.198586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.132465600967407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:11:42.214547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.23203754425049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:12:02.761003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.108726501464844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:12:22.358125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.228189945220947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:12:42.356589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.04122233390808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:13:03.243682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.200016975402832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:13:22.562933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.13663339614868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:13:42.655482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.214414358139038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:14:02.239022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.359235525131226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:14:21.861515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.25698971748352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:14:41.856166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.194750547409058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:15:02.594563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.3078351020813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:15:22.142386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.154554843902588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:15:42.007279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.975955486297607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:16:02.597729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.074063062667847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:16:22.164103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.032275915145874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:16:42.180895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.099990606307983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:17:03.070035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.086548566818237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:17:22.458943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.264763593673706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:17:42.425605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.24272918701172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:18:02.925804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.18704056739807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:18:22.662188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.057235956192017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:18:42.584544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.26189112663269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:19:03.550519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.21462106704712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:19:22.765583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.060766458511353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:19:42.798227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.235039472579956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:20:02.461007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.207889080047607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:20:22.002403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.019890308380127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:20:41.986150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.053048372268677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:21:02.829271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.068851470947266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:21:22.265953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.09284496307373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:21:42.165624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.181256771087646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:22:02.636577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.28157901763916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:22:22.313564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.420220375061035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:22:42.279462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.125844955444336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:23:03.137573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.2010235786438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:23:22.570415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.147287607192993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:23:42.491433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.195418119430542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:24:03.248798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.082435846328735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:24:22.771317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.2568941116333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:24:42.774296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.257179975509644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:25:02.460481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.27566933631897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:25:21.937640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.180431604385376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:25:41.917364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.183849334716797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:26:02.473610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.196650981903076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:26:22.189350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.128714084625244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:26:42.187912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.221148014068604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:27:02.627094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.565160989761353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:27:22.262357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.116658926010132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:27:42.255845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.14240574836731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:28:02.945246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.112064599990845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:28:22.417252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.137211561203003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:28:42.448072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.17317509651184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:29:03.269317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.337353706359863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:29:22.777259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.177122354507446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:29:42.651257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.25229263305664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:30:02.259089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.09114170074463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:30:21.807586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.08699369430542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:30:41.787889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.03181767463684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:31:02.595058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.255399465560913 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:31:22.007787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.137946605682373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:31:41.964659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.22403883934021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:32:02.593152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.096072912216187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:32:22.245986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.18524432182312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:32:42.159789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.230560779571533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:33:02.958018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.092347145080566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:33:22.289031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.137124061584473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:33:42.360109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.377694845199585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:34:02.879688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.20041036605835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:34:22.503975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.166841745376587 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:34:42.486047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.218063592910767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:35:03.261414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.43186092376709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:35:22.652389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.158052682876587 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:35:42.718376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.171315908432007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:36:02.174488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.192620515823364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:36:21.881947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.050020456314087 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:36:41.859210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.088218212127686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:37:02.618770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.298144102096558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:37:22.039427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.16502833366394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:37:41.966258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.07858633995056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:38:02.595682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.095900535583496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:38:22.181218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.058358430862427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:38:42.254352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.286782264709473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:39:02.932874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.149744033813477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:39:22.369284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.091383934020996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:39:42.319583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.09717631340027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:40:02.910493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.24242854118347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:40:22.525059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.13276958465576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:40:42.545119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.116178035736084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:41:03.398711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.198013067245483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:41:22.716888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.243653297424316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:41:42.747836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.32808208465576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:42:02.283148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.24696373939514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:42:21.955328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.234511375427246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:42:41.926423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.250340938568115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:43:02.685230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.114306449890137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:43:22.109361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.011401653289795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:43:42.089780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.06493639945984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:44:02.609162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.202351808547974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:44:22.284315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.166402101516724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:44:42.283208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.39123249053955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:45:02.847519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.05125641822815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:45:22.425050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.268407344818115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:45:42.382015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.10740566253662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:46:02.899318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.058003664016724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:46:22.633113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.21921730041504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:46:42.581169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.216274976730347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:47:03.362684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.324108600616455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:47:22.696668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.015416383743286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:47:42.780107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.01120090484619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:48:02.316937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.093708753585815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:48:21.884422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.250687837600708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:48:41.870038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.767329931259155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:49:02.503774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.32349991798401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:49:22.006087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.27598214149475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:49:42.024539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.300837516784668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:50:02.596606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.27074360847473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:50:22.284742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.06258249282837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:50:42.341377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.249558210372925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:51:03.125926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.346722841262817 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:51:22.410433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.145047664642334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:51:42.457738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.088725328445435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:52:03.023947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.25069260597229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:52:22.629119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.146044492721558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:52:42.644770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.32003879547119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:53:02.369742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.347447156906128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:53:21.836623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.204059600830078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:53:41.812997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.236698865890503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:54:02.468422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.366041660308838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:54:22.054777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.048613786697388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:54:42.054598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.162364959716797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:55:02.752785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.22171378135681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:55:22.187169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.327295780181885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:55:42.256319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.061848878860474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:56:02.794014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.312278270721436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:56:22.450693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.050832509994507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:56:42.399940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.04316735267639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:57:03.244963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.285167932510376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:57:22.657120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.30225157737732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:57:42.570830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.16597008705139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 16:59:02.464654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.21451210975647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 16:59:21.977303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.231306314468384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 16:59:41.947036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.040326595306396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:00:02.504983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.196658849716187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:00:22.173879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.21573281288147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:00:42.172706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.087114810943604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:01:02.978478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.326469659805298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:01:22.311064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.14970350265503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:01:42.315725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.165709257125854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:02:02.883698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.3177433013916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:02:22.545485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.15349555015564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:02:42.624572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.043837070465088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:03:03.258973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.388298511505127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:03:22.711438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.154568433761597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:03:42.734078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.20205593109131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:04:02.346687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.224302053451538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:04:21.893191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.079524517059326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:04:41.881345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.23360514640808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:05:02.676312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.19524574279785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:05:21.999412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.199087858200073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:05:42.128724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.073872804641724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:06:02.580187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.537170886993408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:06:22.353169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.119213581085205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:06:42.234093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.004413604736328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:07:03.011512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.210336446762085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:07:22.422398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.27575445175171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:07:42.414928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.22167181968689 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:08:03.003539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.194609880447388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:08:22.580248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.76004934310913 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:08:42.585462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.153809309005737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:09:03.343945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.20022940635681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:09:22.786430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.143441677093506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:09:42.725217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.286406993865967 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:10:02.259021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.00304937362671 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:10:21.923429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.862010955810547 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:10:41.944707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.175355434417725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:11:02.684590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.148698806762695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:11:22.099146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.192561864852905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:11:42.233788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.08579969406128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:12:02.694446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.207310914993286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:12:22.308104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.005164861679077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:12:42.247552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.29014301300049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:13:03.062944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.17018151283264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:13:22.365496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.08816885948181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:13:42.447166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.266894102096558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:14:02.963166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.148431301116943 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:14:22.605603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.22791576385498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:14:42.584766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.23130488395691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:15:03.277548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.200043439865112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:15:22.859329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.15930485725403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:15:42.787712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.957110166549683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:16:02.339782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.18569540977478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:16:21.884434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.134185075759888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:16:41.974138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.161962509155273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:17:02.687009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.078802824020386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:17:22.082652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.139273643493652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:17:42.082808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.020971536636353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:18:02.669738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.04963445663452 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:18:22.281923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.153766632080078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:18:42.215865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.264574766159058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:19:03.024088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.51421284675598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:19:22.456260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.059664249420166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:19:42.486567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.2798912525177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:20:03.030605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.252954959869385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:20:22.747253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.03394317626953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:20:42.672247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.19734764099121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:21:02.542796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.156130075454712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:21:21.926291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.249022483825684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:21:41.882350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.17288374900818 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:22:02.529698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.09031057357788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:22:22.070957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.197887420654297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:22:42.019482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.231919288635254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:23:02.829067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.387306213378906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:23:22.280957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.12549877166748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:23:42.225026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.225350856781006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:24:02.819680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.207244157791138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:24:22.441000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.20997667312622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:24:42.500836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.296584129333496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:25:03.210558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.205524921417236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:25:22.586897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.223020315170288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:25:42.608518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.363348484039307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:26:03.143647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.097724199295044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:26:22.786453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.128008604049683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:26:42.736110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.142197847366333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:27:02.612107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.129287719726562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:27:22.002429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.139342784881592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:27:41.902142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.25808095932007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:28:02.550996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.132738828659058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:28:22.141307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.314625024795532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:28:42.147022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.200140476226807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:29:03.032311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.170424699783325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:29:22.350072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.198673725128174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:29:42.331902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.11287498474121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:30:02.882242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.443426847457886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:30:22.642257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.11958932876587 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:30:42.762271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.12164068222046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:31:03.227602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 15.988615036010742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:31:22.702955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.13389754295349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:31:42.678725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.255797624588013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:32:02.349034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.197142839431763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:32:21.819934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.071138858795166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:32:41.880394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.2897469997406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:33:02.592638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.303020000457764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:33:21.983552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.03999423980713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:33:42.067579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.108845233917236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:34:02.580076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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: 16.067545413970947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:34:22.287163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_02_692750_0003.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0000.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0001.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0002.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_02_851111_0003.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_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":["1330834447","1330834432","1330834426","1330834441","1330834435","1330834429"],"photo_ids_order":["1330834426","1330834429","1330834432","1330834435","1330834441","1330834447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae4a08e136ae2a4869aea353384ebf5c.jpg","text":"TemporaryFile(/tmp/multipartBody3798731792081022175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650139319,"filename":"image_23012025_14_12_03_063824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35113ff8630e2c6013d582e204ee95ea.jpg","text":"TemporaryFile(/tmp/multipartBody4676440603991087796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650139319,"filename":"image_23012025_14_11_02_851111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18d6e55c2fed58aee7b56ce6ef31707e.jpg","text":"TemporaryFile(/tmp/multipartBody9066330937763090814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650139319,"filename":"image_23012025_14_10_02_692750_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fe4aaea6800207555386cbc52a17f6c.jpg","text":"TemporaryFile(/tmp/multipartBody5421243656948941088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650139319,"filename":"image_23012025_14_11_02_851111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bca4e2ab2f4846514a502c6b50951e2.jpg","text":"TemporaryFile(/tmp/multipartBody7113668842440457667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650139319,"filename":"image_23012025_14_11_02_851111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8bd757de106e882ebbb25a2c3017e7f6.jpg","text":"TemporaryFile(/tmp/multipartBody1915192297443351217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650139319,"filename":"image_23012025_14_11_02_851111_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834432","file1":"1330834429","file0":"1330834426","file4":"1330834441","file5":"1330834447","file3":"1330834435"},"map_files_photo_id_array":[{"photo_id":"1330834447","filename":"file5"},{"photo_id":"1330834432","filename":"file2"},{"photo_id":"1330834441","filename":"file4"},{"photo_id":"1330834429","filename":"file1"},{"photo_id":"1330834426","filename":"file0"},{"photo_id":"1330834435","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834447":["hashtag1","hashtag2"]},{"1330834432":["hashtag1","hashtag2"]},{"1330834426":["hashtag1","hashtag2"]},{"1330834441":["hashtag1","hashtag2"]},{"1330834435":["hashtag1","hashtag2"]},{"1330834429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834447, 1330834432, 1330834426, 1330834441, 1330834435, 1330834429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.373897314071655 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-23 17:35:32.322422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0001.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0002.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0003.jpg', '/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_02_378536_0000.jpg', '/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_02_378536_0001.jpg', '/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_02_378536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0001.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0002.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_03_063824_0003.jpg
/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_02_378536_0000.jpg
/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_02_378536_0001.jpg
/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_02_378536_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330834496","1330834481","1330834475","1330834492","1330834489","1330834486"],"photo_ids_order":["1330834475","1330834481","1330834486","1330834489","1330834492","1330834496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6378f5c5b65d87566616ffb76ddeba9.jpg","text":"TemporaryFile(/tmp/multipartBody1505043818828658118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650209192,"filename":"image_23012025_14_13_02_378536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/782e77bde275d1cd6fdddcbeb772d746.jpg","text":"TemporaryFile(/tmp/multipartBody4606130661652885950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650209192,"filename":"image_23012025_14_12_03_063824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ead1e03bee83ef7374fcb16de7c5c8a1.jpg","text":"TemporaryFile(/tmp/multipartBody3692009847015330977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650209192,"filename":"image_23012025_14_12_03_063824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9369559872b7bf9518af72700fefde1.jpg","text":"TemporaryFile(/tmp/multipartBody3137221892154025194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650209192,"filename":"image_23012025_14_13_02_378536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78d20511cd24f201e4f829b9b03225a5.jpg","text":"TemporaryFile(/tmp/multipartBody5786603990588002016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650209192,"filename":"image_23012025_14_13_02_378536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00384ca4e5fd47423b6680d36a2977f0.jpg","text":"TemporaryFile(/tmp/multipartBody5794200536085078647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650209192,"filename":"image_23012025_14_12_03_063824_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834486","file1":"1330834481","file0":"1330834475","file4":"1330834492","file5":"1330834496","file3":"1330834489"},"map_files_photo_id_array":[{"photo_id":"1330834496","filename":"file5"},{"photo_id":"1330834486","filename":"file2"},{"photo_id":"1330834492","filename":"file4"},{"photo_id":"1330834481","filename":"file1"},{"photo_id":"1330834475","filename":"file0"},{"photo_id":"1330834489","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834496":["hashtag1","hashtag2"]},{"1330834481":["hashtag1","hashtag2"]},{"1330834475":["hashtag1","hashtag2"]},{"1330834492":["hashtag1","hashtag2"]},{"1330834489":["hashtag1","hashtag2"]},{"1330834486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834496, 1330834481, 1330834475, 1330834492, 1330834489, 1330834486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.36260390281677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:36:42.494596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_02_378536_0003.jpg', '/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0000.jpg', '/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0001.jpg', '/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0002.jpg', '/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0003.jpg', '/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_02_766851_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_02_378536_0003.jpg
/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0000.jpg
/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0001.jpg
/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0002.jpg
/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0003.jpg
/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_02_766851_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.72800040245056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:37:03.312083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_02_378536_0003.jpg', '/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0000.jpg', '/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0001.jpg', '/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0002.jpg', '/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0003.jpg', '/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_02_766851_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_02_378536_0003.jpg
/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0000.jpg
/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0001.jpg
/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0002.jpg
/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_02_552716_0003.jpg
/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_02_766851_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":["1330834542","1330834571","1330834559","1330834553","1330834564","1330834549"],"photo_ids_order":["1330834542","1330834549","1330834553","1330834559","1330834564","1330834571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b7a7540929547772d712f885d27af92.jpg","text":"TemporaryFile(/tmp/multipartBody2866461163082463016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650300507,"filename":"image_23012025_14_13_02_378536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b87ecb36b09e9e63a671c7d0b27a1b15.jpg","text":"TemporaryFile(/tmp/multipartBody1940037139706543170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650300507,"filename":"image_23012025_14_15_02_766851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3175d3fd1f04fd7d3e4a8db6d8835542.jpg","text":"TemporaryFile(/tmp/multipartBody5869378705581997713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650300507,"filename":"image_23012025_14_14_02_552716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/945c977aaa4a772238357d5787c6fd1a.jpg","text":"TemporaryFile(/tmp/multipartBody5746400714725935145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650300507,"filename":"image_23012025_14_14_02_552716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/098455631ebc333b67a6ecea38c07673.jpg","text":"TemporaryFile(/tmp/multipartBody8752991758688966729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650300507,"filename":"image_23012025_14_14_02_552716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e888365c0a7a0b7562c8cd3943955382.jpg","text":"TemporaryFile(/tmp/multipartBody6028273584741431158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650300507,"filename":"image_23012025_14_14_02_552716_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834553","file1":"1330834549","file0":"1330834542","file4":"1330834564","file5":"1330834571","file3":"1330834559"},"map_files_photo_id_array":[{"photo_id":"1330834571","filename":"file5"},{"photo_id":"1330834553","filename":"file2"},{"photo_id":"1330834564","filename":"file4"},{"photo_id":"1330834549","filename":"file1"},{"photo_id":"1330834542","filename":"file0"},{"photo_id":"1330834559","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834542":["hashtag1","hashtag2"]},{"1330834571":["hashtag1","hashtag2"]},{"1330834559":["hashtag1","hashtag2"]},{"1330834553":["hashtag1","hashtag2"]},{"1330834564":["hashtag1","hashtag2"]},{"1330834549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834542, 1330834571, 1330834559, 1330834553, 1330834564, 1330834549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.209447383880615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:38:02.687167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_02_766851_0001.jpg', '/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_02_766851_0002.jpg', '/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_02_766851_0003.jpg', '/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_02_921679_0000.jpg', '/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_02_921679_0001.jpg', '/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_02_921679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_02_766851_0001.jpg
/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_02_766851_0002.jpg
/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_02_766851_0003.jpg
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_02_921679_0000.jpg
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_02_921679_0001.jpg
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_02_921679_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330834603","1330834614","1330834595","1330834589","1330834592","1330834599"],"photo_ids_order":["1330834589","1330834592","1330834595","1330834599","1330834603","1330834614"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a0842c76edadee596851a67968bf977.jpg","text":"TemporaryFile(/tmp/multipartBody1725620180611411857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650359299,"filename":"image_23012025_14_16_02_921679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e386fbe514fcc08be90f4dd1f129c26.jpg","text":"TemporaryFile(/tmp/multipartBody1946031583436677235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650359299,"filename":"image_23012025_14_16_02_921679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/377e31cb1e9c1757b3de1bb17b6d8b94.jpg","text":"TemporaryFile(/tmp/multipartBody1904260674010864942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650359299,"filename":"image_23012025_14_15_02_766851_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33ea474d536740e1d7da02d39edf1aa9.jpg","text":"TemporaryFile(/tmp/multipartBody1480549886966133282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650359299,"filename":"image_23012025_14_15_02_766851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0ac77151e0ad705dab1aef3fab9e8de.jpg","text":"TemporaryFile(/tmp/multipartBody7900398765061038411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650359299,"filename":"image_23012025_14_15_02_766851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3931e88583271b022f50ab5be1e67b3.jpg","text":"TemporaryFile(/tmp/multipartBody5001910483795466238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650359299,"filename":"image_23012025_14_16_02_921679_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834595","file1":"1330834592","file0":"1330834589","file4":"1330834603","file5":"1330834614","file3":"1330834599"},"map_files_photo_id_array":[{"photo_id":"1330834614","filename":"file5"},{"photo_id":"1330834595","filename":"file2"},{"photo_id":"1330834603","filename":"file4"},{"photo_id":"1330834592","filename":"file1"},{"photo_id":"1330834589","filename":"file0"},{"photo_id":"1330834599","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834603":["hashtag1","hashtag2"]},{"1330834614":["hashtag1","hashtag2"]},{"1330834595":["hashtag1","hashtag2"]},{"1330834589":["hashtag1","hashtag2"]},{"1330834592":["hashtag1","hashtag2"]},{"1330834599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834603, 1330834614, 1330834595, 1330834589, 1330834592, 1330834599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.87135434150696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:39:02.854132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_02_921679_0003.jpg', '/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_02_109331_0000.jpg', '/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_02_109331_0001.jpg', '/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_02_109331_0002.jpg', '/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_02_109331_0003.jpg', '/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_02_314227_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_02_921679_0003.jpg
/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_02_109331_0000.jpg
/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_02_109331_0001.jpg
/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_02_109331_0002.jpg
/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_02_109331_0003.jpg
/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_02_314227_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":["1330834644","1330834658","1330834652","1330834640","1330834663","1330834648"],"photo_ids_order":["1330834640","1330834644","1330834648","1330834652","1330834658","1330834663"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30eb92f23d5d1c2671b57cae36ad9f8b.jpg","text":"TemporaryFile(/tmp/multipartBody3639733002555300887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650419556,"filename":"image_23012025_14_17_02_109331_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00b8196ce824e9127f0eaa0e26ebf0cd.jpg","text":"TemporaryFile(/tmp/multipartBody6180271941917135751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650419556,"filename":"image_23012025_14_17_02_109331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4593c58bd9b0e1d482cd83216dbe4a7d.jpg","text":"TemporaryFile(/tmp/multipartBody2425114116712049419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650419556,"filename":"image_23012025_14_17_02_109331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6279074d8aba10ddf6a50a7ab1053f3.jpg","text":"TemporaryFile(/tmp/multipartBody226391308482329690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650419556,"filename":"image_23012025_14_16_02_921679_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/093518b2e3ade989ab78f6434343e3d5.jpg","text":"TemporaryFile(/tmp/multipartBody966085290766359537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650419556,"filename":"image_23012025_14_18_02_314227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/961f7c827a47d3c966247233bb04d408.jpg","text":"TemporaryFile(/tmp/multipartBody6111379116732687668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650419556,"filename":"image_23012025_14_17_02_109331_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834648","file1":"1330834644","file0":"1330834640","file4":"1330834658","file5":"1330834663","file3":"1330834652"},"map_files_photo_id_array":[{"photo_id":"1330834663","filename":"file5"},{"photo_id":"1330834648","filename":"file2"},{"photo_id":"1330834658","filename":"file4"},{"photo_id":"1330834644","filename":"file1"},{"photo_id":"1330834640","filename":"file0"},{"photo_id":"1330834652","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834644":["hashtag1","hashtag2"]},{"1330834658":["hashtag1","hashtag2"]},{"1330834652":["hashtag1","hashtag2"]},{"1330834640":["hashtag1","hashtag2"]},{"1330834663":["hashtag1","hashtag2"]},{"1330834648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834644, 1330834658, 1330834652, 1330834640, 1330834663, 1330834648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.62012982368469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:40:02.840880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_02_314227_0001.jpg', '/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_02_314227_0002.jpg', '/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_02_314227_0003.jpg', '/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_02_545866_0000.jpg', '/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_02_545866_0001.jpg', '/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_02_545866_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_02_314227_0001.jpg
/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_02_314227_0002.jpg
/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_02_314227_0003.jpg
/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_02_545866_0000.jpg
/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_02_545866_0001.jpg
/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_02_545866_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330834721","1330834703","1330834750","1330834744","1330834738","1330834732"],"photo_ids_order":["1330834703","1330834721","1330834732","1330834738","1330834744","1330834750"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd101379f6bf1e569cb1e4a967f7cc17.jpg","text":"TemporaryFile(/tmp/multipartBody8937534804412585368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650479999,"filename":"image_23012025_14_18_02_314227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06243a1324179be3748d06a3522ce3c0.jpg","text":"TemporaryFile(/tmp/multipartBody8256632973369368576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650479999,"filename":"image_23012025_14_18_02_314227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51a5e65f25439e48c9e23c19a73c6619.jpg","text":"TemporaryFile(/tmp/multipartBody6133378082497886467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650479999,"filename":"image_23012025_14_19_02_545866_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19b17c670bcef257f9a2399bd73a97e1.jpg","text":"TemporaryFile(/tmp/multipartBody8757585559919564478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650479999,"filename":"image_23012025_14_19_02_545866_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d9b419cb9a7ac3d852c25c6a1ecd066.jpg","text":"TemporaryFile(/tmp/multipartBody5383712831639726109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650479999,"filename":"image_23012025_14_19_02_545866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a21f437783597b2d77fdfa681f8d3b5.jpg","text":"TemporaryFile(/tmp/multipartBody4402646479706798553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650479999,"filename":"image_23012025_14_18_02_314227_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834732","file1":"1330834721","file0":"1330834703","file4":"1330834744","file5":"1330834750","file3":"1330834738"},"map_files_photo_id_array":[{"photo_id":"1330834750","filename":"file5"},{"photo_id":"1330834732","filename":"file2"},{"photo_id":"1330834744","filename":"file4"},{"photo_id":"1330834721","filename":"file1"},{"photo_id":"1330834703","filename":"file0"},{"photo_id":"1330834738","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834721":["hashtag1","hashtag2"]},{"1330834703":["hashtag1","hashtag2"]},{"1330834750":["hashtag1","hashtag2"]},{"1330834744":["hashtag1","hashtag2"]},{"1330834738":["hashtag1","hashtag2"]},{"1330834732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834721, 1330834703, 1330834750, 1330834744, 1330834738, 1330834732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.27985668182373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:41:03.311285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_02_545866_0003.jpg', '/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_02_666148_0000.jpg', '/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_02_666148_0001.jpg', '/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_02_666148_0002.jpg', '/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_02_666148_0003.jpg', '/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_02_817139_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_02_545866_0003.jpg
/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_02_666148_0000.jpg
/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_02_666148_0001.jpg
/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_02_666148_0002.jpg
/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_02_666148_0003.jpg
/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_02_817139_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":["1330834887","1330834833","1330834895","1330834868","1330834859","1330834849"],"photo_ids_order":["1330834833","1330834849","1330834859","1330834868","1330834887","1330834895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0909fe9c60a420a53c122cf7dfdc2900.jpg","text":"TemporaryFile(/tmp/multipartBody8737405681965619925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650539954,"filename":"image_23012025_14_20_02_666148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97eda0c06910d0657e14fe768bf9bef1.jpg","text":"TemporaryFile(/tmp/multipartBody4031814700665532195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650539954,"filename":"image_23012025_14_19_02_545866_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c3e2bb084004a91dccb76e5c4b11d3a.jpg","text":"TemporaryFile(/tmp/multipartBody8671091278806291599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650539954,"filename":"image_23012025_14_21_02_817139_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/208f7ac875a1017ea50a45cb80f50a27.jpg","text":"TemporaryFile(/tmp/multipartBody7349341344860412313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650539954,"filename":"image_23012025_14_20_02_666148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f6bf77f3d2c6fb7a14ecdc3ca3f9240.jpg","text":"TemporaryFile(/tmp/multipartBody3675014565778148447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650539954,"filename":"image_23012025_14_20_02_666148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c8996c37a3df1d531583f3a413cc5ef.jpg","text":"TemporaryFile(/tmp/multipartBody4231343720652082217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650539954,"filename":"image_23012025_14_20_02_666148_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834859","file1":"1330834849","file0":"1330834833","file4":"1330834887","file5":"1330834895","file3":"1330834868"},"map_files_photo_id_array":[{"photo_id":"1330834895","filename":"file5"},{"photo_id":"1330834859","filename":"file2"},{"photo_id":"1330834887","filename":"file4"},{"photo_id":"1330834849","filename":"file1"},{"photo_id":"1330834833","filename":"file0"},{"photo_id":"1330834868","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834887":["hashtag1","hashtag2"]},{"1330834833":["hashtag1","hashtag2"]},{"1330834895":["hashtag1","hashtag2"]},{"1330834868":["hashtag1","hashtag2"]},{"1330834859":["hashtag1","hashtag2"]},{"1330834849":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834887, 1330834833, 1330834895, 1330834868, 1330834859, 1330834849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.75321626663208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:42:02.340353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_02_817139_0001.jpg', '/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_02_817139_0002.jpg', '/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_02_817139_0003.jpg', '/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_03_073578_0000.jpg', '/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_03_073578_0001.jpg', '/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_03_073578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_02_817139_0001.jpg
/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_02_817139_0002.jpg
/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_02_817139_0003.jpg
/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_03_073578_0000.jpg
/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_03_073578_0001.jpg
/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_03_073578_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330834971","1330834929","1330834955","1330834934","1330834963","1330834921"],"photo_ids_order":["1330834921","1330834929","1330834934","1330834955","1330834963","1330834971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f678cff77b261e38b64a0c17c9c82376.jpg","text":"TemporaryFile(/tmp/multipartBody6238175788376203184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650598886,"filename":"image_23012025_14_22_03_073578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce5c1bf2705c8c351cd988883b09cc6d.jpg","text":"TemporaryFile(/tmp/multipartBody8239950384415109734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650598886,"filename":"image_23012025_14_21_02_817139_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b57233c6f623731d56ac485ed811b4c3.jpg","text":"TemporaryFile(/tmp/multipartBody3729036629362902393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650598886,"filename":"image_23012025_14_22_03_073578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d020611b306e47d28bafdb4827beaed6.jpg","text":"TemporaryFile(/tmp/multipartBody7414932135112375315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650598886,"filename":"image_23012025_14_21_02_817139_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a81f5a2cea708542538c1f8bd423c341.jpg","text":"TemporaryFile(/tmp/multipartBody3961261054477087373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650598886,"filename":"image_23012025_14_22_03_073578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8db85990e260cb34c99845573b28f915.jpg","text":"TemporaryFile(/tmp/multipartBody8946680218139211314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650598886,"filename":"image_23012025_14_21_02_817139_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330834934","file1":"1330834929","file0":"1330834921","file4":"1330834963","file5":"1330834971","file3":"1330834955"},"map_files_photo_id_array":[{"photo_id":"1330834971","filename":"file5"},{"photo_id":"1330834934","filename":"file2"},{"photo_id":"1330834963","filename":"file4"},{"photo_id":"1330834929","filename":"file1"},{"photo_id":"1330834921","filename":"file0"},{"photo_id":"1330834955","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330834971":["hashtag1","hashtag2"]},{"1330834929":["hashtag1","hashtag2"]},{"1330834955":["hashtag1","hashtag2"]},{"1330834934":["hashtag1","hashtag2"]},{"1330834963":["hashtag1","hashtag2"]},{"1330834921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330834971, 1330834929, 1330834955, 1330834934, 1330834963, 1330834921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.83391737937927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:43:02.619041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_03_073578_0003.jpg', '/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_02_217553_0000.jpg', '/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_02_217553_0001.jpg', '/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_02_217553_0002.jpg', '/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_02_217553_0003.jpg', '/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_02_455117_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_03_073578_0003.jpg
/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_02_217553_0000.jpg
/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_02_217553_0001.jpg
/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_02_217553_0002.jpg
/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_02_217553_0003.jpg
/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_02_455117_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":["1330835019","1330835010","1330835004","1330835029","1330835014","1330835023"],"photo_ids_order":["1330835004","1330835010","1330835014","1330835019","1330835023","1330835029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c8175f60d6b4439fc4a2a6ffff23b26.jpg","text":"TemporaryFile(/tmp/multipartBody6055655049254737333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650659608,"filename":"image_23012025_14_23_02_217553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/171ab4f854557c6e5557fd6cf08bc008.jpg","text":"TemporaryFile(/tmp/multipartBody3229408101349433339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650659608,"filename":"image_23012025_14_23_02_217553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d583347ea2b429e9220bdb9f6810d5c.jpg","text":"TemporaryFile(/tmp/multipartBody8952068333637921314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650659608,"filename":"image_23012025_14_22_03_073578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d30de98d793f277c08926cff6ab31b3.jpg","text":"TemporaryFile(/tmp/multipartBody4452934045322801070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650659608,"filename":"image_23012025_14_24_02_455117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f098918a990f0d6b7f0adc1cf182bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1230150769521328842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650659608,"filename":"image_23012025_14_23_02_217553_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f7af5b5e972f45b08862e6e0936c4d1.jpg","text":"TemporaryFile(/tmp/multipartBody2517038088008857381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650659608,"filename":"image_23012025_14_23_02_217553_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330835014","file1":"1330835010","file0":"1330835004","file4":"1330835023","file5":"1330835029","file3":"1330835019"},"map_files_photo_id_array":[{"photo_id":"1330835029","filename":"file5"},{"photo_id":"1330835014","filename":"file2"},{"photo_id":"1330835023","filename":"file4"},{"photo_id":"1330835010","filename":"file1"},{"photo_id":"1330835004","filename":"file0"},{"photo_id":"1330835019","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330835019":["hashtag1","hashtag2"]},{"1330835010":["hashtag1","hashtag2"]},{"1330835004":["hashtag1","hashtag2"]},{"1330835029":["hashtag1","hashtag2"]},{"1330835014":["hashtag1","hashtag2"]},{"1330835023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330835019, 1330835010, 1330835004, 1330835029, 1330835014, 1330835023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.006744623184204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:44:02.666221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_02_455117_0001.jpg', '/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_02_455117_0002.jpg', '/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_02_455117_0003.jpg', '/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_02_676443_0000.jpg', '/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_02_676443_0001.jpg', '/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_02_676443_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_02_455117_0001.jpg
/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_02_455117_0002.jpg
/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_02_455117_0003.jpg
/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_02_676443_0000.jpg
/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_02_676443_0001.jpg
/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_02_676443_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330835166","1330835144","1330835102","1330835182","1330835146","1330835134"],"photo_ids_order":["1330835102","1330835134","1330835144","1330835146","1330835166","1330835182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a8ef42b01f1125a4a99bfb8ac9875fd.jpg","text":"TemporaryFile(/tmp/multipartBody5800235802373666321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650719148,"filename":"image_23012025_14_25_02_676443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac218ccf52ece113c66e088e83653bf2.jpg","text":"TemporaryFile(/tmp/multipartBody1328944640139941046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650719148,"filename":"image_23012025_14_24_02_455117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b5fdb924213b610d9c9ce34fc0bf3c9.jpg","text":"TemporaryFile(/tmp/multipartBody2392473517423308159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650719148,"filename":"image_23012025_14_24_02_455117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33be4385921033aa09ab1ac9ce41baa6.jpg","text":"TemporaryFile(/tmp/multipartBody8466614373270460022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650719148,"filename":"image_23012025_14_25_02_676443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1612e951e225e5b0ac10e61a3973575e.jpg","text":"TemporaryFile(/tmp/multipartBody4553617495078339330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650719148,"filename":"image_23012025_14_25_02_676443_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc778e5792185e4c27d520b151f151e6.jpg","text":"TemporaryFile(/tmp/multipartBody3904295150889009496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650719148,"filename":"image_23012025_14_24_02_455117_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330835144","file1":"1330835134","file0":"1330835102","file4":"1330835166","file5":"1330835182","file3":"1330835146"},"map_files_photo_id_array":[{"photo_id":"1330835182","filename":"file5"},{"photo_id":"1330835144","filename":"file2"},{"photo_id":"1330835166","filename":"file4"},{"photo_id":"1330835134","filename":"file1"},{"photo_id":"1330835102","filename":"file0"},{"photo_id":"1330835146","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330835166":["hashtag1","hashtag2"]},{"1330835144":["hashtag1","hashtag2"]},{"1330835102":["hashtag1","hashtag2"]},{"1330835182":["hashtag1","hashtag2"]},{"1330835146":["hashtag1","hashtag2"]},{"1330835134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330835166, 1330835144, 1330835102, 1330835182, 1330835146, 1330835134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.27601647377014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:45:03.000190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_02_676443_0003.jpg', '/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_02_849740_0000.jpg', '/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_02_849740_0001.jpg', '/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_02_849740_0002.jpg', '/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_02_849740_0003.jpg', '/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_02_995885_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_02_676443_0003.jpg
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_02_849740_0000.jpg
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_02_849740_0001.jpg
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_02_849740_0002.jpg
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_02_849740_0003.jpg
/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_02_995885_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":["1330835343","1330835337","1330835362","1330835278","1330835266","1330835328"],"photo_ids_order":["1330835266","1330835278","1330835328","1330835337","1330835343","1330835362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ea108bb2998e6c766350b22afe13dcc.jpg","text":"TemporaryFile(/tmp/multipartBody2164675760348278698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650779476,"filename":"image_23012025_14_26_02_849740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6be0916bd935320b6277f5fcadc1cf9.jpg","text":"TemporaryFile(/tmp/multipartBody3096024151011236899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650779476,"filename":"image_23012025_14_26_02_849740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89406e164d079d048cd563a3ec92d671.jpg","text":"TemporaryFile(/tmp/multipartBody884150955436289030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650779476,"filename":"image_23012025_14_27_02_995885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbf22a9207803b97effa4a75627b58fd.jpg","text":"TemporaryFile(/tmp/multipartBody8289886256937973302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650779476,"filename":"image_23012025_14_26_02_849740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43368f7ff6875f1308888268ab2d090b.jpg","text":"TemporaryFile(/tmp/multipartBody2388428388678162968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650779476,"filename":"image_23012025_14_25_02_676443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62d1cb94e0c1570639c161ae69dffe4a.jpg","text":"TemporaryFile(/tmp/multipartBody3874200760673353524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650779476,"filename":"image_23012025_14_26_02_849740_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330835328","file1":"1330835278","file0":"1330835266","file4":"1330835343","file5":"1330835362","file3":"1330835337"},"map_files_photo_id_array":[{"photo_id":"1330835362","filename":"file5"},{"photo_id":"1330835328","filename":"file2"},{"photo_id":"1330835343","filename":"file4"},{"photo_id":"1330835278","filename":"file1"},{"photo_id":"1330835266","filename":"file0"},{"photo_id":"1330835337","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330835343":["hashtag1","hashtag2"]},{"1330835337":["hashtag1","hashtag2"]},{"1330835362":["hashtag1","hashtag2"]},{"1330835278":["hashtag1","hashtag2"]},{"1330835266":["hashtag1","hashtag2"]},{"1330835328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330835343, 1330835337, 1330835362, 1330835278, 1330835266, 1330835328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.82364058494568 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:46:03.126641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_02_995885_0001.jpg', '/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_02_995885_0002.jpg', '/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_02_995885_0003.jpg', '/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_02_231958_0000.jpg', '/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_02_231958_0001.jpg', '/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_02_231958_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_02_995885_0001.jpg
/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_02_995885_0002.jpg
/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_02_995885_0003.jpg
/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_02_231958_0000.jpg
/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_02_231958_0001.jpg
/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_02_231958_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330835619","1330835594","1330835603","1330835635","1330835589","1330835598"],"photo_ids_order":["1330835589","1330835594","1330835598","1330835603","1330835619","1330835635"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ca6d9aa9ee2b30d4c3820a5357ef562.jpg","text":"TemporaryFile(/tmp/multipartBody1024702554778238805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650839038,"filename":"image_23012025_14_28_02_231958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4407e0254134932bd794b25fa513d26.jpg","text":"TemporaryFile(/tmp/multipartBody7509516571593961754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650839038,"filename":"image_23012025_14_27_02_995885_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/555c4d33672f720b188dd2bd0f6b58dc.jpg","text":"TemporaryFile(/tmp/multipartBody895278035782488323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650839038,"filename":"image_23012025_14_28_02_231958_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bacf9ede5afc1ea69121f64035b798d.jpg","text":"TemporaryFile(/tmp/multipartBody1016328001822166134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650839038,"filename":"image_23012025_14_28_02_231958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56ccb23aa1b7f3fbd90e795280d0da94.jpg","text":"TemporaryFile(/tmp/multipartBody2947728160923060774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650839038,"filename":"image_23012025_14_27_02_995885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/703e6498acbd8b73b93d1f0a051d743d.jpg","text":"TemporaryFile(/tmp/multipartBody2430046708783057309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650839038,"filename":"image_23012025_14_27_02_995885_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330835598","file1":"1330835594","file0":"1330835589","file4":"1330835619","file5":"1330835635","file3":"1330835603"},"map_files_photo_id_array":[{"photo_id":"1330835635","filename":"file5"},{"photo_id":"1330835598","filename":"file2"},{"photo_id":"1330835619","filename":"file4"},{"photo_id":"1330835594","filename":"file1"},{"photo_id":"1330835589","filename":"file0"},{"photo_id":"1330835603","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330835619":["hashtag1","hashtag2"]},{"1330835594":["hashtag1","hashtag2"]},{"1330835603":["hashtag1","hashtag2"]},{"1330835635":["hashtag1","hashtag2"]},{"1330835589":["hashtag1","hashtag2"]},{"1330835598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330835619, 1330835594, 1330835603, 1330835635, 1330835589, 1330835598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.53974199295044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:47:02.457364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_02_231958_0003.jpg', '/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0000.jpg', '/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0001.jpg', '/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0002.jpg', '/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0003.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_02_231958_0003.jpg
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0000.jpg
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0001.jpg
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0002.jpg
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0003.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.128165006637573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:47:21.788328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_02_231958_0003.jpg', '/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0000.jpg', '/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0001.jpg', '/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0002.jpg', '/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0003.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_02_231958_0003.jpg
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0000.jpg
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0001.jpg
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0002.jpg
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_02_299178_0003.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_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":["1330835733","1330835728","1330835743","1330835691","1330835685","1330835739"],"photo_ids_order":["1330835685","1330835691","1330835728","1330835733","1330835739","1330835743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a584239c0076f6f38a9179043cdcb92a.jpg","text":"TemporaryFile(/tmp/multipartBody4276373955435853995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650918234,"filename":"image_23012025_14_29_02_299178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f2b70c1071b377820b3ecc124a87ec9.jpg","text":"TemporaryFile(/tmp/multipartBody6260619136854740196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650918234,"filename":"image_23012025_14_29_02_299178_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/406a8b65d37fd70c9980d73bf1229ca3.jpg","text":"TemporaryFile(/tmp/multipartBody1624753858407928146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650918234,"filename":"image_23012025_14_30_02_488313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7d153252ac8c0341940dd9ffbedf59c.jpg","text":"TemporaryFile(/tmp/multipartBody2888772721226432196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650918234,"filename":"image_23012025_14_29_02_299178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6297828b35c0a334e3a8e1671125b4a5.jpg","text":"TemporaryFile(/tmp/multipartBody8674304573978858672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650918234,"filename":"image_23012025_14_28_02_231958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce13606094542e6aac39619dc51354e2.jpg","text":"TemporaryFile(/tmp/multipartBody166259307773905996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650918234,"filename":"image_23012025_14_29_02_299178_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330835728","file1":"1330835691","file0":"1330835685","file4":"1330835739","file5":"1330835743","file3":"1330835733"},"map_files_photo_id_array":[{"photo_id":"1330835743","filename":"file5"},{"photo_id":"1330835728","filename":"file2"},{"photo_id":"1330835739","filename":"file4"},{"photo_id":"1330835691","filename":"file1"},{"photo_id":"1330835685","filename":"file0"},{"photo_id":"1330835733","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330835733":["hashtag1","hashtag2"]},{"1330835728":["hashtag1","hashtag2"]},{"1330835743":["hashtag1","hashtag2"]},{"1330835691":["hashtag1","hashtag2"]},{"1330835685":["hashtag1","hashtag2"]},{"1330835739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330835733, 1330835728, 1330835743, 1330835691, 1330835685, 1330835739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.82428288459778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:48:22.000129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0001.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0002.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0003.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0000.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0001.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0001.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0002.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0003.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0000.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0001.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.042365550994873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:48:41.952179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0001.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0002.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0003.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0000.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0001.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0001.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0002.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_02_488313_0003.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0000.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0001.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330835879","1330835828","1330835942","1330835818","1330835937","1330835823"],"photo_ids_order":["1330835818","1330835823","1330835828","1330835879","1330835937","1330835942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c87ebabe2dc15f73323cee41b256f234.jpg","text":"TemporaryFile(/tmp/multipartBody7404839822817889479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650998367,"filename":"image_23012025_14_31_02_704659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f8b76d4f8f2f0d075ca1b977c4a4f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4241009864231779712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650998367,"filename":"image_23012025_14_30_02_488313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff1b136345d0b81426a8e10bb89d6c36.jpg","text":"TemporaryFile(/tmp/multipartBody8934066671019608511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650998367,"filename":"image_23012025_14_31_02_704659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52ccae088312e6683599d4cc7e7b0b79.jpg","text":"TemporaryFile(/tmp/multipartBody1735500439696979351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650998367,"filename":"image_23012025_14_30_02_488313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9617c14f8592330adb3c3db5e35a3f39.jpg","text":"TemporaryFile(/tmp/multipartBody9102047056296011151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650998367,"filename":"image_23012025_14_31_02_704659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/841a1a8fd81543f76b40d1029d53c8df.jpg","text":"TemporaryFile(/tmp/multipartBody8587968221930338657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650998367,"filename":"image_23012025_14_30_02_488313_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330835828","file1":"1330835823","file0":"1330835818","file4":"1330835937","file5":"1330835942","file3":"1330835879"},"map_files_photo_id_array":[{"photo_id":"1330835942","filename":"file5"},{"photo_id":"1330835828","filename":"file2"},{"photo_id":"1330835937","filename":"file4"},{"photo_id":"1330835823","filename":"file1"},{"photo_id":"1330835818","filename":"file0"},{"photo_id":"1330835879","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330835879":["hashtag1","hashtag2"]},{"1330835828":["hashtag1","hashtag2"]},{"1330835942":["hashtag1","hashtag2"]},{"1330835818":["hashtag1","hashtag2"]},{"1330835937":["hashtag1","hashtag2"]},{"1330835823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330835879, 1330835828, 1330835942, 1330835818, 1330835937, 1330835823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.17431831359863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 17:49:42.127505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0003.jpg', '/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0000.jpg', '/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0001.jpg', '/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0002.jpg', '/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0003.jpg', '/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0003.jpg
/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0000.jpg
/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0001.jpg
/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0002.jpg
/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0003.jpg
/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.448302507400513 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:50:02.600562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0003.jpg', '/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0000.jpg', '/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0001.jpg', '/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0002.jpg', '/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0003.jpg', '/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_02_704659_0003.jpg
/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0000.jpg
/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0001.jpg
/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0002.jpg
/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_02_902194_0003.jpg
/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_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":["1330836032","1330836023","1330836010","1330836051","1330836004","1330835997"],"photo_ids_order":["1330835997","1330836004","1330836010","1330836023","1330836032","1330836051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c16b19f7974e7bb13f96a3dcfb20bb16.jpg","text":"TemporaryFile(/tmp/multipartBody574588802409248742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651078483,"filename":"image_23012025_14_32_02_902194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/341905d1e11e9a0c3b10c67bbf81d067.jpg","text":"TemporaryFile(/tmp/multipartBody7102062158176150794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651078483,"filename":"image_23012025_14_32_02_902194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43d82bf3a9f7f064285730e64fadba1d.jpg","text":"TemporaryFile(/tmp/multipartBody5095343396061759118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651078483,"filename":"image_23012025_14_32_02_902194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96463c70e73ba3f4daa2ecb192de8d8b.jpg","text":"TemporaryFile(/tmp/multipartBody7477377585054492769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651078483,"filename":"image_23012025_14_33_03_059605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e493798538dc94b23ceefd89f17d746a.jpg","text":"TemporaryFile(/tmp/multipartBody808391212851283572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651078483,"filename":"image_23012025_14_32_02_902194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cae41e489bdff9be9ebcb745c308b647.jpg","text":"TemporaryFile(/tmp/multipartBody2227722946394993495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651078483,"filename":"image_23012025_14_31_02_704659_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330836010","file1":"1330836004","file0":"1330835997","file4":"1330836032","file5":"1330836051","file3":"1330836023"},"map_files_photo_id_array":[{"photo_id":"1330836051","filename":"file5"},{"photo_id":"1330836010","filename":"file2"},{"photo_id":"1330836032","filename":"file4"},{"photo_id":"1330836004","filename":"file1"},{"photo_id":"1330835997","filename":"file0"},{"photo_id":"1330836023","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330836032":["hashtag1","hashtag2"]},{"1330836023":["hashtag1","hashtag2"]},{"1330836010":["hashtag1","hashtag2"]},{"1330836051":["hashtag1","hashtag2"]},{"1330836004":["hashtag1","hashtag2"]},{"1330835997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330836032, 1330836023, 1330836010, 1330836051, 1330836004, 1330835997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.4284770488739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 17:51:03.290594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0001.jpg', '/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0002.jpg', '/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0003.jpg', '/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_02_359611_0000.jpg', '/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_02_359611_0001.jpg', '/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_02_359611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0001.jpg
/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0002.jpg
/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0003.jpg
/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_02_359611_0000.jpg
/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_02_359611_0001.jpg
/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_02_359611_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.913344383239746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:51:22.529365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0001.jpg', '/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0002.jpg', '/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0003.jpg', '/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_02_359611_0000.jpg', '/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_02_359611_0001.jpg', '/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_02_359611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0001.jpg
/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0002.jpg
/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_03_059605_0003.jpg
/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_02_359611_0000.jpg
/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_02_359611_0001.jpg
/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_02_359611_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330836152","1330836149","1330836128","1330836145","1330836118","1330836171"],"photo_ids_order":["1330836118","1330836128","1330836145","1330836149","1330836152","1330836171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8742078c00742894e1f5a0e7497ec46f.jpg","text":"TemporaryFile(/tmp/multipartBody3445614812993224449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651158780,"filename":"image_23012025_14_34_02_359611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ede687b7aaa4172685aeb551d6a96567.jpg","text":"TemporaryFile(/tmp/multipartBody5205956077216878717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651158780,"filename":"image_23012025_14_34_02_359611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1effde755dd2b19e9a807b04a6597ea3.jpg","text":"TemporaryFile(/tmp/multipartBody3712600678533377271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651158780,"filename":"image_23012025_14_33_03_059605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37b47c77dbfdb039d3bfe05371db5870.jpg","text":"TemporaryFile(/tmp/multipartBody8510403539289931785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651158780,"filename":"image_23012025_14_33_03_059605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/010fd877f57edb058acb1869324ec540.jpg","text":"TemporaryFile(/tmp/multipartBody7809228769759567035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651158780,"filename":"image_23012025_14_33_03_059605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3edbefab2c0565f41d3e6029d3045262.jpg","text":"TemporaryFile(/tmp/multipartBody4583938296756192116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651158780,"filename":"image_23012025_14_34_02_359611_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330836145","file1":"1330836128","file0":"1330836118","file4":"1330836152","file5":"1330836171","file3":"1330836149"},"map_files_photo_id_array":[{"photo_id":"1330836171","filename":"file5"},{"photo_id":"1330836145","filename":"file2"},{"photo_id":"1330836152","filename":"file4"},{"photo_id":"1330836128","filename":"file1"},{"photo_id":"1330836118","filename":"file0"},{"photo_id":"1330836149","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330836152":["hashtag1","hashtag2"]},{"1330836149":["hashtag1","hashtag2"]},{"1330836128":["hashtag1","hashtag2"]},{"1330836145":["hashtag1","hashtag2"]},{"1330836118":["hashtag1","hashtag2"]},{"1330836171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330836152, 1330836149, 1330836128, 1330836145, 1330836118, 1330836171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.279979944229126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:52:22.709911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_02_359611_0003.jpg', '/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_02_394066_0000.jpg', '/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_02_394066_0001.jpg', '/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_02_394066_0002.jpg', '/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_02_394066_0003.jpg', '/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_02_645051_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_02_359611_0003.jpg
/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_02_394066_0000.jpg
/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_02_394066_0001.jpg
/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_02_394066_0002.jpg
/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_02_394066_0003.jpg
/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_02_645051_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":["1330836259","1330836244","1330836238","1330836232","1330836252","1330836225"],"photo_ids_order":["1330836225","1330836232","1330836238","1330836244","1330836252","1330836259"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f0055ed12911b8381478e5925e7e13e.jpg","text":"TemporaryFile(/tmp/multipartBody7544496677016622724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651218630,"filename":"image_23012025_14_36_02_645051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92d5be375860b6a0e4afe256640e2605.jpg","text":"TemporaryFile(/tmp/multipartBody281631400193685736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651218630,"filename":"image_23012025_14_35_02_394066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b49f7a6643f682950130e2acf87d962c.jpg","text":"TemporaryFile(/tmp/multipartBody340447967492422126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651218630,"filename":"image_23012025_14_35_02_394066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af41c96c437d833463b7efbc5bf73961.jpg","text":"TemporaryFile(/tmp/multipartBody3442140027128832375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651218630,"filename":"image_23012025_14_35_02_394066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6d8c03532328850ee7871360be9f1b4.jpg","text":"TemporaryFile(/tmp/multipartBody3074435947280745851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651218630,"filename":"image_23012025_14_35_02_394066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca7ac7dcd9929cd93fab55528ce4d276.jpg","text":"TemporaryFile(/tmp/multipartBody498707806090006378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651218630,"filename":"image_23012025_14_34_02_359611_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330836238","file1":"1330836232","file0":"1330836225","file4":"1330836252","file5":"1330836259","file3":"1330836244"},"map_files_photo_id_array":[{"photo_id":"1330836259","filename":"file5"},{"photo_id":"1330836238","filename":"file2"},{"photo_id":"1330836252","filename":"file4"},{"photo_id":"1330836232","filename":"file1"},{"photo_id":"1330836225","filename":"file0"},{"photo_id":"1330836244","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330836259":["hashtag1","hashtag2"]},{"1330836244":["hashtag1","hashtag2"]},{"1330836238":["hashtag1","hashtag2"]},{"1330836232":["hashtag1","hashtag2"]},{"1330836252":["hashtag1","hashtag2"]},{"1330836225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330836259, 1330836244, 1330836238, 1330836232, 1330836252, 1330836225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.908833742141724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:53:21.813106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_02_645051_0001.jpg', '/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_02_645051_0002.jpg', '/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_02_645051_0003.jpg', '/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_02_807461_0000.jpg', '/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_02_807461_0001.jpg', '/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_02_807461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_02_645051_0001.jpg
/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_02_645051_0002.jpg
/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_02_645051_0003.jpg
/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_02_807461_0000.jpg
/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_02_807461_0001.jpg
/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_02_807461_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330836306","1330836301","1330836297","1330836291","1330836312","1330836303"],"photo_ids_order":["1330836291","1330836297","1330836301","1330836303","1330836306","1330836312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f88739c3644e26795c78bd618553327d.jpg","text":"TemporaryFile(/tmp/multipartBody328188002003118123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651278023,"filename":"image_23012025_14_37_02_807461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae7b588df7c443bdc7879f25fb90dd69.jpg","text":"TemporaryFile(/tmp/multipartBody980686504820894334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651278023,"filename":"image_23012025_14_36_02_645051_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4f6fa976e28a92e7655580818c5e853.jpg","text":"TemporaryFile(/tmp/multipartBody6283593909188465727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651278023,"filename":"image_23012025_14_36_02_645051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/533f21951b8d92572e4ac1ac80287e3c.jpg","text":"TemporaryFile(/tmp/multipartBody3861942948809539463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651278023,"filename":"image_23012025_14_36_02_645051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b7da1d7d16bd7f491b6ebc01b0708ba.jpg","text":"TemporaryFile(/tmp/multipartBody1086620787660286390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651278023,"filename":"image_23012025_14_37_02_807461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef36e92412b6b5d9fb454dd6cff8da0d.jpg","text":"TemporaryFile(/tmp/multipartBody8643533122268711681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651278023,"filename":"image_23012025_14_37_02_807461_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330836301","file1":"1330836297","file0":"1330836291","file4":"1330836306","file5":"1330836312","file3":"1330836303"},"map_files_photo_id_array":[{"photo_id":"1330836312","filename":"file5"},{"photo_id":"1330836301","filename":"file2"},{"photo_id":"1330836306","filename":"file4"},{"photo_id":"1330836297","filename":"file1"},{"photo_id":"1330836291","filename":"file0"},{"photo_id":"1330836303","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330836306":["hashtag1","hashtag2"]},{"1330836301":["hashtag1","hashtag2"]},{"1330836297":["hashtag1","hashtag2"]},{"1330836291":["hashtag1","hashtag2"]},{"1330836312":["hashtag1","hashtag2"]},{"1330836303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330836306, 1330836301, 1330836297, 1330836291, 1330836312, 1330836303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.72774696350098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:54:22.059285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_02_807461_0003.jpg', '/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_02_965905_0000.jpg', '/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_02_965905_0001.jpg', '/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_02_965905_0002.jpg', '/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_02_965905_0003.jpg', '/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_03_212294_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_02_807461_0003.jpg
/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_02_965905_0000.jpg
/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_02_965905_0001.jpg
/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_02_965905_0002.jpg
/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_02_965905_0003.jpg
/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_03_212294_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":["1330836347","1330836401","1330836385","1330836394","1330836363","1330836408"],"photo_ids_order":["1330836347","1330836363","1330836385","1330836394","1330836401","1330836408"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cff984dfc77023dbf9b3753e170829c7.jpg","text":"TemporaryFile(/tmp/multipartBody853458242272476490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651338307,"filename":"image_23012025_14_37_02_807461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7fea9d78d41a25c7e2d7147adf5141e5.jpg","text":"TemporaryFile(/tmp/multipartBody5584759367752657236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651338307,"filename":"image_23012025_14_38_02_965905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e554cd42f2d6ca7c237c7561c0d8dd7.jpg","text":"TemporaryFile(/tmp/multipartBody2100915315208379169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651338307,"filename":"image_23012025_14_38_02_965905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a1097d937f2528ede87d518f480a1cc.jpg","text":"TemporaryFile(/tmp/multipartBody8787942611931948641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651338307,"filename":"image_23012025_14_38_02_965905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b935ea325d9d759a733cf4497e3a923.jpg","text":"TemporaryFile(/tmp/multipartBody3680817463721083333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651338307,"filename":"image_23012025_14_38_02_965905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94902bc0508d3f27f974f39d29fa66e7.jpg","text":"TemporaryFile(/tmp/multipartBody5219600544383538658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651338307,"filename":"image_23012025_14_39_03_212294_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330836385","file1":"1330836363","file0":"1330836347","file4":"1330836401","file5":"1330836408","file3":"1330836394"},"map_files_photo_id_array":[{"photo_id":"1330836408","filename":"file5"},{"photo_id":"1330836385","filename":"file2"},{"photo_id":"1330836401","filename":"file4"},{"photo_id":"1330836363","filename":"file1"},{"photo_id":"1330836347","filename":"file0"},{"photo_id":"1330836394","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330836347":["hashtag1","hashtag2"]},{"1330836401":["hashtag1","hashtag2"]},{"1330836385":["hashtag1","hashtag2"]},{"1330836394":["hashtag1","hashtag2"]},{"1330836363":["hashtag1","hashtag2"]},{"1330836408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330836347, 1330836401, 1330836385, 1330836394, 1330836363, 1330836408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.89280390739441 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:55:22.219551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_03_212294_0001.jpg', '/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_03_212294_0002.jpg', '/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_03_212294_0003.jpg', '/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_02_299017_0000.jpg', '/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_02_299017_0001.jpg', '/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_02_299017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_03_212294_0001.jpg
/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_03_212294_0002.jpg
/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_03_212294_0003.jpg
/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_02_299017_0000.jpg
/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_02_299017_0001.jpg
/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_02_299017_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330836449","1330836464","1330836458","1330836443","1330836469","1330836453"],"photo_ids_order":["1330836443","1330836449","1330836453","1330836458","1330836464","1330836469"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afed83199ffe9f6d0e4dc9a3e7a02c73.jpg","text":"TemporaryFile(/tmp/multipartBody3603874716449110761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651398829,"filename":"image_23012025_14_39_03_212294_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba932b0b72508b4f4e40dde7db8147d4.jpg","text":"TemporaryFile(/tmp/multipartBody2183041949225332251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651398829,"filename":"image_23012025_14_40_02_299017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/422a134e9cd02aedd3eb3b1dfe28efad.jpg","text":"TemporaryFile(/tmp/multipartBody8449839205492180162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651398829,"filename":"image_23012025_14_40_02_299017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84282ca778dfe0a51da81c090bbddc84.jpg","text":"TemporaryFile(/tmp/multipartBody4012143929093252263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651398829,"filename":"image_23012025_14_39_03_212294_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f353c15a90a102257a688a4d9d5d1cfe.jpg","text":"TemporaryFile(/tmp/multipartBody5980758765790546701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651398829,"filename":"image_23012025_14_40_02_299017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea415041cc9b9ac20596964ad1242bb5.jpg","text":"TemporaryFile(/tmp/multipartBody6150076900061122156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651398829,"filename":"image_23012025_14_39_03_212294_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330836453","file1":"1330836449","file0":"1330836443","file4":"1330836464","file5":"1330836469","file3":"1330836458"},"map_files_photo_id_array":[{"photo_id":"1330836469","filename":"file5"},{"photo_id":"1330836453","filename":"file2"},{"photo_id":"1330836464","filename":"file4"},{"photo_id":"1330836449","filename":"file1"},{"photo_id":"1330836443","filename":"file0"},{"photo_id":"1330836458","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330836449":["hashtag1","hashtag2"]},{"1330836464":["hashtag1","hashtag2"]},{"1330836458":["hashtag1","hashtag2"]},{"1330836443":["hashtag1","hashtag2"]},{"1330836469":["hashtag1","hashtag2"]},{"1330836453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330836449, 1330836464, 1330836458, 1330836443, 1330836469, 1330836453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.90200662612915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:56:22.407677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_02_299017_0003.jpg', '/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_02_506363_0000.jpg', '/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_02_506363_0001.jpg', '/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_02_506363_0002.jpg', '/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_02_506363_0003.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_02_723263_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_02_299017_0003.jpg
/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_02_506363_0000.jpg
/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_02_506363_0001.jpg
/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_02_506363_0002.jpg
/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_02_506363_0003.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_02_723263_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":["1330836533","1330836514","1330836538","1330836523","1330836567","1330836576"],"photo_ids_order":["1330836514","1330836523","1330836533","1330836538","1330836567","1330836576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9f32d0b6174aed331ff14f25d421cd4.jpg","text":"TemporaryFile(/tmp/multipartBody4085674887807132725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651458912,"filename":"image_23012025_14_41_02_506363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e2912539cf83f0ff0ea9469c4324bc4.jpg","text":"TemporaryFile(/tmp/multipartBody782125333004133488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651458912,"filename":"image_23012025_14_40_02_299017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1885c1704ae621b273b1995d2a216f18.jpg","text":"TemporaryFile(/tmp/multipartBody6792522141414487860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651458912,"filename":"image_23012025_14_41_02_506363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/464647763d1978254574d57467450177.jpg","text":"TemporaryFile(/tmp/multipartBody7863433939289891184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651458912,"filename":"image_23012025_14_41_02_506363_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0de02709f5732e4780453e5ae8c29607.jpg","text":"TemporaryFile(/tmp/multipartBody7253046466586570152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651458912,"filename":"image_23012025_14_41_02_506363_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/334782ef6ea7348a3b9fb8c5da97933e.jpg","text":"TemporaryFile(/tmp/multipartBody1256030802350392814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651458912,"filename":"image_23012025_14_42_02_723263_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330836533","file1":"1330836523","file0":"1330836514","file4":"1330836567","file5":"1330836576","file3":"1330836538"},"map_files_photo_id_array":[{"photo_id":"1330836576","filename":"file5"},{"photo_id":"1330836533","filename":"file2"},{"photo_id":"1330836567","filename":"file4"},{"photo_id":"1330836523","filename":"file1"},{"photo_id":"1330836514","filename":"file0"},{"photo_id":"1330836538","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330836533":["hashtag1","hashtag2"]},{"1330836514":["hashtag1","hashtag2"]},{"1330836538":["hashtag1","hashtag2"]},{"1330836523":["hashtag1","hashtag2"]},{"1330836567":["hashtag1","hashtag2"]},{"1330836576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330836533, 1330836514, 1330836538, 1330836523, 1330836567, 1330836576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.914225578308105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 17:57:22.622589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_02_723263_0001.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_02_723263_0002.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_02_723263_0003.jpg', '/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_02_900233_0000.jpg', '/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_02_900233_0001.jpg', '/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_02_900233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_02_723263_0001.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_02_723263_0002.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_02_723263_0003.jpg
/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_02_900233_0000.jpg
/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_02_900233_0001.jpg
/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_02_900233_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-23 17:59:02.426379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_02_723263_0001.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_02_723263_0002.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_02_723263_0003.jpg', '/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_02_900233_0000.jpg', '/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_02_900233_0001.jpg', '/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_02_900233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_02_723263_0001.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_02_723263_0002.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_02_723263_0003.jpg
/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_02_900233_0000.jpg
/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_02_900233_0001.jpg
/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_02_900233_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330836878","1330836886","1330836862","1330836891","1330836873","1330836869"],"photo_ids_order":["1330836862","1330836869","1330836873","1330836878","1330836886","1330836891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/012ee02c06e9f3d8dbd2c0a7406315e8.jpg","text":"TemporaryFile(/tmp/multipartBody2727981035872752847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651619197,"filename":"image_23012025_14_43_02_900233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47d9ac346517374532c701b0403f8ec4.jpg","text":"TemporaryFile(/tmp/multipartBody8881802168668859132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651619197,"filename":"image_23012025_14_43_02_900233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20c50b57a7e4196df2a102a0fcc7a116.jpg","text":"TemporaryFile(/tmp/multipartBody4380460203809148187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651619197,"filename":"image_23012025_14_42_02_723263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84d8018f4d6ed07735e41a58a6341614.jpg","text":"TemporaryFile(/tmp/multipartBody5762251494660771975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651619197,"filename":"image_23012025_14_43_02_900233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2ebe114d30a79ec3204d1c75f667ba0.jpg","text":"TemporaryFile(/tmp/multipartBody8086577596105990514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651619197,"filename":"image_23012025_14_42_02_723263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0803437417ab383a48da44bacbf4cc34.jpg","text":"TemporaryFile(/tmp/multipartBody2438466759161238236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651619197,"filename":"image_23012025_14_42_02_723263_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330836873","file1":"1330836869","file0":"1330836862","file4":"1330836886","file5":"1330836891","file3":"1330836878"},"map_files_photo_id_array":[{"photo_id":"1330836891","filename":"file5"},{"photo_id":"1330836873","filename":"file2"},{"photo_id":"1330836886","filename":"file4"},{"photo_id":"1330836869","filename":"file1"},{"photo_id":"1330836862","filename":"file0"},{"photo_id":"1330836878","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330836878":["hashtag1","hashtag2"]},{"1330836886":["hashtag1","hashtag2"]},{"1330836862":["hashtag1","hashtag2"]},{"1330836891":["hashtag1","hashtag2"]},{"1330836873":["hashtag1","hashtag2"]},{"1330836869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330836878, 1330836886, 1330836862, 1330836891, 1330836873, 1330836869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.72185969352722 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:00:02.380271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_02_900233_0003.jpg', '/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_02_231316_0000.jpg', '/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_02_231316_0001.jpg', '/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_02_231316_0002.jpg', '/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_02_231316_0003.jpg', '/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_02_329072_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_02_900233_0003.jpg
/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_02_231316_0000.jpg
/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_02_231316_0001.jpg
/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_02_231316_0002.jpg
/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_02_231316_0003.jpg
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_02_329072_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":["1330836941","1330836967","1330836975","1330836960","1330836948","1330836989"],"photo_ids_order":["1330836941","1330836948","1330836960","1330836967","1330836975","1330836989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b63ba6bf63a1ef8b1a20cb1e703721a.jpg","text":"TemporaryFile(/tmp/multipartBody3672487113824422576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651678813,"filename":"image_23012025_14_43_02_900233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92edec90308ce938faf863503bea3386.jpg","text":"TemporaryFile(/tmp/multipartBody5175422851007793274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651678813,"filename":"image_23012025_14_44_02_231316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ff094ece3c4289c5b1f359aeac4e1de.jpg","text":"TemporaryFile(/tmp/multipartBody1246257872170062324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651678813,"filename":"image_23012025_14_44_02_231316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d0db9ba5b431304d1543976b16e638a.jpg","text":"TemporaryFile(/tmp/multipartBody725240532252121609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651678813,"filename":"image_23012025_14_44_02_231316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2345f3597f3fe3ea0318e38844b74ae0.jpg","text":"TemporaryFile(/tmp/multipartBody1107433465163629463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651678813,"filename":"image_23012025_14_44_02_231316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb37713ee0aaf05bf60febd218ee8ca7.jpg","text":"TemporaryFile(/tmp/multipartBody2824872090534012434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651678813,"filename":"image_23012025_14_45_02_329072_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330836960","file1":"1330836948","file0":"1330836941","file4":"1330836975","file5":"1330836989","file3":"1330836967"},"map_files_photo_id_array":[{"photo_id":"1330836989","filename":"file5"},{"photo_id":"1330836960","filename":"file2"},{"photo_id":"1330836975","filename":"file4"},{"photo_id":"1330836948","filename":"file1"},{"photo_id":"1330836941","filename":"file0"},{"photo_id":"1330836967","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330836941":["hashtag1","hashtag2"]},{"1330836967":["hashtag1","hashtag2"]},{"1330836975":["hashtag1","hashtag2"]},{"1330836960":["hashtag1","hashtag2"]},{"1330836948":["hashtag1","hashtag2"]},{"1330836989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330836941, 1330836967, 1330836975, 1330836960, 1330836948, 1330836989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.49979066848755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:01:02.817752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_02_329072_0001.jpg', '/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_02_329072_0002.jpg', '/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_02_329072_0003.jpg', '/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_02_536255_0000.jpg', '/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_02_536255_0001.jpg', '/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_02_536255_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_02_329072_0001.jpg
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_02_329072_0002.jpg
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_02_329072_0003.jpg
/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_02_536255_0000.jpg
/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_02_536255_0001.jpg
/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_02_536255_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330837095","1330837089","1330837071","1330837068","1330837056","1330837085"],"photo_ids_order":["1330837056","1330837068","1330837071","1330837085","1330837089","1330837095"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4825174a0b4213963c7d7a4ff4ccac8b.jpg","text":"TemporaryFile(/tmp/multipartBody6534385633630597618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651739573,"filename":"image_23012025_14_46_02_536255_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ebc5381067eb4d2e39447f4f3959d65.jpg","text":"TemporaryFile(/tmp/multipartBody7230871687046733124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651739573,"filename":"image_23012025_14_46_02_536255_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/795645a8ae64a003706a402f5ee397ea.jpg","text":"TemporaryFile(/tmp/multipartBody917628319188096144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651739573,"filename":"image_23012025_14_45_02_329072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/895cfd4587fdb560cbc744f4772ad527.jpg","text":"TemporaryFile(/tmp/multipartBody1248036407038651209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651739573,"filename":"image_23012025_14_45_02_329072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53063aff6c04c6e78d8149611c3e0fc7.jpg","text":"TemporaryFile(/tmp/multipartBody4854526319279607768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651739573,"filename":"image_23012025_14_45_02_329072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efe15ca77dd19c1d44334d158691da10.jpg","text":"TemporaryFile(/tmp/multipartBody714247445101738210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651739573,"filename":"image_23012025_14_46_02_536255_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330837071","file1":"1330837068","file0":"1330837056","file4":"1330837089","file5":"1330837095","file3":"1330837085"},"map_files_photo_id_array":[{"photo_id":"1330837095","filename":"file5"},{"photo_id":"1330837071","filename":"file2"},{"photo_id":"1330837089","filename":"file4"},{"photo_id":"1330837068","filename":"file1"},{"photo_id":"1330837056","filename":"file0"},{"photo_id":"1330837085","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330837095":["hashtag1","hashtag2"]},{"1330837089":["hashtag1","hashtag2"]},{"1330837071":["hashtag1","hashtag2"]},{"1330837068":["hashtag1","hashtag2"]},{"1330837056":["hashtag1","hashtag2"]},{"1330837085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330837095, 1330837089, 1330837071, 1330837068, 1330837056, 1330837085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.649739265441895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:02:02.896829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_02_536255_0003.jpg', '/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_02_602587_0000.jpg', '/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_02_602587_0001.jpg', '/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_02_602587_0002.jpg', '/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_02_602587_0003.jpg', '/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_02_753155_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_02_536255_0003.jpg
/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_02_602587_0000.jpg
/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_02_602587_0001.jpg
/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_02_602587_0002.jpg
/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_02_602587_0003.jpg
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_02_753155_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":["1330837610","1330837597","1330837579","1330837496","1330837490","1330837643"],"photo_ids_order":["1330837490","1330837496","1330837579","1330837597","1330837610","1330837643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d5498c4365c0182cd9445d6071248fe.jpg","text":"TemporaryFile(/tmp/multipartBody8661805708745805598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651799304,"filename":"image_23012025_14_47_02_602587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/415ab1ee2b47d0dfd566273bcae85399.jpg","text":"TemporaryFile(/tmp/multipartBody2456554243693501693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651799304,"filename":"image_23012025_14_47_02_602587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8eb135593ba2ad5fd430510470b2167e.jpg","text":"TemporaryFile(/tmp/multipartBody940452325556121087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651799304,"filename":"image_23012025_14_47_02_602587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7b00b04a64896ab51ec2d3f80525462.jpg","text":"TemporaryFile(/tmp/multipartBody1722194199586397995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651799304,"filename":"image_23012025_14_47_02_602587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1c094682a25835fcaa45f9823ae2600.jpg","text":"TemporaryFile(/tmp/multipartBody3462216471875764608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651799304,"filename":"image_23012025_14_46_02_536255_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de1ffda10609d923aabf343425a0e8d7.jpg","text":"TemporaryFile(/tmp/multipartBody7604901067452660671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651799304,"filename":"image_23012025_14_48_02_753155_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330837579","file1":"1330837496","file0":"1330837490","file4":"1330837610","file5":"1330837643","file3":"1330837597"},"map_files_photo_id_array":[{"photo_id":"1330837643","filename":"file5"},{"photo_id":"1330837579","filename":"file2"},{"photo_id":"1330837610","filename":"file4"},{"photo_id":"1330837496","filename":"file1"},{"photo_id":"1330837490","filename":"file0"},{"photo_id":"1330837597","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330837610":["hashtag1","hashtag2"]},{"1330837597":["hashtag1","hashtag2"]},{"1330837579":["hashtag1","hashtag2"]},{"1330837496":["hashtag1","hashtag2"]},{"1330837490":["hashtag1","hashtag2"]},{"1330837643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330837610, 1330837597, 1330837579, 1330837496, 1330837490, 1330837643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.95711135864258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:03:03.365894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_02_753155_0001.jpg', '/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_02_753155_0002.jpg', '/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_02_753155_0003.jpg', '/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_03_023804_0000.jpg', '/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_03_023804_0001.jpg', '/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_03_023804_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_02_753155_0001.jpg
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_02_753155_0002.jpg
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_02_753155_0003.jpg
/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_03_023804_0000.jpg
/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_03_023804_0001.jpg
/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_03_023804_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.427664041519165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:03:22.660181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_02_753155_0001.jpg', '/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_02_753155_0002.jpg', '/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_02_753155_0003.jpg', '/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_03_023804_0000.jpg', '/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_03_023804_0001.jpg', '/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_03_023804_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_02_753155_0001.jpg
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_02_753155_0002.jpg
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_02_753155_0003.jpg
/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_03_023804_0000.jpg
/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_03_023804_0001.jpg
/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_03_023804_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330837777","1330837740","1330837734","1330837787","1330837781","1330837754"],"photo_ids_order":["1330837734","1330837740","1330837754","1330837777","1330837781","1330837787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d263b8335e7b3d5865dca24417ff55e.jpg","text":"TemporaryFile(/tmp/multipartBody8111024293111445807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651879419,"filename":"image_23012025_14_49_03_023804_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ae905ccc24ffbab3c8bc54d5f986f42.jpg","text":"TemporaryFile(/tmp/multipartBody1340818665403702729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651879419,"filename":"image_23012025_14_48_02_753155_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3305eaa690b85f12f2da219a2f46d378.jpg","text":"TemporaryFile(/tmp/multipartBody7507836026672446049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651879419,"filename":"image_23012025_14_48_02_753155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f00b33f1d86d783622ebf765c6ddda94.jpg","text":"TemporaryFile(/tmp/multipartBody1897494222191791378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651879419,"filename":"image_23012025_14_49_03_023804_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2bcbbb9e65c5dddb7f452e19e99d357.jpg","text":"TemporaryFile(/tmp/multipartBody2305202408381769314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651879419,"filename":"image_23012025_14_49_03_023804_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9da7fb530d1b73d458eb9a188b9e1ca.jpg","text":"TemporaryFile(/tmp/multipartBody5198306722302112347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651879419,"filename":"image_23012025_14_48_02_753155_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330837754","file1":"1330837740","file0":"1330837734","file4":"1330837781","file5":"1330837787","file3":"1330837777"},"map_files_photo_id_array":[{"photo_id":"1330837787","filename":"file5"},{"photo_id":"1330837754","filename":"file2"},{"photo_id":"1330837781","filename":"file4"},{"photo_id":"1330837740","filename":"file1"},{"photo_id":"1330837734","filename":"file0"},{"photo_id":"1330837777","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330837777":["hashtag1","hashtag2"]},{"1330837740":["hashtag1","hashtag2"]},{"1330837734":["hashtag1","hashtag2"]},{"1330837787":["hashtag1","hashtag2"]},{"1330837781":["hashtag1","hashtag2"]},{"1330837754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330837777, 1330837740, 1330837734, 1330837787, 1330837781, 1330837754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.15294814109802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:04:21.874083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_03_023804_0003.jpg', '/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_03_118072_0000.jpg', '/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_03_118072_0001.jpg', '/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_03_118072_0002.jpg', '/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_03_118072_0003.jpg', '/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_02_359713_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_03_023804_0003.jpg
/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_03_118072_0000.jpg
/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_03_118072_0001.jpg
/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_03_118072_0002.jpg
/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_03_118072_0003.jpg
/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_02_359713_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":["1330837897","1330837882","1330837891","1330837887","1330837875","1330837871"],"photo_ids_order":["1330837871","1330837875","1330837882","1330837887","1330837891","1330837897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/feb77ca2510648e08cd217372e7e1cfb.jpg","text":"TemporaryFile(/tmp/multipartBody7175093208545987728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651938269,"filename":"image_23012025_14_51_02_359713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/300d616a6d059fe8abafda858100b97e.jpg","text":"TemporaryFile(/tmp/multipartBody4844000189628685919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651938269,"filename":"image_23012025_14_50_03_118072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/145c2cc639bbcdd3be2bba7d2acab4cb.jpg","text":"TemporaryFile(/tmp/multipartBody4745570615702038385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651938269,"filename":"image_23012025_14_50_03_118072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1b7f24599e59645bdbddcc8d926fe90.jpg","text":"TemporaryFile(/tmp/multipartBody2118683560319042458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651938269,"filename":"image_23012025_14_50_03_118072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f55325425b6d18f829004e3d57b98bad.jpg","text":"TemporaryFile(/tmp/multipartBody6062475487093269919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651938269,"filename":"image_23012025_14_50_03_118072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f36c9c4c1b7b79712ef6c54cb236a32.jpg","text":"TemporaryFile(/tmp/multipartBody5371060309189841630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651938269,"filename":"image_23012025_14_49_03_023804_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330837882","file1":"1330837875","file0":"1330837871","file4":"1330837891","file5":"1330837897","file3":"1330837887"},"map_files_photo_id_array":[{"photo_id":"1330837897","filename":"file5"},{"photo_id":"1330837882","filename":"file2"},{"photo_id":"1330837891","filename":"file4"},{"photo_id":"1330837875","filename":"file1"},{"photo_id":"1330837871","filename":"file0"},{"photo_id":"1330837887","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330837897":["hashtag1","hashtag2"]},{"1330837882":["hashtag1","hashtag2"]},{"1330837891":["hashtag1","hashtag2"]},{"1330837887":["hashtag1","hashtag2"]},{"1330837875":["hashtag1","hashtag2"]},{"1330837871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330837897, 1330837882, 1330837891, 1330837887, 1330837875, 1330837871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.81864047050476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:05:22.047228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_02_359713_0001.jpg', '/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_02_359713_0002.jpg', '/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_02_359713_0003.jpg', '/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_02_654917_0000.jpg', '/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_02_654917_0001.jpg', '/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_02_654917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_02_359713_0001.jpg
/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_02_359713_0002.jpg
/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_02_359713_0003.jpg
/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_02_654917_0000.jpg
/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_02_654917_0001.jpg
/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_02_654917_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330837928","1330837951","1330837944","1330837935","1330837940","1330837922"],"photo_ids_order":["1330837922","1330837928","1330837935","1330837940","1330837944","1330837951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66c482574c3cc0e84bed0206de5e6e2e.jpg","text":"TemporaryFile(/tmp/multipartBody8732313349815759370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651998587,"filename":"image_23012025_14_51_02_359713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2374907deb2efff4028e6492c7c35a8.jpg","text":"TemporaryFile(/tmp/multipartBody2447248180902320082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651998587,"filename":"image_23012025_14_52_02_654917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41f347cbec93d80e40497597804224d0.jpg","text":"TemporaryFile(/tmp/multipartBody8451911520968448434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651998587,"filename":"image_23012025_14_52_02_654917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bb02c75df735404fb520d717e515841.jpg","text":"TemporaryFile(/tmp/multipartBody7165943032958734474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651998587,"filename":"image_23012025_14_51_02_359713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef9e296f3f28822b5acc9a70e9ed2873.jpg","text":"TemporaryFile(/tmp/multipartBody7052885809483223473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651998587,"filename":"image_23012025_14_52_02_654917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ad3db81e12ba619eea1aaa1f103c719.jpg","text":"TemporaryFile(/tmp/multipartBody1641459976330544476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651998587,"filename":"image_23012025_14_51_02_359713_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330837935","file1":"1330837928","file0":"1330837922","file4":"1330837944","file5":"1330837951","file3":"1330837940"},"map_files_photo_id_array":[{"photo_id":"1330837951","filename":"file5"},{"photo_id":"1330837935","filename":"file2"},{"photo_id":"1330837944","filename":"file4"},{"photo_id":"1330837928","filename":"file1"},{"photo_id":"1330837922","filename":"file0"},{"photo_id":"1330837940","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330837928":["hashtag1","hashtag2"]},{"1330837951":["hashtag1","hashtag2"]},{"1330837944":["hashtag1","hashtag2"]},{"1330837935":["hashtag1","hashtag2"]},{"1330837940":["hashtag1","hashtag2"]},{"1330837922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330837928, 1330837951, 1330837944, 1330837935, 1330837940, 1330837922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.29051160812378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:06:22.196785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_02_654917_0003.jpg', '/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_02_706632_0000.jpg', '/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_02_706632_0001.jpg', '/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_02_706632_0002.jpg', '/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_02_706632_0003.jpg', '/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_02_800942_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_02_654917_0003.jpg
/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_02_706632_0000.jpg
/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_02_706632_0001.jpg
/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_02_706632_0002.jpg
/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_02_706632_0003.jpg
/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_02_800942_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":["1330838083","1330838059","1330837990","1330838022","1330838096","1330838012"],"photo_ids_order":["1330837990","1330838012","1330838022","1330838059","1330838083","1330838096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/391d92cbb4ae0995198cc1f0d6c3e026.jpg","text":"TemporaryFile(/tmp/multipartBody6205908005608738535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652058697,"filename":"image_23012025_14_53_02_706632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa6b716ad305440458bb1e781eb39568.jpg","text":"TemporaryFile(/tmp/multipartBody9033676722700253973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652058697,"filename":"image_23012025_14_53_02_706632_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84b2e5bf6148c917fe4578a9b74b3bb0.jpg","text":"TemporaryFile(/tmp/multipartBody6455706366302281351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652058697,"filename":"image_23012025_14_52_02_654917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93dc684e3e0c6d16b0593635da954d34.jpg","text":"TemporaryFile(/tmp/multipartBody862488649626744541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652058697,"filename":"image_23012025_14_53_02_706632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f283d543ffddb3983c5507f5324a0c42.jpg","text":"TemporaryFile(/tmp/multipartBody9091564065884336261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652058697,"filename":"image_23012025_14_54_02_800942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/988714e0ca3c1f21dcbec0cbe4a67dc4.jpg","text":"TemporaryFile(/tmp/multipartBody3861142108931682478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652058697,"filename":"image_23012025_14_53_02_706632_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330838022","file1":"1330838012","file0":"1330837990","file4":"1330838083","file5":"1330838096","file3":"1330838059"},"map_files_photo_id_array":[{"photo_id":"1330838096","filename":"file5"},{"photo_id":"1330838022","filename":"file2"},{"photo_id":"1330838083","filename":"file4"},{"photo_id":"1330838012","filename":"file1"},{"photo_id":"1330837990","filename":"file0"},{"photo_id":"1330838059","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330838083":["hashtag1","hashtag2"]},{"1330838059":["hashtag1","hashtag2"]},{"1330837990":["hashtag1","hashtag2"]},{"1330838022":["hashtag1","hashtag2"]},{"1330838096":["hashtag1","hashtag2"]},{"1330838012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330838083, 1330838059, 1330837990, 1330838022, 1330838096, 1330838012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.90624380111694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:07:22.394129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_02_800942_0001.jpg', '/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_02_800942_0002.jpg', '/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_02_800942_0003.jpg', '/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_03_094089_0000.jpg', '/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_03_094089_0001.jpg', '/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_03_094089_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_02_800942_0001.jpg
/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_02_800942_0002.jpg
/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_02_800942_0003.jpg
/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_03_094089_0000.jpg
/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_03_094089_0001.jpg
/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_03_094089_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330838137","1330838128","1330838116","1330838124","1330838132","1330838120"],"photo_ids_order":["1330838116","1330838120","1330838124","1330838128","1330838132","1330838137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4cde54f48847310f141aab1ce3e5200c.jpg","text":"TemporaryFile(/tmp/multipartBody8824319177619412659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652118536,"filename":"image_23012025_14_55_03_094089_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea3fd2c464551470630a000aeda600e1.jpg","text":"TemporaryFile(/tmp/multipartBody310856933448885217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652118536,"filename":"image_23012025_14_55_03_094089_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d60bfa816cac4fb7517cdc83e1f7270e.jpg","text":"TemporaryFile(/tmp/multipartBody6246637808227458403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652118536,"filename":"image_23012025_14_54_02_800942_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44623c94c0e3936ee3f492ee953b05ee.jpg","text":"TemporaryFile(/tmp/multipartBody5057108370887895147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652118536,"filename":"image_23012025_14_54_02_800942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e0ace7ae7ecdd66bd311c337e1b4f35.jpg","text":"TemporaryFile(/tmp/multipartBody8280187794399395542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652118536,"filename":"image_23012025_14_55_03_094089_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e2ce697038a4d9700020e7fb18b4f10.jpg","text":"TemporaryFile(/tmp/multipartBody5399672037934729718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652118536,"filename":"image_23012025_14_54_02_800942_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330838124","file1":"1330838120","file0":"1330838116","file4":"1330838132","file5":"1330838137","file3":"1330838128"},"map_files_photo_id_array":[{"photo_id":"1330838137","filename":"file5"},{"photo_id":"1330838124","filename":"file2"},{"photo_id":"1330838132","filename":"file4"},{"photo_id":"1330838120","filename":"file1"},{"photo_id":"1330838116","filename":"file0"},{"photo_id":"1330838128","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330838137":["hashtag1","hashtag2"]},{"1330838128":["hashtag1","hashtag2"]},{"1330838116":["hashtag1","hashtag2"]},{"1330838124":["hashtag1","hashtag2"]},{"1330838132":["hashtag1","hashtag2"]},{"1330838120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330838137, 1330838128, 1330838116, 1330838124, 1330838132, 1330838120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.351202964782715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:08:22.567679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_03_094089_0003.jpg', '/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_02_151951_0000.jpg', '/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_02_151951_0001.jpg', '/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_02_151951_0002.jpg', '/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_02_151951_0003.jpg', '/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_02_392415_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_03_094089_0003.jpg
/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_02_151951_0000.jpg
/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_02_151951_0001.jpg
/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_02_151951_0002.jpg
/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_02_151951_0003.jpg
/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_02_392415_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":["1330838164","1330838187","1330838183","1330838177","1330838171","1330838204"],"photo_ids_order":["1330838164","1330838171","1330838177","1330838183","1330838187","1330838204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5291ab3165cf390db572546c225ec55.jpg","text":"TemporaryFile(/tmp/multipartBody7273433173431798229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652179571,"filename":"image_23012025_14_55_03_094089_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e48dba74a33b3952867e8c8aeb89804.jpg","text":"TemporaryFile(/tmp/multipartBody7754317114860886488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652179571,"filename":"image_23012025_14_56_02_151951_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/988dc961618d1b67d8ada50f2fdef99d.jpg","text":"TemporaryFile(/tmp/multipartBody7982088799389926306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652179571,"filename":"image_23012025_14_56_02_151951_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8832515d8f3485db7de7b1e07e6adb5f.jpg","text":"TemporaryFile(/tmp/multipartBody2454565170572603776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652179571,"filename":"image_23012025_14_56_02_151951_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c43222b31d1f9ec107702bf4a074ce6.jpg","text":"TemporaryFile(/tmp/multipartBody1548254491569108923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652179571,"filename":"image_23012025_14_56_02_151951_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8b9b17b70ade39744c33218f7a85d2d.jpg","text":"TemporaryFile(/tmp/multipartBody8037386275697186126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652179571,"filename":"image_23012025_14_57_02_392415_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330838177","file1":"1330838171","file0":"1330838164","file4":"1330838187","file5":"1330838204","file3":"1330838183"},"map_files_photo_id_array":[{"photo_id":"1330838204","filename":"file5"},{"photo_id":"1330838177","filename":"file2"},{"photo_id":"1330838187","filename":"file4"},{"photo_id":"1330838171","filename":"file1"},{"photo_id":"1330838164","filename":"file0"},{"photo_id":"1330838183","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330838164":["hashtag1","hashtag2"]},{"1330838187":["hashtag1","hashtag2"]},{"1330838183":["hashtag1","hashtag2"]},{"1330838177":["hashtag1","hashtag2"]},{"1330838171":["hashtag1","hashtag2"]},{"1330838204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330838164, 1330838187, 1330838183, 1330838177, 1330838171, 1330838204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.91132831573486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:09:22.732329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_02_392415_0001.jpg', '/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_02_392415_0002.jpg', '/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_02_392415_0003.jpg', '/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_02_659317_0000.jpg', '/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_02_659317_0001.jpg', '/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_02_659317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_02_392415_0001.jpg
/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_02_392415_0002.jpg
/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_02_392415_0003.jpg
/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_02_659317_0000.jpg
/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_02_659317_0001.jpg
/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_02_659317_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330838283","1330838277","1330838262","1330838264","1330838255","1330838249"],"photo_ids_order":["1330838249","1330838255","1330838262","1330838264","1330838277","1330838283"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d243ecdaa18349d4b82a257e4b173268.jpg","text":"TemporaryFile(/tmp/multipartBody7177209518303112810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652238551,"filename":"image_23012025_14_58_02_659317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07c2d2c2c71089e9e87d6c0137d39894.jpg","text":"TemporaryFile(/tmp/multipartBody4001930746199181801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652238551,"filename":"image_23012025_14_58_02_659317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/995090fb8015e2769134be3f00417b8e.jpg","text":"TemporaryFile(/tmp/multipartBody890725076476288538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652238551,"filename":"image_23012025_14_57_02_392415_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf1629de072e8284fadc2af96991d6e7.jpg","text":"TemporaryFile(/tmp/multipartBody4321608276311115192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652238551,"filename":"image_23012025_14_58_02_659317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a5bf87d60497ce0ce13bb0263b18d4c.jpg","text":"TemporaryFile(/tmp/multipartBody7863830662128478204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652238551,"filename":"image_23012025_14_57_02_392415_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8b6012b7875a5c5b25f9298a7c0863f.jpg","text":"TemporaryFile(/tmp/multipartBody4656593405873439388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652238551,"filename":"image_23012025_14_57_02_392415_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330838262","file1":"1330838255","file0":"1330838249","file4":"1330838277","file5":"1330838283","file3":"1330838264"},"map_files_photo_id_array":[{"photo_id":"1330838283","filename":"file5"},{"photo_id":"1330838262","filename":"file2"},{"photo_id":"1330838277","filename":"file4"},{"photo_id":"1330838255","filename":"file1"},{"photo_id":"1330838249","filename":"file0"},{"photo_id":"1330838264","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330838283":["hashtag1","hashtag2"]},{"1330838277":["hashtag1","hashtag2"]},{"1330838262":["hashtag1","hashtag2"]},{"1330838264":["hashtag1","hashtag2"]},{"1330838255":["hashtag1","hashtag2"]},{"1330838249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330838283, 1330838277, 1330838262, 1330838264, 1330838255, 1330838249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.55523681640625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:10:21.960317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_02_659317_0003.jpg', '/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_02_770633_0000.jpg', '/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_02_770633_0001.jpg', '/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_02_770633_0002.jpg', '/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_02_770633_0003.jpg', '/home/pi/Desktop/images/23012025/15/00/image_23012025_15_00_02_899029_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_02_659317_0003.jpg
/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_02_770633_0000.jpg
/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_02_770633_0001.jpg
/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_02_770633_0002.jpg
/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_02_770633_0003.jpg
/home/pi/Desktop/images/23012025/15/00/image_23012025_15_00_02_899029_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":["1330838503","1330838496","1330838509","1330838346","1330838520","1330838514"],"photo_ids_order":["1330838346","1330838496","1330838503","1330838509","1330838514","1330838520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/123f724583eaa0fe510dc0783811f7e2.jpg","text":"TemporaryFile(/tmp/multipartBody2888681588189516204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652298031,"filename":"image_23012025_14_59_02_770633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f722b55776db1d81e5c62cb8ede0c691.jpg","text":"TemporaryFile(/tmp/multipartBody1651898579535595925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652298031,"filename":"image_23012025_14_59_02_770633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/624821ed62ab5aa99d2d0be3586b0c63.jpg","text":"TemporaryFile(/tmp/multipartBody1146622222933713987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652298031,"filename":"image_23012025_14_59_02_770633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9818b6aa59908f30b90827311551a28.jpg","text":"TemporaryFile(/tmp/multipartBody1986112019886621418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652298031,"filename":"image_23012025_14_58_02_659317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3884a6c2d636b30db3f86855cc0a3a9.jpg","text":"TemporaryFile(/tmp/multipartBody3458973659424771922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652298031,"filename":"image_23012025_15_00_02_899029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4b7718cf95f43cf5d24e69b3559056e.jpg","text":"TemporaryFile(/tmp/multipartBody8505627600716038090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652298031,"filename":"image_23012025_14_59_02_770633_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330838503","file1":"1330838496","file0":"1330838346","file4":"1330838514","file5":"1330838520","file3":"1330838509"},"map_files_photo_id_array":[{"photo_id":"1330838520","filename":"file5"},{"photo_id":"1330838503","filename":"file2"},{"photo_id":"1330838514","filename":"file4"},{"photo_id":"1330838496","filename":"file1"},{"photo_id":"1330838346","filename":"file0"},{"photo_id":"1330838509","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330838503":["hashtag1","hashtag2"]},{"1330838496":["hashtag1","hashtag2"]},{"1330838509":["hashtag1","hashtag2"]},{"1330838346":["hashtag1","hashtag2"]},{"1330838520":["hashtag1","hashtag2"]},{"1330838514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330838503, 1330838496, 1330838509, 1330838346, 1330838520, 1330838514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.73768925666809 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:11:22.176631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/00/image_23012025_15_00_02_899029_0001.jpg', '/home/pi/Desktop/images/23012025/15/00/image_23012025_15_00_02_899029_0002.jpg', '/home/pi/Desktop/images/23012025/15/00/image_23012025_15_00_02_899029_0003.jpg', '/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_03_124754_0000.jpg', '/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_03_124754_0001.jpg', '/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_03_124754_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/00/image_23012025_15_00_02_899029_0001.jpg
/home/pi/Desktop/images/23012025/15/00/image_23012025_15_00_02_899029_0002.jpg
/home/pi/Desktop/images/23012025/15/00/image_23012025_15_00_02_899029_0003.jpg
/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_03_124754_0000.jpg
/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_03_124754_0001.jpg
/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_03_124754_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330838623","1330838605","1330838670","1330838637","1330838640","1330838594"],"photo_ids_order":["1330838594","1330838605","1330838623","1330838637","1330838640","1330838670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e326ba70c4ceb1039ac2b32e9ceba6e.jpg","text":"TemporaryFile(/tmp/multipartBody4305728635938456707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652358433,"filename":"image_23012025_15_00_02_899029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc200a02774db2849247b413c9491cd8.jpg","text":"TemporaryFile(/tmp/multipartBody6856844821110412923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652358433,"filename":"image_23012025_15_00_02_899029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b2353200994d92f9b03f8e101df865e.jpg","text":"TemporaryFile(/tmp/multipartBody5657495708273942259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652358433,"filename":"image_23012025_15_01_03_124754_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37ce76c058f814fbdeb6a14f499b295f.jpg","text":"TemporaryFile(/tmp/multipartBody9129138019658898040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652358433,"filename":"image_23012025_15_01_03_124754_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58d35c5c83e2f453fb324739a11cf1b4.jpg","text":"TemporaryFile(/tmp/multipartBody1208327451871765980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652358433,"filename":"image_23012025_15_01_03_124754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/686242a3958fc1975af0fa2b223ec10d.jpg","text":"TemporaryFile(/tmp/multipartBody2441837446783819587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652358433,"filename":"image_23012025_15_00_02_899029_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330838623","file1":"1330838605","file0":"1330838594","file4":"1330838640","file5":"1330838670","file3":"1330838637"},"map_files_photo_id_array":[{"photo_id":"1330838670","filename":"file5"},{"photo_id":"1330838623","filename":"file2"},{"photo_id":"1330838640","filename":"file4"},{"photo_id":"1330838605","filename":"file1"},{"photo_id":"1330838594","filename":"file0"},{"photo_id":"1330838637","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330838623":["hashtag1","hashtag2"]},{"1330838605":["hashtag1","hashtag2"]},{"1330838670":["hashtag1","hashtag2"]},{"1330838637":["hashtag1","hashtag2"]},{"1330838640":["hashtag1","hashtag2"]},{"1330838594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330838623, 1330838605, 1330838670, 1330838637, 1330838640, 1330838594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.400272846221924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:12:22.428123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_03_124754_0003.jpg', '/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0000.jpg', '/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0001.jpg', '/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0002.jpg', '/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0003.jpg', '/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_02_605325_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_03_124754_0003.jpg
/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0000.jpg
/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0001.jpg
/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0002.jpg
/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0003.jpg
/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_02_605325_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.935699462890625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 18:12:42.381794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_03_124754_0003.jpg', '/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0000.jpg', '/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0001.jpg', '/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0002.jpg', '/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0003.jpg', '/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_02_605325_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_03_124754_0003.jpg
/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0000.jpg
/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0001.jpg
/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0002.jpg
/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_02_341606_0003.jpg
/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_02_605325_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":["1330838824","1330838790","1330838781","1330838760","1330838819","1330838810"],"photo_ids_order":["1330838760","1330838781","1330838790","1330838810","1330838819","1330838824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ce9a4952b1c61d4390bf552e8bd4c46.jpg","text":"TemporaryFile(/tmp/multipartBody7230150116779748161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652438714,"filename":"image_23012025_15_03_02_605325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcd1895271044325890c884f867aedab.jpg","text":"TemporaryFile(/tmp/multipartBody6587204193406365379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652438714,"filename":"image_23012025_15_02_02_341606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d75317d904219f0850128036728167aa.jpg","text":"TemporaryFile(/tmp/multipartBody4328756126471398622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652438714,"filename":"image_23012025_15_02_02_341606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88f9df97fdfa10fda03ac6b8fd364259.jpg","text":"TemporaryFile(/tmp/multipartBody3488288669575854251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652438714,"filename":"image_23012025_15_01_03_124754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d8347ba4a4435d4ee66358ad47de773.jpg","text":"TemporaryFile(/tmp/multipartBody1889025518966805636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652438714,"filename":"image_23012025_15_02_02_341606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4cad2f18ac90d3f8dc26d46dcfa1bf73.jpg","text":"TemporaryFile(/tmp/multipartBody9009646295676858187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652438714,"filename":"image_23012025_15_02_02_341606_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330838790","file1":"1330838781","file0":"1330838760","file4":"1330838819","file5":"1330838824","file3":"1330838810"},"map_files_photo_id_array":[{"photo_id":"1330838824","filename":"file5"},{"photo_id":"1330838790","filename":"file2"},{"photo_id":"1330838819","filename":"file4"},{"photo_id":"1330838781","filename":"file1"},{"photo_id":"1330838760","filename":"file0"},{"photo_id":"1330838810","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330838824":["hashtag1","hashtag2"]},{"1330838790":["hashtag1","hashtag2"]},{"1330838781":["hashtag1","hashtag2"]},{"1330838760":["hashtag1","hashtag2"]},{"1330838819":["hashtag1","hashtag2"]},{"1330838810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330838824, 1330838790, 1330838781, 1330838760, 1330838819, 1330838810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.84083080291748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 18:13:42.530714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_02_605325_0001.jpg', '/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_02_605325_0002.jpg', '/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_02_605325_0003.jpg', '/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_02_794247_0000.jpg', '/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_02_794247_0001.jpg', '/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_02_794247_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_02_605325_0001.jpg
/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_02_605325_0002.jpg
/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_02_605325_0003.jpg
/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_02_794247_0000.jpg
/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_02_794247_0001.jpg
/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_02_794247_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330838920","1330838889","1330838928","1330838907","1330838903","1330838896"],"photo_ids_order":["1330838889","1330838896","1330838903","1330838907","1330838920","1330838928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79bbdb3cddbc35fb1416048509a43785.jpg","text":"TemporaryFile(/tmp/multipartBody6280686659296402148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652499514,"filename":"image_23012025_15_04_02_794247_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82da2685bfb2c00c8daba691dbb12429.jpg","text":"TemporaryFile(/tmp/multipartBody5178012983088845307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652499514,"filename":"image_23012025_15_03_02_605325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5e9100029b4cfa3f891667c8a1ed08f.jpg","text":"TemporaryFile(/tmp/multipartBody5901237307176886467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652499514,"filename":"image_23012025_15_04_02_794247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/914ec04bf21a01fa7a379ab492fd9b79.jpg","text":"TemporaryFile(/tmp/multipartBody8592939247325845267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652499514,"filename":"image_23012025_15_04_02_794247_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03c7a7d378b7f90a362c8ad7a883dfc3.jpg","text":"TemporaryFile(/tmp/multipartBody7160585441265652489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652499514,"filename":"image_23012025_15_03_02_605325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/117ec24f29be83e5a3f6f2961413f1e3.jpg","text":"TemporaryFile(/tmp/multipartBody4252572352564799709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652499514,"filename":"image_23012025_15_03_02_605325_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330838903","file1":"1330838896","file0":"1330838889","file4":"1330838920","file5":"1330838928","file3":"1330838907"},"map_files_photo_id_array":[{"photo_id":"1330838928","filename":"file5"},{"photo_id":"1330838903","filename":"file2"},{"photo_id":"1330838920","filename":"file4"},{"photo_id":"1330838896","filename":"file1"},{"photo_id":"1330838889","filename":"file0"},{"photo_id":"1330838907","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330838920":["hashtag1","hashtag2"]},{"1330838889":["hashtag1","hashtag2"]},{"1330838928":["hashtag1","hashtag2"]},{"1330838907":["hashtag1","hashtag2"]},{"1330838903":["hashtag1","hashtag2"]},{"1330838896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330838920, 1330838889, 1330838928, 1330838907, 1330838903, 1330838896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.9146671295166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 18:14:42.674614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_02_794247_0003.jpg', '/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0000.jpg', '/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0001.jpg', '/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0002.jpg', '/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0003.jpg', '/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_03_152802_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_02_794247_0003.jpg
/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0000.jpg
/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0001.jpg
/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0002.jpg
/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0003.jpg
/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_03_152802_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.64454936981201 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:15:02.606657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_02_794247_0003.jpg', '/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0000.jpg', '/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0001.jpg', '/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0002.jpg', '/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0003.jpg', '/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_03_152802_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_02_794247_0003.jpg
/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0000.jpg
/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0001.jpg
/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0002.jpg
/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_02_934208_0003.jpg
/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_03_152802_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":["1330839124","1330839118","1330839127","1330839170","1330839137","1330839131"],"photo_ids_order":["1330839118","1330839124","1330839127","1330839131","1330839137","1330839170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e21206b6ba434200e1d94cdbc8990fa3.jpg","text":"TemporaryFile(/tmp/multipartBody5701558066194719729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652579661,"filename":"image_23012025_15_05_02_934208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c150f284f19a64ae5eb8c275dd45d9f9.jpg","text":"TemporaryFile(/tmp/multipartBody9101390119643879627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652579661,"filename":"image_23012025_15_04_02_794247_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/190262d06f80ddf8989061fa4bc0f495.jpg","text":"TemporaryFile(/tmp/multipartBody8328516427540621566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652579661,"filename":"image_23012025_15_05_02_934208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2febc00f20854f946cf6f518c63d395.jpg","text":"TemporaryFile(/tmp/multipartBody6475778348888218329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652579661,"filename":"image_23012025_15_06_03_152802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e5af498c3ad728ea7ae2ae3207a6969.jpg","text":"TemporaryFile(/tmp/multipartBody9116406723014530656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652579661,"filename":"image_23012025_15_05_02_934208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/469ed04f45479e68bbceb086baa7b7f4.jpg","text":"TemporaryFile(/tmp/multipartBody1123572511392196964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652579661,"filename":"image_23012025_15_05_02_934208_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330839127","file1":"1330839124","file0":"1330839118","file4":"1330839137","file5":"1330839170","file3":"1330839131"},"map_files_photo_id_array":[{"photo_id":"1330839170","filename":"file5"},{"photo_id":"1330839127","filename":"file2"},{"photo_id":"1330839137","filename":"file4"},{"photo_id":"1330839124","filename":"file1"},{"photo_id":"1330839118","filename":"file0"},{"photo_id":"1330839131","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330839124":["hashtag1","hashtag2"]},{"1330839118":["hashtag1","hashtag2"]},{"1330839127":["hashtag1","hashtag2"]},{"1330839170":["hashtag1","hashtag2"]},{"1330839137":["hashtag1","hashtag2"]},{"1330839131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330839124, 1330839118, 1330839127, 1330839170, 1330839137, 1330839131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.9840772151947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:16:02.555510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_03_152802_0001.jpg', '/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_03_152802_0002.jpg', '/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_03_152802_0003.jpg', '/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_02_212598_0000.jpg', '/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_02_212598_0001.jpg', '/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_02_212598_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_03_152802_0001.jpg
/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_03_152802_0002.jpg
/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_03_152802_0003.jpg
/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_02_212598_0000.jpg
/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_02_212598_0001.jpg
/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_02_212598_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330839316","1330839325","1330839304","1330839309","1330839320","1330839313"],"photo_ids_order":["1330839304","1330839309","1330839313","1330839316","1330839320","1330839325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/333025e0bace718a3c1cadab00fa6295.jpg","text":"TemporaryFile(/tmp/multipartBody3180583873022772591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652639052,"filename":"image_23012025_15_07_02_212598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e8d90cf2a448fd70a17133239fff1dc.jpg","text":"TemporaryFile(/tmp/multipartBody3914758542686958180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652639052,"filename":"image_23012025_15_07_02_212598_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af048b589ab27d3a5162df4a02dbaeb4.jpg","text":"TemporaryFile(/tmp/multipartBody3749207619894662538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652639052,"filename":"image_23012025_15_06_03_152802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/189106091e1f84a4f919bcff1382ea3f.jpg","text":"TemporaryFile(/tmp/multipartBody2571674910220391268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652639052,"filename":"image_23012025_15_06_03_152802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff6247c0058027c97cbff242f4889863.jpg","text":"TemporaryFile(/tmp/multipartBody2239306620280129034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652639052,"filename":"image_23012025_15_07_02_212598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a6c5359a283e4f7f68d5352f9052428.jpg","text":"TemporaryFile(/tmp/multipartBody455114050030291500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652639052,"filename":"image_23012025_15_06_03_152802_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330839313","file1":"1330839309","file0":"1330839304","file4":"1330839320","file5":"1330839325","file3":"1330839316"},"map_files_photo_id_array":[{"photo_id":"1330839325","filename":"file5"},{"photo_id":"1330839313","filename":"file2"},{"photo_id":"1330839320","filename":"file4"},{"photo_id":"1330839309","filename":"file1"},{"photo_id":"1330839304","filename":"file0"},{"photo_id":"1330839316","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330839316":["hashtag1","hashtag2"]},{"1330839325":["hashtag1","hashtag2"]},{"1330839304":["hashtag1","hashtag2"]},{"1330839309":["hashtag1","hashtag2"]},{"1330839320":["hashtag1","hashtag2"]},{"1330839313":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330839316, 1330839325, 1330839304, 1330839309, 1330839320, 1330839313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.78121209144592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:17:02.884595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_02_212598_0003.jpg', '/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_02_461876_0000.jpg', '/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_02_461876_0001.jpg', '/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_02_461876_0002.jpg', '/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_02_461876_0003.jpg', '/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_02_605601_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_02_212598_0003.jpg
/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_02_461876_0000.jpg
/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_02_461876_0001.jpg
/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_02_461876_0002.jpg
/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_02_461876_0003.jpg
/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_02_605601_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":["1330839435","1330839420","1330839473","1330839458","1330839413","1330839478"],"photo_ids_order":["1330839413","1330839420","1330839435","1330839458","1330839473","1330839478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/64bc8ddca3ad350fe47469bf95cad0b8.jpg","text":"TemporaryFile(/tmp/multipartBody2548828296445839829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652699356,"filename":"image_23012025_15_08_02_461876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d17c4eae47608612b3eb72c08e73500.jpg","text":"TemporaryFile(/tmp/multipartBody5389197667579869037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652699356,"filename":"image_23012025_15_08_02_461876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5531f13aa6a4b369f74147b941bd09b.jpg","text":"TemporaryFile(/tmp/multipartBody8228103422307722089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652699356,"filename":"image_23012025_15_08_02_461876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/541b3acfd16d00bade76ec94efe768cb.jpg","text":"TemporaryFile(/tmp/multipartBody8553263240071068328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652699356,"filename":"image_23012025_15_08_02_461876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a70809bb3d97b0722ec10df7b34dd1f.jpg","text":"TemporaryFile(/tmp/multipartBody7121457577624283248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652699356,"filename":"image_23012025_15_07_02_212598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/114acffe003fb4086a6490a1abed5c69.jpg","text":"TemporaryFile(/tmp/multipartBody7289440047715907414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652699356,"filename":"image_23012025_15_09_02_605601_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330839435","file1":"1330839420","file0":"1330839413","file4":"1330839473","file5":"1330839478","file3":"1330839458"},"map_files_photo_id_array":[{"photo_id":"1330839478","filename":"file5"},{"photo_id":"1330839435","filename":"file2"},{"photo_id":"1330839473","filename":"file4"},{"photo_id":"1330839420","filename":"file1"},{"photo_id":"1330839413","filename":"file0"},{"photo_id":"1330839458","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330839435":["hashtag1","hashtag2"]},{"1330839420":["hashtag1","hashtag2"]},{"1330839473":["hashtag1","hashtag2"]},{"1330839458":["hashtag1","hashtag2"]},{"1330839413":["hashtag1","hashtag2"]},{"1330839478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330839435, 1330839420, 1330839473, 1330839458, 1330839413, 1330839478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.16860890388489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:18:02.963815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_02_605601_0001.jpg', '/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_02_605601_0002.jpg', '/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_02_605601_0003.jpg', '/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_02_923642_0000.jpg', '/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_02_923642_0001.jpg', '/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_02_923642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_02_605601_0001.jpg
/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_02_605601_0002.jpg
/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_02_605601_0003.jpg
/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_02_923642_0000.jpg
/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_02_923642_0001.jpg
/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_02_923642_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330839514","1330839558","1330839551","1330839533","1330839542","1330839536"],"photo_ids_order":["1330839514","1330839533","1330839536","1330839542","1330839551","1330839558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96e4221c5abb32f4c52208dab9f94bac.jpg","text":"TemporaryFile(/tmp/multipartBody5013418354459465419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652759978,"filename":"image_23012025_15_09_02_605601_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef9f7939f6ac564a351ce1be06219286.jpg","text":"TemporaryFile(/tmp/multipartBody948255329627983497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652759978,"filename":"image_23012025_15_10_02_923642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4e14911fb1d262dfdf74a7b6f4d7245.jpg","text":"TemporaryFile(/tmp/multipartBody4652648684687879303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652759978,"filename":"image_23012025_15_10_02_923642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f30cfab641b558f06c9fcf58e3a3d59.jpg","text":"TemporaryFile(/tmp/multipartBody1596149026535346525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652759978,"filename":"image_23012025_15_09_02_605601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a8698c9b81a745a2945484fc9ef3eb9.jpg","text":"TemporaryFile(/tmp/multipartBody2830082704534257501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652759978,"filename":"image_23012025_15_10_02_923642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/785c91166858df39e545748efc07d2c3.jpg","text":"TemporaryFile(/tmp/multipartBody8981297758944628110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652759978,"filename":"image_23012025_15_09_02_605601_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330839536","file1":"1330839533","file0":"1330839514","file4":"1330839551","file5":"1330839558","file3":"1330839542"},"map_files_photo_id_array":[{"photo_id":"1330839558","filename":"file5"},{"photo_id":"1330839536","filename":"file2"},{"photo_id":"1330839551","filename":"file4"},{"photo_id":"1330839533","filename":"file1"},{"photo_id":"1330839514","filename":"file0"},{"photo_id":"1330839542","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330839514":["hashtag1","hashtag2"]},{"1330839558":["hashtag1","hashtag2"]},{"1330839551":["hashtag1","hashtag2"]},{"1330839533":["hashtag1","hashtag2"]},{"1330839542":["hashtag1","hashtag2"]},{"1330839536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330839514, 1330839558, 1330839551, 1330839533, 1330839542, 1330839536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.59054112434387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:19:22.650353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_02_923642_0003.jpg', '/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_03_046306_0000.jpg', '/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_03_046306_0001.jpg', '/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_03_046306_0002.jpg', '/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_03_046306_0003.jpg', '/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_02_248575_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_02_923642_0003.jpg
/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_03_046306_0000.jpg
/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_03_046306_0001.jpg
/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_03_046306_0002.jpg
/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_03_046306_0003.jpg
/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_02_248575_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":["1330839601","1330839624","1330839612","1330839596","1330839608","1330839605"],"photo_ids_order":["1330839596","1330839601","1330839605","1330839608","1330839612","1330839624"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8899d22fe1d0c8a56c5b32d22921f824.jpg","text":"TemporaryFile(/tmp/multipartBody6372756691569830457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652839252,"filename":"image_23012025_15_11_03_046306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71350e0b8e56838b257bd818490fade9.jpg","text":"TemporaryFile(/tmp/multipartBody7065183061912173306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652839252,"filename":"image_23012025_15_12_02_248575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8402681531b83282ed977a77211f399.jpg","text":"TemporaryFile(/tmp/multipartBody4659422307882388753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652839252,"filename":"image_23012025_15_11_03_046306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff98077605df82640e74f5101e0263e6.jpg","text":"TemporaryFile(/tmp/multipartBody6180619633156345883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652839252,"filename":"image_23012025_15_10_02_923642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef1e8ca794c3090e99b27b9cb61f87a7.jpg","text":"TemporaryFile(/tmp/multipartBody7537230820876976873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652839252,"filename":"image_23012025_15_11_03_046306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aea765a011c087f7756024814c90e1c8.jpg","text":"TemporaryFile(/tmp/multipartBody2899236589493093705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652839252,"filename":"image_23012025_15_11_03_046306_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330839605","file1":"1330839601","file0":"1330839596","file4":"1330839612","file5":"1330839624","file3":"1330839608"},"map_files_photo_id_array":[{"photo_id":"1330839624","filename":"file5"},{"photo_id":"1330839605","filename":"file2"},{"photo_id":"1330839612","filename":"file4"},{"photo_id":"1330839601","filename":"file1"},{"photo_id":"1330839596","filename":"file0"},{"photo_id":"1330839608","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330839601":["hashtag1","hashtag2"]},{"1330839624":["hashtag1","hashtag2"]},{"1330839612":["hashtag1","hashtag2"]},{"1330839596":["hashtag1","hashtag2"]},{"1330839608":["hashtag1","hashtag2"]},{"1330839605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330839601, 1330839624, 1330839612, 1330839596, 1330839608, 1330839605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.70545291900635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:20:21.894274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_02_248575_0001.jpg', '/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_02_248575_0002.jpg', '/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_02_248575_0003.jpg', '/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_02_468911_0000.jpg', '/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_02_468911_0001.jpg', '/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_02_468911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_02_248575_0001.jpg
/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_02_248575_0002.jpg
/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_02_248575_0003.jpg
/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_02_468911_0000.jpg
/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_02_468911_0001.jpg
/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_02_468911_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330839696","1330839689","1330839674","1330839722","1330839701","1330839658"],"photo_ids_order":["1330839658","1330839674","1330839689","1330839696","1330839701","1330839722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eda27a64eed713b1dd2b8c2c7b73b9c3.jpg","text":"TemporaryFile(/tmp/multipartBody5307875130742016211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652898021,"filename":"image_23012025_15_13_02_468911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94faef36334169e31ac7c6d59e72f4a7.jpg","text":"TemporaryFile(/tmp/multipartBody1337478998129377847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652898021,"filename":"image_23012025_15_12_02_248575_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7784037e57df065b58e7b09a47f7d733.jpg","text":"TemporaryFile(/tmp/multipartBody3360037226084174669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652898021,"filename":"image_23012025_15_12_02_248575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d72696468ca85d9ac63d48e319be64c.jpg","text":"TemporaryFile(/tmp/multipartBody911162802824259000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652898021,"filename":"image_23012025_15_13_02_468911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e713c1593ec018a927e1834d9b4258b9.jpg","text":"TemporaryFile(/tmp/multipartBody8492023139446826289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652898021,"filename":"image_23012025_15_13_02_468911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04638e23b64d7a26c6f7bd338a263a8c.jpg","text":"TemporaryFile(/tmp/multipartBody122775865393557838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652898021,"filename":"image_23012025_15_12_02_248575_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330839689","file1":"1330839674","file0":"1330839658","file4":"1330839701","file5":"1330839722","file3":"1330839696"},"map_files_photo_id_array":[{"photo_id":"1330839722","filename":"file5"},{"photo_id":"1330839689","filename":"file2"},{"photo_id":"1330839701","filename":"file4"},{"photo_id":"1330839674","filename":"file1"},{"photo_id":"1330839658","filename":"file0"},{"photo_id":"1330839696","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330839696":["hashtag1","hashtag2"]},{"1330839689":["hashtag1","hashtag2"]},{"1330839674":["hashtag1","hashtag2"]},{"1330839722":["hashtag1","hashtag2"]},{"1330839701":["hashtag1","hashtag2"]},{"1330839658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330839696, 1330839689, 1330839674, 1330839722, 1330839701, 1330839658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.54381227493286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:21:22.054565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_02_468911_0003.jpg', '/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_02_599515_0000.jpg', '/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_02_599515_0001.jpg', '/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_02_599515_0002.jpg', '/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_02_599515_0003.jpg', '/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_02_718003_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_02_468911_0003.jpg
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_02_599515_0000.jpg
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_02_599515_0001.jpg
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_02_599515_0002.jpg
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_02_599515_0003.jpg
/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_02_718003_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":["1330839811","1330839777","1330839771","1330839747","1330839756","1330839782"],"photo_ids_order":["1330839747","1330839756","1330839771","1330839777","1330839782","1330839811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cede7bc4dfcc9958ffa0f39e3e3061c1.jpg","text":"TemporaryFile(/tmp/multipartBody3031435961881129715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652958342,"filename":"image_23012025_15_15_02_718003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1d575335fa69905cc752320df083a11.jpg","text":"TemporaryFile(/tmp/multipartBody8747786832600551365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652958342,"filename":"image_23012025_15_14_02_599515_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2565746d85e529a18c9f024909ddcb6a.jpg","text":"TemporaryFile(/tmp/multipartBody5528555516617206870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652958342,"filename":"image_23012025_15_14_02_599515_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d709ceb48cbf8f6e4c3d2309d2ac9ccf.jpg","text":"TemporaryFile(/tmp/multipartBody5712424968485542015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652958342,"filename":"image_23012025_15_13_02_468911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b0986756ecf1a0b2bb67863c97843f1.jpg","text":"TemporaryFile(/tmp/multipartBody5741147139331164627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652958342,"filename":"image_23012025_15_14_02_599515_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1c3aeee0c97cd3634ad027562465e44.jpg","text":"TemporaryFile(/tmp/multipartBody8022482183449277630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652958342,"filename":"image_23012025_15_14_02_599515_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330839771","file1":"1330839756","file0":"1330839747","file4":"1330839782","file5":"1330839811","file3":"1330839777"},"map_files_photo_id_array":[{"photo_id":"1330839811","filename":"file5"},{"photo_id":"1330839771","filename":"file2"},{"photo_id":"1330839782","filename":"file4"},{"photo_id":"1330839756","filename":"file1"},{"photo_id":"1330839747","filename":"file0"},{"photo_id":"1330839777","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330839811":["hashtag1","hashtag2"]},{"1330839777":["hashtag1","hashtag2"]},{"1330839771":["hashtag1","hashtag2"]},{"1330839747":["hashtag1","hashtag2"]},{"1330839756":["hashtag1","hashtag2"]},{"1330839782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330839811, 1330839777, 1330839771, 1330839747, 1330839756, 1330839782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.504311084747314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:22:22.376720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_02_718003_0001.jpg', '/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_02_718003_0002.jpg', '/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_02_718003_0003.jpg', '/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0000.jpg', '/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0001.jpg', '/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_02_718003_0001.jpg
/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_02_718003_0002.jpg
/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_02_718003_0003.jpg
/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0000.jpg
/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0001.jpg
/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.021920442581177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 18:22:42.228678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_02_718003_0001.jpg', '/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_02_718003_0002.jpg', '/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_02_718003_0003.jpg', '/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0000.jpg', '/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0001.jpg', '/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_02_718003_0001.jpg
/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_02_718003_0002.jpg
/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_02_718003_0003.jpg
/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0000.jpg
/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0001.jpg
/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330839852","1330839878","1330839883","1330839889","1330839868","1330839859"],"photo_ids_order":["1330839852","1330839859","1330839868","1330839878","1330839883","1330839889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af160a63520a0d879dd276a547f9aa8c.jpg","text":"TemporaryFile(/tmp/multipartBody1520884423950947095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653038638,"filename":"image_23012025_15_15_02_718003_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70fadde5297dfc25ca4dcf3a6cb58619.jpg","text":"TemporaryFile(/tmp/multipartBody4910880531735540634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653038638,"filename":"image_23012025_15_16_02_999049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/383d2ef0d1d2567eb5cd2520ce74ef5d.jpg","text":"TemporaryFile(/tmp/multipartBody4852308493081025983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653038638,"filename":"image_23012025_15_16_02_999049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f6a1612d5bfba7226f5865e2f2ca7a9.jpg","text":"TemporaryFile(/tmp/multipartBody2556671168547105112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653038638,"filename":"image_23012025_15_16_02_999049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9146990003c25c9ef6cc74b1ddde0b6.jpg","text":"TemporaryFile(/tmp/multipartBody830653463249069360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653038638,"filename":"image_23012025_15_15_02_718003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c9a6b5f849608e61c485c4ddc45038f.jpg","text":"TemporaryFile(/tmp/multipartBody3955112863585532275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653038638,"filename":"image_23012025_15_15_02_718003_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330839868","file1":"1330839859","file0":"1330839852","file4":"1330839883","file5":"1330839889","file3":"1330839878"},"map_files_photo_id_array":[{"photo_id":"1330839889","filename":"file5"},{"photo_id":"1330839868","filename":"file2"},{"photo_id":"1330839883","filename":"file4"},{"photo_id":"1330839859","filename":"file1"},{"photo_id":"1330839852","filename":"file0"},{"photo_id":"1330839878","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330839852":["hashtag1","hashtag2"]},{"1330839878":["hashtag1","hashtag2"]},{"1330839883":["hashtag1","hashtag2"]},{"1330839889":["hashtag1","hashtag2"]},{"1330839868":["hashtag1","hashtag2"]},{"1330839859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330839852, 1330839878, 1330839883, 1330839889, 1330839868, 1330839859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.9117271900177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 18:23:42.467253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0003.jpg', '/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0000.jpg', '/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0001.jpg', '/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0002.jpg', '/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0003.jpg', '/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_02_392996_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0003.jpg
/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0000.jpg
/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0001.jpg
/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0002.jpg
/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0003.jpg
/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_02_392996_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.33062171936035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:24:03.062821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0003.jpg', '/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0000.jpg', '/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0001.jpg', '/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0002.jpg', '/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0003.jpg', '/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_02_392996_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_02_999049_0003.jpg
/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0000.jpg
/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0001.jpg
/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0002.jpg
/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_03_190254_0003.jpg
/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_02_392996_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":["1330839945","1330839939","1330839952","1330839934","1330839928","1330839958"],"photo_ids_order":["1330839928","1330839934","1330839939","1330839945","1330839952","1330839958"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19745fbaac23161f702ec9eebec77623.jpg","text":"TemporaryFile(/tmp/multipartBody2555437164189564069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653119768,"filename":"image_23012025_15_17_03_190254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52a1883c5abb1152a55f955d8fc95d40.jpg","text":"TemporaryFile(/tmp/multipartBody3794654204932938264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653119768,"filename":"image_23012025_15_17_03_190254_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4964bb51b4e1325c897aca838a6a954c.jpg","text":"TemporaryFile(/tmp/multipartBody3247843019151666061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653119768,"filename":"image_23012025_15_17_03_190254_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd633260997b2f8e7b32fb639cca327e.jpg","text":"TemporaryFile(/tmp/multipartBody477140950859476394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653119768,"filename":"image_23012025_15_17_03_190254_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61a5bf602ddfbbe37fd0f1d6c11072cb.jpg","text":"TemporaryFile(/tmp/multipartBody7358218562121323454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653119768,"filename":"image_23012025_15_16_02_999049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d7d832bff7963758badc93e6d4e91ee.jpg","text":"TemporaryFile(/tmp/multipartBody664352071598033860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653119768,"filename":"image_23012025_15_18_02_392996_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330839939","file1":"1330839934","file0":"1330839928","file4":"1330839952","file5":"1330839958","file3":"1330839945"},"map_files_photo_id_array":[{"photo_id":"1330839958","filename":"file5"},{"photo_id":"1330839939","filename":"file2"},{"photo_id":"1330839952","filename":"file4"},{"photo_id":"1330839934","filename":"file1"},{"photo_id":"1330839928","filename":"file0"},{"photo_id":"1330839945","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330839945":["hashtag1","hashtag2"]},{"1330839939":["hashtag1","hashtag2"]},{"1330839952":["hashtag1","hashtag2"]},{"1330839934":["hashtag1","hashtag2"]},{"1330839928":["hashtag1","hashtag2"]},{"1330839958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330839945, 1330839939, 1330839952, 1330839934, 1330839928, 1330839958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.5059700012207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:25:03.360230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_02_392996_0001.jpg', '/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_02_392996_0002.jpg', '/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_02_392996_0003.jpg', '/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_02_455250_0000.jpg', '/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_02_455250_0001.jpg', '/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_02_455250_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_02_392996_0001.jpg
/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_02_392996_0002.jpg
/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_02_392996_0003.jpg
/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_02_455250_0000.jpg
/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_02_455250_0001.jpg
/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_02_455250_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330840048","1330839992","1330840043","1330840052","1330840031","1330840013"],"photo_ids_order":["1330839992","1330840013","1330840031","1330840043","1330840048","1330840052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e0c3328b48aed240b95a6b5eb93ab83.jpg","text":"TemporaryFile(/tmp/multipartBody8007988755338075933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653179930,"filename":"image_23012025_15_19_02_455250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e07cf8d6c9a939a0ba6d5b83810d9eb.jpg","text":"TemporaryFile(/tmp/multipartBody2021584046238728886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653179930,"filename":"image_23012025_15_18_02_392996_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ab50e522f6d957645d5ed6632938749.jpg","text":"TemporaryFile(/tmp/multipartBody340820760956534748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653179930,"filename":"image_23012025_15_19_02_455250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3c0df5f31577441f36110719f1f6b2f.jpg","text":"TemporaryFile(/tmp/multipartBody502274537120969087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653179930,"filename":"image_23012025_15_19_02_455250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d45a54d47ac09634c158932a9501f54.jpg","text":"TemporaryFile(/tmp/multipartBody3407144074578866339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653179930,"filename":"image_23012025_15_18_02_392996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0922f29d40aa3d055835efde0ced5381.jpg","text":"TemporaryFile(/tmp/multipartBody6561340369607292808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653179930,"filename":"image_23012025_15_18_02_392996_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330840031","file1":"1330840013","file0":"1330839992","file4":"1330840048","file5":"1330840052","file3":"1330840043"},"map_files_photo_id_array":[{"photo_id":"1330840052","filename":"file5"},{"photo_id":"1330840031","filename":"file2"},{"photo_id":"1330840048","filename":"file4"},{"photo_id":"1330840013","filename":"file1"},{"photo_id":"1330839992","filename":"file0"},{"photo_id":"1330840043","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330840048":["hashtag1","hashtag2"]},{"1330839992":["hashtag1","hashtag2"]},{"1330840043":["hashtag1","hashtag2"]},{"1330840052":["hashtag1","hashtag2"]},{"1330840031":["hashtag1","hashtag2"]},{"1330840013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330840048, 1330839992, 1330840043, 1330840052, 1330840031, 1330840013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.12659287452698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:26:02.428304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_02_455250_0003.jpg', '/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_02_728411_0000.jpg', '/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_02_728411_0001.jpg', '/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_02_728411_0002.jpg', '/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_02_728411_0003.jpg', '/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_02_848988_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_02_455250_0003.jpg
/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_02_728411_0000.jpg
/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_02_728411_0001.jpg
/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_02_728411_0002.jpg
/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_02_728411_0003.jpg
/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_02_848988_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":["1330840081","1330840102","1330840071","1330840094","1330840076","1330840109"],"photo_ids_order":["1330840071","1330840076","1330840081","1330840094","1330840102","1330840109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/159bd33d1c2fe3dbdb7b81db89ea1cf5.jpg","text":"TemporaryFile(/tmp/multipartBody662606209476798046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653239151,"filename":"image_23012025_15_20_02_728411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb4b4de73124119cebe76eefed2a2086.jpg","text":"TemporaryFile(/tmp/multipartBody308189878362848414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653239151,"filename":"image_23012025_15_20_02_728411_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9fb8e84a023f6abac72f1fec8ab12aaa.jpg","text":"TemporaryFile(/tmp/multipartBody1215681431793214880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653239151,"filename":"image_23012025_15_19_02_455250_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09907d1fa4ac2c6a0ed45f14f0f9b425.jpg","text":"TemporaryFile(/tmp/multipartBody687594154851680220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653239151,"filename":"image_23012025_15_20_02_728411_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63146dcacdead0cee4f18b22498b2ca8.jpg","text":"TemporaryFile(/tmp/multipartBody5990201313630269680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653239151,"filename":"image_23012025_15_20_02_728411_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f07459ca7e88f828be6bd702553e075.jpg","text":"TemporaryFile(/tmp/multipartBody2438837523878928835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653239151,"filename":"image_23012025_15_21_02_848988_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330840081","file1":"1330840076","file0":"1330840071","file4":"1330840102","file5":"1330840109","file3":"1330840094"},"map_files_photo_id_array":[{"photo_id":"1330840109","filename":"file5"},{"photo_id":"1330840081","filename":"file2"},{"photo_id":"1330840102","filename":"file4"},{"photo_id":"1330840076","filename":"file1"},{"photo_id":"1330840071","filename":"file0"},{"photo_id":"1330840094","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330840081":["hashtag1","hashtag2"]},{"1330840102":["hashtag1","hashtag2"]},{"1330840071":["hashtag1","hashtag2"]},{"1330840094":["hashtag1","hashtag2"]},{"1330840076":["hashtag1","hashtag2"]},{"1330840109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330840081, 1330840102, 1330840071, 1330840094, 1330840076, 1330840109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.56053614616394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:27:02.773764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_02_848988_0001.jpg', '/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_02_848988_0002.jpg', '/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_02_848988_0003.jpg', '/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_03_102861_0000.jpg', '/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_03_102861_0001.jpg', '/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_03_102861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_02_848988_0001.jpg
/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_02_848988_0002.jpg
/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_02_848988_0003.jpg
/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_03_102861_0000.jpg
/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_03_102861_0001.jpg
/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_03_102861_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330840165","1330840168","1330840156","1330840185","1330840179","1330840175"],"photo_ids_order":["1330840156","1330840165","1330840168","1330840175","1330840179","1330840185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/caae75fe46e15aa5f352d47defc69826.jpg","text":"TemporaryFile(/tmp/multipartBody651203074143339174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653299993,"filename":"image_23012025_15_21_02_848988_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bce9447a94d2658d15f98110a9b1e55d.jpg","text":"TemporaryFile(/tmp/multipartBody5435322796338000932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653299993,"filename":"image_23012025_15_21_02_848988_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55fc15e6b01505e1aaf332e0525769e9.jpg","text":"TemporaryFile(/tmp/multipartBody1556765363280342090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653299993,"filename":"image_23012025_15_21_02_848988_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a48887c99a9ce141458690fc751a732.jpg","text":"TemporaryFile(/tmp/multipartBody4211169443137770109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653299993,"filename":"image_23012025_15_22_03_102861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc858b7169f748c42b53392f6a96b107.jpg","text":"TemporaryFile(/tmp/multipartBody2025241740970884680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653299993,"filename":"image_23012025_15_22_03_102861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97ca819153addc273ad8908acc5acbe6.jpg","text":"TemporaryFile(/tmp/multipartBody6854907051534462859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653299993,"filename":"image_23012025_15_22_03_102861_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330840168","file1":"1330840165","file0":"1330840156","file4":"1330840179","file5":"1330840185","file3":"1330840175"},"map_files_photo_id_array":[{"photo_id":"1330840185","filename":"file5"},{"photo_id":"1330840168","filename":"file2"},{"photo_id":"1330840179","filename":"file4"},{"photo_id":"1330840165","filename":"file1"},{"photo_id":"1330840156","filename":"file0"},{"photo_id":"1330840175","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330840165":["hashtag1","hashtag2"]},{"1330840168":["hashtag1","hashtag2"]},{"1330840156":["hashtag1","hashtag2"]},{"1330840185":["hashtag1","hashtag2"]},{"1330840179":["hashtag1","hashtag2"]},{"1330840175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330840165, 1330840168, 1330840156, 1330840185, 1330840179, 1330840175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.69896745681763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:28:02.796528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_03_102861_0003.jpg', '/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_02_213235_0000.jpg', '/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_02_213235_0001.jpg', '/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_02_213235_0002.jpg', '/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_02_213235_0003.jpg', '/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_02_397187_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_03_102861_0003.jpg
/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_02_213235_0000.jpg
/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_02_213235_0001.jpg
/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_02_213235_0002.jpg
/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_02_213235_0003.jpg
/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_02_397187_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":["1330840291","1330840285","1330840247","1330840262","1330840241","1330840220"],"photo_ids_order":["1330840220","1330840241","1330840247","1330840262","1330840285","1330840291"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/182b86f27e473e7192135a3c1fecf6e4.jpg","text":"TemporaryFile(/tmp/multipartBody6203058962658343151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653359339,"filename":"image_23012025_15_24_02_397187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ced7fba1305a508d4905cd373f762d12.jpg","text":"TemporaryFile(/tmp/multipartBody8207559330349213517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653359339,"filename":"image_23012025_15_23_02_213235_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/951d5e34d15d00537c6268b54c403333.jpg","text":"TemporaryFile(/tmp/multipartBody7826229650285527304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653359339,"filename":"image_23012025_15_23_02_213235_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55cd21ecabf04904b85aa4067a1ae060.jpg","text":"TemporaryFile(/tmp/multipartBody6429032267546160534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653359339,"filename":"image_23012025_15_23_02_213235_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d7ce8434aef57a8768fe51b8fd7aa6d.jpg","text":"TemporaryFile(/tmp/multipartBody387073579834420138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653359339,"filename":"image_23012025_15_23_02_213235_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21546cc99b7399759c964d5e0801e6be.jpg","text":"TemporaryFile(/tmp/multipartBody375280779741760779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653359339,"filename":"image_23012025_15_22_03_102861_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330840247","file1":"1330840241","file0":"1330840220","file4":"1330840285","file5":"1330840291","file3":"1330840262"},"map_files_photo_id_array":[{"photo_id":"1330840291","filename":"file5"},{"photo_id":"1330840247","filename":"file2"},{"photo_id":"1330840285","filename":"file4"},{"photo_id":"1330840241","filename":"file1"},{"photo_id":"1330840220","filename":"file0"},{"photo_id":"1330840262","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330840291":["hashtag1","hashtag2"]},{"1330840285":["hashtag1","hashtag2"]},{"1330840247":["hashtag1","hashtag2"]},{"1330840262":["hashtag1","hashtag2"]},{"1330840241":["hashtag1","hashtag2"]},{"1330840220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330840291, 1330840285, 1330840247, 1330840262, 1330840241, 1330840220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.45867133140564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:29:03.159324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_02_397187_0001.jpg', '/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_02_397187_0002.jpg', '/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_02_397187_0003.jpg', '/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_02_735728_0000.jpg', '/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_02_735728_0001.jpg', '/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_02_735728_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_02_397187_0001.jpg
/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_02_397187_0002.jpg
/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_02_397187_0003.jpg
/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_02_735728_0000.jpg
/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_02_735728_0001.jpg
/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_02_735728_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330840431","1330840425","1330840428","1330840436","1330840415","1330840439"],"photo_ids_order":["1330840415","1330840425","1330840428","1330840431","1330840436","1330840439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e832cb6717f4d13a521a1feac252b1be.jpg","text":"TemporaryFile(/tmp/multipartBody1972259495455514126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653420295,"filename":"image_23012025_15_25_02_735728_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b76ed0017e7955fe7370ec81ecde0d6.jpg","text":"TemporaryFile(/tmp/multipartBody1147292486062554965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653420295,"filename":"image_23012025_15_24_02_397187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4c62ea1dde8235af306e25048ea29b4.jpg","text":"TemporaryFile(/tmp/multipartBody6472615919575916460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653420295,"filename":"image_23012025_15_24_02_397187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b26115d49a31c7e9c6d7e1beb87c048b.jpg","text":"TemporaryFile(/tmp/multipartBody5358700300270637567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653420295,"filename":"image_23012025_15_25_02_735728_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f06a3b907f89beb46953a0ad57f33f7.jpg","text":"TemporaryFile(/tmp/multipartBody881567413341532676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653420295,"filename":"image_23012025_15_24_02_397187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d762796398aede46f1f9d5477362075.jpg","text":"TemporaryFile(/tmp/multipartBody4961158665179779067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653420295,"filename":"image_23012025_15_25_02_735728_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330840428","file1":"1330840425","file0":"1330840415","file4":"1330840436","file5":"1330840439","file3":"1330840431"},"map_files_photo_id_array":[{"photo_id":"1330840439","filename":"file5"},{"photo_id":"1330840428","filename":"file2"},{"photo_id":"1330840436","filename":"file4"},{"photo_id":"1330840425","filename":"file1"},{"photo_id":"1330840415","filename":"file0"},{"photo_id":"1330840431","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330840431":["hashtag1","hashtag2"]},{"1330840425":["hashtag1","hashtag2"]},{"1330840428":["hashtag1","hashtag2"]},{"1330840436":["hashtag1","hashtag2"]},{"1330840415":["hashtag1","hashtag2"]},{"1330840439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330840431, 1330840425, 1330840428, 1330840436, 1330840415, 1330840439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.85658144950867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:30:22.692236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_02_735728_0003.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0000.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0001.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0002.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0003.jpg', '/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_02_735728_0003.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0000.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0001.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0002.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0003.jpg
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.20260000228882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 18:30:42.704488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_02_735728_0003.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0000.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0001.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0002.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0003.jpg', '/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_02_735728_0003.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0000.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0001.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0002.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_02_843802_0003.jpg
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_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":["1330840702","1330840623","1330840512","1330840520","1330840709","1330840505"],"photo_ids_order":["1330840505","1330840512","1330840520","1330840623","1330840702","1330840709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c26f090473df2c56e072558a07b68012.jpg","text":"TemporaryFile(/tmp/multipartBody5727436908517694092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653519277,"filename":"image_23012025_15_26_02_843802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5339788f23d4dabe0d5a83afaa099947.jpg","text":"TemporaryFile(/tmp/multipartBody5659660013570856455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653519277,"filename":"image_23012025_15_26_02_843802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bde94986362b3e1850c04ab7c5e82393.jpg","text":"TemporaryFile(/tmp/multipartBody384249743950846166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653519277,"filename":"image_23012025_15_26_02_843802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/707ace1a11fda04341f97ea589932dd8.jpg","text":"TemporaryFile(/tmp/multipartBody3238873684197774816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653519277,"filename":"image_23012025_15_26_02_843802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be108c06d65f14fad525de14bbdac023.jpg","text":"TemporaryFile(/tmp/multipartBody8150489070334737559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653519277,"filename":"image_23012025_15_27_03_067839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40911f7f928cbd8c659326fc0ebf8949.jpg","text":"TemporaryFile(/tmp/multipartBody5729294865529853624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653519277,"filename":"image_23012025_15_25_02_735728_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330840520","file1":"1330840512","file0":"1330840505","file4":"1330840702","file5":"1330840709","file3":"1330840623"},"map_files_photo_id_array":[{"photo_id":"1330840709","filename":"file5"},{"photo_id":"1330840520","filename":"file2"},{"photo_id":"1330840702","filename":"file4"},{"photo_id":"1330840512","filename":"file1"},{"photo_id":"1330840505","filename":"file0"},{"photo_id":"1330840623","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330840702":["hashtag1","hashtag2"]},{"1330840623":["hashtag1","hashtag2"]},{"1330840512":["hashtag1","hashtag2"]},{"1330840520":["hashtag1","hashtag2"]},{"1330840709":["hashtag1","hashtag2"]},{"1330840505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330840702, 1330840623, 1330840512, 1330840520, 1330840709, 1330840505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.26917576789856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 18:31:41.905778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0001.jpg', '/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0002.jpg', '/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0003.jpg', '/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_02_382122_0000.jpg', '/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_02_382122_0001.jpg', '/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_02_382122_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0001.jpg
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0002.jpg
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0003.jpg
/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_02_382122_0000.jpg
/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_02_382122_0001.jpg
/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_02_382122_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.31048560142517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:32:02.452092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0001.jpg', '/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0002.jpg', '/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0003.jpg', '/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_02_382122_0000.jpg', '/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_02_382122_0001.jpg', '/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_02_382122_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0001.jpg
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0002.jpg
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_03_067839_0003.jpg
/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_02_382122_0000.jpg
/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_02_382122_0001.jpg
/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_02_382122_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330841017","1330841022","1330841046","1330840994","1330841027","1330841000"],"photo_ids_order":["1330840994","1330841000","1330841017","1330841022","1330841027","1330841046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fce0636ef8861dd93a18c86f4ac428d7.jpg","text":"TemporaryFile(/tmp/multipartBody5159637788062598916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653599180,"filename":"image_23012025_15_27_03_067839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6f02a193b2e4f63d0e2802d337924c2.jpg","text":"TemporaryFile(/tmp/multipartBody8391526976588226945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653599180,"filename":"image_23012025_15_28_02_382122_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca97a898795d49707f4e51cc3956e672.jpg","text":"TemporaryFile(/tmp/multipartBody3789728408385244184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653599180,"filename":"image_23012025_15_28_02_382122_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/517910a1728a9844e92cc24afbfa91e7.jpg","text":"TemporaryFile(/tmp/multipartBody3209778273690039792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653599180,"filename":"image_23012025_15_27_03_067839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/431766616375072dc14b4cf11a19059c.jpg","text":"TemporaryFile(/tmp/multipartBody928477955996447862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653599180,"filename":"image_23012025_15_28_02_382122_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6eecdcd6ceb7b2d21702ba11153cf18.jpg","text":"TemporaryFile(/tmp/multipartBody4280151152483385870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653599180,"filename":"image_23012025_15_27_03_067839_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330841017","file1":"1330841000","file0":"1330840994","file4":"1330841027","file5":"1330841046","file3":"1330841022"},"map_files_photo_id_array":[{"photo_id":"1330841046","filename":"file5"},{"photo_id":"1330841017","filename":"file2"},{"photo_id":"1330841027","filename":"file4"},{"photo_id":"1330841000","filename":"file1"},{"photo_id":"1330840994","filename":"file0"},{"photo_id":"1330841022","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330841017":["hashtag1","hashtag2"]},{"1330841022":["hashtag1","hashtag2"]},{"1330841046":["hashtag1","hashtag2"]},{"1330840994":["hashtag1","hashtag2"]},{"1330841027":["hashtag1","hashtag2"]},{"1330841000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330841017, 1330841022, 1330841046, 1330840994, 1330841027, 1330841000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.29058003425598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:33:02.805616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_02_382122_0003.jpg', '/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_02_458252_0000.jpg', '/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_02_458252_0001.jpg', '/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_02_458252_0002.jpg', '/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_02_458252_0003.jpg', '/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_02_673201_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_02_382122_0003.jpg
/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_02_458252_0000.jpg
/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_02_458252_0001.jpg
/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_02_458252_0002.jpg
/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_02_458252_0003.jpg
/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_02_673201_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":["1330841082","1330841096","1330841100","1330841092","1330841089","1330841086"],"photo_ids_order":["1330841082","1330841086","1330841089","1330841092","1330841096","1330841100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b94c071233c5ffe47271671fb1a0e48.jpg","text":"TemporaryFile(/tmp/multipartBody1230009690669808408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653660130,"filename":"image_23012025_15_28_02_382122_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdcbe2ec71b7d644371ee891999f2f84.jpg","text":"TemporaryFile(/tmp/multipartBody7447609942215098533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653660130,"filename":"image_23012025_15_29_02_458252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd135e9fe86249eb24593e31aa10fdd0.jpg","text":"TemporaryFile(/tmp/multipartBody3570229015928971289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653660130,"filename":"image_23012025_15_30_02_673201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62bffca47e16fb80996612328699f84c.jpg","text":"TemporaryFile(/tmp/multipartBody5375856379682122245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653660130,"filename":"image_23012025_15_29_02_458252_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/266d5e6d9f2a1f51cc80c205e596a666.jpg","text":"TemporaryFile(/tmp/multipartBody5001145994546701082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653660130,"filename":"image_23012025_15_29_02_458252_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63554fe18272172ea0e23545a2218b0a.jpg","text":"TemporaryFile(/tmp/multipartBody8139547336799398342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653660130,"filename":"image_23012025_15_29_02_458252_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330841089","file1":"1330841086","file0":"1330841082","file4":"1330841096","file5":"1330841100","file3":"1330841092"},"map_files_photo_id_array":[{"photo_id":"1330841100","filename":"file5"},{"photo_id":"1330841089","filename":"file2"},{"photo_id":"1330841096","filename":"file4"},{"photo_id":"1330841086","filename":"file1"},{"photo_id":"1330841082","filename":"file0"},{"photo_id":"1330841092","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330841082":["hashtag1","hashtag2"]},{"1330841096":["hashtag1","hashtag2"]},{"1330841100":["hashtag1","hashtag2"]},{"1330841092":["hashtag1","hashtag2"]},{"1330841089":["hashtag1","hashtag2"]},{"1330841086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330841082, 1330841096, 1330841100, 1330841092, 1330841089, 1330841086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.365681648254395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:34:02.804283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_02_673201_0001.jpg', '/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_02_673201_0002.jpg', '/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_02_673201_0003.jpg', '/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_02_853377_0000.jpg', '/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_02_853377_0001.jpg', '/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_02_853377_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_02_673201_0001.jpg
/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_02_673201_0002.jpg
/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_02_673201_0003.jpg
/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_02_853377_0000.jpg
/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_02_853377_0001.jpg
/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_02_853377_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330841190","1330841195","1330841183","1330841147","1330841176","1330841137"],"photo_ids_order":["1330841137","1330841147","1330841176","1330841183","1330841190","1330841195"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4540f69fce2a5e93eacfc427b776bbfc.jpg","text":"TemporaryFile(/tmp/multipartBody54956973539861384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653719925,"filename":"image_23012025_15_31_02_853377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d34322cb70f47ef809553acd0ec9c9ca.jpg","text":"TemporaryFile(/tmp/multipartBody8864317566240910149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653719925,"filename":"image_23012025_15_31_02_853377_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b29c5b32fd1c36d11e26fec28a5420ab.jpg","text":"TemporaryFile(/tmp/multipartBody6636013284191960015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653719925,"filename":"image_23012025_15_31_02_853377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6347bd019f3c54bf1dc89748e9836611.jpg","text":"TemporaryFile(/tmp/multipartBody961961458825145611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653719925,"filename":"image_23012025_15_30_02_673201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/178fed564507839d7feb57945dc5088b.jpg","text":"TemporaryFile(/tmp/multipartBody6773704328116300811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653719925,"filename":"image_23012025_15_30_02_673201_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdcdbca2ab92777bae7a5670bdb4ee1d.jpg","text":"TemporaryFile(/tmp/multipartBody82846493134082435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653719925,"filename":"image_23012025_15_30_02_673201_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330841176","file1":"1330841147","file0":"1330841137","file4":"1330841190","file5":"1330841195","file3":"1330841183"},"map_files_photo_id_array":[{"photo_id":"1330841195","filename":"file5"},{"photo_id":"1330841176","filename":"file2"},{"photo_id":"1330841190","filename":"file4"},{"photo_id":"1330841147","filename":"file1"},{"photo_id":"1330841137","filename":"file0"},{"photo_id":"1330841183","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330841190":["hashtag1","hashtag2"]},{"1330841195":["hashtag1","hashtag2"]},{"1330841183":["hashtag1","hashtag2"]},{"1330841147":["hashtag1","hashtag2"]},{"1330841176":["hashtag1","hashtag2"]},{"1330841137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330841190, 1330841195, 1330841183, 1330841147, 1330841176, 1330841137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.30282807350159 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:35:03.213606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_02_853377_0003.jpg', '/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_03_016952_0000.jpg', '/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_03_016952_0001.jpg', '/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_03_016952_0002.jpg', '/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_03_016952_0003.jpg', '/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_02_181061_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_02_853377_0003.jpg
/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_03_016952_0000.jpg
/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_03_016952_0001.jpg
/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_03_016952_0002.jpg
/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_03_016952_0003.jpg
/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_02_181061_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":["1330841332","1330841326","1330841322","1330841313","1330841297","1330841303"],"photo_ids_order":["1330841297","1330841303","1330841313","1330841322","1330841326","1330841332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f1fc4697529376f9db15b9c1f264828.jpg","text":"TemporaryFile(/tmp/multipartBody4434756210530216373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653780330,"filename":"image_23012025_15_33_02_181061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ef333a923ee9e01ca359a4fd93f6980.jpg","text":"TemporaryFile(/tmp/multipartBody4522093687814248617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653780330,"filename":"image_23012025_15_32_03_016952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b65e262575a12b6b98b3aae0843ff4d.jpg","text":"TemporaryFile(/tmp/multipartBody7141961351792558659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653780330,"filename":"image_23012025_15_32_03_016952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5015b66118719397a38f7112947fb154.jpg","text":"TemporaryFile(/tmp/multipartBody7838512892052378207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653780330,"filename":"image_23012025_15_32_03_016952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/360ca02ed50b063821ebae2a3c60d6df.jpg","text":"TemporaryFile(/tmp/multipartBody2662448218928897155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653780330,"filename":"image_23012025_15_31_02_853377_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/562aebbd4b03409dca0f1a71948b198d.jpg","text":"TemporaryFile(/tmp/multipartBody5536105536866462330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653780330,"filename":"image_23012025_15_32_03_016952_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330841313","file1":"1330841303","file0":"1330841297","file4":"1330841326","file5":"1330841332","file3":"1330841322"},"map_files_photo_id_array":[{"photo_id":"1330841332","filename":"file5"},{"photo_id":"1330841313","filename":"file2"},{"photo_id":"1330841326","filename":"file4"},{"photo_id":"1330841303","filename":"file1"},{"photo_id":"1330841297","filename":"file0"},{"photo_id":"1330841322","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330841332":["hashtag1","hashtag2"]},{"1330841326":["hashtag1","hashtag2"]},{"1330841322":["hashtag1","hashtag2"]},{"1330841313":["hashtag1","hashtag2"]},{"1330841297":["hashtag1","hashtag2"]},{"1330841303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330841332, 1330841326, 1330841322, 1330841313, 1330841297, 1330841303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.40252900123596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:36:22.728594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_02_181061_0001.jpg', '/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_02_181061_0002.jpg', '/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_02_181061_0003.jpg', '/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_02_415254_0000.jpg', '/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_02_415254_0001.jpg', '/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_02_415254_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_02_181061_0001.jpg
/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_02_181061_0002.jpg
/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_02_181061_0003.jpg
/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_02_415254_0000.jpg
/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_02_415254_0001.jpg
/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_02_415254_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330841446","1330841454","1330841462","1330841438","1330841434","1330841443"],"photo_ids_order":["1330841434","1330841438","1330841443","1330841446","1330841454","1330841462"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7290f45d8a0398155a81f51865aa2b6c.jpg","text":"TemporaryFile(/tmp/multipartBody6112414003958180144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653859553,"filename":"image_23012025_15_34_02_415254_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c270f8126f015a36285fbd76e2412a1.jpg","text":"TemporaryFile(/tmp/multipartBody3364379628959248197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653859553,"filename":"image_23012025_15_34_02_415254_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/070bb307a763c5eaaeccdba24a16699f.jpg","text":"TemporaryFile(/tmp/multipartBody3162380801720810660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653859553,"filename":"image_23012025_15_34_02_415254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/326a4f9f4a3f301da3a2003498169093.jpg","text":"TemporaryFile(/tmp/multipartBody1598239641770348770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653859553,"filename":"image_23012025_15_33_02_181061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94456ef2f46b751ed83b389cf386a166.jpg","text":"TemporaryFile(/tmp/multipartBody6955825209072938955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653859553,"filename":"image_23012025_15_33_02_181061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99ae6bb9514a644969d8c4e2fa05fd0e.jpg","text":"TemporaryFile(/tmp/multipartBody3219041669917833772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653859553,"filename":"image_23012025_15_33_02_181061_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330841443","file1":"1330841438","file0":"1330841434","file4":"1330841454","file5":"1330841462","file3":"1330841446"},"map_files_photo_id_array":[{"photo_id":"1330841462","filename":"file5"},{"photo_id":"1330841443","filename":"file2"},{"photo_id":"1330841454","filename":"file4"},{"photo_id":"1330841438","filename":"file1"},{"photo_id":"1330841434","filename":"file0"},{"photo_id":"1330841446","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330841446":["hashtag1","hashtag2"]},{"1330841454":["hashtag1","hashtag2"]},{"1330841462":["hashtag1","hashtag2"]},{"1330841438":["hashtag1","hashtag2"]},{"1330841434":["hashtag1","hashtag2"]},{"1330841443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330841446, 1330841454, 1330841462, 1330841438, 1330841434, 1330841443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.74403119087219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:37:21.858507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_02_415254_0003.jpg', '/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_02_533042_0000.jpg', '/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_02_533042_0001.jpg', '/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_02_533042_0002.jpg', '/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_02_533042_0003.jpg', '/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_02_697431_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_02_415254_0003.jpg
/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_02_533042_0000.jpg
/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_02_533042_0001.jpg
/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_02_533042_0002.jpg
/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_02_533042_0003.jpg
/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_02_697431_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":["1330841545","1330841524","1330841529","1330841537","1330841533","1330841521"],"photo_ids_order":["1330841521","1330841524","1330841529","1330841533","1330841537","1330841545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3da937f8c1089a347eb77dd85c10b9cf.jpg","text":"TemporaryFile(/tmp/multipartBody6322345143972648042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653918971,"filename":"image_23012025_15_36_02_697431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2193aa1bb6de8ffa12c7e7692b28bc58.jpg","text":"TemporaryFile(/tmp/multipartBody2150802134446371367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653918971,"filename":"image_23012025_15_35_02_533042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86fc45510fe8b7dd628cca0bca8003e8.jpg","text":"TemporaryFile(/tmp/multipartBody2504309760777059542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653918971,"filename":"image_23012025_15_35_02_533042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3465e42734b6444208c37f9f5509845c.jpg","text":"TemporaryFile(/tmp/multipartBody126834758842310809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653918971,"filename":"image_23012025_15_35_02_533042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b7b6b681a58ab2598c20c89b81881a2.jpg","text":"TemporaryFile(/tmp/multipartBody4992858819557002354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653918971,"filename":"image_23012025_15_35_02_533042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/621604485ae59d1ed89fbefeec6b3479.jpg","text":"TemporaryFile(/tmp/multipartBody2349804058435216421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653918971,"filename":"image_23012025_15_34_02_415254_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330841529","file1":"1330841524","file0":"1330841521","file4":"1330841537","file5":"1330841545","file3":"1330841533"},"map_files_photo_id_array":[{"photo_id":"1330841545","filename":"file5"},{"photo_id":"1330841529","filename":"file2"},{"photo_id":"1330841537","filename":"file4"},{"photo_id":"1330841524","filename":"file1"},{"photo_id":"1330841521","filename":"file0"},{"photo_id":"1330841533","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330841545":["hashtag1","hashtag2"]},{"1330841524":["hashtag1","hashtag2"]},{"1330841529":["hashtag1","hashtag2"]},{"1330841537":["hashtag1","hashtag2"]},{"1330841533":["hashtag1","hashtag2"]},{"1330841521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330841545, 1330841524, 1330841529, 1330841537, 1330841533, 1330841521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.54029679298401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:38:22.002144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_02_697431_0001.jpg', '/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_02_697431_0002.jpg', '/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_02_697431_0003.jpg', '/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_02_936910_0000.jpg', '/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_02_936910_0001.jpg', '/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_02_936910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_02_697431_0001.jpg
/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_02_697431_0002.jpg
/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_02_697431_0003.jpg
/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_02_936910_0000.jpg
/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_02_936910_0001.jpg
/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_02_936910_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330841595","1330841583","1330841601","1330841588","1330841579","1330841575"],"photo_ids_order":["1330841575","1330841579","1330841583","1330841588","1330841595","1330841601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1166de87ff58faf679b8a814d7b7486.jpg","text":"TemporaryFile(/tmp/multipartBody2868813971445144116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653978898,"filename":"image_23012025_15_37_02_936910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6767dce1bd5070b13e6f06d6d9dc5b8.jpg","text":"TemporaryFile(/tmp/multipartBody6522743208442242866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653978898,"filename":"image_23012025_15_36_02_697431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9439fbb5ef9da86e7e3deb47ba69ea7.jpg","text":"TemporaryFile(/tmp/multipartBody8939890251355844730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653978898,"filename":"image_23012025_15_37_02_936910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e1b7774dfc02f0e6df152ee7bbb7783.jpg","text":"TemporaryFile(/tmp/multipartBody77365963598134167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653978898,"filename":"image_23012025_15_37_02_936910_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9648890503f00ff2d2bd9ca9f1ef041d.jpg","text":"TemporaryFile(/tmp/multipartBody8893948720063870238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653978898,"filename":"image_23012025_15_36_02_697431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29dc212df5360ff4051dde95a7876aa3.jpg","text":"TemporaryFile(/tmp/multipartBody9060047674867005165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653978898,"filename":"image_23012025_15_36_02_697431_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330841583","file1":"1330841579","file0":"1330841575","file4":"1330841595","file5":"1330841601","file3":"1330841588"},"map_files_photo_id_array":[{"photo_id":"1330841601","filename":"file5"},{"photo_id":"1330841583","filename":"file2"},{"photo_id":"1330841595","filename":"file4"},{"photo_id":"1330841579","filename":"file1"},{"photo_id":"1330841575","filename":"file0"},{"photo_id":"1330841588","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330841595":["hashtag1","hashtag2"]},{"1330841583":["hashtag1","hashtag2"]},{"1330841601":["hashtag1","hashtag2"]},{"1330841588":["hashtag1","hashtag2"]},{"1330841579":["hashtag1","hashtag2"]},{"1330841575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330841595, 1330841583, 1330841601, 1330841588, 1330841579, 1330841575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.59418201446533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:39:22.221276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_02_936910_0003.jpg', '/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_03_118511_0000.jpg', '/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_03_118511_0001.jpg', '/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_03_118511_0002.jpg', '/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_03_118511_0003.jpg', '/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_02_261966_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_02_936910_0003.jpg
/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_03_118511_0000.jpg
/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_03_118511_0001.jpg
/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_03_118511_0002.jpg
/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_03_118511_0003.jpg
/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_02_261966_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":["1330841691","1330841697","1330841658","1330841637","1330841684","1330841666"],"photo_ids_order":["1330841637","1330841658","1330841666","1330841684","1330841691","1330841697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc39e69c07f16ca60bd3a330d695601a.jpg","text":"TemporaryFile(/tmp/multipartBody3924519797744724288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654038950,"filename":"image_23012025_15_38_03_118511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b89ef133fe63ed06d35a8fcecbe0bf1f.jpg","text":"TemporaryFile(/tmp/multipartBody7150773870983678694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654038950,"filename":"image_23012025_15_39_02_261966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59834f93436304ebefe1076d51fe4e54.jpg","text":"TemporaryFile(/tmp/multipartBody1950444414131934424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654038950,"filename":"image_23012025_15_38_03_118511_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e0fcc2c19834090e675d92641203e48.jpg","text":"TemporaryFile(/tmp/multipartBody1652059891141110820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654038950,"filename":"image_23012025_15_37_02_936910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/191af7544cca965b14a3f984091a70fb.jpg","text":"TemporaryFile(/tmp/multipartBody1506832574742241293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654038950,"filename":"image_23012025_15_38_03_118511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6693de57759f4462e7bc36fd69755ea.jpg","text":"TemporaryFile(/tmp/multipartBody1185986131152824642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654038950,"filename":"image_23012025_15_38_03_118511_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330841666","file1":"1330841658","file0":"1330841637","file4":"1330841691","file5":"1330841697","file3":"1330841684"},"map_files_photo_id_array":[{"photo_id":"1330841697","filename":"file5"},{"photo_id":"1330841666","filename":"file2"},{"photo_id":"1330841691","filename":"file4"},{"photo_id":"1330841658","filename":"file1"},{"photo_id":"1330841637","filename":"file0"},{"photo_id":"1330841684","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330841691":["hashtag1","hashtag2"]},{"1330841697":["hashtag1","hashtag2"]},{"1330841658":["hashtag1","hashtag2"]},{"1330841637":["hashtag1","hashtag2"]},{"1330841684":["hashtag1","hashtag2"]},{"1330841666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330841691, 1330841697, 1330841658, 1330841637, 1330841684, 1330841666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.87331771850586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:40:22.322742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_02_261966_0001.jpg', '/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_02_261966_0002.jpg', '/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_02_261966_0003.jpg', '/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_02_452251_0000.jpg', '/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_02_452251_0001.jpg', '/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_02_452251_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_02_261966_0001.jpg
/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_02_261966_0002.jpg
/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_02_261966_0003.jpg
/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_02_452251_0000.jpg
/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_02_452251_0001.jpg
/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_02_452251_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330841754","1330841817","1330841747","1330841738","1330841797","1330841785"],"photo_ids_order":["1330841738","1330841747","1330841754","1330841785","1330841797","1330841817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38b10c3fdee6b21179bed21f1367bc75.jpg","text":"TemporaryFile(/tmp/multipartBody2457063076429891972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654099233,"filename":"image_23012025_15_39_02_261966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72f3604c9e2062a404b63f9a2689e8e2.jpg","text":"TemporaryFile(/tmp/multipartBody2704473919247332174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654099233,"filename":"image_23012025_15_40_02_452251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6f6e6d60b310188c8780eb3fc677abd.jpg","text":"TemporaryFile(/tmp/multipartBody3935588850435849043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654099233,"filename":"image_23012025_15_39_02_261966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ed4df1b51dfa5df864b7c7444813864.jpg","text":"TemporaryFile(/tmp/multipartBody2760544582487307725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654099233,"filename":"image_23012025_15_39_02_261966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b324d1bb96ce007ba720ad24bd1b06a4.jpg","text":"TemporaryFile(/tmp/multipartBody5224694458112765899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654099233,"filename":"image_23012025_15_40_02_452251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0dd8f908785c7374af228c3fcabdabb.jpg","text":"TemporaryFile(/tmp/multipartBody7658085501098193960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654099233,"filename":"image_23012025_15_40_02_452251_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330841754","file1":"1330841747","file0":"1330841738","file4":"1330841797","file5":"1330841817","file3":"1330841785"},"map_files_photo_id_array":[{"photo_id":"1330841817","filename":"file5"},{"photo_id":"1330841754","filename":"file2"},{"photo_id":"1330841797","filename":"file4"},{"photo_id":"1330841747","filename":"file1"},{"photo_id":"1330841738","filename":"file0"},{"photo_id":"1330841785","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330841754":["hashtag1","hashtag2"]},{"1330841817":["hashtag1","hashtag2"]},{"1330841747":["hashtag1","hashtag2"]},{"1330841738":["hashtag1","hashtag2"]},{"1330841797":["hashtag1","hashtag2"]},{"1330841785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330841754, 1330841817, 1330841747, 1330841738, 1330841797, 1330841785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.64610195159912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:41:22.499046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_02_452251_0003.jpg', '/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_02_619430_0000.jpg', '/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_02_619430_0001.jpg', '/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_02_619430_0002.jpg', '/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_02_619430_0003.jpg', '/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_02_868230_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_02_452251_0003.jpg
/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_02_619430_0000.jpg
/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_02_619430_0001.jpg
/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_02_619430_0002.jpg
/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_02_619430_0003.jpg
/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_02_868230_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":["1330842021","1330841868","1330841879","1330842041","1330841875","1330841860"],"photo_ids_order":["1330841860","1330841868","1330841875","1330841879","1330842021","1330842041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7e9f06a993ebd679c138d7af8694222.jpg","text":"TemporaryFile(/tmp/multipartBody8098381268827249399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654158875,"filename":"image_23012025_15_41_02_619430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b41e258003e4cb68866f9e3a32ea1159.jpg","text":"TemporaryFile(/tmp/multipartBody6011295523681783667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654158875,"filename":"image_23012025_15_41_02_619430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f166cb4e081d56fccca7c191edeb25fd.jpg","text":"TemporaryFile(/tmp/multipartBody4308787468348570734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654158875,"filename":"image_23012025_15_41_02_619430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43c1207ed3a831edf8e498e502371f59.jpg","text":"TemporaryFile(/tmp/multipartBody6129928634931632968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654158875,"filename":"image_23012025_15_42_02_868230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84db0fe3e101fe9d8992ce3133c30490.jpg","text":"TemporaryFile(/tmp/multipartBody5341593754494311535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654158875,"filename":"image_23012025_15_41_02_619430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00045516d1623cbbeed502fb8000c76a.jpg","text":"TemporaryFile(/tmp/multipartBody4091987945028811271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654158875,"filename":"image_23012025_15_40_02_452251_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330841875","file1":"1330841868","file0":"1330841860","file4":"1330842021","file5":"1330842041","file3":"1330841879"},"map_files_photo_id_array":[{"photo_id":"1330842041","filename":"file5"},{"photo_id":"1330841875","filename":"file2"},{"photo_id":"1330842021","filename":"file4"},{"photo_id":"1330841868","filename":"file1"},{"photo_id":"1330841860","filename":"file0"},{"photo_id":"1330841879","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330842021":["hashtag1","hashtag2"]},{"1330841868":["hashtag1","hashtag2"]},{"1330841879":["hashtag1","hashtag2"]},{"1330842041":["hashtag1","hashtag2"]},{"1330841875":["hashtag1","hashtag2"]},{"1330841860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330842021, 1330841868, 1330841879, 1330842041, 1330841875, 1330841860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.75784707069397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:42:22.716283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_02_868230_0001.jpg', '/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_02_868230_0002.jpg', '/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_02_868230_0003.jpg', '/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_03_035815_0000.jpg', '/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_03_035815_0001.jpg', '/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_03_035815_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_02_868230_0001.jpg
/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_02_868230_0002.jpg
/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_02_868230_0003.jpg
/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_03_035815_0000.jpg
/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_03_035815_0001.jpg
/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_03_035815_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330842153","1330842146","1330842128","1330842142","1330842136","1330842118"],"photo_ids_order":["1330842118","1330842128","1330842136","1330842142","1330842146","1330842153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/216be6398dfe74743d1920d60a2242ad.jpg","text":"TemporaryFile(/tmp/multipartBody2428374841958164773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654219063,"filename":"image_23012025_15_43_03_035815_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a1dfa7850e02c4d77e4f815f741dd8e.jpg","text":"TemporaryFile(/tmp/multipartBody6106321338478367108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654219063,"filename":"image_23012025_15_43_03_035815_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/908df7235b6ceed3b78b34fa353a9722.jpg","text":"TemporaryFile(/tmp/multipartBody3458803490881053255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654219063,"filename":"image_23012025_15_42_02_868230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5616a2661fe90382abe9a29e69f8d5d6.jpg","text":"TemporaryFile(/tmp/multipartBody1190737229684951140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654219063,"filename":"image_23012025_15_43_03_035815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd61026de37a79e1dce0f9ec30591a4b.jpg","text":"TemporaryFile(/tmp/multipartBody2255201094200612819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654219063,"filename":"image_23012025_15_42_02_868230_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cf3ecff226b4b6fae46f1e59517f92d.jpg","text":"TemporaryFile(/tmp/multipartBody8830592619787700719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654219063,"filename":"image_23012025_15_42_02_868230_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330842136","file1":"1330842128","file0":"1330842118","file4":"1330842146","file5":"1330842153","file3":"1330842142"},"map_files_photo_id_array":[{"photo_id":"1330842153","filename":"file5"},{"photo_id":"1330842136","filename":"file2"},{"photo_id":"1330842146","filename":"file4"},{"photo_id":"1330842128","filename":"file1"},{"photo_id":"1330842118","filename":"file0"},{"photo_id":"1330842142","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330842153":["hashtag1","hashtag2"]},{"1330842146":["hashtag1","hashtag2"]},{"1330842128":["hashtag1","hashtag2"]},{"1330842142":["hashtag1","hashtag2"]},{"1330842136":["hashtag1","hashtag2"]},{"1330842118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330842153, 1330842146, 1330842128, 1330842142, 1330842136, 1330842118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.687962770462036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:43:31.859199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_03_035815_0003.jpg', '/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_02_167605_0000.jpg', '/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_02_167605_0001.jpg', '/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_02_167605_0002.jpg', '/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_02_167605_0003.jpg', '/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_02_305870_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_03_035815_0003.jpg
/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_02_167605_0000.jpg
/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_02_167605_0001.jpg
/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_02_167605_0002.jpg
/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_02_167605_0003.jpg
/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_02_305870_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":["1330842204","1330842194","1330842197","1330842190","1330842220","1330842214"],"photo_ids_order":["1330842190","1330842194","1330842197","1330842204","1330842214","1330842220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd75624440c019bdd0ad4dee895561b3.jpg","text":"TemporaryFile(/tmp/multipartBody4658736199073820244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654288581,"filename":"image_23012025_15_44_02_167605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0aa9c341d22aae700d5363742191178d.jpg","text":"TemporaryFile(/tmp/multipartBody4341212718906073303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654288581,"filename":"image_23012025_15_44_02_167605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9771889d8e8a5fb57faf8f5ecd100d5.jpg","text":"TemporaryFile(/tmp/multipartBody8282718386756344428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654288581,"filename":"image_23012025_15_44_02_167605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/027aa545718b76310c6dec851657f916.jpg","text":"TemporaryFile(/tmp/multipartBody3961757975902506195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654288581,"filename":"image_23012025_15_43_03_035815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6134300ac9b2dfc6f487bb77d6939487.jpg","text":"TemporaryFile(/tmp/multipartBody9111288480212768373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654288581,"filename":"image_23012025_15_45_02_305870_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/940d27a491469bd47dcf567418c49092.jpg","text":"TemporaryFile(/tmp/multipartBody5558805867650777513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654288581,"filename":"image_23012025_15_44_02_167605_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330842197","file1":"1330842194","file0":"1330842190","file4":"1330842214","file5":"1330842220","file3":"1330842204"},"map_files_photo_id_array":[{"photo_id":"1330842220","filename":"file5"},{"photo_id":"1330842197","filename":"file2"},{"photo_id":"1330842214","filename":"file4"},{"photo_id":"1330842194","filename":"file1"},{"photo_id":"1330842190","filename":"file0"},{"photo_id":"1330842204","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330842204":["hashtag1","hashtag2"]},{"1330842194":["hashtag1","hashtag2"]},{"1330842197":["hashtag1","hashtag2"]},{"1330842190":["hashtag1","hashtag2"]},{"1330842220":["hashtag1","hashtag2"]},{"1330842214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330842204, 1330842194, 1330842197, 1330842190, 1330842220, 1330842214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.160863399505615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:44:32.014302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_02_305870_0001.jpg', '/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_02_305870_0002.jpg', '/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_02_305870_0003.jpg', '/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_02_596850_0000.jpg', '/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_02_596850_0001.jpg', '/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_02_596850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_02_305870_0001.jpg
/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_02_305870_0002.jpg
/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_02_305870_0003.jpg
/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_02_596850_0000.jpg
/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_02_596850_0001.jpg
/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_02_596850_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330842318","1330842281","1330842302","1330842262","1330842310","1330842276"],"photo_ids_order":["1330842262","1330842276","1330842281","1330842302","1330842310","1330842318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c1b5ec47faa6d46f0d9ae61625fa254.jpg","text":"TemporaryFile(/tmp/multipartBody9139171088109261402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654348533,"filename":"image_23012025_15_46_02_596850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b89551225982a08424e0d2c6d8bc8499.jpg","text":"TemporaryFile(/tmp/multipartBody6694144742019837874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654348533,"filename":"image_23012025_15_45_02_305870_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5e848b6e565222d59091ffe881b4767.jpg","text":"TemporaryFile(/tmp/multipartBody7247475116344337552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654348533,"filename":"image_23012025_15_46_02_596850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f347b0c44d20ff5be4e63c8011f37258.jpg","text":"TemporaryFile(/tmp/multipartBody8719959408247243750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654348533,"filename":"image_23012025_15_45_02_305870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc073362fc186b615d6efda79e5dacd4.jpg","text":"TemporaryFile(/tmp/multipartBody5269377392073409504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654348533,"filename":"image_23012025_15_46_02_596850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59cbc539e2e7a4f1df936b7d508dc322.jpg","text":"TemporaryFile(/tmp/multipartBody558594080632441228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654348533,"filename":"image_23012025_15_45_02_305870_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330842281","file1":"1330842276","file0":"1330842262","file4":"1330842310","file5":"1330842318","file3":"1330842302"},"map_files_photo_id_array":[{"photo_id":"1330842318","filename":"file5"},{"photo_id":"1330842281","filename":"file2"},{"photo_id":"1330842310","filename":"file4"},{"photo_id":"1330842276","filename":"file1"},{"photo_id":"1330842262","filename":"file0"},{"photo_id":"1330842302","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330842318":["hashtag1","hashtag2"]},{"1330842281":["hashtag1","hashtag2"]},{"1330842302":["hashtag1","hashtag2"]},{"1330842262":["hashtag1","hashtag2"]},{"1330842310":["hashtag1","hashtag2"]},{"1330842276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330842318, 1330842281, 1330842302, 1330842262, 1330842310, 1330842276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.66332674026489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:45:32.237365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_02_596850_0003.jpg', '/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0000.jpg', '/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0001.jpg', '/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0002.jpg', '/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0003.jpg', '/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_02_974608_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_02_596850_0003.jpg
/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0000.jpg
/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0001.jpg
/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0002.jpg
/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0003.jpg
/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_02_974608_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.06120753288269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:45:52.180401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_02_596850_0003.jpg', '/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0000.jpg', '/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0001.jpg', '/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0002.jpg', '/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0003.jpg', '/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_02_974608_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_02_596850_0003.jpg
/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0000.jpg
/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0001.jpg
/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0002.jpg
/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_02_738756_0003.jpg
/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_02_974608_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":["1330842390","1330842384","1330842405","1330842398","1330842407","1330842375"],"photo_ids_order":["1330842375","1330842384","1330842390","1330842398","1330842405","1330842407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f47504ddfabc5f3c6d4818e90064f4f.jpg","text":"TemporaryFile(/tmp/multipartBody3993486611400338490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654428624,"filename":"image_23012025_15_47_02_738756_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a2adbbd74c7ca5bafeafba07a0cad7c.jpg","text":"TemporaryFile(/tmp/multipartBody3848350115810805414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654428624,"filename":"image_23012025_15_47_02_738756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3313998246479738fb311c40f300265e.jpg","text":"TemporaryFile(/tmp/multipartBody3120805975335181199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654428624,"filename":"image_23012025_15_47_02_738756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/685420f978c3693a8ac3034265859fec.jpg","text":"TemporaryFile(/tmp/multipartBody7251509977259425445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654428624,"filename":"image_23012025_15_47_02_738756_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95bde4ed1e385414a1ff683fcac88525.jpg","text":"TemporaryFile(/tmp/multipartBody3239879878411821506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654428624,"filename":"image_23012025_15_48_02_974608_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b4772f5afbfbe9bc63459ae3b52032d.jpg","text":"TemporaryFile(/tmp/multipartBody1793519790139827069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654428624,"filename":"image_23012025_15_46_02_596850_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330842390","file1":"1330842384","file0":"1330842375","file4":"1330842405","file5":"1330842407","file3":"1330842398"},"map_files_photo_id_array":[{"photo_id":"1330842407","filename":"file5"},{"photo_id":"1330842390","filename":"file2"},{"photo_id":"1330842405","filename":"file4"},{"photo_id":"1330842384","filename":"file1"},{"photo_id":"1330842375","filename":"file0"},{"photo_id":"1330842398","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330842390":["hashtag1","hashtag2"]},{"1330842384":["hashtag1","hashtag2"]},{"1330842405":["hashtag1","hashtag2"]},{"1330842398":["hashtag1","hashtag2"]},{"1330842407":["hashtag1","hashtag2"]},{"1330842375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330842390, 1330842384, 1330842405, 1330842398, 1330842407, 1330842375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.34938836097717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:46:52.456221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_02_974608_0001.jpg', '/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_02_974608_0002.jpg', '/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_02_974608_0003.jpg', '/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_03_118080_0000.jpg', '/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_03_118080_0001.jpg', '/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_03_118080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_02_974608_0001.jpg
/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_02_974608_0002.jpg
/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_02_974608_0003.jpg
/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_03_118080_0000.jpg
/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_03_118080_0001.jpg
/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_03_118080_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330842476","1330842461","1330842496","1330842481","1330842457","1330842486"],"photo_ids_order":["1330842457","1330842461","1330842476","1330842481","1330842486","1330842496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98a24f2579e3c68fdeff38a72a80605b.jpg","text":"TemporaryFile(/tmp/multipartBody4498207646966172221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654489305,"filename":"image_23012025_15_48_02_974608_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85932e015a00bd4ecafa7a262943c724.jpg","text":"TemporaryFile(/tmp/multipartBody1470677382258450669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654489305,"filename":"image_23012025_15_48_02_974608_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf5a4ee39376ef90c0197248c0b22280.jpg","text":"TemporaryFile(/tmp/multipartBody2709102733757689607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654489305,"filename":"image_23012025_15_49_03_118080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb4e9506257c06556eeaee966812d6b1.jpg","text":"TemporaryFile(/tmp/multipartBody8922319064419167014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654489305,"filename":"image_23012025_15_49_03_118080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c49997016ffdc25fce176d035783d224.jpg","text":"TemporaryFile(/tmp/multipartBody2211289488502053015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654489305,"filename":"image_23012025_15_48_02_974608_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5eb0f1ca8e2b19e069ce24cd64ad3d3d.jpg","text":"TemporaryFile(/tmp/multipartBody404276638965229224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654489305,"filename":"image_23012025_15_49_03_118080_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330842476","file1":"1330842461","file0":"1330842457","file4":"1330842486","file5":"1330842496","file3":"1330842481"},"map_files_photo_id_array":[{"photo_id":"1330842496","filename":"file5"},{"photo_id":"1330842476","filename":"file2"},{"photo_id":"1330842486","filename":"file4"},{"photo_id":"1330842461","filename":"file1"},{"photo_id":"1330842457","filename":"file0"},{"photo_id":"1330842481","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330842476":["hashtag1","hashtag2"]},{"1330842461":["hashtag1","hashtag2"]},{"1330842496":["hashtag1","hashtag2"]},{"1330842481":["hashtag1","hashtag2"]},{"1330842457":["hashtag1","hashtag2"]},{"1330842486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330842476, 1330842461, 1330842496, 1330842481, 1330842457, 1330842486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.23430514335632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:47:52.642236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_03_118080_0003.jpg', '/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_02_249019_0000.jpg', '/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_02_249019_0001.jpg', '/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_02_249019_0002.jpg', '/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_02_249019_0003.jpg', '/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_02_471622_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_03_118080_0003.jpg
/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_02_249019_0000.jpg
/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_02_249019_0001.jpg
/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_02_249019_0002.jpg
/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_02_249019_0003.jpg
/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_02_471622_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":["1330842558","1330842537","1330842545","1330842542","1330842550","1330842532"],"photo_ids_order":["1330842532","1330842537","1330842542","1330842545","1330842550","1330842558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/159303f7bbadfc553a5382d122b253ab.jpg","text":"TemporaryFile(/tmp/multipartBody2150633428054220933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654549401,"filename":"image_23012025_15_51_02_471622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5579372c7f676cb11e4085266f2ab94.jpg","text":"TemporaryFile(/tmp/multipartBody3447680617203065908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654549401,"filename":"image_23012025_15_50_02_249019_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9bf76466ca7aefb1e7801be29f43ffb.jpg","text":"TemporaryFile(/tmp/multipartBody3380690130014862912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654549401,"filename":"image_23012025_15_50_02_249019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce9e08d7077699e24dc5994350df0a6d.jpg","text":"TemporaryFile(/tmp/multipartBody3086748869487163220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654549401,"filename":"image_23012025_15_50_02_249019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eab0a61c8441ede49907aadf039a9fb9.jpg","text":"TemporaryFile(/tmp/multipartBody5579761772563539273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654549401,"filename":"image_23012025_15_50_02_249019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c6947fd91fdb6b05f623fe787dad8f6.jpg","text":"TemporaryFile(/tmp/multipartBody2131714463678400703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654549401,"filename":"image_23012025_15_49_03_118080_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330842542","file1":"1330842537","file0":"1330842532","file4":"1330842550","file5":"1330842558","file3":"1330842545"},"map_files_photo_id_array":[{"photo_id":"1330842558","filename":"file5"},{"photo_id":"1330842542","filename":"file2"},{"photo_id":"1330842550","filename":"file4"},{"photo_id":"1330842537","filename":"file1"},{"photo_id":"1330842532","filename":"file0"},{"photo_id":"1330842545","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330842558":["hashtag1","hashtag2"]},{"1330842537":["hashtag1","hashtag2"]},{"1330842545":["hashtag1","hashtag2"]},{"1330842542":["hashtag1","hashtag2"]},{"1330842550":["hashtag1","hashtag2"]},{"1330842532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330842558, 1330842537, 1330842545, 1330842542, 1330842550, 1330842532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.74480366706848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:48:51.809683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_02_471622_0001.jpg', '/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_02_471622_0002.jpg', '/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_02_471622_0003.jpg', '/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_02_671699_0000.jpg', '/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_02_671699_0001.jpg', '/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_02_671699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_02_471622_0001.jpg
/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_02_471622_0002.jpg
/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_02_471622_0003.jpg
/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_02_671699_0000.jpg
/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_02_671699_0001.jpg
/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_02_671699_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330842729","1330842714","1330842719","1330842739","1330842724","1330842733"],"photo_ids_order":["1330842714","1330842719","1330842724","1330842729","1330842733","1330842739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6f8cf1902bf25dc53480181422ed7a2.jpg","text":"TemporaryFile(/tmp/multipartBody4007145878854472962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654608591,"filename":"image_23012025_15_52_02_671699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/498d92e0478202b226e3475c05ecf33c.jpg","text":"TemporaryFile(/tmp/multipartBody8736794583904411601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654608591,"filename":"image_23012025_15_51_02_471622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61c8d37b44769a6ed23665eb494735e1.jpg","text":"TemporaryFile(/tmp/multipartBody4138830190359606721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654608591,"filename":"image_23012025_15_51_02_471622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e64704c68191995f5712453bb94a80cf.jpg","text":"TemporaryFile(/tmp/multipartBody8383596262734842830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654608591,"filename":"image_23012025_15_52_02_671699_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c64a6232ed6c5f627f3d76a796d6b428.jpg","text":"TemporaryFile(/tmp/multipartBody7373777037262396459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654608591,"filename":"image_23012025_15_51_02_471622_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e7eb5a169bf632df1a5b944fe5e9ce1.jpg","text":"TemporaryFile(/tmp/multipartBody5553052314472348542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654608591,"filename":"image_23012025_15_52_02_671699_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330842724","file1":"1330842719","file0":"1330842714","file4":"1330842733","file5":"1330842739","file3":"1330842729"},"map_files_photo_id_array":[{"photo_id":"1330842739","filename":"file5"},{"photo_id":"1330842724","filename":"file2"},{"photo_id":"1330842733","filename":"file4"},{"photo_id":"1330842719","filename":"file1"},{"photo_id":"1330842714","filename":"file0"},{"photo_id":"1330842729","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330842729":["hashtag1","hashtag2"]},{"1330842714":["hashtag1","hashtag2"]},{"1330842719":["hashtag1","hashtag2"]},{"1330842739":["hashtag1","hashtag2"]},{"1330842724":["hashtag1","hashtag2"]},{"1330842733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330842729, 1330842714, 1330842719, 1330842739, 1330842724, 1330842733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.63290977478027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:49:52.009651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_02_671699_0003.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0000.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0001.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0002.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0003.jpg', '/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_02_967378_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_02_671699_0003.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0000.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0001.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0002.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0003.jpg
/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_02_967378_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: 17.008208513259888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:50:22.169600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_02_671699_0003.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0000.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0001.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0002.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0003.jpg', '/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_02_967378_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_02_671699_0003.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0000.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0001.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0002.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_02_804562_0003.jpg
/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_02_967378_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":["1330842992","1330842934","1330842897","1330842876","1330842984","1330842885"],"photo_ids_order":["1330842876","1330842885","1330842897","1330842934","1330842984","1330842992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8489d1b378e7ee070b40f8f2b889a8d.jpg","text":"TemporaryFile(/tmp/multipartBody2121376680270787538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654699550,"filename":"image_23012025_15_54_02_967378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25c610fd1cfac3f45112745679a796eb.jpg","text":"TemporaryFile(/tmp/multipartBody76261796906450270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654699550,"filename":"image_23012025_15_53_02_804562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23cee478ceda6f957ecaf26508ec6030.jpg","text":"TemporaryFile(/tmp/multipartBody7307503575228435820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654699550,"filename":"image_23012025_15_53_02_804562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50e7b85c5bb6597d6363a945447e7f4a.jpg","text":"TemporaryFile(/tmp/multipartBody4108403150149009875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654699550,"filename":"image_23012025_15_52_02_671699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8793992b7f140128b96ada7751870aa2.jpg","text":"TemporaryFile(/tmp/multipartBody6253384745833299878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654699550,"filename":"image_23012025_15_53_02_804562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/069d8d30c91b659300295a66adde7f9d.jpg","text":"TemporaryFile(/tmp/multipartBody8748601938927145460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654699550,"filename":"image_23012025_15_53_02_804562_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330842897","file1":"1330842885","file0":"1330842876","file4":"1330842984","file5":"1330842992","file3":"1330842934"},"map_files_photo_id_array":[{"photo_id":"1330842992","filename":"file5"},{"photo_id":"1330842897","filename":"file2"},{"photo_id":"1330842984","filename":"file4"},{"photo_id":"1330842885","filename":"file1"},{"photo_id":"1330842876","filename":"file0"},{"photo_id":"1330842934","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330842992":["hashtag1","hashtag2"]},{"1330842934":["hashtag1","hashtag2"]},{"1330842897":["hashtag1","hashtag2"]},{"1330842876":["hashtag1","hashtag2"]},{"1330842984":["hashtag1","hashtag2"]},{"1330842885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330842992, 1330842934, 1330842897, 1330842876, 1330842984, 1330842885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.62782263755798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:51:22.485039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_02_967378_0001.jpg', '/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_02_967378_0002.jpg', '/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_02_967378_0003.jpg', '/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_02_121904_0000.jpg', '/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_02_121904_0001.jpg', '/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_02_121904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_02_967378_0001.jpg
/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_02_967378_0002.jpg
/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_02_967378_0003.jpg
/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_02_121904_0000.jpg
/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_02_121904_0001.jpg
/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_02_121904_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330843206","1330843215","1330843220","1330843171","1330843225","1330843182"],"photo_ids_order":["1330843171","1330843182","1330843206","1330843215","1330843220","1330843225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7eb9f0c043c944eae59a227713e2c979.jpg","text":"TemporaryFile(/tmp/multipartBody8048009999120689592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654759749,"filename":"image_23012025_15_54_02_967378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a32300fdd3805156b9f22c5299dacbcb.jpg","text":"TemporaryFile(/tmp/multipartBody7946899936464413565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654759749,"filename":"image_23012025_15_55_02_121904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff8265dbba4a36aca26f939cea0f0b51.jpg","text":"TemporaryFile(/tmp/multipartBody8008025635351612611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654759749,"filename":"image_23012025_15_55_02_121904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/117eceb5ab3aba890a7ea74b7ddf15a4.jpg","text":"TemporaryFile(/tmp/multipartBody3992297398549262851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654759749,"filename":"image_23012025_15_54_02_967378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd786a0395733ab671788dfa4040df3a.jpg","text":"TemporaryFile(/tmp/multipartBody941017783956382113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654759749,"filename":"image_23012025_15_55_02_121904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/725ec867a66e3a9acd4cff930d24b706.jpg","text":"TemporaryFile(/tmp/multipartBody4079737109690104521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654759749,"filename":"image_23012025_15_54_02_967378_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330843206","file1":"1330843182","file0":"1330843171","file4":"1330843220","file5":"1330843225","file3":"1330843215"},"map_files_photo_id_array":[{"photo_id":"1330843225","filename":"file5"},{"photo_id":"1330843206","filename":"file2"},{"photo_id":"1330843220","filename":"file4"},{"photo_id":"1330843182","filename":"file1"},{"photo_id":"1330843171","filename":"file0"},{"photo_id":"1330843215","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330843206":["hashtag1","hashtag2"]},{"1330843215":["hashtag1","hashtag2"]},{"1330843220":["hashtag1","hashtag2"]},{"1330843171":["hashtag1","hashtag2"]},{"1330843225":["hashtag1","hashtag2"]},{"1330843182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330843206, 1330843215, 1330843220, 1330843171, 1330843225, 1330843182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.71196246147156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:52:22.604074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_02_121904_0003.jpg', '/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_02_314552_0000.jpg', '/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_02_314552_0001.jpg', '/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_02_314552_0002.jpg', '/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_02_314552_0003.jpg', '/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_02_527895_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_02_121904_0003.jpg
/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_02_314552_0000.jpg
/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_02_314552_0001.jpg
/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_02_314552_0002.jpg
/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_02_314552_0003.jpg
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_02_527895_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":["1330843326","1330843676","1330843247","1330843489","1330843261","1330843255"],"photo_ids_order":["1330843247","1330843255","1330843261","1330843326","1330843489","1330843676"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2a1c0f75e77d46ed642e1173c1a4396.jpg","text":"TemporaryFile(/tmp/multipartBody2191458890413712066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654819682,"filename":"image_23012025_15_56_02_314552_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53bcde254a6ed37c9835a39083fde02a.jpg","text":"TemporaryFile(/tmp/multipartBody1578564358602347983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654819682,"filename":"image_23012025_15_57_02_527895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0797290e70b88e4c028f3b34106ab500.jpg","text":"TemporaryFile(/tmp/multipartBody5757553208790418508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654819682,"filename":"image_23012025_15_55_02_121904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/832952c58a7498c6ac429af218c847a1.jpg","text":"TemporaryFile(/tmp/multipartBody4621955551428792283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654819682,"filename":"image_23012025_15_56_02_314552_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/017ba9b22854241b3c9884e43e46286c.jpg","text":"TemporaryFile(/tmp/multipartBody849048245804742544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654819682,"filename":"image_23012025_15_56_02_314552_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2df5d5e22d02bbc59e0c66449ccedf40.jpg","text":"TemporaryFile(/tmp/multipartBody181886280341093975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654819682,"filename":"image_23012025_15_56_02_314552_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330843261","file1":"1330843255","file0":"1330843247","file4":"1330843489","file5":"1330843676","file3":"1330843326"},"map_files_photo_id_array":[{"photo_id":"1330843676","filename":"file5"},{"photo_id":"1330843261","filename":"file2"},{"photo_id":"1330843489","filename":"file4"},{"photo_id":"1330843255","filename":"file1"},{"photo_id":"1330843247","filename":"file0"},{"photo_id":"1330843326","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330843326":["hashtag1","hashtag2"]},{"1330843676":["hashtag1","hashtag2"]},{"1330843247":["hashtag1","hashtag2"]},{"1330843489":["hashtag1","hashtag2"]},{"1330843261":["hashtag1","hashtag2"]},{"1330843255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330843326, 1330843676, 1330843247, 1330843489, 1330843261, 1330843255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.10109257698059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 18:53:22.886511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_02_527895_0001.jpg', '/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_02_527895_0002.jpg', '/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_02_527895_0003.jpg', '/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_02_698855_0000.jpg', '/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_02_698855_0001.jpg', '/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_02_698855_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_02_527895_0001.jpg
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_02_527895_0002.jpg
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_02_527895_0003.jpg
/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_02_698855_0000.jpg
/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_02_698855_0001.jpg
/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_02_698855_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330844447","1330844411","1330844455","1330844440","1330844394","1330844460"],"photo_ids_order":["1330844394","1330844411","1330844440","1330844447","1330844455","1330844460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b63f1ae403fe0ff8c7df8e32b81e1159.jpg","text":"TemporaryFile(/tmp/multipartBody5659129541745532152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654879704,"filename":"image_23012025_15_58_02_698855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/732523db41bba48ffa0e18d36aceb7eb.jpg","text":"TemporaryFile(/tmp/multipartBody1268753858655657007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654879704,"filename":"image_23012025_15_57_02_527895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b0e3e2abc6feebfa822006212f120e2.jpg","text":"TemporaryFile(/tmp/multipartBody4447749606504532647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654879704,"filename":"image_23012025_15_58_02_698855_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdb70785f8cfa9be9db90d6c725aec59.jpg","text":"TemporaryFile(/tmp/multipartBody3742819285186974459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654879704,"filename":"image_23012025_15_57_02_527895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2410e9cb94b0ee09ba183bc41735bde7.jpg","text":"TemporaryFile(/tmp/multipartBody760281227294355423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654879704,"filename":"image_23012025_15_57_02_527895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3cd9805c4c15d183e7a3a61892ddeac6.jpg","text":"TemporaryFile(/tmp/multipartBody5141505861219150899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654879704,"filename":"image_23012025_15_58_02_698855_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330844440","file1":"1330844411","file0":"1330844394","file4":"1330844455","file5":"1330844460","file3":"1330844447"},"map_files_photo_id_array":[{"photo_id":"1330844460","filename":"file5"},{"photo_id":"1330844440","filename":"file2"},{"photo_id":"1330844455","filename":"file4"},{"photo_id":"1330844411","filename":"file1"},{"photo_id":"1330844394","filename":"file0"},{"photo_id":"1330844447","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330844447":["hashtag1","hashtag2"]},{"1330844411":["hashtag1","hashtag2"]},{"1330844455":["hashtag1","hashtag2"]},{"1330844440":["hashtag1","hashtag2"]},{"1330844394":["hashtag1","hashtag2"]},{"1330844460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330844447, 1330844411, 1330844455, 1330844440, 1330844394, 1330844460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.38485264778137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:54:31.960436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_02_698855_0003.jpg', '/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_02_924223_0000.jpg', '/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_02_924223_0001.jpg', '/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_02_924223_0002.jpg', '/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_02_924223_0003.jpg', '/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_03_041452_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_02_698855_0003.jpg
/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_02_924223_0000.jpg
/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_02_924223_0001.jpg
/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_02_924223_0002.jpg
/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_02_924223_0003.jpg
/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_03_041452_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":["1330844681","1330844546","1330844606","1330844559","1330844823","1330844553"],"photo_ids_order":["1330844546","1330844553","1330844559","1330844606","1330844681","1330844823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/523cdaec83606cc4a65fb783d78d8f6e.jpg","text":"TemporaryFile(/tmp/multipartBody5998117446518921737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654948354,"filename":"image_23012025_15_59_02_924223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5012fe5321f0027caeb38d159c5baf0.jpg","text":"TemporaryFile(/tmp/multipartBody5487628694579080589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654948354,"filename":"image_23012025_15_58_02_698855_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6177c15a4deb054069d88a20535bc26.jpg","text":"TemporaryFile(/tmp/multipartBody2529469963472450158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654948354,"filename":"image_23012025_15_59_02_924223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05a5e723d37eaa0d85e4c98756fa6e93.jpg","text":"TemporaryFile(/tmp/multipartBody9129202517986597740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654948354,"filename":"image_23012025_15_59_02_924223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16470ff0de4a24088bd65c8a8e5c746a.jpg","text":"TemporaryFile(/tmp/multipartBody258431428004630606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654948354,"filename":"image_23012025_16_00_03_041452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/871d530673fc3573eb0e48639f02baf9.jpg","text":"TemporaryFile(/tmp/multipartBody4950841356995005379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654948354,"filename":"image_23012025_15_59_02_924223_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330844559","file1":"1330844553","file0":"1330844546","file4":"1330844681","file5":"1330844823","file3":"1330844606"},"map_files_photo_id_array":[{"photo_id":"1330844823","filename":"file5"},{"photo_id":"1330844559","filename":"file2"},{"photo_id":"1330844681","filename":"file4"},{"photo_id":"1330844553","filename":"file1"},{"photo_id":"1330844546","filename":"file0"},{"photo_id":"1330844606","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330844681":["hashtag1","hashtag2"]},{"1330844546":["hashtag1","hashtag2"]},{"1330844606":["hashtag1","hashtag2"]},{"1330844559":["hashtag1","hashtag2"]},{"1330844823":["hashtag1","hashtag2"]},{"1330844553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330844681, 1330844546, 1330844606, 1330844559, 1330844823, 1330844553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.03235507011414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 18:55:42.144599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_03_041452_0001.jpg', '/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_03_041452_0002.jpg', '/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_03_041452_0003.jpg', '/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_02_258967_0000.jpg', '/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_02_258967_0001.jpg', '/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_02_258967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_03_041452_0001.jpg
/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_03_041452_0002.jpg
/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_03_041452_0003.jpg
/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_02_258967_0000.jpg
/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_02_258967_0001.jpg
/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_02_258967_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330845196","1330845101","1330845094","1330845163","1330845213","1330845207"],"photo_ids_order":["1330845094","1330845101","1330845163","1330845196","1330845207","1330845213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f124af8a5fd5aa1ba4595cbbb0fbdc4c.jpg","text":"TemporaryFile(/tmp/multipartBody1093092446089956382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655018648,"filename":"image_23012025_16_01_02_258967_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb82f8e1b7d272fb078e1fc8dda817be.jpg","text":"TemporaryFile(/tmp/multipartBody714130848997593957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655018648,"filename":"image_23012025_16_00_03_041452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e98ba8b25bf6403e25b9ef0657a33b80.jpg","text":"TemporaryFile(/tmp/multipartBody3463357145466166690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655018648,"filename":"image_23012025_16_00_03_041452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0ccb1543a3d17b83fbb1ac358f9d9e0.jpg","text":"TemporaryFile(/tmp/multipartBody2040157775638384942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655018648,"filename":"image_23012025_16_00_03_041452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c498823f034ed896ef06764e1437794c.jpg","text":"TemporaryFile(/tmp/multipartBody4799029011618567857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655018648,"filename":"image_23012025_16_01_02_258967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4db6c7c3a3bf06ca81319d34edf95d6.jpg","text":"TemporaryFile(/tmp/multipartBody909900430363063646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655018648,"filename":"image_23012025_16_01_02_258967_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330845163","file1":"1330845101","file0":"1330845094","file4":"1330845207","file5":"1330845213","file3":"1330845196"},"map_files_photo_id_array":[{"photo_id":"1330845213","filename":"file5"},{"photo_id":"1330845163","filename":"file2"},{"photo_id":"1330845207","filename":"file4"},{"photo_id":"1330845101","filename":"file1"},{"photo_id":"1330845094","filename":"file0"},{"photo_id":"1330845196","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330845196":["hashtag1","hashtag2"]},{"1330845101":["hashtag1","hashtag2"]},{"1330845094":["hashtag1","hashtag2"]},{"1330845163":["hashtag1","hashtag2"]},{"1330845213":["hashtag1","hashtag2"]},{"1330845207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330845196, 1330845101, 1330845094, 1330845163, 1330845213, 1330845207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.387747049331665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 18:56:42.376565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_02_258967_0003.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0000.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0001.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0002.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0003.jpg', '/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_02_767746_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_02_258967_0003.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0000.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0001.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0002.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0003.jpg
/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_02_767746_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.380760431289673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:57:03.210657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_02_258967_0003.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0000.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0001.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0002.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0003.jpg', '/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_02_767746_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_02_258967_0003.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0000.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0001.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0002.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0003.jpg
/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_02_767746_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 18:59:02.481751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_02_258967_0003.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0000.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0001.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0002.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0003.jpg', '/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_02_767746_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_02_258967_0003.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0000.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0001.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0002.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_02_487929_0003.jpg
/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_02_767746_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":["1330845949","1330845954","1330845921","1330845900","1330845938","1330845911"],"photo_ids_order":["1330845900","1330845911","1330845921","1330845938","1330845949","1330845954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ef29be20fa269924b68a1692f5c29dd.jpg","text":"TemporaryFile(/tmp/multipartBody1787439122504984641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655219324,"filename":"image_23012025_16_02_02_487929_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7cf225dcb5f2ac75144526ee558903c.jpg","text":"TemporaryFile(/tmp/multipartBody5674020055006593690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655219324,"filename":"image_23012025_16_03_02_767746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ac810200ec87c1bfcb048cd027e61b4.jpg","text":"TemporaryFile(/tmp/multipartBody446954834489265610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655219324,"filename":"image_23012025_16_02_02_487929_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c771110d8426c7853bb84e5a24a24025.jpg","text":"TemporaryFile(/tmp/multipartBody146445866295276156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655219324,"filename":"image_23012025_16_01_02_258967_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/735de6b9c8c79863a5d48fce62502186.jpg","text":"TemporaryFile(/tmp/multipartBody7895124434699495306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655219324,"filename":"image_23012025_16_02_02_487929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2be8082978be8aabda9168dca2e95a3.jpg","text":"TemporaryFile(/tmp/multipartBody6748588622259647758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655219324,"filename":"image_23012025_16_02_02_487929_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330845921","file1":"1330845911","file0":"1330845900","file4":"1330845949","file5":"1330845954","file3":"1330845938"},"map_files_photo_id_array":[{"photo_id":"1330845954","filename":"file5"},{"photo_id":"1330845921","filename":"file2"},{"photo_id":"1330845949","filename":"file4"},{"photo_id":"1330845911","filename":"file1"},{"photo_id":"1330845900","filename":"file0"},{"photo_id":"1330845938","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330845949":["hashtag1","hashtag2"]},{"1330845954":["hashtag1","hashtag2"]},{"1330845921":["hashtag1","hashtag2"]},{"1330845900":["hashtag1","hashtag2"]},{"1330845938":["hashtag1","hashtag2"]},{"1330845911":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330845949, 1330845954, 1330845921, 1330845900, 1330845938, 1330845911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.44590353965759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 19:00:02.341871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_02_767746_0001.jpg', '/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_02_767746_0002.jpg', '/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_02_767746_0003.jpg', '/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_02_926148_0000.jpg', '/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_02_926148_0001.jpg', '/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_02_926148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_02_767746_0001.jpg
/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_02_767746_0002.jpg
/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_02_767746_0003.jpg
/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_02_926148_0000.jpg
/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_02_926148_0001.jpg
/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_02_926148_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330846015","1330846024","1330846011","1330846008","1330845998","1330846004"],"photo_ids_order":["1330845998","1330846004","1330846008","1330846011","1330846015","1330846024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a56b13e5a45ed4e249bb77426086461a.jpg","text":"TemporaryFile(/tmp/multipartBody7088124508113455222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655278787,"filename":"image_23012025_16_04_02_926148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0331eaa11addbeebf8f6d2faa658c32.jpg","text":"TemporaryFile(/tmp/multipartBody3404283954730153179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655278787,"filename":"image_23012025_16_04_02_926148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8596a6f19e491a2ea43e454db08edc99.jpg","text":"TemporaryFile(/tmp/multipartBody3486034943097485226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655278787,"filename":"image_23012025_16_04_02_926148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c569afd29a69f65266ec12ab4c682984.jpg","text":"TemporaryFile(/tmp/multipartBody5726444245432745569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655278787,"filename":"image_23012025_16_03_02_767746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff3b5ad3be6ebab10d928d8cfca644f6.jpg","text":"TemporaryFile(/tmp/multipartBody3776863442241789977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655278787,"filename":"image_23012025_16_03_02_767746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11da10b359cb06cc78ee267485be6377.jpg","text":"TemporaryFile(/tmp/multipartBody366337629841099852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655278787,"filename":"image_23012025_16_03_02_767746_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330846008","file1":"1330846004","file0":"1330845998","file4":"1330846015","file5":"1330846024","file3":"1330846011"},"map_files_photo_id_array":[{"photo_id":"1330846024","filename":"file5"},{"photo_id":"1330846008","filename":"file2"},{"photo_id":"1330846015","filename":"file4"},{"photo_id":"1330846004","filename":"file1"},{"photo_id":"1330845998","filename":"file0"},{"photo_id":"1330846011","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330846015":["hashtag1","hashtag2"]},{"1330846024":["hashtag1","hashtag2"]},{"1330846011":["hashtag1","hashtag2"]},{"1330846008":["hashtag1","hashtag2"]},{"1330845998":["hashtag1","hashtag2"]},{"1330846004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330846015, 1330846024, 1330846011, 1330846008, 1330845998, 1330846004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.282036781311035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 19:01:02.672001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_02_926148_0003.jpg', '/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_03_059554_0000.jpg', '/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_03_059554_0001.jpg', '/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_03_059554_0002.jpg', '/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_03_059554_0003.jpg', '/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_02_375963_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_02_926148_0003.jpg
/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_03_059554_0000.jpg
/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_03_059554_0001.jpg
/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_03_059554_0002.jpg
/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_03_059554_0003.jpg
/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_02_375963_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":["1330846066","1330846051","1330846077","1330846062","1330846056","1330846059"],"photo_ids_order":["1330846051","1330846056","1330846059","1330846062","1330846066","1330846077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa672cb30832f112d43d0ae0628527aa.jpg","text":"TemporaryFile(/tmp/multipartBody479373127796057603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655339117,"filename":"image_23012025_16_05_03_059554_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/87bc911f574ecf399a96b63672f5c22c.jpg","text":"TemporaryFile(/tmp/multipartBody6654078513027428076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655339117,"filename":"image_23012025_16_04_02_926148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99a65b0c3ed25e3ec85c537345550e8a.jpg","text":"TemporaryFile(/tmp/multipartBody564488643575372382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655339117,"filename":"image_23012025_16_06_02_375963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fae9f6f4826b0f528b3412ba4aa14f8.jpg","text":"TemporaryFile(/tmp/multipartBody6347711962117084812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655339117,"filename":"image_23012025_16_05_03_059554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0364ab1eed838c56769aba0f97160fb2.jpg","text":"TemporaryFile(/tmp/multipartBody690676983436777620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655339117,"filename":"image_23012025_16_05_03_059554_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e8a37391cc011cfe06049fa6a98a054.jpg","text":"TemporaryFile(/tmp/multipartBody3958428699439092769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655339117,"filename":"image_23012025_16_05_03_059554_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330846059","file1":"1330846056","file0":"1330846051","file4":"1330846066","file5":"1330846077","file3":"1330846062"},"map_files_photo_id_array":[{"photo_id":"1330846077","filename":"file5"},{"photo_id":"1330846059","filename":"file2"},{"photo_id":"1330846066","filename":"file4"},{"photo_id":"1330846056","filename":"file1"},{"photo_id":"1330846051","filename":"file0"},{"photo_id":"1330846062","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330846066":["hashtag1","hashtag2"]},{"1330846051":["hashtag1","hashtag2"]},{"1330846077":["hashtag1","hashtag2"]},{"1330846062":["hashtag1","hashtag2"]},{"1330846056":["hashtag1","hashtag2"]},{"1330846059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330846066, 1330846051, 1330846077, 1330846062, 1330846056, 1330846059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.620524644851685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 19:02:02.749870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_02_375963_0001.jpg', '/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_02_375963_0002.jpg', '/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_02_375963_0003.jpg', '/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_02_641124_0000.jpg', '/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_02_641124_0001.jpg', '/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_02_641124_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_02_375963_0001.jpg
/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_02_375963_0002.jpg
/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_02_375963_0003.jpg
/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_02_641124_0000.jpg
/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_02_641124_0001.jpg
/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_02_641124_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330846171","1330846138","1330846191","1330846184","1330846133","1330846162"],"photo_ids_order":["1330846133","1330846138","1330846162","1330846171","1330846184","1330846191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a212eb2b8d463873600b674d7560c79b.jpg","text":"TemporaryFile(/tmp/multipartBody7876851195814762879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655398735,"filename":"image_23012025_16_07_02_641124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5753055f5551acc96d7ba01b1d2e9ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1387086814780053062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655398735,"filename":"image_23012025_16_06_02_375963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b73db8585f5920b903ecb9485c9d32e7.jpg","text":"TemporaryFile(/tmp/multipartBody5269775792134989986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655398735,"filename":"image_23012025_16_07_02_641124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a37e67e333675ebc9faa9d87c17915b.jpg","text":"TemporaryFile(/tmp/multipartBody1945138661809076274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655398735,"filename":"image_23012025_16_07_02_641124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f19a84035d7314619c1488336480899c.jpg","text":"TemporaryFile(/tmp/multipartBody5485105196374353206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655398735,"filename":"image_23012025_16_06_02_375963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea8bfeb646f36c9f7f72eeee2da6c5c9.jpg","text":"TemporaryFile(/tmp/multipartBody1383355389202050315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655398735,"filename":"image_23012025_16_06_02_375963_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330846162","file1":"1330846138","file0":"1330846133","file4":"1330846184","file5":"1330846191","file3":"1330846171"},"map_files_photo_id_array":[{"photo_id":"1330846191","filename":"file5"},{"photo_id":"1330846162","filename":"file2"},{"photo_id":"1330846184","filename":"file4"},{"photo_id":"1330846138","filename":"file1"},{"photo_id":"1330846133","filename":"file0"},{"photo_id":"1330846171","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330846171":["hashtag1","hashtag2"]},{"1330846138":["hashtag1","hashtag2"]},{"1330846191":["hashtag1","hashtag2"]},{"1330846184":["hashtag1","hashtag2"]},{"1330846133":["hashtag1","hashtag2"]},{"1330846162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330846171, 1330846138, 1330846191, 1330846184, 1330846133, 1330846162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.47323703765869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 19:03:03.284737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_02_641124_0003.jpg', '/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_02_758698_0000.jpg', '/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_02_758698_0001.jpg', '/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_02_758698_0002.jpg', '/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_02_758698_0003.jpg', '/home/pi/Desktop/images/23012025/16/09/image_23012025_16_09_02_985211_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_02_641124_0003.jpg
/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_02_758698_0000.jpg
/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_02_758698_0001.jpg
/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_02_758698_0002.jpg
/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_02_758698_0003.jpg
/home/pi/Desktop/images/23012025/16/09/image_23012025_16_09_02_985211_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":["1330846246","1330846254","1330846263","1330846224","1330846268","1330846214"],"photo_ids_order":["1330846214","1330846224","1330846246","1330846254","1330846263","1330846268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7510596ca067683ed3a3621a8d396f27.jpg","text":"TemporaryFile(/tmp/multipartBody4344437096622362803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655459961,"filename":"image_23012025_16_08_02_758698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2317e5cc40179e7c5c623a9677ae4f9.jpg","text":"TemporaryFile(/tmp/multipartBody2890577859202220066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655459961,"filename":"image_23012025_16_08_02_758698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7265bc1e05d2b6293b496afaa262f1fb.jpg","text":"TemporaryFile(/tmp/multipartBody5494205533810615099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655459961,"filename":"image_23012025_16_08_02_758698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a45363589bb672ef460e4afeaeb09e08.jpg","text":"TemporaryFile(/tmp/multipartBody7872139409067049009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655459961,"filename":"image_23012025_16_08_02_758698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52d1a80c5118913739d5012aed506221.jpg","text":"TemporaryFile(/tmp/multipartBody4262449751360783952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655459961,"filename":"image_23012025_16_09_02_985211_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/116184594ce1faa6e073eb7e068c2243.jpg","text":"TemporaryFile(/tmp/multipartBody8463312104023013596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655459961,"filename":"image_23012025_16_07_02_641124_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330846246","file1":"1330846224","file0":"1330846214","file4":"1330846263","file5":"1330846268","file3":"1330846254"},"map_files_photo_id_array":[{"photo_id":"1330846268","filename":"file5"},{"photo_id":"1330846246","filename":"file2"},{"photo_id":"1330846263","filename":"file4"},{"photo_id":"1330846224","filename":"file1"},{"photo_id":"1330846214","filename":"file0"},{"photo_id":"1330846254","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330846246":["hashtag1","hashtag2"]},{"1330846254":["hashtag1","hashtag2"]},{"1330846263":["hashtag1","hashtag2"]},{"1330846224":["hashtag1","hashtag2"]},{"1330846268":["hashtag1","hashtag2"]},{"1330846214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330846246, 1330846254, 1330846263, 1330846224, 1330846268, 1330846214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.492581605911255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 19:04:03.159896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/09/image_23012025_16_09_02_985211_0001.jpg', '/home/pi/Desktop/images/23012025/16/09/image_23012025_16_09_02_985211_0002.jpg', '/home/pi/Desktop/images/23012025/16/09/image_23012025_16_09_02_985211_0003.jpg', '/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_02_181182_0000.jpg', '/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_02_181182_0001.jpg', '/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_02_181182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/09/image_23012025_16_09_02_985211_0001.jpg
/home/pi/Desktop/images/23012025/16/09/image_23012025_16_09_02_985211_0002.jpg
/home/pi/Desktop/images/23012025/16/09/image_23012025_16_09_02_985211_0003.jpg
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_02_181182_0000.jpg
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_02_181182_0001.jpg
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_02_181182_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330846321","1330846368","1330846323","1330846317","1330846391","1330846343"],"photo_ids_order":["1330846317","1330846321","1330846323","1330846343","1330846368","1330846391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6becc169d262067e0f7c11a05d19c64.jpg","text":"TemporaryFile(/tmp/multipartBody2882959619328020483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655519604,"filename":"image_23012025_16_09_02_985211_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc9877971fdecb80080748bb5a10b03c.jpg","text":"TemporaryFile(/tmp/multipartBody3476381013555455820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655519604,"filename":"image_23012025_16_10_02_181182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6aa6d404f74d7707aaf13abeb38a369.jpg","text":"TemporaryFile(/tmp/multipartBody7595871029272812697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655519604,"filename":"image_23012025_16_09_02_985211_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18fa428db4c624d15d01b6227fc4ab7c.jpg","text":"TemporaryFile(/tmp/multipartBody4985498144524767768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655519604,"filename":"image_23012025_16_09_02_985211_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15338f96b68f535e80ddd0fb5ca1a2b9.jpg","text":"TemporaryFile(/tmp/multipartBody5081103913459000012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655519604,"filename":"image_23012025_16_10_02_181182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9051f64df7578a0eda001544f5cadc45.jpg","text":"TemporaryFile(/tmp/multipartBody633769363976980989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655519604,"filename":"image_23012025_16_10_02_181182_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330846323","file1":"1330846321","file0":"1330846317","file4":"1330846368","file5":"1330846391","file3":"1330846343"},"map_files_photo_id_array":[{"photo_id":"1330846391","filename":"file5"},{"photo_id":"1330846323","filename":"file2"},{"photo_id":"1330846368","filename":"file4"},{"photo_id":"1330846321","filename":"file1"},{"photo_id":"1330846317","filename":"file0"},{"photo_id":"1330846343","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330846321":["hashtag1","hashtag2"]},{"1330846368":["hashtag1","hashtag2"]},{"1330846323":["hashtag1","hashtag2"]},{"1330846317":["hashtag1","hashtag2"]},{"1330846391":["hashtag1","hashtag2"]},{"1330846343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330846321, 1330846368, 1330846323, 1330846317, 1330846391, 1330846343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.97507643699646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 19:05:02.592101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_02_181182_0003.jpg', '/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_02_334950_0000.jpg', '/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_02_334950_0001.jpg', '/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_02_334950_0002.jpg', '/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_02_334950_0003.jpg', '/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_02_562233_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_02_181182_0003.jpg
/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_02_334950_0000.jpg
/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_02_334950_0001.jpg
/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_02_334950_0002.jpg
/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_02_334950_0003.jpg
/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_02_562233_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":["1330846420","1330846446","1330846428","1330846437","1330846425","1330846433"],"photo_ids_order":["1330846420","1330846425","1330846428","1330846433","1330846437","1330846446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/259690d08ebc018b85ab3395b817fe19.jpg","text":"TemporaryFile(/tmp/multipartBody2088330826724603284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655579263,"filename":"image_23012025_16_10_02_181182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8ab3be5498255d5d76133dd41df9bd6.jpg","text":"TemporaryFile(/tmp/multipartBody720276627720512774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655579263,"filename":"image_23012025_16_12_02_562233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/48abe599723c5db0e53b242829ec470b.jpg","text":"TemporaryFile(/tmp/multipartBody1791385461909090165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655579263,"filename":"image_23012025_16_11_02_334950_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6cecdd4d4395814948cd58a0fa0814e2.jpg","text":"TemporaryFile(/tmp/multipartBody4262867866180160734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655579263,"filename":"image_23012025_16_11_02_334950_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28cb0ad70230aa40c0cd1ac9ee308dbb.jpg","text":"TemporaryFile(/tmp/multipartBody4508996898674015644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655579263,"filename":"image_23012025_16_11_02_334950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/930b849500fa3da7061ed3a9cb83d34c.jpg","text":"TemporaryFile(/tmp/multipartBody8133011763012440568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655579263,"filename":"image_23012025_16_11_02_334950_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330846428","file1":"1330846425","file0":"1330846420","file4":"1330846437","file5":"1330846446","file3":"1330846433"},"map_files_photo_id_array":[{"photo_id":"1330846446","filename":"file5"},{"photo_id":"1330846428","filename":"file2"},{"photo_id":"1330846437","filename":"file4"},{"photo_id":"1330846425","filename":"file1"},{"photo_id":"1330846420","filename":"file0"},{"photo_id":"1330846433","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330846420":["hashtag1","hashtag2"]},{"1330846446":["hashtag1","hashtag2"]},{"1330846428":["hashtag1","hashtag2"]},{"1330846437":["hashtag1","hashtag2"]},{"1330846425":["hashtag1","hashtag2"]},{"1330846433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330846420, 1330846446, 1330846428, 1330846437, 1330846425, 1330846433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.316582441329956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 19:06:02.490177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_02_562233_0001.jpg', '/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_02_562233_0002.jpg', '/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_02_562233_0003.jpg', '/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_02_750281_0000.jpg', '/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_02_750281_0001.jpg', '/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_02_750281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_02_562233_0001.jpg
/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_02_562233_0002.jpg
/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_02_562233_0003.jpg
/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_02_750281_0000.jpg
/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_02_750281_0001.jpg
/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_02_750281_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.929502248764038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:06:22.075482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_02_562233_0001.jpg', '/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_02_562233_0002.jpg', '/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_02_562233_0003.jpg', '/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_02_750281_0000.jpg', '/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_02_750281_0001.jpg', '/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_02_750281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_02_562233_0001.jpg
/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_02_562233_0002.jpg
/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_02_562233_0003.jpg
/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_02_750281_0000.jpg
/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_02_750281_0001.jpg
/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_02_750281_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330847128","1330847424","1330846863","1330846605","1330847348","1330847044"],"photo_ids_order":["1330846605","1330846863","1330847044","1330847128","1330847348","1330847424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e54ee114f884a76f1d21ffd8455dfaa.jpg","text":"TemporaryFile(/tmp/multipartBody1939789974121969069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655658348,"filename":"image_23012025_16_13_02_750281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3cb2fba41b908ad9c914902eb1c3dd50.jpg","text":"TemporaryFile(/tmp/multipartBody8327991781571790138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655658348,"filename":"image_23012025_16_13_02_750281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7396195da617c42754039c0522ae8a6d.jpg","text":"TemporaryFile(/tmp/multipartBody5533998502531618315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655658348,"filename":"image_23012025_16_12_02_562233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f63712b63f387122a8971f7706760b37.jpg","text":"TemporaryFile(/tmp/multipartBody8419414354203935894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655658348,"filename":"image_23012025_16_12_02_562233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff5b898a281895f63221c51ba8161c74.jpg","text":"TemporaryFile(/tmp/multipartBody2753233654920672103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655658348,"filename":"image_23012025_16_13_02_750281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1e0b6909da9b6e203a73b9a2da60acb.jpg","text":"TemporaryFile(/tmp/multipartBody477078223233403486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655658348,"filename":"image_23012025_16_12_02_562233_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330847044","file1":"1330846863","file0":"1330846605","file4":"1330847348","file5":"1330847424","file3":"1330847128"},"map_files_photo_id_array":[{"photo_id":"1330847424","filename":"file5"},{"photo_id":"1330847044","filename":"file2"},{"photo_id":"1330847348","filename":"file4"},{"photo_id":"1330846863","filename":"file1"},{"photo_id":"1330846605","filename":"file0"},{"photo_id":"1330847128","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330847128":["hashtag1","hashtag2"]},{"1330847424":["hashtag1","hashtag2"]},{"1330846863":["hashtag1","hashtag2"]},{"1330846605":["hashtag1","hashtag2"]},{"1330847348":["hashtag1","hashtag2"]},{"1330847044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330847128, 1330847424, 1330846863, 1330846605, 1330847348, 1330847044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.393686056137085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:07:22.198273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_02_750281_0003.jpg', '/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_02_962614_0000.jpg', '/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_02_962614_0001.jpg', '/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_02_962614_0002.jpg', '/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_02_962614_0003.jpg', '/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_02_232397_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_02_750281_0003.jpg
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_02_962614_0000.jpg
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_02_962614_0001.jpg
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_02_962614_0002.jpg
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_02_962614_0003.jpg
/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_02_232397_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":["1330847469","1330847480","1330847477","1330847464","1330847458","1330847452"],"photo_ids_order":["1330847452","1330847458","1330847464","1330847469","1330847477","1330847480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc1ce07f4eae069cb0a3476ad2920fc7.jpg","text":"TemporaryFile(/tmp/multipartBody1847319679754016654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655718869,"filename":"image_23012025_16_14_02_962614_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56efb2dd3224b666e37e37d2628d88b1.jpg","text":"TemporaryFile(/tmp/multipartBody8780191811368592583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655718869,"filename":"image_23012025_16_15_02_232397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b266884ec1b66718b4619e43b6f14cb.jpg","text":"TemporaryFile(/tmp/multipartBody6906148361229378648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655718869,"filename":"image_23012025_16_14_02_962614_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d00b29a69b2ae44335c0333d3fe6fb93.jpg","text":"TemporaryFile(/tmp/multipartBody7935698674573909444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655718869,"filename":"image_23012025_16_14_02_962614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa3161ea76fee9de7cc20f158112135d.jpg","text":"TemporaryFile(/tmp/multipartBody1241407483356586247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655718869,"filename":"image_23012025_16_14_02_962614_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8a404a647417f23b70deed4dd8697e1.jpg","text":"TemporaryFile(/tmp/multipartBody4085058620527009475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655718869,"filename":"image_23012025_16_13_02_750281_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330847464","file1":"1330847458","file0":"1330847452","file4":"1330847477","file5":"1330847480","file3":"1330847469"},"map_files_photo_id_array":[{"photo_id":"1330847480","filename":"file5"},{"photo_id":"1330847464","filename":"file2"},{"photo_id":"1330847477","filename":"file4"},{"photo_id":"1330847458","filename":"file1"},{"photo_id":"1330847452","filename":"file0"},{"photo_id":"1330847469","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330847469":["hashtag1","hashtag2"]},{"1330847480":["hashtag1","hashtag2"]},{"1330847477":["hashtag1","hashtag2"]},{"1330847464":["hashtag1","hashtag2"]},{"1330847458":["hashtag1","hashtag2"]},{"1330847452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330847469, 1330847480, 1330847477, 1330847464, 1330847458, 1330847452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.586363315582275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:08:22.433998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_02_232397_0001.jpg', '/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_02_232397_0002.jpg', '/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_02_232397_0003.jpg', '/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_02_328073_0000.jpg', '/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_02_328073_0001.jpg', '/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_02_328073_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_02_232397_0001.jpg
/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_02_232397_0002.jpg
/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_02_232397_0003.jpg
/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_02_328073_0000.jpg
/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_02_328073_0001.jpg
/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_02_328073_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330847865","1330847919","1330847811","1330847924","1330847912","1330847848"],"photo_ids_order":["1330847811","1330847848","1330847865","1330847912","1330847919","1330847924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/726838d15ab0ce86d1809d1d73b56c08.jpg","text":"TemporaryFile(/tmp/multipartBody782345069401148077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655779578,"filename":"image_23012025_16_15_02_232397_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/824bd0bdf2086315d4fd95987690646f.jpg","text":"TemporaryFile(/tmp/multipartBody1269756662533581120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655779578,"filename":"image_23012025_16_16_02_328073_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0653b8b1db42705fd237254c9b8a13bd.jpg","text":"TemporaryFile(/tmp/multipartBody3345331561108147788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655779578,"filename":"image_23012025_16_15_02_232397_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6c8c0b6d58df6e0e8016645f8638c7a.jpg","text":"TemporaryFile(/tmp/multipartBody4509307597739700497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655779578,"filename":"image_23012025_16_16_02_328073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5f8ee914e0bd4583785065c71d15e9d.jpg","text":"TemporaryFile(/tmp/multipartBody7456013082926600539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655779578,"filename":"image_23012025_16_16_02_328073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7d4d8da2dcc99d3a77652a680fa309e.jpg","text":"TemporaryFile(/tmp/multipartBody1816116033202068501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655779578,"filename":"image_23012025_16_15_02_232397_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330847865","file1":"1330847848","file0":"1330847811","file4":"1330847919","file5":"1330847924","file3":"1330847912"},"map_files_photo_id_array":[{"photo_id":"1330847924","filename":"file5"},{"photo_id":"1330847865","filename":"file2"},{"photo_id":"1330847919","filename":"file4"},{"photo_id":"1330847848","filename":"file1"},{"photo_id":"1330847811","filename":"file0"},{"photo_id":"1330847912","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330847865":["hashtag1","hashtag2"]},{"1330847919":["hashtag1","hashtag2"]},{"1330847811":["hashtag1","hashtag2"]},{"1330847924":["hashtag1","hashtag2"]},{"1330847912":["hashtag1","hashtag2"]},{"1330847848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330847865, 1330847919, 1330847811, 1330847924, 1330847912, 1330847848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.106504678726196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:09:22.655900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_02_328073_0003.jpg', '/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_02_563020_0000.jpg', '/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_02_563020_0001.jpg', '/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_02_563020_0002.jpg', '/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_02_563020_0003.jpg', '/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_02_799316_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_02_328073_0003.jpg
/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_02_563020_0000.jpg
/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_02_563020_0001.jpg
/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_02_563020_0002.jpg
/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_02_563020_0003.jpg
/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_02_799316_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":["1330847997","1330847970","1330847973","1330847990","1330847992","1330848004"],"photo_ids_order":["1330847970","1330847973","1330847990","1330847992","1330847997","1330848004"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3c15b3f061ce9ff598a438ae070efe3.jpg","text":"TemporaryFile(/tmp/multipartBody3276474380406055035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655839654,"filename":"image_23012025_16_17_02_563020_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd910fcc8cae6402ee471c49079b8ba5.jpg","text":"TemporaryFile(/tmp/multipartBody7533578801224087295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655839654,"filename":"image_23012025_16_16_02_328073_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/050aba656b89e3efefdcf91c31fd8e7e.jpg","text":"TemporaryFile(/tmp/multipartBody2863440074451748284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655839654,"filename":"image_23012025_16_17_02_563020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75c54e48891d1062f80bde087a348b5d.jpg","text":"TemporaryFile(/tmp/multipartBody8150185717446056180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655839654,"filename":"image_23012025_16_17_02_563020_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4e4ad7cd636e057f62e022c9242f224.jpg","text":"TemporaryFile(/tmp/multipartBody4658009325573544414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655839654,"filename":"image_23012025_16_17_02_563020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e26470450bb284564f105415955180c9.jpg","text":"TemporaryFile(/tmp/multipartBody3250267073102279997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655839654,"filename":"image_23012025_16_18_02_799316_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330847990","file1":"1330847973","file0":"1330847970","file4":"1330847997","file5":"1330848004","file3":"1330847992"},"map_files_photo_id_array":[{"photo_id":"1330848004","filename":"file5"},{"photo_id":"1330847990","filename":"file2"},{"photo_id":"1330847997","filename":"file4"},{"photo_id":"1330847973","filename":"file1"},{"photo_id":"1330847970","filename":"file0"},{"photo_id":"1330847992","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330847997":["hashtag1","hashtag2"]},{"1330847970":["hashtag1","hashtag2"]},{"1330847973":["hashtag1","hashtag2"]},{"1330847990":["hashtag1","hashtag2"]},{"1330847992":["hashtag1","hashtag2"]},{"1330848004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330847997, 1330847970, 1330847973, 1330847990, 1330847992, 1330848004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.36480641365051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:10:22.765516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_02_799316_0001.jpg', '/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_02_799316_0002.jpg', '/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_02_799316_0003.jpg', '/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0000.jpg', '/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0001.jpg', '/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_02_799316_0001.jpg
/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_02_799316_0002.jpg
/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_02_799316_0003.jpg
/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0000.jpg
/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0001.jpg
/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.429402589797974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 19:10:42.741970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_02_799316_0001.jpg', '/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_02_799316_0002.jpg', '/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_02_799316_0003.jpg', '/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0000.jpg', '/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0001.jpg', '/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_02_799316_0001.jpg
/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_02_799316_0002.jpg
/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_02_799316_0003.jpg
/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0000.jpg
/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0001.jpg
/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330848342","1330848350","1330848308","1330848313","1330848316","1330848319"],"photo_ids_order":["1330848308","1330848313","1330848316","1330848319","1330848342","1330848350"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6910f9a07ff7a3103a8ce17d35ab5c5.jpg","text":"TemporaryFile(/tmp/multipartBody49009395731695623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655919536,"filename":"image_23012025_16_19_03_009843_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86321137546a318c1db4c16cb73d6a83.jpg","text":"TemporaryFile(/tmp/multipartBody234549523932846444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655919536,"filename":"image_23012025_16_19_03_009843_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21ca94c7a043c97b3e989301de596a44.jpg","text":"TemporaryFile(/tmp/multipartBody2668383573981349785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655919536,"filename":"image_23012025_16_18_02_799316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3c2683cffdbe4d8e104fafb2ff10d48.jpg","text":"TemporaryFile(/tmp/multipartBody8670842404650333253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655919536,"filename":"image_23012025_16_18_02_799316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/445a6f1dcf8ad0915b629f3686a5d5bc.jpg","text":"TemporaryFile(/tmp/multipartBody8189272335560260590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655919536,"filename":"image_23012025_16_18_02_799316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/207250f3893fb224d155f18ae24bc868.jpg","text":"TemporaryFile(/tmp/multipartBody7947364784363928576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655919536,"filename":"image_23012025_16_19_03_009843_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330848316","file1":"1330848313","file0":"1330848308","file4":"1330848342","file5":"1330848350","file3":"1330848319"},"map_files_photo_id_array":[{"photo_id":"1330848350","filename":"file5"},{"photo_id":"1330848316","filename":"file2"},{"photo_id":"1330848342","filename":"file4"},{"photo_id":"1330848313","filename":"file1"},{"photo_id":"1330848308","filename":"file0"},{"photo_id":"1330848319","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330848342":["hashtag1","hashtag2"]},{"1330848350":["hashtag1","hashtag2"]},{"1330848308":["hashtag1","hashtag2"]},{"1330848313":["hashtag1","hashtag2"]},{"1330848316":["hashtag1","hashtag2"]},{"1330848319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330848342, 1330848350, 1330848308, 1330848313, 1330848316, 1330848319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.35167050361633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 19:11:41.960662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0003.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0000.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0001.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0002.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0003.jpg', '/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_02_428082_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0003.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0000.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0001.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0002.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0003.jpg
/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_02_428082_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.714603662490845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 19:12:02.609710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0003.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0000.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0001.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0002.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0003.jpg', '/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_02_428082_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_03_009843_0003.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0000.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0001.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0002.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_03_153247_0003.jpg
/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_02_428082_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":["1330848444","1330848461","1330848455","1330848439","1330848448","1330848468"],"photo_ids_order":["1330848439","1330848444","1330848448","1330848455","1330848461","1330848468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e17ef2ff3984111763ba862bfd009a8b.jpg","text":"TemporaryFile(/tmp/multipartBody7329071707271945226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655999692,"filename":"image_23012025_16_20_03_153247_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/330d2820d361f6325f233203669435d0.jpg","text":"TemporaryFile(/tmp/multipartBody3919655718318286810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655999692,"filename":"image_23012025_16_20_03_153247_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a46f1f48522414f423a91405ec7ae843.jpg","text":"TemporaryFile(/tmp/multipartBody7505562882645795896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655999692,"filename":"image_23012025_16_20_03_153247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f18e24c1a9c9e8e651489925182f8c09.jpg","text":"TemporaryFile(/tmp/multipartBody3257848573309218679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655999692,"filename":"image_23012025_16_19_03_009843_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c21f9c600df847889cdb6bdc5d2f2f3.jpg","text":"TemporaryFile(/tmp/multipartBody2136624051286693658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655999692,"filename":"image_23012025_16_20_03_153247_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a64344e6b0ed0f22b444c8343a73dd9e.jpg","text":"TemporaryFile(/tmp/multipartBody5204694709214102065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655999692,"filename":"image_23012025_16_21_02_428082_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330848448","file1":"1330848444","file0":"1330848439","file4":"1330848461","file5":"1330848468","file3":"1330848455"},"map_files_photo_id_array":[{"photo_id":"1330848468","filename":"file5"},{"photo_id":"1330848448","filename":"file2"},{"photo_id":"1330848461","filename":"file4"},{"photo_id":"1330848444","filename":"file1"},{"photo_id":"1330848439","filename":"file0"},{"photo_id":"1330848455","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330848444":["hashtag1","hashtag2"]},{"1330848461":["hashtag1","hashtag2"]},{"1330848455":["hashtag1","hashtag2"]},{"1330848439":["hashtag1","hashtag2"]},{"1330848448":["hashtag1","hashtag2"]},{"1330848468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330848444, 1330848461, 1330848455, 1330848439, 1330848448, 1330848468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.80000901222229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 19:13:02.787753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_02_428082_0001.jpg', '/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_02_428082_0002.jpg', '/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_02_428082_0003.jpg', '/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_02_525861_0000.jpg', '/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_02_525861_0001.jpg', '/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_02_525861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_02_428082_0001.jpg
/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_02_428082_0002.jpg
/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_02_428082_0003.jpg
/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_02_525861_0000.jpg
/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_02_525861_0001.jpg
/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_02_525861_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330848522","1330848494","1330848501","1330848509","1330848518","1330848529"],"photo_ids_order":["1330848494","1330848501","1330848509","1330848518","1330848522","1330848529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4802b4134f8a2869e016fda88d0e7789.jpg","text":"TemporaryFile(/tmp/multipartBody5743275315484083979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656060049,"filename":"image_23012025_16_22_02_525861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6d85ede94b5b83e2b5e5f1d0d9bd549.jpg","text":"TemporaryFile(/tmp/multipartBody6465686467719519099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656060049,"filename":"image_23012025_16_21_02_428082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6aa1be99ca5a714669c64e7c1b21e9a9.jpg","text":"TemporaryFile(/tmp/multipartBody2621407365894408211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656060049,"filename":"image_23012025_16_21_02_428082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9aa821ee6d43460556c66f1f591a5529.jpg","text":"TemporaryFile(/tmp/multipartBody477961911007154321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656060049,"filename":"image_23012025_16_21_02_428082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4896957cd90047a1fa47bd04b6bdf193.jpg","text":"TemporaryFile(/tmp/multipartBody8452558277639388667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656060049,"filename":"image_23012025_16_22_02_525861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7619dd58f3a006276f2abcab21129fbf.jpg","text":"TemporaryFile(/tmp/multipartBody1904481182996945875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656060049,"filename":"image_23012025_16_22_02_525861_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330848509","file1":"1330848501","file0":"1330848494","file4":"1330848522","file5":"1330848529","file3":"1330848518"},"map_files_photo_id_array":[{"photo_id":"1330848529","filename":"file5"},{"photo_id":"1330848509","filename":"file2"},{"photo_id":"1330848522","filename":"file4"},{"photo_id":"1330848501","filename":"file1"},{"photo_id":"1330848494","filename":"file0"},{"photo_id":"1330848518","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330848522":["hashtag1","hashtag2"]},{"1330848494":["hashtag1","hashtag2"]},{"1330848501":["hashtag1","hashtag2"]},{"1330848509":["hashtag1","hashtag2"]},{"1330848518":["hashtag1","hashtag2"]},{"1330848529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330848522, 1330848494, 1330848501, 1330848509, 1330848518, 1330848529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.7148380279541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 19:14:02.934346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_02_525861_0003.jpg', '/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_02_683344_0000.jpg', '/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_02_683344_0001.jpg', '/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_02_683344_0002.jpg', '/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_02_683344_0003.jpg', '/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_02_916667_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_02_525861_0003.jpg
/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_02_683344_0000.jpg
/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_02_683344_0001.jpg
/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_02_683344_0002.jpg
/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_02_683344_0003.jpg
/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_02_916667_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":["1330848593","1330848575","1330848599","1330848572","1330848565","1330848585"],"photo_ids_order":["1330848565","1330848572","1330848575","1330848585","1330848593","1330848599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7456deec4fb61e5a88ce306e83f9351.jpg","text":"TemporaryFile(/tmp/multipartBody2118614159650666162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656120290,"filename":"image_23012025_16_23_02_683344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9ad145c7899f99e22a0ec249eabcdd0.jpg","text":"TemporaryFile(/tmp/multipartBody4223731016781571896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656120290,"filename":"image_23012025_16_23_02_683344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c99ad67b244a324c5017d565c7cde1a.jpg","text":"TemporaryFile(/tmp/multipartBody4624377928783967431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656120290,"filename":"image_23012025_16_24_02_916667_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1eef3e4f33fd3c13ff5c7f8d9ee60f93.jpg","text":"TemporaryFile(/tmp/multipartBody6471278353351430250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656120290,"filename":"image_23012025_16_23_02_683344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06cde46224f85d825099930af1be4eb9.jpg","text":"TemporaryFile(/tmp/multipartBody5852567430633314493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656120290,"filename":"image_23012025_16_22_02_525861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05601eb6c5f47b1d3a395ba5d701171e.jpg","text":"TemporaryFile(/tmp/multipartBody3269094358760531664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656120290,"filename":"image_23012025_16_23_02_683344_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330848575","file1":"1330848572","file0":"1330848565","file4":"1330848593","file5":"1330848599","file3":"1330848585"},"map_files_photo_id_array":[{"photo_id":"1330848599","filename":"file5"},{"photo_id":"1330848575","filename":"file2"},{"photo_id":"1330848593","filename":"file4"},{"photo_id":"1330848572","filename":"file1"},{"photo_id":"1330848565","filename":"file0"},{"photo_id":"1330848585","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330848593":["hashtag1","hashtag2"]},{"1330848575":["hashtag1","hashtag2"]},{"1330848599":["hashtag1","hashtag2"]},{"1330848572":["hashtag1","hashtag2"]},{"1330848565":["hashtag1","hashtag2"]},{"1330848585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330848593, 1330848575, 1330848599, 1330848572, 1330848565, 1330848585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.74993062019348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 19:15:03.358381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_02_916667_0001.jpg', '/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_02_916667_0002.jpg', '/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_02_916667_0003.jpg', '/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_03_130491_0000.jpg', '/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_03_130491_0001.jpg', '/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_03_130491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_02_916667_0001.jpg
/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_02_916667_0002.jpg
/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_02_916667_0003.jpg
/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_03_130491_0000.jpg
/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_03_130491_0001.jpg
/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_03_130491_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330848654","1330848624","1330848618","1330848638","1330848614","1330848670"],"photo_ids_order":["1330848614","1330848618","1330848624","1330848638","1330848654","1330848670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5bc0e80e6aa1122c2e83e184097d6c08.jpg","text":"TemporaryFile(/tmp/multipartBody2966211535009098660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656180839,"filename":"image_23012025_16_25_03_130491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2411ac0cac90b7574d211295225d8327.jpg","text":"TemporaryFile(/tmp/multipartBody1610858469028436948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656180839,"filename":"image_23012025_16_24_02_916667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5608f6e3db67431256ff5d6e27910d7.jpg","text":"TemporaryFile(/tmp/multipartBody4381075063686132596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656180839,"filename":"image_23012025_16_24_02_916667_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74a109a159ef988db3a5eaa7917a0b1f.jpg","text":"TemporaryFile(/tmp/multipartBody931124677713623246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656180839,"filename":"image_23012025_16_25_03_130491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d4c24bb0b2ba47b9fdff0e2d9585eef.jpg","text":"TemporaryFile(/tmp/multipartBody8070423559797859631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656180839,"filename":"image_23012025_16_24_02_916667_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/228351175a940d9a4989adebb13a5fb6.jpg","text":"TemporaryFile(/tmp/multipartBody850800603414718334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656180839,"filename":"image_23012025_16_25_03_130491_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330848624","file1":"1330848618","file0":"1330848614","file4":"1330848654","file5":"1330848670","file3":"1330848638"},"map_files_photo_id_array":[{"photo_id":"1330848670","filename":"file5"},{"photo_id":"1330848624","filename":"file2"},{"photo_id":"1330848654","filename":"file4"},{"photo_id":"1330848618","filename":"file1"},{"photo_id":"1330848614","filename":"file0"},{"photo_id":"1330848638","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330848654":["hashtag1","hashtag2"]},{"1330848624":["hashtag1","hashtag2"]},{"1330848618":["hashtag1","hashtag2"]},{"1330848638":["hashtag1","hashtag2"]},{"1330848614":["hashtag1","hashtag2"]},{"1330848670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330848654, 1330848624, 1330848618, 1330848638, 1330848614, 1330848670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.450687408447266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:16:21.924988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_03_130491_0003.jpg', '/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_02_260273_0000.jpg', '/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_02_260273_0001.jpg', '/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_02_260273_0002.jpg', '/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_02_260273_0003.jpg', '/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_02_481856_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_03_130491_0003.jpg
/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_02_260273_0000.jpg
/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_02_260273_0001.jpg
/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_02_260273_0002.jpg
/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_02_260273_0003.jpg
/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_02_481856_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":["1330848753","1330848749","1330848758","1330848740","1330848734","1330848762"],"photo_ids_order":["1330848734","1330848740","1330848749","1330848753","1330848758","1330848762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81c73343cf8eed8da5c8556f46627599.jpg","text":"TemporaryFile(/tmp/multipartBody3474201683885638753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656259070,"filename":"image_23012025_16_26_02_260273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/522628f8411d47c8f11e6f10eb9d7cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1760182074077431501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656259070,"filename":"image_23012025_16_26_02_260273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0da498b11fb38e92409a7657cd6f310.jpg","text":"TemporaryFile(/tmp/multipartBody8673134830417374141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656259070,"filename":"image_23012025_16_26_02_260273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c578f7a674baa539d9dc93ee5f72724.jpg","text":"TemporaryFile(/tmp/multipartBody6735301487204786129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656259070,"filename":"image_23012025_16_26_02_260273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a9848891dc1f793c24a9ea1d17053cf.jpg","text":"TemporaryFile(/tmp/multipartBody5024041610191749957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656259070,"filename":"image_23012025_16_25_03_130491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41f9e50bf633315d658433091f6e994e.jpg","text":"TemporaryFile(/tmp/multipartBody1348608953077639255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656259070,"filename":"image_23012025_16_27_02_481856_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330848749","file1":"1330848740","file0":"1330848734","file4":"1330848758","file5":"1330848762","file3":"1330848753"},"map_files_photo_id_array":[{"photo_id":"1330848762","filename":"file5"},{"photo_id":"1330848749","filename":"file2"},{"photo_id":"1330848758","filename":"file4"},{"photo_id":"1330848740","filename":"file1"},{"photo_id":"1330848734","filename":"file0"},{"photo_id":"1330848753","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330848753":["hashtag1","hashtag2"]},{"1330848749":["hashtag1","hashtag2"]},{"1330848758":["hashtag1","hashtag2"]},{"1330848740":["hashtag1","hashtag2"]},{"1330848734":["hashtag1","hashtag2"]},{"1330848762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330848753, 1330848749, 1330848758, 1330848740, 1330848734, 1330848762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.73803782463074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:17:31.989985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_02_481856_0001.jpg', '/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_02_481856_0002.jpg', '/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_02_481856_0003.jpg', '/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_02_612506_0000.jpg', '/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_02_612506_0001.jpg', '/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_02_612506_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_02_481856_0001.jpg
/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_02_481856_0002.jpg
/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_02_481856_0003.jpg
/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_02_612506_0000.jpg
/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_02_612506_0001.jpg
/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_02_612506_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330849163","1330849175","1330849115","1330849168","1330849182","1330849131"],"photo_ids_order":["1330849115","1330849131","1330849163","1330849168","1330849175","1330849182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5224cc6a85477081e31daa5d2c783e23.jpg","text":"TemporaryFile(/tmp/multipartBody5672991203145030267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656329287,"filename":"image_23012025_16_27_02_481856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49d4f28c256caf5612dbb29135302889.jpg","text":"TemporaryFile(/tmp/multipartBody4809695711521624731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656329287,"filename":"image_23012025_16_28_02_612506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71c8107a45d82e81e44411879033513a.jpg","text":"TemporaryFile(/tmp/multipartBody2817840195742319498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656329287,"filename":"image_23012025_16_27_02_481856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91c281e28c17522a7b98765d53938345.jpg","text":"TemporaryFile(/tmp/multipartBody8317084494014390101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656329287,"filename":"image_23012025_16_28_02_612506_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/476ba833eb128f79d6b160a100005857.jpg","text":"TemporaryFile(/tmp/multipartBody3054862389120024624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656329287,"filename":"image_23012025_16_28_02_612506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/220198b52e43f14270b537ae80fabd3c.jpg","text":"TemporaryFile(/tmp/multipartBody1909464725369177845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656329287,"filename":"image_23012025_16_27_02_481856_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330849163","file1":"1330849131","file0":"1330849115","file4":"1330849175","file5":"1330849182","file3":"1330849168"},"map_files_photo_id_array":[{"photo_id":"1330849182","filename":"file5"},{"photo_id":"1330849163","filename":"file2"},{"photo_id":"1330849175","filename":"file4"},{"photo_id":"1330849131","filename":"file1"},{"photo_id":"1330849115","filename":"file0"},{"photo_id":"1330849168","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330849163":["hashtag1","hashtag2"]},{"1330849175":["hashtag1","hashtag2"]},{"1330849115":["hashtag1","hashtag2"]},{"1330849168":["hashtag1","hashtag2"]},{"1330849182":["hashtag1","hashtag2"]},{"1330849131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330849163, 1330849175, 1330849115, 1330849168, 1330849182, 1330849131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.365389347076416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:18:32.141448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_02_612506_0003.jpg', '/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_02_780891_0000.jpg', '/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_02_780891_0001.jpg', '/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_02_780891_0002.jpg', '/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_02_780891_0003.jpg', '/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_03_037822_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_02_612506_0003.jpg
/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_02_780891_0000.jpg
/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_02_780891_0001.jpg
/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_02_780891_0002.jpg
/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_02_780891_0003.jpg
/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_03_037822_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":["1330849298","1330849291","1330849288","1330849273","1330849282","1330849306"],"photo_ids_order":["1330849273","1330849282","1330849288","1330849291","1330849298","1330849306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bde52992a15c4c1dfc1ab791cd722eae.jpg","text":"TemporaryFile(/tmp/multipartBody7448260319094215158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656389192,"filename":"image_23012025_16_29_02_780891_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dcf6375945b1f039d4e19e8178e7663c.jpg","text":"TemporaryFile(/tmp/multipartBody205768113836662952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656389192,"filename":"image_23012025_16_29_02_780891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3fb1c5cc8b8aa11c63a506e5d562ee1.jpg","text":"TemporaryFile(/tmp/multipartBody8775132219559653820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656389192,"filename":"image_23012025_16_29_02_780891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/acb99ed913e5a60b0c9f5d24491d7636.jpg","text":"TemporaryFile(/tmp/multipartBody7956622327741596065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656389192,"filename":"image_23012025_16_28_02_612506_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2b3e8ccc5514318d57830bedffd96d5.jpg","text":"TemporaryFile(/tmp/multipartBody3512589062282070838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656389192,"filename":"image_23012025_16_29_02_780891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d375e36397d3e17bc69bdfc2f96c2abb.jpg","text":"TemporaryFile(/tmp/multipartBody9076145027115336578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656389192,"filename":"image_23012025_16_30_03_037822_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330849288","file1":"1330849282","file0":"1330849273","file4":"1330849298","file5":"1330849306","file3":"1330849291"},"map_files_photo_id_array":[{"photo_id":"1330849306","filename":"file5"},{"photo_id":"1330849288","filename":"file2"},{"photo_id":"1330849298","filename":"file4"},{"photo_id":"1330849282","filename":"file1"},{"photo_id":"1330849273","filename":"file0"},{"photo_id":"1330849291","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330849298":["hashtag1","hashtag2"]},{"1330849291":["hashtag1","hashtag2"]},{"1330849288":["hashtag1","hashtag2"]},{"1330849273":["hashtag1","hashtag2"]},{"1330849282":["hashtag1","hashtag2"]},{"1330849306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330849298, 1330849291, 1330849288, 1330849273, 1330849282, 1330849306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.87750792503357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:19:32.360614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_03_037822_0001.jpg', '/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_03_037822_0002.jpg', '/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_03_037822_0003.jpg', '/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_02_144816_0000.jpg', '/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_02_144816_0001.jpg', '/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_02_144816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_03_037822_0001.jpg
/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_03_037822_0002.jpg
/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_03_037822_0003.jpg
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_02_144816_0000.jpg
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_02_144816_0001.jpg
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_02_144816_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330849370","1330849367","1330849378","1330849365","1330849359","1330849374"],"photo_ids_order":["1330849359","1330849365","1330849367","1330849370","1330849374","1330849378"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34fad46ffcba18e61ee12d530a0248c8.jpg","text":"TemporaryFile(/tmp/multipartBody6004104146699542319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656449883,"filename":"image_23012025_16_31_02_144816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18467d46728e18f8a79beab69a6ecac1.jpg","text":"TemporaryFile(/tmp/multipartBody2678479749325574200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656449883,"filename":"image_23012025_16_30_03_037822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d98a3f465ac9f03ab499861091a2058f.jpg","text":"TemporaryFile(/tmp/multipartBody7082587432146717039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656449883,"filename":"image_23012025_16_31_02_144816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/240fbc3f18820f002ac1260912d29ef3.jpg","text":"TemporaryFile(/tmp/multipartBody5965914766895486809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656449883,"filename":"image_23012025_16_30_03_037822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4c8e043c5c31b8cecd3a5e9f32d3adc.jpg","text":"TemporaryFile(/tmp/multipartBody2662709580191866900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656449883,"filename":"image_23012025_16_30_03_037822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a45561a5e67a7486a5a9dc82051a9af.jpg","text":"TemporaryFile(/tmp/multipartBody2066031676879602309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656449883,"filename":"image_23012025_16_31_02_144816_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330849367","file1":"1330849365","file0":"1330849359","file4":"1330849374","file5":"1330849378","file3":"1330849370"},"map_files_photo_id_array":[{"photo_id":"1330849378","filename":"file5"},{"photo_id":"1330849367","filename":"file2"},{"photo_id":"1330849374","filename":"file4"},{"photo_id":"1330849365","filename":"file1"},{"photo_id":"1330849359","filename":"file0"},{"photo_id":"1330849370","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330849370":["hashtag1","hashtag2"]},{"1330849367":["hashtag1","hashtag2"]},{"1330849378":["hashtag1","hashtag2"]},{"1330849365":["hashtag1","hashtag2"]},{"1330849359":["hashtag1","hashtag2"]},{"1330849374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330849370, 1330849367, 1330849378, 1330849365, 1330849359, 1330849374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.474852085113525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:20:32.558873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_02_144816_0003.jpg', '/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_02_305890_0000.jpg', '/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_02_305890_0001.jpg', '/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_02_305890_0002.jpg', '/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_02_305890_0003.jpg', '/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_02_499739_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_02_144816_0003.jpg
/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_02_305890_0000.jpg
/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_02_305890_0001.jpg
/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_02_305890_0002.jpg
/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_02_305890_0003.jpg
/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_02_499739_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":["1330849412","1330849406","1330849418","1330849423","1330849434","1330849428"],"photo_ids_order":["1330849406","1330849412","1330849418","1330849423","1330849428","1330849434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63ac3fb99160c6f6ab110cc484ac38c6.jpg","text":"TemporaryFile(/tmp/multipartBody4496572282201718920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656509536,"filename":"image_23012025_16_32_02_305890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16ad5556d59f5b0c2ddd5f435362b900.jpg","text":"TemporaryFile(/tmp/multipartBody3147668624190879400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656509536,"filename":"image_23012025_16_31_02_144816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d99c83d5ea209aead3d8282e94bb8db7.jpg","text":"TemporaryFile(/tmp/multipartBody4486159672528135298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656509536,"filename":"image_23012025_16_32_02_305890_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc5a7cf89431c176b925eff58cafd64e.jpg","text":"TemporaryFile(/tmp/multipartBody8500334301126140375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656509536,"filename":"image_23012025_16_32_02_305890_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b20d105270d096e3d5597fa056c848a6.jpg","text":"TemporaryFile(/tmp/multipartBody2349779446806592213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656509536,"filename":"image_23012025_16_33_02_499739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3402e0ac4f13fdea4bd923b3d2ea4860.jpg","text":"TemporaryFile(/tmp/multipartBody7870282978258669099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656509536,"filename":"image_23012025_16_32_02_305890_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330849418","file1":"1330849412","file0":"1330849406","file4":"1330849428","file5":"1330849434","file3":"1330849423"},"map_files_photo_id_array":[{"photo_id":"1330849434","filename":"file5"},{"photo_id":"1330849418","filename":"file2"},{"photo_id":"1330849428","filename":"file4"},{"photo_id":"1330849412","filename":"file1"},{"photo_id":"1330849406","filename":"file0"},{"photo_id":"1330849423","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330849412":["hashtag1","hashtag2"]},{"1330849406":["hashtag1","hashtag2"]},{"1330849418":["hashtag1","hashtag2"]},{"1330849423":["hashtag1","hashtag2"]},{"1330849434":["hashtag1","hashtag2"]},{"1330849428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330849412, 1330849406, 1330849418, 1330849423, 1330849434, 1330849428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.79128646850586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:21:32.725289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_02_499739_0001.jpg', '/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_02_499739_0002.jpg', '/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_02_499739_0003.jpg', '/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0000.jpg', '/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0001.jpg', '/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_02_499739_0001.jpg
/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_02_499739_0002.jpg
/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_02_499739_0003.jpg
/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0000.jpg
/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0001.jpg
/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.80054521560669 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:21:52.769120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_02_499739_0001.jpg', '/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_02_499739_0002.jpg', '/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_02_499739_0003.jpg', '/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0000.jpg', '/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0001.jpg', '/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_02_499739_0001.jpg
/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_02_499739_0002.jpg
/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_02_499739_0003.jpg
/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0000.jpg
/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0001.jpg
/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330849524","1330849547","1330849534","1330849558","1330849543","1330849539"],"photo_ids_order":["1330849524","1330849534","1330849539","1330849543","1330849547","1330849558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7548a27fbd6d3e17b6d1bf0b5de62df6.jpg","text":"TemporaryFile(/tmp/multipartBody1483057147126898934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656590864,"filename":"image_23012025_16_33_02_499739_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15e333560b63d40f97a0a190caab72a8.jpg","text":"TemporaryFile(/tmp/multipartBody272462242908660746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656590864,"filename":"image_23012025_16_34_02_742503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d66e97522d270a49e732709ebc6f4b8.jpg","text":"TemporaryFile(/tmp/multipartBody1836411108711147997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656590864,"filename":"image_23012025_16_33_02_499739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40b2ff6b51c424876251448363c43707.jpg","text":"TemporaryFile(/tmp/multipartBody2155963791996603921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656590864,"filename":"image_23012025_16_34_02_742503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fbb4624cbd02bdb40ee9aa5f09aebb72.jpg","text":"TemporaryFile(/tmp/multipartBody3884715331063294668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656590864,"filename":"image_23012025_16_34_02_742503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5c925626601724d8800226839f62964.jpg","text":"TemporaryFile(/tmp/multipartBody7770103107669601043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656590864,"filename":"image_23012025_16_33_02_499739_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330849539","file1":"1330849534","file0":"1330849524","file4":"1330849547","file5":"1330849558","file3":"1330849543"},"map_files_photo_id_array":[{"photo_id":"1330849558","filename":"file5"},{"photo_id":"1330849539","filename":"file2"},{"photo_id":"1330849547","filename":"file4"},{"photo_id":"1330849534","filename":"file1"},{"photo_id":"1330849524","filename":"file0"},{"photo_id":"1330849543","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330849524":["hashtag1","hashtag2"]},{"1330849547":["hashtag1","hashtag2"]},{"1330849534":["hashtag1","hashtag2"]},{"1330849558":["hashtag1","hashtag2"]},{"1330849543":["hashtag1","hashtag2"]},{"1330849539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330849524, 1330849547, 1330849534, 1330849558, 1330849543, 1330849539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.05766487121582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 19:23:03.206795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0003.jpg', '/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0000.jpg', '/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0001.jpg', '/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0002.jpg', '/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0003.jpg', '/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_03_052745_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0003.jpg
/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0000.jpg
/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0001.jpg
/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0002.jpg
/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0003.jpg
/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_03_052745_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.643166303634644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:23:22.554778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0003.jpg', '/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0000.jpg', '/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0001.jpg', '/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0002.jpg', '/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0003.jpg', '/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_03_052745_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_02_742503_0003.jpg
/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0000.jpg
/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0001.jpg
/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0002.jpg
/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_02_805115_0003.jpg
/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_03_052745_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":["1330849616","1330849619","1330849604","1330849613","1330849624","1330849608"],"photo_ids_order":["1330849604","1330849608","1330849613","1330849616","1330849619","1330849624"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/737679b80ebe4c8126172b0b366da6c9.jpg","text":"TemporaryFile(/tmp/multipartBody3848152327054768906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656679352,"filename":"image_23012025_16_35_02_805115_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/683a2fff3c2a55cc60ac3c74cbb99a3c.jpg","text":"TemporaryFile(/tmp/multipartBody6038589029678443531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656679352,"filename":"image_23012025_16_35_02_805115_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5bb6fafb04776c05f2bb41d6b7de6878.jpg","text":"TemporaryFile(/tmp/multipartBody950830381223301338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656679352,"filename":"image_23012025_16_34_02_742503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52a95947a998920e49f5c0df9d858365.jpg","text":"TemporaryFile(/tmp/multipartBody1859701737806128885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656679352,"filename":"image_23012025_16_35_02_805115_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0a227d12b19b3f051af0f95ec247d4d.jpg","text":"TemporaryFile(/tmp/multipartBody7245686325817847990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656679352,"filename":"image_23012025_16_36_03_052745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f387ea0078ac688baf2d2d0745b1fb6.jpg","text":"TemporaryFile(/tmp/multipartBody7480386455415976838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656679352,"filename":"image_23012025_16_35_02_805115_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330849613","file1":"1330849608","file0":"1330849604","file4":"1330849619","file5":"1330849624","file3":"1330849616"},"map_files_photo_id_array":[{"photo_id":"1330849624","filename":"file5"},{"photo_id":"1330849613","filename":"file2"},{"photo_id":"1330849619","filename":"file4"},{"photo_id":"1330849608","filename":"file1"},{"photo_id":"1330849604","filename":"file0"},{"photo_id":"1330849616","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330849616":["hashtag1","hashtag2"]},{"1330849619":["hashtag1","hashtag2"]},{"1330849604":["hashtag1","hashtag2"]},{"1330849613":["hashtag1","hashtag2"]},{"1330849624":["hashtag1","hashtag2"]},{"1330849608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330849616, 1330849619, 1330849604, 1330849613, 1330849624, 1330849608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.15063428878784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:24:22.595498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_03_052745_0001.jpg', '/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_03_052745_0002.jpg', '/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_03_052745_0003.jpg', '/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_02_176619_0000.jpg', '/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_02_176619_0001.jpg', '/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_02_176619_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_03_052745_0001.jpg
/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_03_052745_0002.jpg
/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_03_052745_0003.jpg
/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_02_176619_0000.jpg
/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_02_176619_0001.jpg
/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_02_176619_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330849730","1330849727","1330849678","1330849749","1330849743","1330849713"],"photo_ids_order":["1330849678","1330849713","1330849727","1330849730","1330849743","1330849749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04da45907ab937b21e0cb3fb366f3ab8.jpg","text":"TemporaryFile(/tmp/multipartBody8809180840878832445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656739575,"filename":"image_23012025_16_37_02_176619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/917ccff301af1fbe76480f2350929e75.jpg","text":"TemporaryFile(/tmp/multipartBody768630043836041481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656739575,"filename":"image_23012025_16_36_03_052745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc0566e873c04e54afe20357ec3c5594.jpg","text":"TemporaryFile(/tmp/multipartBody6769248341444527543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656739575,"filename":"image_23012025_16_36_03_052745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a5f9155c5636a03bd053f1a6f955f59.jpg","text":"TemporaryFile(/tmp/multipartBody2181073657815603931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656739575,"filename":"image_23012025_16_37_02_176619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4efb88ced29ff39eed37babc6068c8d.jpg","text":"TemporaryFile(/tmp/multipartBody74252453871494915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656739575,"filename":"image_23012025_16_37_02_176619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cadb9fe9790b3803269ffca33050fc47.jpg","text":"TemporaryFile(/tmp/multipartBody6905926500748997124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656739575,"filename":"image_23012025_16_36_03_052745_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330849727","file1":"1330849713","file0":"1330849678","file4":"1330849743","file5":"1330849749","file3":"1330849730"},"map_files_photo_id_array":[{"photo_id":"1330849749","filename":"file5"},{"photo_id":"1330849727","filename":"file2"},{"photo_id":"1330849743","filename":"file4"},{"photo_id":"1330849713","filename":"file1"},{"photo_id":"1330849678","filename":"file0"},{"photo_id":"1330849730","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330849730":["hashtag1","hashtag2"]},{"1330849727":["hashtag1","hashtag2"]},{"1330849678":["hashtag1","hashtag2"]},{"1330849749":["hashtag1","hashtag2"]},{"1330849743":["hashtag1","hashtag2"]},{"1330849713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330849730, 1330849727, 1330849678, 1330849749, 1330849743, 1330849713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.171409130096436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:25:21.855209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_02_176619_0003.jpg', '/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_02_414156_0000.jpg', '/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_02_414156_0001.jpg', '/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_02_414156_0002.jpg', '/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_02_414156_0003.jpg', '/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_02_604754_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_02_176619_0003.jpg
/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_02_414156_0000.jpg
/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_02_414156_0001.jpg
/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_02_414156_0002.jpg
/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_02_414156_0003.jpg
/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_02_604754_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":["1330849800","1330849772","1330849766","1330849777","1330849810","1330849794"],"photo_ids_order":["1330849766","1330849772","1330849777","1330849794","1330849800","1330849810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f4b94c09cd97ad137f7a81a2e2cf2bc.jpg","text":"TemporaryFile(/tmp/multipartBody5199910169883613886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656798482,"filename":"image_23012025_16_38_02_414156_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07a069acbb0ca557b35a3a02cdeab0ea.jpg","text":"TemporaryFile(/tmp/multipartBody1779518205930859645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656798482,"filename":"image_23012025_16_38_02_414156_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17d76685f0ccb3b49c07f0114a0f8936.jpg","text":"TemporaryFile(/tmp/multipartBody7624102152689814831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656798482,"filename":"image_23012025_16_37_02_176619_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd3863198bab6cbb3a6ba2f92046afda.jpg","text":"TemporaryFile(/tmp/multipartBody8365050168107185396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656798482,"filename":"image_23012025_16_38_02_414156_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee4d8ef29f8d771c40307dc357b95167.jpg","text":"TemporaryFile(/tmp/multipartBody9160096621733468424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656798482,"filename":"image_23012025_16_39_02_604754_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/debd8e34e6e4ee89ac41ddf37f9686ff.jpg","text":"TemporaryFile(/tmp/multipartBody6423028968550222762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656798482,"filename":"image_23012025_16_38_02_414156_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330849777","file1":"1330849772","file0":"1330849766","file4":"1330849800","file5":"1330849810","file3":"1330849794"},"map_files_photo_id_array":[{"photo_id":"1330849810","filename":"file5"},{"photo_id":"1330849777","filename":"file2"},{"photo_id":"1330849800","filename":"file4"},{"photo_id":"1330849772","filename":"file1"},{"photo_id":"1330849766","filename":"file0"},{"photo_id":"1330849794","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330849800":["hashtag1","hashtag2"]},{"1330849772":["hashtag1","hashtag2"]},{"1330849766":["hashtag1","hashtag2"]},{"1330849777":["hashtag1","hashtag2"]},{"1330849810":["hashtag1","hashtag2"]},{"1330849794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330849800, 1330849772, 1330849766, 1330849777, 1330849810, 1330849794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.25637149810791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:26:32.088088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_02_604754_0001.jpg', '/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_02_604754_0002.jpg', '/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_02_604754_0003.jpg', '/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0000.jpg', '/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0001.jpg', '/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_02_604754_0001.jpg
/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_02_604754_0002.jpg
/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_02_604754_0003.jpg
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0000.jpg
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0001.jpg
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.318296194076538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:26:52.055200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_02_604754_0001.jpg', '/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_02_604754_0002.jpg', '/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_02_604754_0003.jpg', '/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0000.jpg', '/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0001.jpg', '/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_02_604754_0001.jpg
/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_02_604754_0002.jpg
/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_02_604754_0003.jpg
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0000.jpg
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0001.jpg
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330849909","1330849900","1330849899","1330849896","1330849977","1330849902"],"photo_ids_order":["1330849896","1330849899","1330849900","1330849902","1330849909","1330849977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d50b9c91d1b0a650a5b9d805e916a089.jpg","text":"TemporaryFile(/tmp/multipartBody4828630586606999978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656888745,"filename":"image_23012025_16_40_02_716901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa97fb4589ea53243a04369cbc6c5ec5.jpg","text":"TemporaryFile(/tmp/multipartBody6188671319707770685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656888745,"filename":"image_23012025_16_39_02_604754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17627d7c46dde5303fc066f19e3e60c2.jpg","text":"TemporaryFile(/tmp/multipartBody4415263897606991452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656888745,"filename":"image_23012025_16_39_02_604754_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3ef36048712ad654dd1dc19f7e6e5a7.jpg","text":"TemporaryFile(/tmp/multipartBody4352216434095303049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656888745,"filename":"image_23012025_16_39_02_604754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e70e596866fb8faf3f66bce379dda34d.jpg","text":"TemporaryFile(/tmp/multipartBody1375247877878707667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656888745,"filename":"image_23012025_16_40_02_716901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2629e50af5e8c130c3c096c292ced3f4.jpg","text":"TemporaryFile(/tmp/multipartBody1629717435984514878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656888745,"filename":"image_23012025_16_40_02_716901_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330849900","file1":"1330849899","file0":"1330849896","file4":"1330849909","file5":"1330849977","file3":"1330849902"},"map_files_photo_id_array":[{"photo_id":"1330849977","filename":"file5"},{"photo_id":"1330849900","filename":"file2"},{"photo_id":"1330849909","filename":"file4"},{"photo_id":"1330849899","filename":"file1"},{"photo_id":"1330849896","filename":"file0"},{"photo_id":"1330849902","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330849909":["hashtag1","hashtag2"]},{"1330849900":["hashtag1","hashtag2"]},{"1330849899":["hashtag1","hashtag2"]},{"1330849896":["hashtag1","hashtag2"]},{"1330849977":["hashtag1","hashtag2"]},{"1330849902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330849909, 1330849900, 1330849899, 1330849896, 1330849977, 1330849902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.0914032459259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:27:52.238912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0003.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0000.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0001.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0002.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0003.jpg', '/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_03_164628_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0003.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0000.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0001.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0002.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0003.jpg
/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_03_164628_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.495012760162354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:28:22.446139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0003.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0000.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0001.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0002.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0003.jpg', '/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_03_164628_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_02_716901_0003.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0000.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0001.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0002.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_02_936770_0003.jpg
/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_03_164628_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":["1330850198","1330850030","1330850182","1330850101","1330850193","1330850187"],"photo_ids_order":["1330850030","1330850101","1330850182","1330850187","1330850193","1330850198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c82ff5987b7bf72e4caf3f1ab2c1b864.jpg","text":"TemporaryFile(/tmp/multipartBody7412128157859096707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656979296,"filename":"image_23012025_16_42_03_164628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/350d55cf306760272101452216125b3c.jpg","text":"TemporaryFile(/tmp/multipartBody1311538463226972711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656979296,"filename":"image_23012025_16_40_02_716901_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb7cdfb5206245d5acadf1993bf9e56e.jpg","text":"TemporaryFile(/tmp/multipartBody3891170843037375767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656979296,"filename":"image_23012025_16_41_02_936770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c8e76e2a65e05cd8ad11ae6e37ee034.jpg","text":"TemporaryFile(/tmp/multipartBody8256181155950796649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656979296,"filename":"image_23012025_16_41_02_936770_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4acf8f64e6491876654cf7d0cbb8688a.jpg","text":"TemporaryFile(/tmp/multipartBody172493369098732086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656979296,"filename":"image_23012025_16_41_02_936770_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72f5147a5677066952d7926c25ba4425.jpg","text":"TemporaryFile(/tmp/multipartBody7520486764978281578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656979296,"filename":"image_23012025_16_41_02_936770_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330850182","file1":"1330850101","file0":"1330850030","file4":"1330850193","file5":"1330850198","file3":"1330850187"},"map_files_photo_id_array":[{"photo_id":"1330850198","filename":"file5"},{"photo_id":"1330850182","filename":"file2"},{"photo_id":"1330850193","filename":"file4"},{"photo_id":"1330850101","filename":"file1"},{"photo_id":"1330850030","filename":"file0"},{"photo_id":"1330850187","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330850198":["hashtag1","hashtag2"]},{"1330850030":["hashtag1","hashtag2"]},{"1330850182":["hashtag1","hashtag2"]},{"1330850101":["hashtag1","hashtag2"]},{"1330850193":["hashtag1","hashtag2"]},{"1330850187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330850198, 1330850030, 1330850182, 1330850101, 1330850193, 1330850187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.6088924407959 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:29:22.641047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_03_164628_0001.jpg', '/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_03_164628_0002.jpg', '/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_03_164628_0003.jpg', '/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_02_269882_0000.jpg', '/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_02_269882_0001.jpg', '/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_02_269882_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_03_164628_0001.jpg
/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_03_164628_0002.jpg
/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_03_164628_0003.jpg
/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_02_269882_0000.jpg
/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_02_269882_0001.jpg
/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_02_269882_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330850232","1330850244","1330850237","1330850240","1330850224","1330850227"],"photo_ids_order":["1330850224","1330850227","1330850232","1330850237","1330850240","1330850244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86af2e3528acb34343ef10df99f45bd9.jpg","text":"TemporaryFile(/tmp/multipartBody3523461647184057581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657038863,"filename":"image_23012025_16_42_03_164628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/707cf3021118dc137422704cf2176be0.jpg","text":"TemporaryFile(/tmp/multipartBody7601848363714069980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657038863,"filename":"image_23012025_16_43_02_269882_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c39cacdb674b4862e028cb40e3bf0d0.jpg","text":"TemporaryFile(/tmp/multipartBody8071142119123295068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657038863,"filename":"image_23012025_16_43_02_269882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b2bb95f8c20fa2f83c171b7f457be82.jpg","text":"TemporaryFile(/tmp/multipartBody7874293275069069752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657038863,"filename":"image_23012025_16_43_02_269882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d8b096519295100793529145474e0f5.jpg","text":"TemporaryFile(/tmp/multipartBody631123054547388677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657038863,"filename":"image_23012025_16_42_03_164628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8451f6e238ad42afd2c74ca540d15a83.jpg","text":"TemporaryFile(/tmp/multipartBody2718979275284475040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657038863,"filename":"image_23012025_16_42_03_164628_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330850232","file1":"1330850227","file0":"1330850224","file4":"1330850240","file5":"1330850244","file3":"1330850237"},"map_files_photo_id_array":[{"photo_id":"1330850244","filename":"file5"},{"photo_id":"1330850232","filename":"file2"},{"photo_id":"1330850240","filename":"file4"},{"photo_id":"1330850227","filename":"file1"},{"photo_id":"1330850224","filename":"file0"},{"photo_id":"1330850237","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330850232":["hashtag1","hashtag2"]},{"1330850244":["hashtag1","hashtag2"]},{"1330850237":["hashtag1","hashtag2"]},{"1330850240":["hashtag1","hashtag2"]},{"1330850224":["hashtag1","hashtag2"]},{"1330850227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330850232, 1330850244, 1330850237, 1330850240, 1330850224, 1330850227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.78727078437805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:30:21.861777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_02_269882_0003.jpg', '/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0000.jpg', '/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0001.jpg', '/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0002.jpg', '/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0003.jpg', '/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_02_588803_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_02_269882_0003.jpg
/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0000.jpg
/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0001.jpg
/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0002.jpg
/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0003.jpg
/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_02_588803_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.061992168426514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 19:30:41.793177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_02_269882_0003.jpg', '/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0000.jpg', '/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0001.jpg', '/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0002.jpg', '/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0003.jpg', '/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_02_588803_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_02_269882_0003.jpg
/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0000.jpg
/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0001.jpg
/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0002.jpg
/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_02_438109_0003.jpg
/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_02_588803_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":["1330850325","1330850328","1330850336","1330850324","1330850321","1330850326"],"photo_ids_order":["1330850321","1330850324","1330850325","1330850326","1330850328","1330850336"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3db55e3000ceec8941c12aab3fac729d.jpg","text":"TemporaryFile(/tmp/multipartBody8105943647300172544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657118299,"filename":"image_23012025_16_44_02_438109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0ff134ec265e1295714ef867ac1862a.jpg","text":"TemporaryFile(/tmp/multipartBody4378898785051934867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657118299,"filename":"image_23012025_16_44_02_438109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42a9ca209d3b54fe539c4a7709b4c895.jpg","text":"TemporaryFile(/tmp/multipartBody2413356680255250629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657118299,"filename":"image_23012025_16_45_02_588803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/546e6e2b3f8d4b1d6a4368abd339ce16.jpg","text":"TemporaryFile(/tmp/multipartBody6554207579442840776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657118299,"filename":"image_23012025_16_44_02_438109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d9f28648e5375aad4d4625cead7826c.jpg","text":"TemporaryFile(/tmp/multipartBody8723195173241970150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657118299,"filename":"image_23012025_16_43_02_269882_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/023951a76d03898ef1696e859da9c7b6.jpg","text":"TemporaryFile(/tmp/multipartBody8968834920355144080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657118299,"filename":"image_23012025_16_44_02_438109_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330850325","file1":"1330850324","file0":"1330850321","file4":"1330850328","file5":"1330850336","file3":"1330850326"},"map_files_photo_id_array":[{"photo_id":"1330850336","filename":"file5"},{"photo_id":"1330850325","filename":"file2"},{"photo_id":"1330850328","filename":"file4"},{"photo_id":"1330850324","filename":"file1"},{"photo_id":"1330850321","filename":"file0"},{"photo_id":"1330850326","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330850325":["hashtag1","hashtag2"]},{"1330850328":["hashtag1","hashtag2"]},{"1330850336":["hashtag1","hashtag2"]},{"1330850324":["hashtag1","hashtag2"]},{"1330850321":["hashtag1","hashtag2"]},{"1330850326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330850325, 1330850328, 1330850336, 1330850324, 1330850321, 1330850326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.198699712753296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:31:51.957194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_02_588803_0001.jpg', '/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_02_588803_0002.jpg', '/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_02_588803_0003.jpg', '/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_02_734067_0000.jpg', '/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_02_734067_0001.jpg', '/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_02_734067_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_02_588803_0001.jpg
/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_02_588803_0002.jpg
/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_02_588803_0003.jpg
/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_02_734067_0000.jpg
/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_02_734067_0001.jpg
/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_02_734067_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330850613","1330850741","1330850606","1330850785","1330850743","1330850790"],"photo_ids_order":["1330850606","1330850613","1330850741","1330850743","1330850785","1330850790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa1ae1e622b09b1acfe92e8479196946.jpg","text":"TemporaryFile(/tmp/multipartBody8930624295355686331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657188204,"filename":"image_23012025_16_45_02_588803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/684621609e262e4a6ba4c23c8b6834de.jpg","text":"TemporaryFile(/tmp/multipartBody1345050323471971496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657188204,"filename":"image_23012025_16_45_02_588803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98182a924ea621ac09b8681ada299de6.jpg","text":"TemporaryFile(/tmp/multipartBody1729051127831414220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657188204,"filename":"image_23012025_16_45_02_588803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0bc43ba4e6f46b5b4c12a54bc680ec72.jpg","text":"TemporaryFile(/tmp/multipartBody322570033670432882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657188204,"filename":"image_23012025_16_46_02_734067_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75c7d3bb0db7f5bcb50c2e531ba0ca3b.jpg","text":"TemporaryFile(/tmp/multipartBody4487094420938345232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657188204,"filename":"image_23012025_16_46_02_734067_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5bc0eb09a9f14dc46dbd0a7eb0306357.jpg","text":"TemporaryFile(/tmp/multipartBody8114842341418643933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657188204,"filename":"image_23012025_16_46_02_734067_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330850741","file1":"1330850613","file0":"1330850606","file4":"1330850785","file5":"1330850790","file3":"1330850743"},"map_files_photo_id_array":[{"photo_id":"1330850790","filename":"file5"},{"photo_id":"1330850741","filename":"file2"},{"photo_id":"1330850785","filename":"file4"},{"photo_id":"1330850613","filename":"file1"},{"photo_id":"1330850606","filename":"file0"},{"photo_id":"1330850743","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330850613":["hashtag1","hashtag2"]},{"1330850741":["hashtag1","hashtag2"]},{"1330850606":["hashtag1","hashtag2"]},{"1330850785":["hashtag1","hashtag2"]},{"1330850743":["hashtag1","hashtag2"]},{"1330850790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330850613, 1330850741, 1330850606, 1330850785, 1330850743, 1330850790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.91527795791626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:32:52.155796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_02_734067_0003.jpg', '/home/pi/Desktop/images/23012025/16/47/image_23012025_16_47_02_925207_0000.jpg', '/home/pi/Desktop/images/23012025/16/47/image_23012025_16_47_02_925207_0001.jpg', '/home/pi/Desktop/images/23012025/16/47/image_23012025_16_47_02_925207_0002.jpg', '/home/pi/Desktop/images/23012025/16/47/image_23012025_16_47_02_925207_0003.jpg', '/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_03_084992_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_02_734067_0003.jpg
/home/pi/Desktop/images/23012025/16/47/image_23012025_16_47_02_925207_0000.jpg
/home/pi/Desktop/images/23012025/16/47/image_23012025_16_47_02_925207_0001.jpg
/home/pi/Desktop/images/23012025/16/47/image_23012025_16_47_02_925207_0002.jpg
/home/pi/Desktop/images/23012025/16/47/image_23012025_16_47_02_925207_0003.jpg
/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_03_084992_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":["1330850934","1330850913","1330850888","1330850930","1330850878","1330850917"],"photo_ids_order":["1330850878","1330850888","1330850913","1330850917","1330850930","1330850934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d81de5edf8e8d366136029c94b417af9.jpg","text":"TemporaryFile(/tmp/multipartBody1782861404549994228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657248980,"filename":"image_23012025_16_48_03_084992_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/154650fcef02e53609c4a5969095f268.jpg","text":"TemporaryFile(/tmp/multipartBody2084152323900507488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657248980,"filename":"image_23012025_16_47_02_925207_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4cdb97a86a31e61283acc36442591ee.jpg","text":"TemporaryFile(/tmp/multipartBody8861069528053736183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657248980,"filename":"image_23012025_16_47_02_925207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cda504872874d5676baf9ab8e7e29027.jpg","text":"TemporaryFile(/tmp/multipartBody1353698466741425350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657248980,"filename":"image_23012025_16_47_02_925207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2938ab46c302e4a2869492a8f618fa6.jpg","text":"TemporaryFile(/tmp/multipartBody9005576473715787517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657248980,"filename":"image_23012025_16_46_02_734067_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43d2b9ff1fa62cbf213c7051739afe86.jpg","text":"TemporaryFile(/tmp/multipartBody5934204651019252219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657248980,"filename":"image_23012025_16_47_02_925207_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330850913","file1":"1330850888","file0":"1330850878","file4":"1330850930","file5":"1330850934","file3":"1330850917"},"map_files_photo_id_array":[{"photo_id":"1330850934","filename":"file5"},{"photo_id":"1330850913","filename":"file2"},{"photo_id":"1330850930","filename":"file4"},{"photo_id":"1330850888","filename":"file1"},{"photo_id":"1330850878","filename":"file0"},{"photo_id":"1330850917","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330850934":["hashtag1","hashtag2"]},{"1330850913":["hashtag1","hashtag2"]},{"1330850888":["hashtag1","hashtag2"]},{"1330850930":["hashtag1","hashtag2"]},{"1330850878":["hashtag1","hashtag2"]},{"1330850917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330850934, 1330850913, 1330850888, 1330850930, 1330850878, 1330850917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.70241975784302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:33:52.368600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_03_084992_0001.jpg', '/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_03_084992_0002.jpg', '/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_03_084992_0003.jpg', '/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_02_280940_0000.jpg', '/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_02_280940_0001.jpg', '/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_02_280940_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_03_084992_0001.jpg
/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_03_084992_0002.jpg
/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_03_084992_0003.jpg
/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_02_280940_0000.jpg
/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_02_280940_0001.jpg
/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_02_280940_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330850966","1330850992","1330850971","1330850982","1330850976","1330850988"],"photo_ids_order":["1330850966","1330850971","1330850976","1330850982","1330850988","1330850992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e93281eb5f1ce12920848136f648e72.jpg","text":"TemporaryFile(/tmp/multipartBody2071686030750551647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657308992,"filename":"image_23012025_16_48_03_084992_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b35ef6e9fadc78515e8215211b9b5e87.jpg","text":"TemporaryFile(/tmp/multipartBody4230682709825328105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657308992,"filename":"image_23012025_16_49_02_280940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df06f02de89853d4751cdfc645ce55a0.jpg","text":"TemporaryFile(/tmp/multipartBody6631621375488926450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657308992,"filename":"image_23012025_16_48_03_084992_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7eba1890690602c118ed83e7f3af30b3.jpg","text":"TemporaryFile(/tmp/multipartBody8376953240756948993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657308992,"filename":"image_23012025_16_49_02_280940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/409a95e0cdfbfef7ae236e6f9bb9c1bd.jpg","text":"TemporaryFile(/tmp/multipartBody8917649385338713825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657308992,"filename":"image_23012025_16_48_03_084992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7676a1ade3ed97b5b871dd6601939249.jpg","text":"TemporaryFile(/tmp/multipartBody2240652572272544897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657308992,"filename":"image_23012025_16_49_02_280940_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330850976","file1":"1330850971","file0":"1330850966","file4":"1330850988","file5":"1330850992","file3":"1330850982"},"map_files_photo_id_array":[{"photo_id":"1330850992","filename":"file5"},{"photo_id":"1330850976","filename":"file2"},{"photo_id":"1330850988","filename":"file4"},{"photo_id":"1330850971","filename":"file1"},{"photo_id":"1330850966","filename":"file0"},{"photo_id":"1330850982","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330850966":["hashtag1","hashtag2"]},{"1330850992":["hashtag1","hashtag2"]},{"1330850971":["hashtag1","hashtag2"]},{"1330850982":["hashtag1","hashtag2"]},{"1330850976":["hashtag1","hashtag2"]},{"1330850988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330850966, 1330850992, 1330850971, 1330850982, 1330850976, 1330850988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.898914098739624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:34:52.549530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_02_280940_0003.jpg', '/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_02_469969_0000.jpg', '/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_02_469969_0001.jpg', '/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_02_469969_0002.jpg', '/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_02_469969_0003.jpg', '/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_02_667888_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_02_280940_0003.jpg
/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_02_469969_0000.jpg
/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_02_469969_0001.jpg
/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_02_469969_0002.jpg
/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_02_469969_0003.jpg
/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_02_667888_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":["1330851044","1330851026","1330851029","1330851034","1330851037","1330851031"],"photo_ids_order":["1330851026","1330851029","1330851031","1330851034","1330851037","1330851044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bef762b93f0ded239dac7a62cf4ba490.jpg","text":"TemporaryFile(/tmp/multipartBody1355396456071611935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657368569,"filename":"image_23012025_16_51_02_667888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b154d85b4856385a02df44b17a7a5d6c.jpg","text":"TemporaryFile(/tmp/multipartBody2906447843569201006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657368569,"filename":"image_23012025_16_49_02_280940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/521c61b49f2d09b6e864383c7b3a79a7.jpg","text":"TemporaryFile(/tmp/multipartBody2250015418182696597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657368569,"filename":"image_23012025_16_50_02_469969_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3c7f2da8ac921e84408f360549fbb77.jpg","text":"TemporaryFile(/tmp/multipartBody1596602243341816716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657368569,"filename":"image_23012025_16_50_02_469969_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41f6ec77ccd0b801c2a44c74340de709.jpg","text":"TemporaryFile(/tmp/multipartBody8786335150412774140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657368569,"filename":"image_23012025_16_50_02_469969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b053b735dc6b6af684c58bd34601debb.jpg","text":"TemporaryFile(/tmp/multipartBody1391787555669736245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657368569,"filename":"image_23012025_16_50_02_469969_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330851031","file1":"1330851029","file0":"1330851026","file4":"1330851037","file5":"1330851044","file3":"1330851034"},"map_files_photo_id_array":[{"photo_id":"1330851044","filename":"file5"},{"photo_id":"1330851031","filename":"file2"},{"photo_id":"1330851037","filename":"file4"},{"photo_id":"1330851029","filename":"file1"},{"photo_id":"1330851026","filename":"file0"},{"photo_id":"1330851034","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330851044":["hashtag1","hashtag2"]},{"1330851026":["hashtag1","hashtag2"]},{"1330851029":["hashtag1","hashtag2"]},{"1330851034":["hashtag1","hashtag2"]},{"1330851037":["hashtag1","hashtag2"]},{"1330851031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330851044, 1330851026, 1330851029, 1330851034, 1330851037, 1330851031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.50575590133667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:35:52.783785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_02_667888_0001.jpg', '/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_02_667888_0002.jpg', '/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_02_667888_0003.jpg', '/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_02_787772_0000.jpg', '/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_02_787772_0001.jpg', '/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_02_787772_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_02_667888_0001.jpg
/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_02_667888_0002.jpg
/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_02_667888_0003.jpg
/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_02_787772_0000.jpg
/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_02_787772_0001.jpg
/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_02_787772_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1330851105","1330851080","1330851074","1330851071","1330851118","1330851096"],"photo_ids_order":["1330851071","1330851074","1330851080","1330851096","1330851105","1330851118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99ecc881746cf5711093a37d093488be.jpg","text":"TemporaryFile(/tmp/multipartBody41679417949110907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657429120,"filename":"image_23012025_16_52_02_787772_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3fdef6b6efc88bfdc0d7d17aa61e3200.jpg","text":"TemporaryFile(/tmp/multipartBody7556147244894811597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657429120,"filename":"image_23012025_16_51_02_667888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a54362e4c9b939ab4ae3553525ef42b.jpg","text":"TemporaryFile(/tmp/multipartBody801016319083296827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657429120,"filename":"image_23012025_16_51_02_667888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d588f3cd24eb9f1f88006c85b03a7f10.jpg","text":"TemporaryFile(/tmp/multipartBody1752947780335976153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657429120,"filename":"image_23012025_16_51_02_667888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a39e40c356b20b3a3009e9d49a0e582f.jpg","text":"TemporaryFile(/tmp/multipartBody2385636760535073898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657429120,"filename":"image_23012025_16_52_02_787772_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7735500745e0ef5d38bb93cec8278f1.jpg","text":"TemporaryFile(/tmp/multipartBody5133528364470232498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657429120,"filename":"image_23012025_16_52_02_787772_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330851080","file1":"1330851074","file0":"1330851071","file4":"1330851105","file5":"1330851118","file3":"1330851096"},"map_files_photo_id_array":[{"photo_id":"1330851118","filename":"file5"},{"photo_id":"1330851080","filename":"file2"},{"photo_id":"1330851105","filename":"file4"},{"photo_id":"1330851074","filename":"file1"},{"photo_id":"1330851071","filename":"file0"},{"photo_id":"1330851096","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330851105":["hashtag1","hashtag2"]},{"1330851080":["hashtag1","hashtag2"]},{"1330851074":["hashtag1","hashtag2"]},{"1330851071":["hashtag1","hashtag2"]},{"1330851118":["hashtag1","hashtag2"]},{"1330851096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330851105, 1330851080, 1330851074, 1330851071, 1330851118, 1330851096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.68740510940552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 19:37:02.815496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_02_787772_0003.jpg', '/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_02_952660_0000.jpg', '/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_02_952660_0001.jpg', '/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_02_952660_0002.jpg', '/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_02_952660_0003.jpg', '/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_02_121672_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_02_787772_0003.jpg
/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_02_952660_0000.jpg
/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_02_952660_0001.jpg
/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_02_952660_0002.jpg
/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_02_952660_0003.jpg
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_02_121672_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":["1330851674","1330851599","1330851650","1330851667","1330851682","1330851687"],"photo_ids_order":["1330851599","1330851650","1330851667","1330851674","1330851682","1330851687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2f17821d4483a4e9528cfc75f4bfa47.jpg","text":"TemporaryFile(/tmp/multipartBody6950067145212332658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657499096,"filename":"image_23012025_16_53_02_952660_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e97cf21a42503fbe6b3fa378ec487c3.jpg","text":"TemporaryFile(/tmp/multipartBody8248042204271215508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657499096,"filename":"image_23012025_16_52_02_787772_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9fb40883bc1eb2023354b013eebeb9a2.jpg","text":"TemporaryFile(/tmp/multipartBody1394266860107312544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657499096,"filename":"image_23012025_16_53_02_952660_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61d4b8a817db412bbf5f243dc6f1bf8f.jpg","text":"TemporaryFile(/tmp/multipartBody2919176176374944262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657499096,"filename":"image_23012025_16_53_02_952660_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24e53e383eb5ada88a84b8b7a6b069be.jpg","text":"TemporaryFile(/tmp/multipartBody2207831558372142062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657499096,"filename":"image_23012025_16_53_02_952660_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7b03991df2a7f4d8cf371babcf6693c.jpg","text":"TemporaryFile(/tmp/multipartBody2631649731972000228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657499096,"filename":"image_23012025_16_54_02_121672_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330851667","file1":"1330851650","file0":"1330851599","file4":"1330851682","file5":"1330851687","file3":"1330851674"},"map_files_photo_id_array":[{"photo_id":"1330851687","filename":"file5"},{"photo_id":"1330851667","filename":"file2"},{"photo_id":"1330851682","filename":"file4"},{"photo_id":"1330851650","filename":"file1"},{"photo_id":"1330851599","filename":"file0"},{"photo_id":"1330851674","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330851674":["hashtag1","hashtag2"]},{"1330851599":["hashtag1","hashtag2"]},{"1330851650":["hashtag1","hashtag2"]},{"1330851667":["hashtag1","hashtag2"]},{"1330851682":["hashtag1","hashtag2"]},{"1330851687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330851674, 1330851599, 1330851650, 1330851667, 1330851682, 1330851687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.39909744262695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:38:22.440413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_02_121672_0001.jpg', '/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_02_121672_0002.jpg', '/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_02_121672_0003.jpg', '/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_02_407863_0000.jpg', '/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_02_407863_0001.jpg', '/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_02_407863_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_02_121672_0001.jpg
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_02_121672_0002.jpg
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_02_121672_0003.jpg
/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_02_407863_0000.jpg
/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_02_407863_0001.jpg
/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_02_407863_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330852111","1330852120","1330852108","1330852036","1330852105","1330852140"],"photo_ids_order":["1330852036","1330852105","1330852108","1330852111","1330852120","1330852140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91250cd403e8e8b7f421f90ad2786303.jpg","text":"TemporaryFile(/tmp/multipartBody7773442019652336352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657579090,"filename":"image_23012025_16_55_02_407863_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0745706b413ae3dce698fb8928724e15.jpg","text":"TemporaryFile(/tmp/multipartBody1035134468438661100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657579090,"filename":"image_23012025_16_55_02_407863_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c988bd3b61dc47a92abbdf219f07db66.jpg","text":"TemporaryFile(/tmp/multipartBody6829369847144589372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657579090,"filename":"image_23012025_16_54_02_121672_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d7ef79cb0ddd85f9a827276f073adb9.jpg","text":"TemporaryFile(/tmp/multipartBody8021756191396283935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657579090,"filename":"image_23012025_16_54_02_121672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8f3afd49c2ba3c595bde13592e25e82.jpg","text":"TemporaryFile(/tmp/multipartBody5957968655968996237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657579090,"filename":"image_23012025_16_54_02_121672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19340b1ef542c7bd1dbb97d66f428112.jpg","text":"TemporaryFile(/tmp/multipartBody550819809829937036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657579090,"filename":"image_23012025_16_55_02_407863_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330852108","file1":"1330852105","file0":"1330852036","file4":"1330852120","file5":"1330852140","file3":"1330852111"},"map_files_photo_id_array":[{"photo_id":"1330852140","filename":"file5"},{"photo_id":"1330852108","filename":"file2"},{"photo_id":"1330852120","filename":"file4"},{"photo_id":"1330852105","filename":"file1"},{"photo_id":"1330852036","filename":"file0"},{"photo_id":"1330852111","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330852111":["hashtag1","hashtag2"]},{"1330852120":["hashtag1","hashtag2"]},{"1330852108":["hashtag1","hashtag2"]},{"1330852036":["hashtag1","hashtag2"]},{"1330852105":["hashtag1","hashtag2"]},{"1330852140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330852111, 1330852120, 1330852108, 1330852036, 1330852105, 1330852140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.92775297164917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:39:32.547868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_02_407863_0003.jpg', '/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_02_560096_0000.jpg', '/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_02_560096_0001.jpg', '/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_02_560096_0002.jpg', '/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_02_560096_0003.jpg', '/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_02_740068_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_02_407863_0003.jpg
/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_02_560096_0000.jpg
/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_02_560096_0001.jpg
/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_02_560096_0002.jpg
/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_02_560096_0003.jpg
/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_02_740068_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":["1330852175","1330852180","1330852162","1330852165","1330852168","1330852172"],"photo_ids_order":["1330852162","1330852165","1330852168","1330852172","1330852175","1330852180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37ae8af2afdf0435f51205a87f244e6a.jpg","text":"TemporaryFile(/tmp/multipartBody4857669123656131239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657649602,"filename":"image_23012025_16_56_02_560096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dcd91f68c69560c781ba11098ad9ed06.jpg","text":"TemporaryFile(/tmp/multipartBody5627183613470096171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657649602,"filename":"image_23012025_16_57_02_740068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fed63c5fa2ab94e922dbf530081ef0f.jpg","text":"TemporaryFile(/tmp/multipartBody1013717279238266973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657649602,"filename":"image_23012025_16_55_02_407863_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a41e68f97dd28fe90c61dc6e204037c3.jpg","text":"TemporaryFile(/tmp/multipartBody5462668793345873396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657649602,"filename":"image_23012025_16_56_02_560096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a33971be91b422d69dc4241b86aad9c.jpg","text":"TemporaryFile(/tmp/multipartBody5675328443054333950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657649602,"filename":"image_23012025_16_56_02_560096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30745e7abe1a5d7c384c622ab78e4162.jpg","text":"TemporaryFile(/tmp/multipartBody7201908155505125512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657649602,"filename":"image_23012025_16_56_02_560096_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330852168","file1":"1330852165","file0":"1330852162","file4":"1330852175","file5":"1330852180","file3":"1330852172"},"map_files_photo_id_array":[{"photo_id":"1330852180","filename":"file5"},{"photo_id":"1330852168","filename":"file2"},{"photo_id":"1330852175","filename":"file4"},{"photo_id":"1330852165","filename":"file1"},{"photo_id":"1330852162","filename":"file0"},{"photo_id":"1330852172","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330852175":["hashtag1","hashtag2"]},{"1330852180":["hashtag1","hashtag2"]},{"1330852162":["hashtag1","hashtag2"]},{"1330852165":["hashtag1","hashtag2"]},{"1330852168":["hashtag1","hashtag2"]},{"1330852172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330852175, 1330852180, 1330852162, 1330852165, 1330852168, 1330852172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.37055587768555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:40:32.726818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_02_740068_0001.jpg', '/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_02_740068_0002.jpg', '/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_02_740068_0003.jpg', '/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_02_972309_0000.jpg', '/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_02_972309_0001.jpg', '/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_02_972309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_02_740068_0001.jpg
/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_02_740068_0002.jpg
/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_02_740068_0003.jpg
/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_02_972309_0000.jpg
/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_02_972309_0001.jpg
/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_02_972309_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330852220","1330852211","1330852228","1330852236","1330852224","1330852233"],"photo_ids_order":["1330852211","1330852220","1330852224","1330852228","1330852233","1330852236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cb0afcc24b1b3b28b17ccec3332e243.jpg","text":"TemporaryFile(/tmp/multipartBody8590136530596552410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657709639,"filename":"image_23012025_16_57_02_740068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c7ac621304e8e627a266fc5db0e1c26.jpg","text":"TemporaryFile(/tmp/multipartBody5809337984247290498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657709639,"filename":"image_23012025_16_57_02_740068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f7a06c22ff891a8b4afe1bff8ae8a2a.jpg","text":"TemporaryFile(/tmp/multipartBody7050915306773011013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657709639,"filename":"image_23012025_16_58_02_972309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/578a313b831c1bfc4f3ca19db41c7d62.jpg","text":"TemporaryFile(/tmp/multipartBody7863719387181838711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657709639,"filename":"image_23012025_16_58_02_972309_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50cf43354aedbc865503ea844626f4c3.jpg","text":"TemporaryFile(/tmp/multipartBody219239585323718649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657709639,"filename":"image_23012025_16_57_02_740068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/593907977525640ed81760a50e70f768.jpg","text":"TemporaryFile(/tmp/multipartBody8942705946815837022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657709639,"filename":"image_23012025_16_58_02_972309_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330852224","file1":"1330852220","file0":"1330852211","file4":"1330852233","file5":"1330852236","file3":"1330852228"},"map_files_photo_id_array":[{"photo_id":"1330852236","filename":"file5"},{"photo_id":"1330852224","filename":"file2"},{"photo_id":"1330852233","filename":"file4"},{"photo_id":"1330852220","filename":"file1"},{"photo_id":"1330852211","filename":"file0"},{"photo_id":"1330852228","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330852220":["hashtag1","hashtag2"]},{"1330852211":["hashtag1","hashtag2"]},{"1330852228":["hashtag1","hashtag2"]},{"1330852236":["hashtag1","hashtag2"]},{"1330852224":["hashtag1","hashtag2"]},{"1330852233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330852220, 1330852211, 1330852228, 1330852236, 1330852224, 1330852233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.32630467414856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:41:31.951930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_02_972309_0003.jpg', '/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_02_181441_0000.jpg', '/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_02_181441_0001.jpg', '/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_02_181441_0002.jpg', '/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_02_181441_0003.jpg', '/home/pi/Desktop/images/23012025/17/00/image_23012025_17_00_02_395880_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_02_972309_0003.jpg
/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_02_181441_0000.jpg
/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_02_181441_0001.jpg
/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_02_181441_0002.jpg
/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_02_181441_0003.jpg
/home/pi/Desktop/images/23012025/17/00/image_23012025_17_00_02_395880_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":["1330852301","1330852522","1330852365","1330852353","1330852332","1330852358"],"photo_ids_order":["1330852301","1330852332","1330852353","1330852358","1330852365","1330852522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd959d53ccd41c47694411518dc908fc.jpg","text":"TemporaryFile(/tmp/multipartBody3166295146785603352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657768352,"filename":"image_23012025_16_58_02_972309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f80c4b58df196278028706f393f2763.jpg","text":"TemporaryFile(/tmp/multipartBody802785209765393764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657768352,"filename":"image_23012025_17_00_02_395880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5691ea96bea895c5d60b369ad0327830.jpg","text":"TemporaryFile(/tmp/multipartBody4969587664711073750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657768352,"filename":"image_23012025_16_59_02_181441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a6c992a6ca9ded67d2750089f888248.jpg","text":"TemporaryFile(/tmp/multipartBody5874798036377567533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657768352,"filename":"image_23012025_16_59_02_181441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1c2c3b4486a2b77894afc851e5b28ba.jpg","text":"TemporaryFile(/tmp/multipartBody3300991539944934219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657768352,"filename":"image_23012025_16_59_02_181441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69871a59f1f998b392076611f8525a5d.jpg","text":"TemporaryFile(/tmp/multipartBody1348216407627089538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657768352,"filename":"image_23012025_16_59_02_181441_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330852353","file1":"1330852332","file0":"1330852301","file4":"1330852365","file5":"1330852522","file3":"1330852358"},"map_files_photo_id_array":[{"photo_id":"1330852522","filename":"file5"},{"photo_id":"1330852353","filename":"file2"},{"photo_id":"1330852365","filename":"file4"},{"photo_id":"1330852332","filename":"file1"},{"photo_id":"1330852301","filename":"file0"},{"photo_id":"1330852358","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330852301":["hashtag1","hashtag2"]},{"1330852522":["hashtag1","hashtag2"]},{"1330852365":["hashtag1","hashtag2"]},{"1330852353":["hashtag1","hashtag2"]},{"1330852332":["hashtag1","hashtag2"]},{"1330852358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330852301, 1330852522, 1330852365, 1330852353, 1330852332, 1330852358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.37798714637756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:42:32.158418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/00/image_23012025_17_00_02_395880_0002.jpg', '/home/pi/Desktop/images/23012025/17/00/image_23012025_17_00_02_395880_0003.jpg', '/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_02_474264_0000.jpg', '/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_02_474264_0001.jpg', '/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_02_474264_0003.jpg', '/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/00/image_23012025_17_00_02_395880_0002.jpg
/home/pi/Desktop/images/23012025/17/00/image_23012025_17_00_02_395880_0003.jpg
/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_02_474264_0000.jpg
/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_02_474264_0001.jpg
/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_02_474264_0003.jpg
/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.031050205230713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:42:52.157866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/00/image_23012025_17_00_02_395880_0002.jpg', '/home/pi/Desktop/images/23012025/17/00/image_23012025_17_00_02_395880_0003.jpg', '/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_02_474264_0000.jpg', '/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_02_474264_0001.jpg', '/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_02_474264_0003.jpg', '/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/00/image_23012025_17_00_02_395880_0002.jpg
/home/pi/Desktop/images/23012025/17/00/image_23012025_17_00_02_395880_0003.jpg
/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_02_474264_0000.jpg
/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_02_474264_0001.jpg
/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_02_474264_0003.jpg
/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_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":["1330852601","1330852585","1330852588","1330852575","1330852569","1330852580"],"photo_ids_order":["1330852569","1330852575","1330852580","1330852585","1330852588","1330852601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dff05c240ac7f98ad9d20ed9f98a9aa5.jpg","text":"TemporaryFile(/tmp/multipartBody404632360912954590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657848575,"filename":"image_23012025_17_02_02_676796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b88c02cff1de8aefa186ae9fc1a7d06.jpg","text":"TemporaryFile(/tmp/multipartBody1637875379053379192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657848575,"filename":"image_23012025_17_01_02_474264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdb6052471b36dbf9c852a4c654f0502.jpg","text":"TemporaryFile(/tmp/multipartBody948291433621628533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657848575,"filename":"image_23012025_17_01_02_474264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23da8472f046a4d62868e8d666326e41.jpg","text":"TemporaryFile(/tmp/multipartBody7217359203599849929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657848575,"filename":"image_23012025_17_00_02_395880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9881fef2e2d12ef4f1923651fab35a55.jpg","text":"TemporaryFile(/tmp/multipartBody759822280634618746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657848575,"filename":"image_23012025_17_00_02_395880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a053843f7eaf4e24b6ecc46cfbc1d1f.jpg","text":"TemporaryFile(/tmp/multipartBody3224051256099475340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657848575,"filename":"image_23012025_17_01_02_474264_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330852580","file1":"1330852575","file0":"1330852569","file4":"1330852588","file5":"1330852601","file3":"1330852585"},"map_files_photo_id_array":[{"photo_id":"1330852601","filename":"file5"},{"photo_id":"1330852580","filename":"file2"},{"photo_id":"1330852588","filename":"file4"},{"photo_id":"1330852575","filename":"file1"},{"photo_id":"1330852569","filename":"file0"},{"photo_id":"1330852585","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330852601":["hashtag1","hashtag2"]},{"1330852585":["hashtag1","hashtag2"]},{"1330852588":["hashtag1","hashtag2"]},{"1330852575":["hashtag1","hashtag2"]},{"1330852569":["hashtag1","hashtag2"]},{"1330852580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330852601, 1330852585, 1330852588, 1330852575, 1330852569, 1330852580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.873960971832275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:43:52.313566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0001.jpg', '/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0002.jpg', '/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0003.jpg', '/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_02_990455_0000.jpg', '/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_02_990455_0001.jpg', '/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_02_990455_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0001.jpg
/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0002.jpg
/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0003.jpg
/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_02_990455_0000.jpg
/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_02_990455_0001.jpg
/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_02_990455_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.99735951423645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:44:22.497453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0001.jpg', '/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0002.jpg', '/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0003.jpg', '/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_02_990455_0000.jpg', '/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_02_990455_0001.jpg', '/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_02_990455_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0001.jpg
/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0002.jpg
/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_02_676796_0003.jpg
/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_02_990455_0000.jpg
/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_02_990455_0001.jpg
/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_02_990455_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330852715","1330852727","1330852755","1330852737","1330852701","1330852688"],"photo_ids_order":["1330852688","1330852701","1330852715","1330852727","1330852737","1330852755"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13e8c60edcbf33360254abe575955104.jpg","text":"TemporaryFile(/tmp/multipartBody1808220804932834650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657938865,"filename":"image_23012025_17_02_02_676796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae99743d1654dba6e255e4ee4614cc35.jpg","text":"TemporaryFile(/tmp/multipartBody586050679612902630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657938865,"filename":"image_23012025_17_03_02_990455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f9347286f803ead173127ab9b66b12e.jpg","text":"TemporaryFile(/tmp/multipartBody7905625042978252874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657938865,"filename":"image_23012025_17_03_02_990455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb2abfa504773229361c5dd3c6639ff3.jpg","text":"TemporaryFile(/tmp/multipartBody1397518100330143242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657938865,"filename":"image_23012025_17_03_02_990455_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e9858c44912aeaea1f81aeb4b7126a7.jpg","text":"TemporaryFile(/tmp/multipartBody4270648851625102997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657938865,"filename":"image_23012025_17_02_02_676796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8751d6997d671afef4c192c95b34b082.jpg","text":"TemporaryFile(/tmp/multipartBody1733381434757758134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657938865,"filename":"image_23012025_17_02_02_676796_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330852715","file1":"1330852701","file0":"1330852688","file4":"1330852737","file5":"1330852755","file3":"1330852727"},"map_files_photo_id_array":[{"photo_id":"1330852755","filename":"file5"},{"photo_id":"1330852715","filename":"file2"},{"photo_id":"1330852737","filename":"file4"},{"photo_id":"1330852701","filename":"file1"},{"photo_id":"1330852688","filename":"file0"},{"photo_id":"1330852727","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330852715":["hashtag1","hashtag2"]},{"1330852727":["hashtag1","hashtag2"]},{"1330852755":["hashtag1","hashtag2"]},{"1330852737":["hashtag1","hashtag2"]},{"1330852701":["hashtag1","hashtag2"]},{"1330852688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330852715, 1330852727, 1330852755, 1330852737, 1330852701, 1330852688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.8313889503479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:45:22.666237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_02_990455_0003.jpg', '/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_03_070902_0000.jpg', '/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_03_070902_0001.jpg', '/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_03_070902_0002.jpg', '/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_03_070902_0003.jpg', '/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_02_268131_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_02_990455_0003.jpg
/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_03_070902_0000.jpg
/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_03_070902_0001.jpg
/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_03_070902_0002.jpg
/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_03_070902_0003.jpg
/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_02_268131_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":["1330852823","1330852802","1330852813","1330852806","1330852809","1330852799"],"photo_ids_order":["1330852799","1330852802","1330852806","1330852809","1330852813","1330852823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ffcad93a36e3a6b48c7eeadb9634b34.jpg","text":"TemporaryFile(/tmp/multipartBody3079026962084856684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657999037,"filename":"image_23012025_17_05_02_268131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3acb0dd27d1ded3fab02855a3bebe355.jpg","text":"TemporaryFile(/tmp/multipartBody6735472841901810795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657999037,"filename":"image_23012025_17_04_03_070902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/189d235c316adc19c6e3a5c43493e3a8.jpg","text":"TemporaryFile(/tmp/multipartBody8512402944433204961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657999037,"filename":"image_23012025_17_04_03_070902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15b2256bed7a05a8a9fdebd7285f086f.jpg","text":"TemporaryFile(/tmp/multipartBody182752910796159129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657999037,"filename":"image_23012025_17_04_03_070902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85d0e4f077bc5f9f03560d73c7458cbd.jpg","text":"TemporaryFile(/tmp/multipartBody5449425186316122256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657999037,"filename":"image_23012025_17_04_03_070902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc17cfbf791690a6d47e9945d769600b.jpg","text":"TemporaryFile(/tmp/multipartBody2937619286559517498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657999037,"filename":"image_23012025_17_03_02_990455_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330852806","file1":"1330852802","file0":"1330852799","file4":"1330852813","file5":"1330852823","file3":"1330852809"},"map_files_photo_id_array":[{"photo_id":"1330852823","filename":"file5"},{"photo_id":"1330852806","filename":"file2"},{"photo_id":"1330852813","filename":"file4"},{"photo_id":"1330852802","filename":"file1"},{"photo_id":"1330852799","filename":"file0"},{"photo_id":"1330852809","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330852823":["hashtag1","hashtag2"]},{"1330852802":["hashtag1","hashtag2"]},{"1330852813":["hashtag1","hashtag2"]},{"1330852806":["hashtag1","hashtag2"]},{"1330852809":["hashtag1","hashtag2"]},{"1330852799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330852823, 1330852802, 1330852813, 1330852806, 1330852809, 1330852799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.594701051712036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:46:21.881629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_02_268131_0002.jpg', '/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_02_268131_0003.jpg', '/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_02_428183_0000.jpg', '/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_02_428183_0001.jpg', '/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_02_428183_0002.jpg', '/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_02_428183_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_02_268131_0002.jpg
/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_02_268131_0003.jpg
/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_02_428183_0000.jpg
/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_02_428183_0001.jpg
/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_02_428183_0002.jpg
/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_02_428183_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":["1330852901","1330852910","1330852897","1330852930","1330852923","1330852926"],"photo_ids_order":["1330852897","1330852901","1330852910","1330852923","1330852926","1330852930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85f6164d5493ac471e4f20e216b6b2b0.jpg","text":"TemporaryFile(/tmp/multipartBody3625705092923776368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658058208,"filename":"image_23012025_17_05_02_268131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b9dfb3d77018cc9a68c7b10a1efd420.jpg","text":"TemporaryFile(/tmp/multipartBody5276066895942794019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658058208,"filename":"image_23012025_17_06_02_428183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/835edc38a4204a959cf839bee7e3c4c9.jpg","text":"TemporaryFile(/tmp/multipartBody6096185431686021170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658058208,"filename":"image_23012025_17_05_02_268131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93ada468ca2ce40d4504c431c9cfd397.jpg","text":"TemporaryFile(/tmp/multipartBody8711488256545627157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658058208,"filename":"image_23012025_17_06_02_428183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2607b33d18bcf17e9756aaf6d8adce85.jpg","text":"TemporaryFile(/tmp/multipartBody7697811427185388639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658058208,"filename":"image_23012025_17_06_02_428183_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8df3d9ec73e74db554841bff2db9b7f5.jpg","text":"TemporaryFile(/tmp/multipartBody1307501695239482670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658058208,"filename":"image_23012025_17_06_02_428183_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330852910","file1":"1330852901","file0":"1330852897","file4":"1330852926","file5":"1330852930","file3":"1330852923"},"map_files_photo_id_array":[{"photo_id":"1330852930","filename":"file5"},{"photo_id":"1330852910","filename":"file2"},{"photo_id":"1330852926","filename":"file4"},{"photo_id":"1330852901","filename":"file1"},{"photo_id":"1330852897","filename":"file0"},{"photo_id":"1330852923","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330852901":["hashtag1","hashtag2"]},{"1330852910":["hashtag1","hashtag2"]},{"1330852897":["hashtag1","hashtag2"]},{"1330852930":["hashtag1","hashtag2"]},{"1330852923":["hashtag1","hashtag2"]},{"1330852926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330852901, 1330852910, 1330852897, 1330852930, 1330852923, 1330852926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.14066290855408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:47:22.150085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/07/image_23012025_17_07_02_552298_0001.jpg', '/home/pi/Desktop/images/23012025/17/07/image_23012025_17_07_02_552298_0002.jpg', '/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_02_769719_0000.jpg', '/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_02_769719_0001.jpg', '/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_02_769719_0002.jpg', '/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_02_769719_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/07/image_23012025_17_07_02_552298_0001.jpg
/home/pi/Desktop/images/23012025/17/07/image_23012025_17_07_02_552298_0002.jpg
/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_02_769719_0000.jpg
/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_02_769719_0001.jpg
/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_02_769719_0002.jpg
/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_02_769719_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":["1330853018","1330853041","1330853035","1330853028","1330853004","1330853000"],"photo_ids_order":["1330853000","1330853004","1330853018","1330853028","1330853035","1330853041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02cfa2bbfe08c575e553d029efd9de2b.jpg","text":"TemporaryFile(/tmp/multipartBody6430075619755238732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658118487,"filename":"image_23012025_17_08_02_769719_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb88cd0689ff74c55452c3124176d58c.jpg","text":"TemporaryFile(/tmp/multipartBody5204668240967189334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658118487,"filename":"image_23012025_17_08_02_769719_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07b653c6dcf5f088f49048be3cf2cce0.jpg","text":"TemporaryFile(/tmp/multipartBody3344077872445800626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658118487,"filename":"image_23012025_17_08_02_769719_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d84cbb3a33a1a76a5626f386d2103f13.jpg","text":"TemporaryFile(/tmp/multipartBody7502531314621109624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658118487,"filename":"image_23012025_17_08_02_769719_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49f555aa1e04fb3994bf0939a6fa2f93.jpg","text":"TemporaryFile(/tmp/multipartBody8211112108792708116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658118487,"filename":"image_23012025_17_07_02_552298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44c47684ad6c225501a442e0219a7e01.jpg","text":"TemporaryFile(/tmp/multipartBody3491571598021896307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658118487,"filename":"image_23012025_17_07_02_552298_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330853018","file1":"1330853004","file0":"1330853000","file4":"1330853035","file5":"1330853041","file3":"1330853028"},"map_files_photo_id_array":[{"photo_id":"1330853041","filename":"file5"},{"photo_id":"1330853018","filename":"file2"},{"photo_id":"1330853035","filename":"file4"},{"photo_id":"1330853004","filename":"file1"},{"photo_id":"1330853000","filename":"file0"},{"photo_id":"1330853028","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330853018":["hashtag1","hashtag2"]},{"1330853041":["hashtag1","hashtag2"]},{"1330853035":["hashtag1","hashtag2"]},{"1330853028":["hashtag1","hashtag2"]},{"1330853004":["hashtag1","hashtag2"]},{"1330853000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330853018, 1330853041, 1330853035, 1330853028, 1330853004, 1330853000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.71839189529419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:48:32.264251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_02_894021_0000.jpg', '/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_02_894021_0002.jpg', '/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_02_894021_0003.jpg', '/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_03_124410_0000.jpg', '/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_03_124410_0001.jpg', '/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_03_124410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_02_894021_0000.jpg
/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_02_894021_0002.jpg
/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_02_894021_0003.jpg
/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_03_124410_0000.jpg
/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_03_124410_0001.jpg
/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_03_124410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330853201","1330853194","1330853190","1330853184","1330853211","1330853207"],"photo_ids_order":["1330853184","1330853190","1330853194","1330853201","1330853207","1330853211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad7044e0414a6704bbfff7d57d93f73f.jpg","text":"TemporaryFile(/tmp/multipartBody2941579791124458425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658188623,"filename":"image_23012025_17_10_03_124410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/517890d949189875cbc4698fc5b13c5c.jpg","text":"TemporaryFile(/tmp/multipartBody4745979058885349185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658188623,"filename":"image_23012025_17_09_02_894021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/641300bda00460fb291b29dd9b3a451a.jpg","text":"TemporaryFile(/tmp/multipartBody2898822665115908834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658188623,"filename":"image_23012025_17_09_02_894021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85f0d8ff56fc1940647fe92ce8bf3968.jpg","text":"TemporaryFile(/tmp/multipartBody8883045135969552772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658188623,"filename":"image_23012025_17_09_02_894021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c833c745b02a3e77083afc7c2787e455.jpg","text":"TemporaryFile(/tmp/multipartBody704552186858359198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658188623,"filename":"image_23012025_17_10_03_124410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7db33b125d99319aafaf90f2faee27aa.jpg","text":"TemporaryFile(/tmp/multipartBody9122497058385625829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658188623,"filename":"image_23012025_17_10_03_124410_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330853194","file1":"1330853190","file0":"1330853184","file4":"1330853207","file5":"1330853211","file3":"1330853201"},"map_files_photo_id_array":[{"photo_id":"1330853211","filename":"file5"},{"photo_id":"1330853194","filename":"file2"},{"photo_id":"1330853207","filename":"file4"},{"photo_id":"1330853190","filename":"file1"},{"photo_id":"1330853184","filename":"file0"},{"photo_id":"1330853201","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330853201":["hashtag1","hashtag2"]},{"1330853194":["hashtag1","hashtag2"]},{"1330853190":["hashtag1","hashtag2"]},{"1330853184":["hashtag1","hashtag2"]},{"1330853211":["hashtag1","hashtag2"]},{"1330853207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330853201, 1330853194, 1330853190, 1330853184, 1330853211, 1330853207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.73109245300293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 19:49:42.488977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_03_124410_0003.jpg', '/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_02_283127_0000.jpg', '/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_02_283127_0002.jpg', '/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_02_283127_0003.jpg', '/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_02_416173_0000.jpg', '/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_02_416173_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_03_124410_0003.jpg
/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_02_283127_0000.jpg
/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_02_283127_0002.jpg
/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_02_283127_0003.jpg
/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_02_416173_0000.jpg
/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_02_416173_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330853266","1330853230","1330853241","1330853238","1330853249","1330853234"],"photo_ids_order":["1330853230","1330853234","1330853238","1330853241","1330853249","1330853266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7fd09bd0b3e44561f279e1d811879b2.jpg","text":"TemporaryFile(/tmp/multipartBody4768128976239876929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658258727,"filename":"image_23012025_17_12_02_416173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d76d8e4549af2b9333399f752bc2382.jpg","text":"TemporaryFile(/tmp/multipartBody5821171335826579963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658258727,"filename":"image_23012025_17_10_03_124410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46373d9f80020e6c88b8ec41476700c8.jpg","text":"TemporaryFile(/tmp/multipartBody5175155269633292175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658258727,"filename":"image_23012025_17_11_02_283127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b015c7b364f1609e05f6e24d7c2d0d4d.jpg","text":"TemporaryFile(/tmp/multipartBody1365298692752870173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658258727,"filename":"image_23012025_17_11_02_283127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6779b30bac9ac7302fe47abf276a39f2.jpg","text":"TemporaryFile(/tmp/multipartBody7813544666230953023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658258727,"filename":"image_23012025_17_12_02_416173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a3bd1b7a10f7cd895538b4c930e431b.jpg","text":"TemporaryFile(/tmp/multipartBody525438833692026329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658258727,"filename":"image_23012025_17_11_02_283127_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330853238","file1":"1330853234","file0":"1330853230","file4":"1330853249","file5":"1330853266","file3":"1330853241"},"map_files_photo_id_array":[{"photo_id":"1330853266","filename":"file5"},{"photo_id":"1330853238","filename":"file2"},{"photo_id":"1330853249","filename":"file4"},{"photo_id":"1330853234","filename":"file1"},{"photo_id":"1330853230","filename":"file0"},{"photo_id":"1330853241","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330853266":["hashtag1","hashtag2"]},{"1330853230":["hashtag1","hashtag2"]},{"1330853241":["hashtag1","hashtag2"]},{"1330853238":["hashtag1","hashtag2"]},{"1330853249":["hashtag1","hashtag2"]},{"1330853234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330853266, 1330853230, 1330853241, 1330853238, 1330853249, 1330853234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.5796754360199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 19:50:42.623382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_02_416173_0003.jpg', '/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_02_638060_0000.jpg', '/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_02_638060_0001.jpg', '/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_02_638060_0003.jpg', '/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_02_721836_0000.jpg', '/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_02_721836_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_02_416173_0003.jpg
/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_02_638060_0000.jpg
/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_02_638060_0001.jpg
/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_02_638060_0003.jpg
/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_02_721836_0000.jpg
/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_02_721836_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":["1330853315","1330853320","1330853886","1330853631","1330853310","1330853369"],"photo_ids_order":["1330853310","1330853315","1330853320","1330853369","1330853631","1330853886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdd44daf08310a56e4b4e53f71704b19.jpg","text":"TemporaryFile(/tmp/multipartBody2566768437890818916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658318793,"filename":"image_23012025_17_13_02_638060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1462a813fc8371cbc3da0fa66db53839.jpg","text":"TemporaryFile(/tmp/multipartBody2081437375145755043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658318793,"filename":"image_23012025_17_13_02_638060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2987b698e9e5ea97b3a7d1e93ff3e8c2.jpg","text":"TemporaryFile(/tmp/multipartBody617154747686835040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658318793,"filename":"image_23012025_17_14_02_721836_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78cc3fb20d1560e7e959ffa225082c17.jpg","text":"TemporaryFile(/tmp/multipartBody2977064481874857980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658318793,"filename":"image_23012025_17_14_02_721836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b230e45c67e06882dcfcc5c7836c52cb.jpg","text":"TemporaryFile(/tmp/multipartBody5879126574097871642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658318793,"filename":"image_23012025_17_12_02_416173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/181159d073026b868e465f53cc24e8fe.jpg","text":"TemporaryFile(/tmp/multipartBody4507660381343464259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658318793,"filename":"image_23012025_17_13_02_638060_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330853320","file1":"1330853315","file0":"1330853310","file4":"1330853631","file5":"1330853886","file3":"1330853369"},"map_files_photo_id_array":[{"photo_id":"1330853886","filename":"file5"},{"photo_id":"1330853320","filename":"file2"},{"photo_id":"1330853631","filename":"file4"},{"photo_id":"1330853315","filename":"file1"},{"photo_id":"1330853310","filename":"file0"},{"photo_id":"1330853369","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330853315":["hashtag1","hashtag2"]},{"1330853320":["hashtag1","hashtag2"]},{"1330853886":["hashtag1","hashtag2"]},{"1330853631":["hashtag1","hashtag2"]},{"1330853310":["hashtag1","hashtag2"]},{"1330853369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330853315, 1330853320, 1330853886, 1330853631, 1330853310, 1330853369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.56509327888489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 19:51:41.873977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_02_721836_0002.jpg', '/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_02_721836_0003.jpg', '/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_02_950243_0000.jpg', '/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_02_950243_0001.jpg', '/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_02_950243_0002.jpg', '/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_02_950243_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_02_721836_0002.jpg
/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_02_721836_0003.jpg
/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_02_950243_0000.jpg
/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_02_950243_0001.jpg
/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_02_950243_0002.jpg
/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_02_950243_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":["1330853953","1330854180","1330853944","1330854213","1330854141","1330854191"],"photo_ids_order":["1330853944","1330853953","1330854141","1330854180","1330854191","1330854213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd57cc137ba7356faecb92ef6e7858fc.jpg","text":"TemporaryFile(/tmp/multipartBody6557577439498287591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658378026,"filename":"image_23012025_17_14_02_721836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0546a85697e2ccb89680f3018edf1d90.jpg","text":"TemporaryFile(/tmp/multipartBody4571099250821369952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658378026,"filename":"image_23012025_17_15_02_950243_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91f9777cd224f3b8fd983a5d53adc8c2.jpg","text":"TemporaryFile(/tmp/multipartBody7414469517025384625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658378026,"filename":"image_23012025_17_14_02_721836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d08a8ded4a397679a4dba3fcad37d523.jpg","text":"TemporaryFile(/tmp/multipartBody6994932938969522380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658378026,"filename":"image_23012025_17_15_02_950243_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d17538ca2ebf6de22968936bc0433cc0.jpg","text":"TemporaryFile(/tmp/multipartBody5301574717757031614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658378026,"filename":"image_23012025_17_15_02_950243_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a3ef98a03b46cf95ef7eb22972a804a.jpg","text":"TemporaryFile(/tmp/multipartBody4829272824055330039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658378026,"filename":"image_23012025_17_15_02_950243_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330854141","file1":"1330853953","file0":"1330853944","file4":"1330854191","file5":"1330854213","file3":"1330854180"},"map_files_photo_id_array":[{"photo_id":"1330854213","filename":"file5"},{"photo_id":"1330854141","filename":"file2"},{"photo_id":"1330854191","filename":"file4"},{"photo_id":"1330853953","filename":"file1"},{"photo_id":"1330853944","filename":"file0"},{"photo_id":"1330854180","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330853953":["hashtag1","hashtag2"]},{"1330854180":["hashtag1","hashtag2"]},{"1330853944":["hashtag1","hashtag2"]},{"1330854213":["hashtag1","hashtag2"]},{"1330854141":["hashtag1","hashtag2"]},{"1330854191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330853953, 1330854180, 1330853944, 1330854213, 1330854141, 1330854191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.36829900741577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 19:52:42.001203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_03_134149_0000.jpg', '/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_03_134149_0001.jpg', '/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_03_134149_0002.jpg', '/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_03_134149_0003.jpg', '/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_02_336392_0001.jpg', '/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_02_336392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_03_134149_0000.jpg
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_03_134149_0001.jpg
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_03_134149_0002.jpg
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_03_134149_0003.jpg
/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_02_336392_0001.jpg
/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_02_336392_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330854346","1330854369","1330854360","1330854351","1330854374","1330854506"],"photo_ids_order":["1330854346","1330854351","1330854360","1330854369","1330854374","1330854506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff6f9625ccf83f075b374c1bd51e69c6.jpg","text":"TemporaryFile(/tmp/multipartBody2326164481660407938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658438128,"filename":"image_23012025_17_16_03_134149_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/177692c376d345a965e2eae958aaff6b.jpg","text":"TemporaryFile(/tmp/multipartBody6634991660183613063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658438128,"filename":"image_23012025_17_16_03_134149_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74e5e3b1fda39f2ca8e89aa5df5989f2.jpg","text":"TemporaryFile(/tmp/multipartBody3035272216423383393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658438128,"filename":"image_23012025_17_16_03_134149_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6a3c9a5d5f900b97dac66ae7e8d4f45.jpg","text":"TemporaryFile(/tmp/multipartBody5382244317604768876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658438128,"filename":"image_23012025_17_16_03_134149_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93c75a16bd194de34ce789ad227e2225.jpg","text":"TemporaryFile(/tmp/multipartBody826413833949593744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658438128,"filename":"image_23012025_17_17_02_336392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f775fee01980679cc8d7b6d6f640ca7f.jpg","text":"TemporaryFile(/tmp/multipartBody74760700279597132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658438128,"filename":"image_23012025_17_17_02_336392_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330854360","file1":"1330854351","file0":"1330854346","file4":"1330854374","file5":"1330854506","file3":"1330854369"},"map_files_photo_id_array":[{"photo_id":"1330854506","filename":"file5"},{"photo_id":"1330854360","filename":"file2"},{"photo_id":"1330854374","filename":"file4"},{"photo_id":"1330854351","filename":"file1"},{"photo_id":"1330854346","filename":"file0"},{"photo_id":"1330854369","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330854346":["hashtag1","hashtag2"]},{"1330854369":["hashtag1","hashtag2"]},{"1330854360":["hashtag1","hashtag2"]},{"1330854351":["hashtag1","hashtag2"]},{"1330854374":["hashtag1","hashtag2"]},{"1330854506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330854346, 1330854369, 1330854360, 1330854351, 1330854374, 1330854506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.932982206344604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 19:53:42.176039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_02_336392_0003.jpg', '/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_02_522068_0000.jpg', '/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_02_522068_0001.jpg', '/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_02_522068_0003.jpg', '/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_02_622880_0000.jpg', '/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_02_622880_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_02_336392_0003.jpg
/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_02_522068_0000.jpg
/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_02_522068_0001.jpg
/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_02_522068_0003.jpg
/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_02_622880_0000.jpg
/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_02_622880_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.721751689910889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 19:54:02.700731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_02_336392_0003.jpg', '/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_02_522068_0000.jpg', '/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_02_522068_0001.jpg', '/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_02_522068_0003.jpg', '/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_02_622880_0000.jpg', '/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_02_622880_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_02_336392_0003.jpg
/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_02_522068_0000.jpg
/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_02_522068_0001.jpg
/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_02_522068_0003.jpg
/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_02_622880_0000.jpg
/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_02_622880_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":["1330854660","1330854686","1330854680","1330854671","1330854665","1330854691"],"photo_ids_order":["1330854660","1330854665","1330854671","1330854680","1330854686","1330854691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b4ddb849468ad57ae271f72808ac3f6.jpg","text":"TemporaryFile(/tmp/multipartBody3134803448034545490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658518841,"filename":"image_23012025_17_17_02_336392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/036fc1734578611f02bd0df4955eba58.jpg","text":"TemporaryFile(/tmp/multipartBody902642065335762613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658518841,"filename":"image_23012025_17_19_02_622880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4bc0e5765b5827a5c4252dfcc3b3b65.jpg","text":"TemporaryFile(/tmp/multipartBody6796533045215320108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658518841,"filename":"image_23012025_17_18_02_522068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18b72e6886fb33b08750b401b79dc629.jpg","text":"TemporaryFile(/tmp/multipartBody9050683918354035578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658518841,"filename":"image_23012025_17_18_02_522068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3bc7e61a09fc4d0fd97c14809e5d336.jpg","text":"TemporaryFile(/tmp/multipartBody8707620477060739243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658518841,"filename":"image_23012025_17_18_02_522068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dde242321f0113cb2d442cad02401a22.jpg","text":"TemporaryFile(/tmp/multipartBody5550894255235855679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658518841,"filename":"image_23012025_17_19_02_622880_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330854671","file1":"1330854665","file0":"1330854660","file4":"1330854686","file5":"1330854691","file3":"1330854680"},"map_files_photo_id_array":[{"photo_id":"1330854691","filename":"file5"},{"photo_id":"1330854671","filename":"file2"},{"photo_id":"1330854686","filename":"file4"},{"photo_id":"1330854665","filename":"file1"},{"photo_id":"1330854660","filename":"file0"},{"photo_id":"1330854680","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330854660":["hashtag1","hashtag2"]},{"1330854686":["hashtag1","hashtag2"]},{"1330854680":["hashtag1","hashtag2"]},{"1330854671":["hashtag1","hashtag2"]},{"1330854665":["hashtag1","hashtag2"]},{"1330854691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330854660, 1330854686, 1330854680, 1330854671, 1330854665, 1330854691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.595425605773926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:55:22.509502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_02_622880_0002.jpg', '/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_02_622880_0003.jpg', '/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_02_848756_0000.jpg', '/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_02_848756_0001.jpg', '/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_02_848756_0002.jpg', '/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_02_848756_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_02_622880_0002.jpg
/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_02_622880_0003.jpg
/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_02_848756_0000.jpg
/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_02_848756_0001.jpg
/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_02_848756_0002.jpg
/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_02_848756_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":["1330854763","1330854767","1330854755","1330854746","1330854751","1330854760"],"photo_ids_order":["1330854746","1330854751","1330854755","1330854760","1330854763","1330854767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/658d6b73a0ec86d8a66fd6333fc61651.jpg","text":"TemporaryFile(/tmp/multipartBody2431013566703806668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658598593,"filename":"image_23012025_17_20_02_848756_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/106f8834ea408f5ea96eaace3f98128c.jpg","text":"TemporaryFile(/tmp/multipartBody1829814606272983520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658598593,"filename":"image_23012025_17_20_02_848756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e35ef65ded9fa48d71f026c25aa1b73.jpg","text":"TemporaryFile(/tmp/multipartBody3854823421087893963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658598593,"filename":"image_23012025_17_20_02_848756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1eeb018bd9e85069042ee580989d2b6.jpg","text":"TemporaryFile(/tmp/multipartBody6235073431679255099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658598593,"filename":"image_23012025_17_19_02_622880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/713308524654552788ab3e049aeccd2b.jpg","text":"TemporaryFile(/tmp/multipartBody8530713475653194780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658598593,"filename":"image_23012025_17_19_02_622880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ecfff8348c50afdea8cadb8e3d11280.jpg","text":"TemporaryFile(/tmp/multipartBody3629531655623607677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658598593,"filename":"image_23012025_17_20_02_848756_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330854755","file1":"1330854751","file0":"1330854746","file4":"1330854763","file5":"1330854767","file3":"1330854760"},"map_files_photo_id_array":[{"photo_id":"1330854767","filename":"file5"},{"photo_id":"1330854755","filename":"file2"},{"photo_id":"1330854763","filename":"file4"},{"photo_id":"1330854751","filename":"file1"},{"photo_id":"1330854746","filename":"file0"},{"photo_id":"1330854760","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330854763":["hashtag1","hashtag2"]},{"1330854767":["hashtag1","hashtag2"]},{"1330854755":["hashtag1","hashtag2"]},{"1330854746":["hashtag1","hashtag2"]},{"1330854751":["hashtag1","hashtag2"]},{"1330854760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330854763, 1330854767, 1330854755, 1330854746, 1330854751, 1330854760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.33938908576965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:56:22.692016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_03_088348_0000.jpg', '/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_03_088348_0001.jpg', '/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_03_088348_0002.jpg', '/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_02_251312_0001.jpg', '/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_02_251312_0002.jpg', '/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_02_251312_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_03_088348_0000.jpg
/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_03_088348_0001.jpg
/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_03_088348_0002.jpg
/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_02_251312_0001.jpg
/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_02_251312_0002.jpg
/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_02_251312_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":["1330854937","1330854942","1330854909","1330854877","1330854886","1330854931"],"photo_ids_order":["1330854877","1330854886","1330854909","1330854931","1330854937","1330854942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd974baf18cd8b4f75e1dde7ae3de2a3.jpg","text":"TemporaryFile(/tmp/multipartBody1169746182511053483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658658783,"filename":"image_23012025_17_22_02_251312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34c64fdc0bd9475be80a3850c1862ed0.jpg","text":"TemporaryFile(/tmp/multipartBody2977679761162573262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658658783,"filename":"image_23012025_17_22_02_251312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c77c1bde128237cf4b330f892009a28.jpg","text":"TemporaryFile(/tmp/multipartBody6735740076589442258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658658783,"filename":"image_23012025_17_21_03_088348_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd27ba9c17597522c347cfb889179bcb.jpg","text":"TemporaryFile(/tmp/multipartBody9011935633077017078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658658783,"filename":"image_23012025_17_21_03_088348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe46b6f77efa86fd002f44281ec04679.jpg","text":"TemporaryFile(/tmp/multipartBody4506684686136827113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658658783,"filename":"image_23012025_17_21_03_088348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9139fe4892e5810543de27d60cbad4ca.jpg","text":"TemporaryFile(/tmp/multipartBody518025661303381397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658658783,"filename":"image_23012025_17_22_02_251312_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330854909","file1":"1330854886","file0":"1330854877","file4":"1330854937","file5":"1330854942","file3":"1330854931"},"map_files_photo_id_array":[{"photo_id":"1330854942","filename":"file5"},{"photo_id":"1330854909","filename":"file2"},{"photo_id":"1330854937","filename":"file4"},{"photo_id":"1330854886","filename":"file1"},{"photo_id":"1330854877","filename":"file0"},{"photo_id":"1330854931","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330854937":["hashtag1","hashtag2"]},{"1330854942":["hashtag1","hashtag2"]},{"1330854909":["hashtag1","hashtag2"]},{"1330854877":["hashtag1","hashtag2"]},{"1330854886":["hashtag1","hashtag2"]},{"1330854931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330854937, 1330854942, 1330854909, 1330854877, 1330854886, 1330854931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.50719141960144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 19:57:21.873039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0000.jpg', '/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0001.jpg', '/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0002.jpg', '/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0003.jpg', '/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_02_661993_0000.jpg', '/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_02_661993_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0000.jpg
/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0001.jpg
/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0002.jpg
/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0003.jpg
/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_02_661993_0000.jpg
/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_02_661993_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-23 19:59:02.748753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0000.jpg', '/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0001.jpg', '/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0002.jpg', '/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0003.jpg', '/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_02_661993_0000.jpg', '/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_02_661993_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0000.jpg
/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0001.jpg
/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0002.jpg
/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_02_453482_0003.jpg
/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_02_661993_0000.jpg
/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_02_661993_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":["1330855278","1330855251","1330855289","1330855256","1330855276","1330855243"],"photo_ids_order":["1330855243","1330855251","1330855256","1330855276","1330855278","1330855289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19f1af0ce511182721f5e8e7a9620c14.jpg","text":"TemporaryFile(/tmp/multipartBody6915244677652638361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658818960,"filename":"image_23012025_17_24_02_661993_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5bafde3c227b02ce64c14f3e72bbea7f.jpg","text":"TemporaryFile(/tmp/multipartBody4367440942207992257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658818960,"filename":"image_23012025_17_23_02_453482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c0c7f7f08552d06a08a189e47ee958c.jpg","text":"TemporaryFile(/tmp/multipartBody6314307826735907584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658818960,"filename":"image_23012025_17_24_02_661993_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e54762274cb4d9f2f08529033b212886.jpg","text":"TemporaryFile(/tmp/multipartBody4740650155989034735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658818960,"filename":"image_23012025_17_23_02_453482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e012ac26975bc4b22211214bab08ea68.jpg","text":"TemporaryFile(/tmp/multipartBody2927749222837675824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658818960,"filename":"image_23012025_17_23_02_453482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3aaa66ebee41be2d17f7b4ed791436cb.jpg","text":"TemporaryFile(/tmp/multipartBody8292951290094270504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658818960,"filename":"image_23012025_17_23_02_453482_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330855256","file1":"1330855251","file0":"1330855243","file4":"1330855278","file5":"1330855289","file3":"1330855276"},"map_files_photo_id_array":[{"photo_id":"1330855289","filename":"file5"},{"photo_id":"1330855256","filename":"file2"},{"photo_id":"1330855278","filename":"file4"},{"photo_id":"1330855251","filename":"file1"},{"photo_id":"1330855243","filename":"file0"},{"photo_id":"1330855276","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330855278":["hashtag1","hashtag2"]},{"1330855251":["hashtag1","hashtag2"]},{"1330855289":["hashtag1","hashtag2"]},{"1330855256":["hashtag1","hashtag2"]},{"1330855276":["hashtag1","hashtag2"]},{"1330855243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330855278, 1330855251, 1330855289, 1330855256, 1330855276, 1330855243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.4403760433197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 20:00:02.739685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_02_661993_0002.jpg', '/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_02_661993_0003.jpg', '/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_02_807798_0000.jpg', '/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_02_807798_0001.jpg', '/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_02_807798_0002.jpg', '/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_02_807798_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_02_661993_0002.jpg
/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_02_661993_0003.jpg
/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_02_807798_0000.jpg
/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_02_807798_0001.jpg
/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_02_807798_0002.jpg
/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_02_807798_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":["1330855350","1330855338","1330855343","1330855360","1330855354","1330855345"],"photo_ids_order":["1330855338","1330855343","1330855345","1330855350","1330855354","1330855360"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f15ad58227187d86eca8c6da45ebeebf.jpg","text":"TemporaryFile(/tmp/multipartBody2659042225215623661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658878417,"filename":"image_23012025_17_25_02_807798_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f94ed90d4673d94f67bf5fbe957f5f2.jpg","text":"TemporaryFile(/tmp/multipartBody8247481432902226229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658878417,"filename":"image_23012025_17_24_02_661993_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd14f526e198d2ac2640c636c84421e5.jpg","text":"TemporaryFile(/tmp/multipartBody6102033659650094114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658878417,"filename":"image_23012025_17_24_02_661993_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e45786a4a01e2c18b1a0a5aedec4275.jpg","text":"TemporaryFile(/tmp/multipartBody2683119530972818497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658878417,"filename":"image_23012025_17_25_02_807798_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/edb32515f3c38a15a21dc0ca7a7f50e4.jpg","text":"TemporaryFile(/tmp/multipartBody5771162336463392933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658878417,"filename":"image_23012025_17_25_02_807798_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fbfb960b20d3b8962abd917d5be448af.jpg","text":"TemporaryFile(/tmp/multipartBody8113681110984267191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658878417,"filename":"image_23012025_17_25_02_807798_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330855345","file1":"1330855343","file0":"1330855338","file4":"1330855354","file5":"1330855360","file3":"1330855350"},"map_files_photo_id_array":[{"photo_id":"1330855360","filename":"file5"},{"photo_id":"1330855345","filename":"file2"},{"photo_id":"1330855354","filename":"file4"},{"photo_id":"1330855343","filename":"file1"},{"photo_id":"1330855338","filename":"file0"},{"photo_id":"1330855350","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330855350":["hashtag1","hashtag2"]},{"1330855338":["hashtag1","hashtag2"]},{"1330855343":["hashtag1","hashtag2"]},{"1330855360":["hashtag1","hashtag2"]},{"1330855354":["hashtag1","hashtag2"]},{"1330855345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330855350, 1330855338, 1330855343, 1330855360, 1330855354, 1330855345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.83419442176819 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 20:01:03.160461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_02_932612_0000.jpg', '/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_02_932612_0001.jpg', '/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_02_932612_0002.jpg', '/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_02_932612_0003.jpg', '/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_03_148273_0000.jpg', '/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_03_148273_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_02_932612_0000.jpg
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_02_932612_0001.jpg
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_02_932612_0002.jpg
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_02_932612_0003.jpg
/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_03_148273_0000.jpg
/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_03_148273_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":["1330855414","1330855398","1330855407","1330855401","1330855410","1330855403"],"photo_ids_order":["1330855398","1330855401","1330855403","1330855407","1330855410","1330855414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9e6f5b3292616ab8f167b7926bb4008.jpg","text":"TemporaryFile(/tmp/multipartBody8043236541338282430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658939804,"filename":"image_23012025_17_27_03_148273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/edeb6e4c31d6ea2c5052cd38f657f588.jpg","text":"TemporaryFile(/tmp/multipartBody1000695411949338112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658939804,"filename":"image_23012025_17_26_02_932612_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a26d2bb87c3bf2e0f92fe8aca52a364.jpg","text":"TemporaryFile(/tmp/multipartBody7375779175643760496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658939804,"filename":"image_23012025_17_26_02_932612_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/679f5833afcae8f39d73858610b41c28.jpg","text":"TemporaryFile(/tmp/multipartBody1368449911796314513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658939804,"filename":"image_23012025_17_26_02_932612_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/866b6013c8c03cd1d6fa4f1dbf046b1f.jpg","text":"TemporaryFile(/tmp/multipartBody3458258922601707126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658939804,"filename":"image_23012025_17_27_03_148273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd0d56b47d59a650df6da2e73f7a6e82.jpg","text":"TemporaryFile(/tmp/multipartBody7514103155472254992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658939804,"filename":"image_23012025_17_26_02_932612_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330855403","file1":"1330855401","file0":"1330855398","file4":"1330855410","file5":"1330855414","file3":"1330855407"},"map_files_photo_id_array":[{"photo_id":"1330855414","filename":"file5"},{"photo_id":"1330855403","filename":"file2"},{"photo_id":"1330855410","filename":"file4"},{"photo_id":"1330855401","filename":"file1"},{"photo_id":"1330855398","filename":"file0"},{"photo_id":"1330855407","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330855414":["hashtag1","hashtag2"]},{"1330855398":["hashtag1","hashtag2"]},{"1330855407":["hashtag1","hashtag2"]},{"1330855401":["hashtag1","hashtag2"]},{"1330855410":["hashtag1","hashtag2"]},{"1330855403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330855414, 1330855398, 1330855407, 1330855401, 1330855410, 1330855403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.05470824241638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 20:02:03.279642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_03_148273_0002.jpg', '/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_03_148273_0003.jpg', '/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_02_269658_0000.jpg', '/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_02_269658_0001.jpg', '/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_02_269658_0002.jpg', '/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_02_269658_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_03_148273_0002.jpg
/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_03_148273_0003.jpg
/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_02_269658_0000.jpg
/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_02_269658_0001.jpg
/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_02_269658_0002.jpg
/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_02_269658_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":["1330855541","1330855517","1330855532","1330855537","1330855522","1330855525"],"photo_ids_order":["1330855517","1330855522","1330855525","1330855532","1330855537","1330855541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e742c66adf0f7d04ac37e1811ff0bdfe.jpg","text":"TemporaryFile(/tmp/multipartBody7246997019371843096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659000731,"filename":"image_23012025_17_28_02_269658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec7b121506fb96d5163358400877f817.jpg","text":"TemporaryFile(/tmp/multipartBody4056157418515193276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659000731,"filename":"image_23012025_17_27_03_148273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4226ef01a83e36524dfe0f6da6d569f6.jpg","text":"TemporaryFile(/tmp/multipartBody5341166929461216120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659000731,"filename":"image_23012025_17_28_02_269658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4aff39b5a3b2ec67dc4458bcf2f21f2.jpg","text":"TemporaryFile(/tmp/multipartBody2816217632768104091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659000731,"filename":"image_23012025_17_28_02_269658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3900f359a6f3e1977777a2961622f62.jpg","text":"TemporaryFile(/tmp/multipartBody5629305308508185040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659000731,"filename":"image_23012025_17_27_03_148273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e8912f4ca8a41dd91d4b0525f147a05.jpg","text":"TemporaryFile(/tmp/multipartBody8621188218893736538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659000731,"filename":"image_23012025_17_28_02_269658_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330855525","file1":"1330855522","file0":"1330855517","file4":"1330855537","file5":"1330855541","file3":"1330855532"},"map_files_photo_id_array":[{"photo_id":"1330855541","filename":"file5"},{"photo_id":"1330855525","filename":"file2"},{"photo_id":"1330855537","filename":"file4"},{"photo_id":"1330855522","filename":"file1"},{"photo_id":"1330855517","filename":"file0"},{"photo_id":"1330855532","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330855541":["hashtag1","hashtag2"]},{"1330855517":["hashtag1","hashtag2"]},{"1330855532":["hashtag1","hashtag2"]},{"1330855537":["hashtag1","hashtag2"]},{"1330855522":["hashtag1","hashtag2"]},{"1330855525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330855541, 1330855517, 1330855532, 1330855537, 1330855522, 1330855525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.44612383842468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:03:21.989624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_02_518342_0000.jpg', '/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_02_518342_0001.jpg', '/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_02_518342_0002.jpg', '/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_02_518342_0003.jpg', '/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_02_657379_0000.jpg', '/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_02_657379_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_02_518342_0000.jpg
/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_02_518342_0001.jpg
/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_02_518342_0002.jpg
/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_02_518342_0003.jpg
/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_02_657379_0000.jpg
/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_02_657379_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":["1330855598","1330855586","1330855576","1330855579","1330855573","1330855593"],"photo_ids_order":["1330855573","1330855576","1330855579","1330855586","1330855593","1330855598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85e2f4c6b0c4f7f5779731d3398d817a.jpg","text":"TemporaryFile(/tmp/multipartBody864111819148507709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659079331,"filename":"image_23012025_17_30_02_657379_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/abbd212b4189f9dcf1fe714b34f8c2a8.jpg","text":"TemporaryFile(/tmp/multipartBody3963002204485881404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659079331,"filename":"image_23012025_17_29_02_518342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b94d66bf138773e22441fbf1879d523.jpg","text":"TemporaryFile(/tmp/multipartBody7708765678248532058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659079331,"filename":"image_23012025_17_29_02_518342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8895af8f21ad74bbb3385eff81fd035c.jpg","text":"TemporaryFile(/tmp/multipartBody4373760202229809527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659079331,"filename":"image_23012025_17_29_02_518342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2442c4f28a1b59d425140bb7b64dbd16.jpg","text":"TemporaryFile(/tmp/multipartBody5327969343019141192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659079331,"filename":"image_23012025_17_29_02_518342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/314033e883f15f63bbf2b2c42d024000.jpg","text":"TemporaryFile(/tmp/multipartBody2127900233899185783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659079331,"filename":"image_23012025_17_30_02_657379_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330855579","file1":"1330855576","file0":"1330855573","file4":"1330855593","file5":"1330855598","file3":"1330855586"},"map_files_photo_id_array":[{"photo_id":"1330855598","filename":"file5"},{"photo_id":"1330855579","filename":"file2"},{"photo_id":"1330855593","filename":"file4"},{"photo_id":"1330855576","filename":"file1"},{"photo_id":"1330855573","filename":"file0"},{"photo_id":"1330855586","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330855598":["hashtag1","hashtag2"]},{"1330855586":["hashtag1","hashtag2"]},{"1330855576":["hashtag1","hashtag2"]},{"1330855579":["hashtag1","hashtag2"]},{"1330855573":["hashtag1","hashtag2"]},{"1330855593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330855598, 1330855586, 1330855576, 1330855579, 1330855573, 1330855593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.203195095062256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:04:32.135969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_02_657379_0002.jpg', '/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_02_657379_0003.jpg', '/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_0000.jpg', '/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_0001.jpg', '/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_0002.jpg', '/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_02_657379_0002.jpg
/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_02_657379_0003.jpg
/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_0000.jpg
/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_0001.jpg
/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_0002.jpg
/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_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.278379201889038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:04:52.143149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_02_657379_0002.jpg', '/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_02_657379_0003.jpg', '/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_0000.jpg', '/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_0001.jpg', '/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_0002.jpg', '/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_02_657379_0002.jpg
/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_02_657379_0003.jpg
/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_0000.jpg
/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_0001.jpg
/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_0002.jpg
/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_02_835569_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":["1330855737","1330855719","1330855733","1330855715","1330855709","1330855693"],"photo_ids_order":["1330855693","1330855709","1330855715","1330855719","1330855733","1330855737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/acfc102bfdf07ecab2f3cca8f076f561.jpg","text":"TemporaryFile(/tmp/multipartBody2931309811050022412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659168813,"filename":"image_23012025_17_31_02_835569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44f3ebb959e4c095ba8036f83ef7c016.jpg","text":"TemporaryFile(/tmp/multipartBody6474014371344953714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659168813,"filename":"image_23012025_17_31_02_835569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d7614978a99319cbcfcc7562921423d.jpg","text":"TemporaryFile(/tmp/multipartBody2926661875845559932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659168813,"filename":"image_23012025_17_31_02_835569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff9870f8c0fe1ece07cc99d5eb739eb9.jpg","text":"TemporaryFile(/tmp/multipartBody8569467597290205279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659168813,"filename":"image_23012025_17_31_02_835569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5b36b5e61b0554c3bd2ec0c92e4d35b.jpg","text":"TemporaryFile(/tmp/multipartBody536200391869853146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659168813,"filename":"image_23012025_17_30_02_657379_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b55e25cdb45f3716bec9640a015a79f7.jpg","text":"TemporaryFile(/tmp/multipartBody8892014905765894740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659168813,"filename":"image_23012025_17_30_02_657379_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330855715","file1":"1330855709","file0":"1330855693","file4":"1330855733","file5":"1330855737","file3":"1330855719"},"map_files_photo_id_array":[{"photo_id":"1330855737","filename":"file5"},{"photo_id":"1330855715","filename":"file2"},{"photo_id":"1330855733","filename":"file4"},{"photo_id":"1330855709","filename":"file1"},{"photo_id":"1330855693","filename":"file0"},{"photo_id":"1330855719","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330855737":["hashtag1","hashtag2"]},{"1330855719":["hashtag1","hashtag2"]},{"1330855733":["hashtag1","hashtag2"]},{"1330855715":["hashtag1","hashtag2"]},{"1330855709":["hashtag1","hashtag2"]},{"1330855693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330855737, 1330855719, 1330855733, 1330855715, 1330855709, 1330855693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.863194704055786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:05:52.363670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_03_055026_0000.jpg', '/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_03_055026_0001.jpg', '/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_03_055026_0002.jpg', '/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_03_055026_0003.jpg', '/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_02_252836_0000.jpg', '/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_02_252836_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_03_055026_0000.jpg
/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_03_055026_0001.jpg
/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_03_055026_0002.jpg
/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_03_055026_0003.jpg
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_02_252836_0000.jpg
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_02_252836_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":["1330855920","1330855895","1330855904","1330855915","1330855909","1330855899"],"photo_ids_order":["1330855895","1330855899","1330855904","1330855909","1330855915","1330855920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23503c4c4a5950487fd4d40244c92047.jpg","text":"TemporaryFile(/tmp/multipartBody4154070102865255621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659228768,"filename":"image_23012025_17_33_02_252836_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2208be077b8087b0ef4db3c01ae9b0f8.jpg","text":"TemporaryFile(/tmp/multipartBody4495367179337228595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659228768,"filename":"image_23012025_17_32_03_055026_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79959444739b6eb6b2a55a1bd689386c.jpg","text":"TemporaryFile(/tmp/multipartBody7340470955039865237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659228768,"filename":"image_23012025_17_32_03_055026_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/119388cf360915ab8fe691dfa980c8eb.jpg","text":"TemporaryFile(/tmp/multipartBody2036180009451933414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659228768,"filename":"image_23012025_17_33_02_252836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c011b4b5d312ede02c782f164824bca3.jpg","text":"TemporaryFile(/tmp/multipartBody7912315660438642253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659228768,"filename":"image_23012025_17_32_03_055026_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3f167439646031d2298c915fb7c4852.jpg","text":"TemporaryFile(/tmp/multipartBody3897809352379923859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659228768,"filename":"image_23012025_17_32_03_055026_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330855904","file1":"1330855899","file0":"1330855895","file4":"1330855915","file5":"1330855920","file3":"1330855909"},"map_files_photo_id_array":[{"photo_id":"1330855920","filename":"file5"},{"photo_id":"1330855904","filename":"file2"},{"photo_id":"1330855915","filename":"file4"},{"photo_id":"1330855899","filename":"file1"},{"photo_id":"1330855895","filename":"file0"},{"photo_id":"1330855909","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330855920":["hashtag1","hashtag2"]},{"1330855895":["hashtag1","hashtag2"]},{"1330855904":["hashtag1","hashtag2"]},{"1330855915":["hashtag1","hashtag2"]},{"1330855909":["hashtag1","hashtag2"]},{"1330855899":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330855920, 1330855895, 1330855904, 1330855915, 1330855909, 1330855899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.418654441833496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:06:52.497417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_02_252836_0002.jpg', '/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_02_252836_0003.jpg', '/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_02_450654_0000.jpg', '/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_02_450654_0001.jpg', '/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_02_450654_0002.jpg', '/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_02_450654_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_02_252836_0002.jpg
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_02_252836_0003.jpg
/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_02_450654_0000.jpg
/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_02_450654_0001.jpg
/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_02_450654_0002.jpg
/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_02_450654_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":["1330855965","1330855993","1330855987","1330855975","1330855969","1330856002"],"photo_ids_order":["1330855965","1330855969","1330855975","1330855987","1330855993","1330856002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc7de7d6b70a369f0688e817140e5c89.jpg","text":"TemporaryFile(/tmp/multipartBody8546370590953084983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659289375,"filename":"image_23012025_17_33_02_252836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79f029885146e45ddbc0296fa72acbff.jpg","text":"TemporaryFile(/tmp/multipartBody3538353460347668987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659289375,"filename":"image_23012025_17_34_02_450654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb5851d54f4992220f00156ed8cad223.jpg","text":"TemporaryFile(/tmp/multipartBody421760968688756137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659289375,"filename":"image_23012025_17_34_02_450654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fed4f91969cd8dfe9f0ab7e65abfb5d.jpg","text":"TemporaryFile(/tmp/multipartBody8275686843053213022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659289375,"filename":"image_23012025_17_34_02_450654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37ff45caaf6e325274620b77b0f9aa37.jpg","text":"TemporaryFile(/tmp/multipartBody6918596828142580082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659289375,"filename":"image_23012025_17_33_02_252836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aeea7c6a8482fcb075fcfae9ab4cfd51.jpg","text":"TemporaryFile(/tmp/multipartBody6140563391671126245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659289375,"filename":"image_23012025_17_34_02_450654_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330855975","file1":"1330855969","file0":"1330855965","file4":"1330855993","file5":"1330856002","file3":"1330855987"},"map_files_photo_id_array":[{"photo_id":"1330856002","filename":"file5"},{"photo_id":"1330855975","filename":"file2"},{"photo_id":"1330855993","filename":"file4"},{"photo_id":"1330855969","filename":"file1"},{"photo_id":"1330855965","filename":"file0"},{"photo_id":"1330855987","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330855965":["hashtag1","hashtag2"]},{"1330855993":["hashtag1","hashtag2"]},{"1330855987":["hashtag1","hashtag2"]},{"1330855975":["hashtag1","hashtag2"]},{"1330855969":["hashtag1","hashtag2"]},{"1330856002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330855965, 1330855993, 1330855987, 1330855975, 1330855969, 1330856002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.08455991744995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:07:52.640813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_02_619577_0000.jpg', '/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_02_619577_0001.jpg', '/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_02_619577_0002.jpg', '/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_02_619577_0003.jpg', '/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_02_666339_0000.jpg', '/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_02_666339_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_02_619577_0000.jpg
/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_02_619577_0001.jpg
/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_02_619577_0002.jpg
/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_02_619577_0003.jpg
/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_02_666339_0000.jpg
/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_02_666339_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":["1330856876","1330856861","1330856872","1330856866","1330856842","1330856623"],"photo_ids_order":["1330856623","1330856842","1330856861","1330856866","1330856872","1330856876"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d96b1ded62fa8f6360854277d866327e.jpg","text":"TemporaryFile(/tmp/multipartBody7299593000758115314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659349903,"filename":"image_23012025_17_36_02_666339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09204dd9b30c8110121d4a6f36efd286.jpg","text":"TemporaryFile(/tmp/multipartBody3963957522278925544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659349903,"filename":"image_23012025_17_35_02_619577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f41fc946ad42a3f514a61eab852d9a27.jpg","text":"TemporaryFile(/tmp/multipartBody7362047436796201099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659349903,"filename":"image_23012025_17_36_02_666339_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/515ec56ed11a40f2af6d1abb7f65769c.jpg","text":"TemporaryFile(/tmp/multipartBody601345191029322122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659349903,"filename":"image_23012025_17_35_02_619577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47c55a6db5b363c8c1cb2a873c04f985.jpg","text":"TemporaryFile(/tmp/multipartBody2606772240618294206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659349903,"filename":"image_23012025_17_35_02_619577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc9e95b02df00950bbaa2ada7775f1b5.jpg","text":"TemporaryFile(/tmp/multipartBody3492571972247505550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659349903,"filename":"image_23012025_17_35_02_619577_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330856861","file1":"1330856842","file0":"1330856623","file4":"1330856872","file5":"1330856876","file3":"1330856866"},"map_files_photo_id_array":[{"photo_id":"1330856876","filename":"file5"},{"photo_id":"1330856861","filename":"file2"},{"photo_id":"1330856872","filename":"file4"},{"photo_id":"1330856842","filename":"file1"},{"photo_id":"1330856623","filename":"file0"},{"photo_id":"1330856866","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330856876":["hashtag1","hashtag2"]},{"1330856861":["hashtag1","hashtag2"]},{"1330856872":["hashtag1","hashtag2"]},{"1330856866":["hashtag1","hashtag2"]},{"1330856842":["hashtag1","hashtag2"]},{"1330856623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330856876, 1330856861, 1330856872, 1330856866, 1330856842, 1330856623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.12258815765381 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:08:51.791251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_02_666339_0002.jpg', '/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_02_666339_0003.jpg', '/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_02_848226_0000.jpg', '/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_02_848226_0001.jpg', '/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_02_848226_0002.jpg', '/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_02_848226_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_02_666339_0002.jpg
/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_02_666339_0003.jpg
/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_02_848226_0000.jpg
/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_02_848226_0001.jpg
/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_02_848226_0002.jpg
/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_02_848226_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":["1330856918","1330856909","1330856914","1330857174","1330856902","1330857144"],"photo_ids_order":["1330856902","1330856909","1330856914","1330856918","1330857144","1330857174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ca1dd5057dae9c074a6d1226aa34832.jpg","text":"TemporaryFile(/tmp/multipartBody5734941153528380687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659408449,"filename":"image_23012025_17_37_02_848226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c374b9d9d1cf5534adf7c2e7ec71747d.jpg","text":"TemporaryFile(/tmp/multipartBody6393476745766919252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659408449,"filename":"image_23012025_17_36_02_666339_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d47dbcf4ddad639f2302f9428cc84fb9.jpg","text":"TemporaryFile(/tmp/multipartBody3406700966233221239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659408449,"filename":"image_23012025_17_37_02_848226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/085e023d2881491b2cf2d0e0ce416193.jpg","text":"TemporaryFile(/tmp/multipartBody7198261176902500076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659408449,"filename":"image_23012025_17_37_02_848226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d41491f9b2dd12fff4937d142811233.jpg","text":"TemporaryFile(/tmp/multipartBody6433060271307254939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659408449,"filename":"image_23012025_17_36_02_666339_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb777c5e9a3fb39d0f0f7eff5e2b8a5f.jpg","text":"TemporaryFile(/tmp/multipartBody1674253600342877970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659408449,"filename":"image_23012025_17_37_02_848226_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330856914","file1":"1330856909","file0":"1330856902","file4":"1330857144","file5":"1330857174","file3":"1330856918"},"map_files_photo_id_array":[{"photo_id":"1330857174","filename":"file5"},{"photo_id":"1330856914","filename":"file2"},{"photo_id":"1330857144","filename":"file4"},{"photo_id":"1330856909","filename":"file1"},{"photo_id":"1330856902","filename":"file0"},{"photo_id":"1330856918","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330856918":["hashtag1","hashtag2"]},{"1330856909":["hashtag1","hashtag2"]},{"1330856914":["hashtag1","hashtag2"]},{"1330857174":["hashtag1","hashtag2"]},{"1330856902":["hashtag1","hashtag2"]},{"1330857144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330856918, 1330856909, 1330856914, 1330857174, 1330856902, 1330857144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.88511896133423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:09:51.981340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0000.jpg', '/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0001.jpg', '/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0002.jpg', '/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0003.jpg', '/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_02_556222_0000.jpg', '/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_02_556222_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0000.jpg
/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0001.jpg
/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0002.jpg
/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0003.jpg
/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_02_556222_0000.jpg
/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_02_556222_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: 16.204853534698486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:10:22.118845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0000.jpg', '/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0001.jpg', '/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0002.jpg', '/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0003.jpg', '/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_02_556222_0000.jpg', '/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_02_556222_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0000.jpg
/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0001.jpg
/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0002.jpg
/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_03_067586_0003.jpg
/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_02_556222_0000.jpg
/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_02_556222_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":["1330857286","1330857279","1330857273","1330857282","1330857276","1330857270"],"photo_ids_order":["1330857270","1330857273","1330857276","1330857279","1330857282","1330857286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c70a94d39ded36494af436663464ff2d.jpg","text":"TemporaryFile(/tmp/multipartBody8126285902312681563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659498757,"filename":"image_23012025_17_39_02_556222_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3d5ca5bae69b364df0da2d38de97be4.jpg","text":"TemporaryFile(/tmp/multipartBody6771422872076370634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659498757,"filename":"image_23012025_17_38_03_067586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ec417f0a9d1f63073470a093249d76f.jpg","text":"TemporaryFile(/tmp/multipartBody7626733403685390975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659498757,"filename":"image_23012025_17_38_03_067586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a06630b308707f5aa290ac78ad1388b.jpg","text":"TemporaryFile(/tmp/multipartBody4617516404099390954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659498757,"filename":"image_23012025_17_39_02_556222_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67bf9b406fbef912fcfcc11f5b9064ac.jpg","text":"TemporaryFile(/tmp/multipartBody946390984317980015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659498757,"filename":"image_23012025_17_38_03_067586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7a4f9747eebca067bd545d76c437c6d.jpg","text":"TemporaryFile(/tmp/multipartBody3954500140171093727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659498757,"filename":"image_23012025_17_38_03_067586_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330857276","file1":"1330857273","file0":"1330857270","file4":"1330857282","file5":"1330857286","file3":"1330857279"},"map_files_photo_id_array":[{"photo_id":"1330857286","filename":"file5"},{"photo_id":"1330857276","filename":"file2"},{"photo_id":"1330857282","filename":"file4"},{"photo_id":"1330857273","filename":"file1"},{"photo_id":"1330857270","filename":"file0"},{"photo_id":"1330857279","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330857286":["hashtag1","hashtag2"]},{"1330857279":["hashtag1","hashtag2"]},{"1330857273":["hashtag1","hashtag2"]},{"1330857282":["hashtag1","hashtag2"]},{"1330857276":["hashtag1","hashtag2"]},{"1330857270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330857286, 1330857279, 1330857273, 1330857282, 1330857276, 1330857270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.86240339279175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:11:22.343291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_02_556222_0002.jpg', '/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_02_556222_0003.jpg', '/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_02_766683_0000.jpg', '/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_02_766683_0001.jpg', '/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_02_766683_0002.jpg', '/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_02_766683_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_02_556222_0002.jpg
/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_02_556222_0003.jpg
/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_02_766683_0000.jpg
/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_02_766683_0001.jpg
/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_02_766683_0002.jpg
/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_02_766683_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":["1330857338","1330857373","1330857355","1330857379","1330857352","1330857342"],"photo_ids_order":["1330857338","1330857342","1330857352","1330857355","1330857373","1330857379"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93b4e39431d9aeaadf2615d30d93ebdb.jpg","text":"TemporaryFile(/tmp/multipartBody4034340922431306463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659559214,"filename":"image_23012025_17_39_02_556222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da855d924ceeee0c0c4037ded091c74d.jpg","text":"TemporaryFile(/tmp/multipartBody1851428079233239245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659559214,"filename":"image_23012025_17_40_02_766683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/295e60fb2330af953b05854e0e099375.jpg","text":"TemporaryFile(/tmp/multipartBody2124777739623166250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659559214,"filename":"image_23012025_17_40_02_766683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/133fc793c4054fd13745ff57361ad2e1.jpg","text":"TemporaryFile(/tmp/multipartBody3223229907666376014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659559214,"filename":"image_23012025_17_40_02_766683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f22b4679ef053bda87fd69f93c4fa19a.jpg","text":"TemporaryFile(/tmp/multipartBody6269735089605420336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659559214,"filename":"image_23012025_17_40_02_766683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea3ce14fc8e82e11607c464abe21341e.jpg","text":"TemporaryFile(/tmp/multipartBody8295349547729182452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659559214,"filename":"image_23012025_17_39_02_556222_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330857352","file1":"1330857342","file0":"1330857338","file4":"1330857373","file5":"1330857379","file3":"1330857355"},"map_files_photo_id_array":[{"photo_id":"1330857379","filename":"file5"},{"photo_id":"1330857352","filename":"file2"},{"photo_id":"1330857373","filename":"file4"},{"photo_id":"1330857342","filename":"file1"},{"photo_id":"1330857338","filename":"file0"},{"photo_id":"1330857355","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330857338":["hashtag1","hashtag2"]},{"1330857373":["hashtag1","hashtag2"]},{"1330857355":["hashtag1","hashtag2"]},{"1330857379":["hashtag1","hashtag2"]},{"1330857352":["hashtag1","hashtag2"]},{"1330857342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330857338, 1330857373, 1330857355, 1330857379, 1330857352, 1330857342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.688687562942505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:12:22.474392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_02_989981_0000.jpg', '/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_02_989981_0001.jpg', '/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_02_989981_0002.jpg', '/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_02_989981_0003.jpg', '/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_03_201816_0000.jpg', '/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_03_201816_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_02_989981_0000.jpg
/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_02_989981_0001.jpg
/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_02_989981_0002.jpg
/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_02_989981_0003.jpg
/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_03_201816_0000.jpg
/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_03_201816_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":["1330857428","1330857416","1330857451","1330857421","1330857441","1330857435"],"photo_ids_order":["1330857416","1330857421","1330857428","1330857435","1330857441","1330857451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a560b1d479093485c554a250b90235e.jpg","text":"TemporaryFile(/tmp/multipartBody1948125773486104112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659619689,"filename":"image_23012025_17_41_02_989981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3d054cbb1e005207c37badf69d76c4d.jpg","text":"TemporaryFile(/tmp/multipartBody6074066612546192963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659619689,"filename":"image_23012025_17_41_02_989981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb98ce0396c1ec4f6fe85e67e1d4bc0c.jpg","text":"TemporaryFile(/tmp/multipartBody7132264343534314023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659619689,"filename":"image_23012025_17_42_03_201816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0021ed06759fb6fe1273619352677e38.jpg","text":"TemporaryFile(/tmp/multipartBody1825217761180385344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659619689,"filename":"image_23012025_17_41_02_989981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a731cc0ea72c76e940375d313fc28fef.jpg","text":"TemporaryFile(/tmp/multipartBody7143687912602845879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659619689,"filename":"image_23012025_17_42_03_201816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93cf9b356f4a2adfe606b1ef687c4464.jpg","text":"TemporaryFile(/tmp/multipartBody1617196316042481125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659619689,"filename":"image_23012025_17_41_02_989981_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330857428","file1":"1330857421","file0":"1330857416","file4":"1330857441","file5":"1330857451","file3":"1330857435"},"map_files_photo_id_array":[{"photo_id":"1330857451","filename":"file5"},{"photo_id":"1330857428","filename":"file2"},{"photo_id":"1330857441","filename":"file4"},{"photo_id":"1330857421","filename":"file1"},{"photo_id":"1330857416","filename":"file0"},{"photo_id":"1330857435","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330857428":["hashtag1","hashtag2"]},{"1330857416":["hashtag1","hashtag2"]},{"1330857451":["hashtag1","hashtag2"]},{"1330857421":["hashtag1","hashtag2"]},{"1330857441":["hashtag1","hashtag2"]},{"1330857435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330857428, 1330857416, 1330857451, 1330857421, 1330857441, 1330857435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.46842122077942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:13:22.672716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_03_201816_0002.jpg', '/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_03_201816_0003.jpg', '/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_02_235964_0000.jpg', '/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_02_235964_0001.jpg', '/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_02_235964_0002.jpg', '/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_02_235964_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_03_201816_0002.jpg
/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_03_201816_0003.jpg
/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_02_235964_0000.jpg
/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_02_235964_0001.jpg
/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_02_235964_0002.jpg
/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_02_235964_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":["1330857499","1330857481","1330857475","1330857478","1330857492","1330857489"],"photo_ids_order":["1330857475","1330857478","1330857481","1330857489","1330857492","1330857499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6506a9f230dab29ed125685cbdec75ee.jpg","text":"TemporaryFile(/tmp/multipartBody5641758895131022573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659679511,"filename":"image_23012025_17_43_02_235964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2c750a5baf041fc1ef02a91d6cdfae0.jpg","text":"TemporaryFile(/tmp/multipartBody3471059032352428649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659679511,"filename":"image_23012025_17_43_02_235964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83660363679381dcf45907561894d298.jpg","text":"TemporaryFile(/tmp/multipartBody8611545057545170181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659679511,"filename":"image_23012025_17_42_03_201816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c1e704449411bb47debb0692798ac3d.jpg","text":"TemporaryFile(/tmp/multipartBody4414634768483592303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659679511,"filename":"image_23012025_17_42_03_201816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9999cfb61694b38e8a5b28b1a981be58.jpg","text":"TemporaryFile(/tmp/multipartBody3179207912357967780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659679511,"filename":"image_23012025_17_43_02_235964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3fa9ffa1abde734b8ba2946217d2bee4.jpg","text":"TemporaryFile(/tmp/multipartBody154697318135311647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659679511,"filename":"image_23012025_17_43_02_235964_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330857481","file1":"1330857478","file0":"1330857475","file4":"1330857492","file5":"1330857499","file3":"1330857489"},"map_files_photo_id_array":[{"photo_id":"1330857499","filename":"file5"},{"photo_id":"1330857481","filename":"file2"},{"photo_id":"1330857492","filename":"file4"},{"photo_id":"1330857478","filename":"file1"},{"photo_id":"1330857475","filename":"file0"},{"photo_id":"1330857489","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330857499":["hashtag1","hashtag2"]},{"1330857481":["hashtag1","hashtag2"]},{"1330857475":["hashtag1","hashtag2"]},{"1330857478":["hashtag1","hashtag2"]},{"1330857492":["hashtag1","hashtag2"]},{"1330857489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330857499, 1330857481, 1330857475, 1330857478, 1330857492, 1330857489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.03323316574097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:14:21.917208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_02_438246_0000.jpg', '/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_02_438246_0001.jpg', '/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_02_438246_0002.jpg', '/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_02_438246_0003.jpg', '/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_02_677322_0000.jpg', '/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_02_677322_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_02_438246_0000.jpg
/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_02_438246_0001.jpg
/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_02_438246_0002.jpg
/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_02_438246_0003.jpg
/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_02_677322_0000.jpg
/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_02_677322_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":["1330857560","1330857574","1330857556","1330857570","1330857552","1330857537"],"photo_ids_order":["1330857537","1330857552","1330857556","1330857560","1330857570","1330857574"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad75977aec7fb8441bf5c27f9762fd00.jpg","text":"TemporaryFile(/tmp/multipartBody8790376876865885427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659738710,"filename":"image_23012025_17_44_02_438246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b90c6bda94f5ce6efef4fa8ca9150f48.jpg","text":"TemporaryFile(/tmp/multipartBody698563956136847548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659738710,"filename":"image_23012025_17_45_02_677322_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d66e04436f19ba1de2422bd6630e5fbb.jpg","text":"TemporaryFile(/tmp/multipartBody3294393709674692872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659738710,"filename":"image_23012025_17_44_02_438246_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d3637c637b2fb2be2b1236702355f99.jpg","text":"TemporaryFile(/tmp/multipartBody513124607529387129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659738710,"filename":"image_23012025_17_45_02_677322_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61be898e58a8c30de1b3c2a6192cccba.jpg","text":"TemporaryFile(/tmp/multipartBody3164833545959131940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659738710,"filename":"image_23012025_17_44_02_438246_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df11200c27b65f7368c62a19fd487af1.jpg","text":"TemporaryFile(/tmp/multipartBody673333430674163558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659738710,"filename":"image_23012025_17_44_02_438246_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330857556","file1":"1330857552","file0":"1330857537","file4":"1330857570","file5":"1330857574","file3":"1330857560"},"map_files_photo_id_array":[{"photo_id":"1330857574","filename":"file5"},{"photo_id":"1330857556","filename":"file2"},{"photo_id":"1330857570","filename":"file4"},{"photo_id":"1330857552","filename":"file1"},{"photo_id":"1330857537","filename":"file0"},{"photo_id":"1330857560","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330857560":["hashtag1","hashtag2"]},{"1330857574":["hashtag1","hashtag2"]},{"1330857556":["hashtag1","hashtag2"]},{"1330857570":["hashtag1","hashtag2"]},{"1330857552":["hashtag1","hashtag2"]},{"1330857537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330857560, 1330857574, 1330857556, 1330857570, 1330857552, 1330857537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.662787675857544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:15:22.095797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_02_677322_0002.jpg', '/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_02_677322_0003.jpg', '/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_02_882637_0000.jpg', '/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_02_882637_0001.jpg', '/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_02_882637_0002.jpg', '/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_02_882637_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_02_677322_0002.jpg
/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_02_677322_0003.jpg
/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_02_882637_0000.jpg
/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_02_882637_0001.jpg
/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_02_882637_0002.jpg
/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_02_882637_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":["1330857803","1330857751","1330857754","1330857700","1330857594","1330857732"],"photo_ids_order":["1330857594","1330857700","1330857732","1330857751","1330857754","1330857803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d245cf0bb2f9a7527f697a4d4427e59b.jpg","text":"TemporaryFile(/tmp/multipartBody7725220998816224821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659799075,"filename":"image_23012025_17_46_02_882637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4fa02db451306493fc5fe44f6e328708.jpg","text":"TemporaryFile(/tmp/multipartBody4114534458615621708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659799075,"filename":"image_23012025_17_46_02_882637_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e2ec3e13b229d003531b0a0b3677407.jpg","text":"TemporaryFile(/tmp/multipartBody5396134360435480703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659799075,"filename":"image_23012025_17_46_02_882637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c82e86bfbd832310da38ca9aac819575.jpg","text":"TemporaryFile(/tmp/multipartBody1839989481825851977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659799075,"filename":"image_23012025_17_45_02_677322_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99e7755d3e79a276659ac23fb9b8c3e7.jpg","text":"TemporaryFile(/tmp/multipartBody3356808250040924190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659799075,"filename":"image_23012025_17_45_02_677322_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d92a4c6a9c1edd72a6c4c750c004d45c.jpg","text":"TemporaryFile(/tmp/multipartBody6541408117704329117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659799075,"filename":"image_23012025_17_46_02_882637_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330857732","file1":"1330857700","file0":"1330857594","file4":"1330857754","file5":"1330857803","file3":"1330857751"},"map_files_photo_id_array":[{"photo_id":"1330857803","filename":"file5"},{"photo_id":"1330857732","filename":"file2"},{"photo_id":"1330857754","filename":"file4"},{"photo_id":"1330857700","filename":"file1"},{"photo_id":"1330857594","filename":"file0"},{"photo_id":"1330857751","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330857803":["hashtag1","hashtag2"]},{"1330857751":["hashtag1","hashtag2"]},{"1330857754":["hashtag1","hashtag2"]},{"1330857700":["hashtag1","hashtag2"]},{"1330857594":["hashtag1","hashtag2"]},{"1330857732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330857803, 1330857751, 1330857754, 1330857700, 1330857594, 1330857732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.51325559616089 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:16:22.237713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_03_021183_0000.jpg', '/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_03_021183_0001.jpg', '/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_03_021183_0002.jpg', '/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_03_021183_0003.jpg', '/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_02_201817_0000.jpg', '/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_02_201817_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_03_021183_0000.jpg
/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_03_021183_0001.jpg
/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_03_021183_0002.jpg
/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_03_021183_0003.jpg
/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_02_201817_0000.jpg
/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_02_201817_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":["1330857956","1330857929","1330857999","1330857922","1330857969","1330857918"],"photo_ids_order":["1330857918","1330857922","1330857929","1330857956","1330857969","1330857999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/091a7e7eb18c7351d818f8bd94fd0813.jpg","text":"TemporaryFile(/tmp/multipartBody8792273099671615697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659859521,"filename":"image_23012025_17_47_03_021183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3a592aa7624d1c3097c4609cd7009ad.jpg","text":"TemporaryFile(/tmp/multipartBody7507689922561713343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659859521,"filename":"image_23012025_17_47_03_021183_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1e2162a6b3a23f8abc86ed3393d5f9e.jpg","text":"TemporaryFile(/tmp/multipartBody6434312983499482539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659859521,"filename":"image_23012025_17_48_02_201817_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4dd07bf5d1b72254e7b5919631469fb0.jpg","text":"TemporaryFile(/tmp/multipartBody6585649996927896180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659859521,"filename":"image_23012025_17_47_03_021183_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/789e25f79ec74248dd99bdf4ce7e16ac.jpg","text":"TemporaryFile(/tmp/multipartBody2708859016202927223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659859521,"filename":"image_23012025_17_48_02_201817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f95a64d9f37f3d8d31938985615ba12.jpg","text":"TemporaryFile(/tmp/multipartBody159791996723649617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659859521,"filename":"image_23012025_17_47_03_021183_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330857929","file1":"1330857922","file0":"1330857918","file4":"1330857969","file5":"1330857999","file3":"1330857956"},"map_files_photo_id_array":[{"photo_id":"1330857999","filename":"file5"},{"photo_id":"1330857929","filename":"file2"},{"photo_id":"1330857969","filename":"file4"},{"photo_id":"1330857922","filename":"file1"},{"photo_id":"1330857918","filename":"file0"},{"photo_id":"1330857956","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330857956":["hashtag1","hashtag2"]},{"1330857929":["hashtag1","hashtag2"]},{"1330857999":["hashtag1","hashtag2"]},{"1330857922":["hashtag1","hashtag2"]},{"1330857969":["hashtag1","hashtag2"]},{"1330857918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330857956, 1330857929, 1330857999, 1330857922, 1330857969, 1330857918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.57734298706055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:17:22.475733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_02_201817_0002.jpg', '/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_02_201817_0003.jpg', '/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_02_380418_0000.jpg', '/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_02_380418_0001.jpg', '/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_02_380418_0002.jpg', '/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_02_380418_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_02_201817_0002.jpg
/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_02_201817_0003.jpg
/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_02_380418_0000.jpg
/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_02_380418_0001.jpg
/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_02_380418_0002.jpg
/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_02_380418_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":["1330858024","1330858147","1330858033","1330858152","1330858050","1330858157"],"photo_ids_order":["1330858024","1330858033","1330858050","1330858147","1330858152","1330858157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1167acd93899a5396cab430c3e2152c.jpg","text":"TemporaryFile(/tmp/multipartBody6520097275277102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659918819,"filename":"image_23012025_17_48_02_201817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78a7ae5c59eda9ea2c1f5f438a242977.jpg","text":"TemporaryFile(/tmp/multipartBody3184618307226726240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659918819,"filename":"image_23012025_17_49_02_380418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c39e036c9cb082f434d7fd6fbdb21c74.jpg","text":"TemporaryFile(/tmp/multipartBody8624675321221077287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659918819,"filename":"image_23012025_17_48_02_201817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e5de99e125be71e517474c6b4e971ed.jpg","text":"TemporaryFile(/tmp/multipartBody8157007434201258385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659918819,"filename":"image_23012025_17_49_02_380418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c67a5b2a29709c15d403061495380c80.jpg","text":"TemporaryFile(/tmp/multipartBody2420859345067469106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659918819,"filename":"image_23012025_17_49_02_380418_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99584eeed9ef113e6acada98917b6cdc.jpg","text":"TemporaryFile(/tmp/multipartBody322083192234105675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659918819,"filename":"image_23012025_17_49_02_380418_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330858050","file1":"1330858033","file0":"1330858024","file4":"1330858152","file5":"1330858157","file3":"1330858147"},"map_files_photo_id_array":[{"photo_id":"1330858157","filename":"file5"},{"photo_id":"1330858050","filename":"file2"},{"photo_id":"1330858152","filename":"file4"},{"photo_id":"1330858033","filename":"file1"},{"photo_id":"1330858024","filename":"file0"},{"photo_id":"1330858147","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330858024":["hashtag1","hashtag2"]},{"1330858147":["hashtag1","hashtag2"]},{"1330858033":["hashtag1","hashtag2"]},{"1330858152":["hashtag1","hashtag2"]},{"1330858050":["hashtag1","hashtag2"]},{"1330858157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330858024, 1330858147, 1330858033, 1330858152, 1330858050, 1330858157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.08859395980835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:18:22.598543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_02_512057_0000.jpg', '/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_02_512057_0001.jpg', '/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_02_512057_0002.jpg', '/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_02_512057_0003.jpg', '/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_02_738007_0000.jpg', '/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_02_738007_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_02_512057_0000.jpg
/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_02_512057_0001.jpg
/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_02_512057_0002.jpg
/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_02_512057_0003.jpg
/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_02_738007_0000.jpg
/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_02_738007_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":["1330858261","1330858264","1330858257","1330858292","1330858286","1330858289"],"photo_ids_order":["1330858257","1330858261","1330858264","1330858286","1330858289","1330858292"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4693f240e788fe1f4947abd73bfaccd8.jpg","text":"TemporaryFile(/tmp/multipartBody6581492975212021279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659979705,"filename":"image_23012025_17_50_02_512057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6aaeef41f07adfde7fcf911e2f8ff3e.jpg","text":"TemporaryFile(/tmp/multipartBody369165769635476100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659979705,"filename":"image_23012025_17_50_02_512057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/841e98ebd14a227575ef3b30def19999.jpg","text":"TemporaryFile(/tmp/multipartBody2248022251395665654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659979705,"filename":"image_23012025_17_50_02_512057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26ec01049eec8a3a3272b37551390ba3.jpg","text":"TemporaryFile(/tmp/multipartBody6551594936159897343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659979705,"filename":"image_23012025_17_51_02_738007_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11e13326eac87007f90233e412bfa8d7.jpg","text":"TemporaryFile(/tmp/multipartBody5295564104351128626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659979705,"filename":"image_23012025_17_50_02_512057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/365a409b20c96af187577ccbf759d6e0.jpg","text":"TemporaryFile(/tmp/multipartBody9191558739254707752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659979705,"filename":"image_23012025_17_51_02_738007_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330858264","file1":"1330858261","file0":"1330858257","file4":"1330858289","file5":"1330858292","file3":"1330858286"},"map_files_photo_id_array":[{"photo_id":"1330858292","filename":"file5"},{"photo_id":"1330858264","filename":"file2"},{"photo_id":"1330858289","filename":"file4"},{"photo_id":"1330858261","filename":"file1"},{"photo_id":"1330858257","filename":"file0"},{"photo_id":"1330858286","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330858261":["hashtag1","hashtag2"]},{"1330858264":["hashtag1","hashtag2"]},{"1330858257":["hashtag1","hashtag2"]},{"1330858292":["hashtag1","hashtag2"]},{"1330858286":["hashtag1","hashtag2"]},{"1330858289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330858261, 1330858264, 1330858257, 1330858292, 1330858286, 1330858289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.24504566192627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:19:21.789802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_02_738007_0002.jpg', '/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_02_738007_0003.jpg', '/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_02_843267_0000.jpg', '/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_02_843267_0001.jpg', '/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_02_843267_0002.jpg', '/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_02_843267_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_02_738007_0002.jpg
/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_02_738007_0003.jpg
/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_02_843267_0000.jpg
/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_02_843267_0001.jpg
/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_02_843267_0002.jpg
/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_02_843267_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":["1330858325","1330858319","1330858339","1330858312","1330858349","1330858343"],"photo_ids_order":["1330858312","1330858319","1330858325","1330858339","1330858343","1330858349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a72eb28b67015a5ee46902ccd0e6e832.jpg","text":"TemporaryFile(/tmp/multipartBody611850419388307452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660038505,"filename":"image_23012025_17_52_02_843267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1bd0864cbae720c8fdcad5884376aa76.jpg","text":"TemporaryFile(/tmp/multipartBody3333031971133449021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660038505,"filename":"image_23012025_17_51_02_738007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/415bcbd573d2af649a29856360915cc1.jpg","text":"TemporaryFile(/tmp/multipartBody5675279831013990536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660038505,"filename":"image_23012025_17_52_02_843267_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b068aa1a6ffa9d19891aae201d9b2c9c.jpg","text":"TemporaryFile(/tmp/multipartBody7900700483325541623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660038505,"filename":"image_23012025_17_51_02_738007_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ded78aa0a871e335f46560f623f9d073.jpg","text":"TemporaryFile(/tmp/multipartBody8603694046296161073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660038505,"filename":"image_23012025_17_52_02_843267_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2fe3767d0b046be1422015fa137a6647.jpg","text":"TemporaryFile(/tmp/multipartBody2804584842828047340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660038505,"filename":"image_23012025_17_52_02_843267_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330858325","file1":"1330858319","file0":"1330858312","file4":"1330858343","file5":"1330858349","file3":"1330858339"},"map_files_photo_id_array":[{"photo_id":"1330858349","filename":"file5"},{"photo_id":"1330858325","filename":"file2"},{"photo_id":"1330858343","filename":"file4"},{"photo_id":"1330858319","filename":"file1"},{"photo_id":"1330858312","filename":"file0"},{"photo_id":"1330858339","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330858325":["hashtag1","hashtag2"]},{"1330858319":["hashtag1","hashtag2"]},{"1330858339":["hashtag1","hashtag2"]},{"1330858312":["hashtag1","hashtag2"]},{"1330858349":["hashtag1","hashtag2"]},{"1330858343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330858325, 1330858319, 1330858339, 1330858312, 1330858349, 1330858343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.01371955871582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:20:22.046578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_02_953583_0000.jpg', '/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_02_953583_0001.jpg', '/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_02_953583_0002.jpg', '/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_02_953583_0003.jpg', '/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_02_173000_0000.jpg', '/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_02_173000_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_02_953583_0000.jpg
/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_02_953583_0001.jpg
/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_02_953583_0002.jpg
/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_02_953583_0003.jpg
/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_02_173000_0000.jpg
/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_02_173000_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":["1330858471","1330858447","1330858441","1330858452","1330858437","1330858367"],"photo_ids_order":["1330858367","1330858437","1330858441","1330858447","1330858452","1330858471"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bb4dadf119b00f4c0a5a3bc645a5b8d.jpg","text":"TemporaryFile(/tmp/multipartBody5396290291817125145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660098761,"filename":"image_23012025_17_54_02_173000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a10b3f5a28a421962d1dfea34e4275a8.jpg","text":"TemporaryFile(/tmp/multipartBody5384066158104898747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660098761,"filename":"image_23012025_17_53_02_953583_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc5a76a8b4361fe451f3c8c7b557599e.jpg","text":"TemporaryFile(/tmp/multipartBody9083998054559903644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660098761,"filename":"image_23012025_17_53_02_953583_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6dc1bf41ccf8190a001faf2d732609de.jpg","text":"TemporaryFile(/tmp/multipartBody3403980059455984836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660098761,"filename":"image_23012025_17_54_02_173000_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31c0bf083ec45e6e568bd7c6cb4b39a4.jpg","text":"TemporaryFile(/tmp/multipartBody8184347993829820166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660098761,"filename":"image_23012025_17_53_02_953583_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eaeb3110244bd0b8b713673e4ebb5c8b.jpg","text":"TemporaryFile(/tmp/multipartBody46882257118719369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660098761,"filename":"image_23012025_17_53_02_953583_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330858441","file1":"1330858437","file0":"1330858367","file4":"1330858452","file5":"1330858471","file3":"1330858447"},"map_files_photo_id_array":[{"photo_id":"1330858471","filename":"file5"},{"photo_id":"1330858441","filename":"file2"},{"photo_id":"1330858452","filename":"file4"},{"photo_id":"1330858437","filename":"file1"},{"photo_id":"1330858367","filename":"file0"},{"photo_id":"1330858447","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330858471":["hashtag1","hashtag2"]},{"1330858447":["hashtag1","hashtag2"]},{"1330858441":["hashtag1","hashtag2"]},{"1330858452":["hashtag1","hashtag2"]},{"1330858437":["hashtag1","hashtag2"]},{"1330858367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330858471, 1330858447, 1330858441, 1330858452, 1330858437, 1330858367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.488529205322266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:21:22.188291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_02_173000_0002.jpg', '/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_02_173000_0003.jpg', '/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_02_353552_0000.jpg', '/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_02_353552_0001.jpg', '/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_02_353552_0002.jpg', '/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_02_353552_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_02_173000_0002.jpg
/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_02_173000_0003.jpg
/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_02_353552_0000.jpg
/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_02_353552_0001.jpg
/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_02_353552_0002.jpg
/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_02_353552_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":["1330858495","1330858508","1330858549","1330858542","1330858518","1330858490"],"photo_ids_order":["1330858490","1330858495","1330858508","1330858518","1330858542","1330858549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4774014c811b021a4929b16f2c498062.jpg","text":"TemporaryFile(/tmp/multipartBody5043397961328255062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660159171,"filename":"image_23012025_17_54_02_173000_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f49c4ef1cae11b5e55c9d270e7efbdc.jpg","text":"TemporaryFile(/tmp/multipartBody4186761432516628636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660159171,"filename":"image_23012025_17_55_02_353552_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbeb2473258813c985d3a52c447ccaf2.jpg","text":"TemporaryFile(/tmp/multipartBody2929981543824985544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660159171,"filename":"image_23012025_17_55_02_353552_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc3c680f492520b350ab64bd61648717.jpg","text":"TemporaryFile(/tmp/multipartBody5247291954149274743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660159171,"filename":"image_23012025_17_55_02_353552_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2703e5e52deae8e53f016c37d3415071.jpg","text":"TemporaryFile(/tmp/multipartBody3287296989497017558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660159171,"filename":"image_23012025_17_55_02_353552_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a862d462fa38b798dff10f5d860c5d15.jpg","text":"TemporaryFile(/tmp/multipartBody6162076806885480692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660159171,"filename":"image_23012025_17_54_02_173000_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330858508","file1":"1330858495","file0":"1330858490","file4":"1330858542","file5":"1330858549","file3":"1330858518"},"map_files_photo_id_array":[{"photo_id":"1330858549","filename":"file5"},{"photo_id":"1330858508","filename":"file2"},{"photo_id":"1330858542","filename":"file4"},{"photo_id":"1330858495","filename":"file1"},{"photo_id":"1330858490","filename":"file0"},{"photo_id":"1330858518","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330858495":["hashtag1","hashtag2"]},{"1330858508":["hashtag1","hashtag2"]},{"1330858549":["hashtag1","hashtag2"]},{"1330858542":["hashtag1","hashtag2"]},{"1330858518":["hashtag1","hashtag2"]},{"1330858490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330858495, 1330858508, 1330858549, 1330858542, 1330858518, 1330858490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.815484046936035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:22:22.424968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_02_541641_0000.jpg', '/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_02_541641_0001.jpg', '/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_02_541641_0002.jpg', '/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_02_541641_0003.jpg', '/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_02_841799_0000.jpg', '/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_02_841799_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_02_541641_0000.jpg
/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_02_541641_0001.jpg
/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_02_541641_0002.jpg
/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_02_541641_0003.jpg
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_02_841799_0000.jpg
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_02_841799_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":["1330858631","1330858612","1330858609","1330858590","1330858634","1330858628"],"photo_ids_order":["1330858590","1330858609","1330858612","1330858628","1330858631","1330858634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33e1dd766c429023374df8d7bde3a565.jpg","text":"TemporaryFile(/tmp/multipartBody6004510117209212173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660219303,"filename":"image_23012025_17_57_02_841799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2aa8e2b5b70625ce03358689c4ceb30.jpg","text":"TemporaryFile(/tmp/multipartBody5539651247613387393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660219303,"filename":"image_23012025_17_56_02_541641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f5aa4a965e5e4698e77199b9b23bedc.jpg","text":"TemporaryFile(/tmp/multipartBody2098253546487790458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660219303,"filename":"image_23012025_17_56_02_541641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1eb49019ae218badc1ef9bdcfc46dc1.jpg","text":"TemporaryFile(/tmp/multipartBody346746768980596968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660219303,"filename":"image_23012025_17_56_02_541641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99dccda5363f3048e1b7677768fffd75.jpg","text":"TemporaryFile(/tmp/multipartBody7450648398902269055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660219303,"filename":"image_23012025_17_57_02_841799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d27f55b6e7c6e429bebef75ad07ea140.jpg","text":"TemporaryFile(/tmp/multipartBody496017241758603648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660219303,"filename":"image_23012025_17_56_02_541641_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330858612","file1":"1330858609","file0":"1330858590","file4":"1330858631","file5":"1330858634","file3":"1330858628"},"map_files_photo_id_array":[{"photo_id":"1330858634","filename":"file5"},{"photo_id":"1330858612","filename":"file2"},{"photo_id":"1330858631","filename":"file4"},{"photo_id":"1330858609","filename":"file1"},{"photo_id":"1330858590","filename":"file0"},{"photo_id":"1330858628","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330858631":["hashtag1","hashtag2"]},{"1330858612":["hashtag1","hashtag2"]},{"1330858609":["hashtag1","hashtag2"]},{"1330858590":["hashtag1","hashtag2"]},{"1330858634":["hashtag1","hashtag2"]},{"1330858628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330858631, 1330858612, 1330858609, 1330858590, 1330858634, 1330858628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.46337175369263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:23:32.619598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_02_841799_0002.jpg', '/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_02_841799_0003.jpg', '/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_02_949021_0000.jpg', '/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_02_949021_0001.jpg', '/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_02_949021_0002.jpg', '/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_02_949021_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_02_841799_0002.jpg
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_02_841799_0003.jpg
/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_02_949021_0000.jpg
/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_02_949021_0001.jpg
/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_02_949021_0002.jpg
/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_02_949021_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":["1330858820","1330858755","1330858749","1330858815","1330858719","1330858760"],"photo_ids_order":["1330858719","1330858749","1330858755","1330858760","1330858815","1330858820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9c35e1cc9c98017e8f470655210caef.jpg","text":"TemporaryFile(/tmp/multipartBody4915152604620059452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660289644,"filename":"image_23012025_17_58_02_949021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47081a9fabe5c74fb519bda5f1023e4d.jpg","text":"TemporaryFile(/tmp/multipartBody5308560595890606992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660289644,"filename":"image_23012025_17_58_02_949021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9dab78a10395d88bf85722c98d579e8.jpg","text":"TemporaryFile(/tmp/multipartBody7145579274162026272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660289644,"filename":"image_23012025_17_57_02_841799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da1f6fa7e13410fa86c1ef5e8d8db20e.jpg","text":"TemporaryFile(/tmp/multipartBody5985351797838625417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660289644,"filename":"image_23012025_17_58_02_949021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/321a641b6cec2203d25b3c0dd9194d93.jpg","text":"TemporaryFile(/tmp/multipartBody2796797003668566011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660289644,"filename":"image_23012025_17_57_02_841799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1297d48476ffb4f30a01b1916b02e1c3.jpg","text":"TemporaryFile(/tmp/multipartBody4930327614587036909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660289644,"filename":"image_23012025_17_58_02_949021_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330858755","file1":"1330858749","file0":"1330858719","file4":"1330858815","file5":"1330858820","file3":"1330858760"},"map_files_photo_id_array":[{"photo_id":"1330858820","filename":"file5"},{"photo_id":"1330858755","filename":"file2"},{"photo_id":"1330858815","filename":"file4"},{"photo_id":"1330858749","filename":"file1"},{"photo_id":"1330858719","filename":"file0"},{"photo_id":"1330858760","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330858820":["hashtag1","hashtag2"]},{"1330858755":["hashtag1","hashtag2"]},{"1330858749":["hashtag1","hashtag2"]},{"1330858815":["hashtag1","hashtag2"]},{"1330858719":["hashtag1","hashtag2"]},{"1330858760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330858820, 1330858755, 1330858749, 1330858815, 1330858719, 1330858760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.91804790496826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:24:31.748236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0000.jpg', '/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0001.jpg', '/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0002.jpg', '/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0003.jpg', '/home/pi/Desktop/images/23012025/18/00/image_23012025_18_00_02_259065_0000.jpg', '/home/pi/Desktop/images/23012025/18/00/image_23012025_18_00_02_259065_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0000.jpg
/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0001.jpg
/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0002.jpg
/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0003.jpg
/home/pi/Desktop/images/23012025/18/00/image_23012025_18_00_02_259065_0000.jpg
/home/pi/Desktop/images/23012025/18/00/image_23012025_18_00_02_259065_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.07176661491394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:24:51.740450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0000.jpg', '/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0001.jpg', '/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0002.jpg', '/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0003.jpg', '/home/pi/Desktop/images/23012025/18/00/image_23012025_18_00_02_259065_0000.jpg', '/home/pi/Desktop/images/23012025/18/00/image_23012025_18_00_02_259065_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0000.jpg
/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0001.jpg
/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0002.jpg
/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_02_155535_0003.jpg
/home/pi/Desktop/images/23012025/18/00/image_23012025_18_00_02_259065_0000.jpg
/home/pi/Desktop/images/23012025/18/00/image_23012025_18_00_02_259065_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":["1330858913","1330858924","1330858927","1330858906","1330858920","1330858925"],"photo_ids_order":["1330858906","1330858913","1330858920","1330858924","1330858925","1330858927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d623eab5e05d1f037f7594e6e025c49.jpg","text":"TemporaryFile(/tmp/multipartBody3383140169042418086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660369033,"filename":"image_23012025_17_59_02_155535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cec9013f5e8aa86edec2232b00793069.jpg","text":"TemporaryFile(/tmp/multipartBody6081788820315738412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660369033,"filename":"image_23012025_17_59_02_155535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52a5ad25f71543ec2fe794086033d27e.jpg","text":"TemporaryFile(/tmp/multipartBody7666957101158675827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660369033,"filename":"image_23012025_18_00_02_259065_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6dd4343fe76fbfd5608b98ec28f51a15.jpg","text":"TemporaryFile(/tmp/multipartBody1457485304017239552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660369033,"filename":"image_23012025_17_59_02_155535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57eb590e52f9d70e98d54f14912453f9.jpg","text":"TemporaryFile(/tmp/multipartBody700043314751690465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660369033,"filename":"image_23012025_17_59_02_155535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a0214d0489fe08a7e086dda73fff61e.jpg","text":"TemporaryFile(/tmp/multipartBody1268324856591281607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660369033,"filename":"image_23012025_18_00_02_259065_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330858920","file1":"1330858913","file0":"1330858906","file4":"1330858925","file5":"1330858927","file3":"1330858924"},"map_files_photo_id_array":[{"photo_id":"1330858927","filename":"file5"},{"photo_id":"1330858920","filename":"file2"},{"photo_id":"1330858925","filename":"file4"},{"photo_id":"1330858913","filename":"file1"},{"photo_id":"1330858906","filename":"file0"},{"photo_id":"1330858924","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330858913":["hashtag1","hashtag2"]},{"1330858924":["hashtag1","hashtag2"]},{"1330858927":["hashtag1","hashtag2"]},{"1330858906":["hashtag1","hashtag2"]},{"1330858920":["hashtag1","hashtag2"]},{"1330858925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330858913, 1330858924, 1330858927, 1330858906, 1330858920, 1330858925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.20709228515625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:25:51.887501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/00/image_23012025_18_00_02_259065_0002.jpg', '/home/pi/Desktop/images/23012025/18/00/image_23012025_18_00_02_259065_0003.jpg', '/home/pi/Desktop/images/23012025/18/01/image_23012025_18_01_02_564303_0000.jpg', '/home/pi/Desktop/images/23012025/18/01/image_23012025_18_01_02_564303_0001.jpg', '/home/pi/Desktop/images/23012025/18/01/image_23012025_18_01_02_564303_0002.jpg', '/home/pi/Desktop/images/23012025/18/01/image_23012025_18_01_02_564303_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/00/image_23012025_18_00_02_259065_0002.jpg
/home/pi/Desktop/images/23012025/18/00/image_23012025_18_00_02_259065_0003.jpg
/home/pi/Desktop/images/23012025/18/01/image_23012025_18_01_02_564303_0000.jpg
/home/pi/Desktop/images/23012025/18/01/image_23012025_18_01_02_564303_0001.jpg
/home/pi/Desktop/images/23012025/18/01/image_23012025_18_01_02_564303_0002.jpg
/home/pi/Desktop/images/23012025/18/01/image_23012025_18_01_02_564303_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":["1330858966","1330859008","1330858989","1330858986","1330858980","1330858962"],"photo_ids_order":["1330858962","1330858966","1330858980","1330858986","1330858989","1330859008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80e321716dd3be25a1aa825d51470eca.jpg","text":"TemporaryFile(/tmp/multipartBody6112607178876787550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660428731,"filename":"image_23012025_18_00_02_259065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba17fe012622dbf3598a8b62234b0779.jpg","text":"TemporaryFile(/tmp/multipartBody2261356223437001873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660428731,"filename":"image_23012025_18_01_02_564303_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7db8696db99f756bc6e2f404bcbdbf7.jpg","text":"TemporaryFile(/tmp/multipartBody3944294265634520765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660428731,"filename":"image_23012025_18_01_02_564303_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/028752f24586c1ee48c4a7d376ced0e1.jpg","text":"TemporaryFile(/tmp/multipartBody6159541628130087431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660428731,"filename":"image_23012025_18_01_02_564303_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf90beb8c02848d8ac03eee61ffbaa89.jpg","text":"TemporaryFile(/tmp/multipartBody5969630801180849372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660428731,"filename":"image_23012025_18_01_02_564303_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ec898c3f71c14c105bd025b405ed5ab.jpg","text":"TemporaryFile(/tmp/multipartBody177992925999858678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660428731,"filename":"image_23012025_18_00_02_259065_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330858980","file1":"1330858966","file0":"1330858962","file4":"1330858989","file5":"1330859008","file3":"1330858986"},"map_files_photo_id_array":[{"photo_id":"1330859008","filename":"file5"},{"photo_id":"1330858980","filename":"file2"},{"photo_id":"1330858989","filename":"file4"},{"photo_id":"1330858966","filename":"file1"},{"photo_id":"1330858962","filename":"file0"},{"photo_id":"1330858986","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330858966":["hashtag1","hashtag2"]},{"1330859008":["hashtag1","hashtag2"]},{"1330858989":["hashtag1","hashtag2"]},{"1330858986":["hashtag1","hashtag2"]},{"1330858980":["hashtag1","hashtag2"]},{"1330858962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330858966, 1330859008, 1330858989, 1330858986, 1330858980, 1330858962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.23380374908447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:26:52.090022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_02_742933_0000.jpg', '/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_02_742933_0001.jpg', '/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_02_742933_0002.jpg', '/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_02_742933_0003.jpg', '/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_02_823201_0000.jpg', '/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_02_823201_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_02_742933_0000.jpg
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_02_742933_0001.jpg
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_02_742933_0002.jpg
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_02_742933_0003.jpg
/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_02_823201_0000.jpg
/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_02_823201_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":["1330859179","1330859245","1330859173","1330859236","1330859059","1330859037"],"photo_ids_order":["1330859037","1330859059","1330859173","1330859179","1330859236","1330859245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36a13934ad6bd0a4e78aaf7d739ee970.jpg","text":"TemporaryFile(/tmp/multipartBody1624018291376049535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660488749,"filename":"image_23012025_18_02_02_742933_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3fb5292da440a9d4dfb0e9fe67ad2eb1.jpg","text":"TemporaryFile(/tmp/multipartBody2221558607535846860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660488749,"filename":"image_23012025_18_03_02_823201_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f69035d05b7acff8696cb56a6f7cdb0.jpg","text":"TemporaryFile(/tmp/multipartBody4311181517497284821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660488749,"filename":"image_23012025_18_02_02_742933_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81f44e237a01e17e43d15581e78196ce.jpg","text":"TemporaryFile(/tmp/multipartBody6379047333072019903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660488749,"filename":"image_23012025_18_03_02_823201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc7ba5a3c6e9542186ee3f25ba5db749.jpg","text":"TemporaryFile(/tmp/multipartBody2818685020469909447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660488749,"filename":"image_23012025_18_02_02_742933_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57718f1c971143ea1b1dd557d5950849.jpg","text":"TemporaryFile(/tmp/multipartBody8355010708598501705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660488749,"filename":"image_23012025_18_02_02_742933_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330859173","file1":"1330859059","file0":"1330859037","file4":"1330859236","file5":"1330859245","file3":"1330859179"},"map_files_photo_id_array":[{"photo_id":"1330859245","filename":"file5"},{"photo_id":"1330859173","filename":"file2"},{"photo_id":"1330859236","filename":"file4"},{"photo_id":"1330859059","filename":"file1"},{"photo_id":"1330859037","filename":"file0"},{"photo_id":"1330859179","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330859179":["hashtag1","hashtag2"]},{"1330859245":["hashtag1","hashtag2"]},{"1330859173":["hashtag1","hashtag2"]},{"1330859236":["hashtag1","hashtag2"]},{"1330859059":["hashtag1","hashtag2"]},{"1330859037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330859179, 1330859245, 1330859173, 1330859236, 1330859059, 1330859037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.65356135368347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:27:52.742901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_02_823201_0002.jpg', '/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_02_823201_0003.jpg', '/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_03_027995_0000.jpg', '/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_03_027995_0001.jpg', '/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_03_027995_0002.jpg', '/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_03_027995_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_02_823201_0002.jpg
/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_02_823201_0003.jpg
/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_03_027995_0000.jpg
/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_03_027995_0001.jpg
/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_03_027995_0002.jpg
/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_03_027995_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":["1330859290","1330859275","1330859292","1330859286","1330859279","1330859288"],"photo_ids_order":["1330859275","1330859279","1330859286","1330859288","1330859290","1330859292"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11233ec060ebce2f249a4d3694a3a432.jpg","text":"TemporaryFile(/tmp/multipartBody8246477714642136458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660549381,"filename":"image_23012025_18_04_03_027995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/652409393935ab7dd34c3b91e944bd36.jpg","text":"TemporaryFile(/tmp/multipartBody4032938876387368479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660549381,"filename":"image_23012025_18_03_02_823201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b3a316cf3bf83fe2e20e84ec53f8f14.jpg","text":"TemporaryFile(/tmp/multipartBody6815298249660784474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660549381,"filename":"image_23012025_18_04_03_027995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c82b1b6f24377b58e23fb19d979d123.jpg","text":"TemporaryFile(/tmp/multipartBody7775821004051012738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660549381,"filename":"image_23012025_18_04_03_027995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2dce2b9a838f1872fad134500e260054.jpg","text":"TemporaryFile(/tmp/multipartBody5504250534572588364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660549381,"filename":"image_23012025_18_03_02_823201_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1377b95bfd1cc93acfd19386611cf45f.jpg","text":"TemporaryFile(/tmp/multipartBody2616937657137186037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660549381,"filename":"image_23012025_18_04_03_027995_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330859286","file1":"1330859279","file0":"1330859275","file4":"1330859290","file5":"1330859292","file3":"1330859288"},"map_files_photo_id_array":[{"photo_id":"1330859292","filename":"file5"},{"photo_id":"1330859286","filename":"file2"},{"photo_id":"1330859290","filename":"file4"},{"photo_id":"1330859279","filename":"file1"},{"photo_id":"1330859275","filename":"file0"},{"photo_id":"1330859288","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330859290":["hashtag1","hashtag2"]},{"1330859275":["hashtag1","hashtag2"]},{"1330859292":["hashtag1","hashtag2"]},{"1330859286":["hashtag1","hashtag2"]},{"1330859279":["hashtag1","hashtag2"]},{"1330859288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330859290, 1330859275, 1330859292, 1330859286, 1330859279, 1330859288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.00491261482239 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:28:51.890963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_02_241980_0000.jpg', '/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_02_241980_0001.jpg', '/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_02_241980_0002.jpg', '/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_02_241980_0003.jpg', '/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_02_512695_0000.jpg', '/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_02_512695_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_02_241980_0000.jpg
/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_02_241980_0001.jpg
/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_02_241980_0002.jpg
/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_02_241980_0003.jpg
/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_02_512695_0000.jpg
/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_02_512695_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":["1330859344","1330859378","1330859354","1330859333","1330859339","1330859374"],"photo_ids_order":["1330859333","1330859339","1330859344","1330859354","1330859374","1330859378"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db39de881d91a5825fa59f422856bfaa.jpg","text":"TemporaryFile(/tmp/multipartBody5550405815464069606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660609147,"filename":"image_23012025_18_05_02_241980_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79d37875d28d49a977ef2d150818333d.jpg","text":"TemporaryFile(/tmp/multipartBody1146897552416602038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660609147,"filename":"image_23012025_18_06_02_512695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13a9646cf3e5c6bf7b5b36a0b943b693.jpg","text":"TemporaryFile(/tmp/multipartBody7568523646192087161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660609147,"filename":"image_23012025_18_05_02_241980_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1747242df22a901c41a99fb931f585d6.jpg","text":"TemporaryFile(/tmp/multipartBody4089289131121712297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660609147,"filename":"image_23012025_18_05_02_241980_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c672ddde52147a67f06c2f5f7b29cd2.jpg","text":"TemporaryFile(/tmp/multipartBody8704463572707105112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660609147,"filename":"image_23012025_18_05_02_241980_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6528d8ec0a99955836394e338b79fcc7.jpg","text":"TemporaryFile(/tmp/multipartBody7824935132062061845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660609147,"filename":"image_23012025_18_06_02_512695_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330859344","file1":"1330859339","file0":"1330859333","file4":"1330859374","file5":"1330859378","file3":"1330859354"},"map_files_photo_id_array":[{"photo_id":"1330859378","filename":"file5"},{"photo_id":"1330859344","filename":"file2"},{"photo_id":"1330859374","filename":"file4"},{"photo_id":"1330859339","filename":"file1"},{"photo_id":"1330859333","filename":"file0"},{"photo_id":"1330859354","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330859344":["hashtag1","hashtag2"]},{"1330859378":["hashtag1","hashtag2"]},{"1330859354":["hashtag1","hashtag2"]},{"1330859333":["hashtag1","hashtag2"]},{"1330859339":["hashtag1","hashtag2"]},{"1330859374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330859344, 1330859378, 1330859354, 1330859333, 1330859339, 1330859374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.09569334983826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:29:51.999697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_02_512695_0002.jpg', '/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_02_512695_0003.jpg', '/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_02_612193_0000.jpg', '/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_02_612193_0001.jpg', '/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_02_612193_0002.jpg', '/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_02_612193_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_02_512695_0002.jpg
/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_02_512695_0003.jpg
/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_02_612193_0000.jpg
/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_02_612193_0001.jpg
/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_02_612193_0002.jpg
/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_02_612193_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":["1330859410","1330859404","1330859424","1330859432","1330859429","1330859417"],"photo_ids_order":["1330859404","1330859410","1330859417","1330859424","1330859429","1330859432"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60102b6d6edd5f2ec7cbf0bc5ef80be1.jpg","text":"TemporaryFile(/tmp/multipartBody5622162156850387580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660668883,"filename":"image_23012025_18_06_02_512695_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81d8eeaa77562cd9868dd4ffc93b4519.jpg","text":"TemporaryFile(/tmp/multipartBody7157270278816751102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660668883,"filename":"image_23012025_18_06_02_512695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c4055937f0ba282ccf9f17d8358d361.jpg","text":"TemporaryFile(/tmp/multipartBody5634760501533914944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660668883,"filename":"image_23012025_18_07_02_612193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cbaae32417f0bddb819257817d044107.jpg","text":"TemporaryFile(/tmp/multipartBody6309256791799621025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660668883,"filename":"image_23012025_18_07_02_612193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7c6fc6daf93b249567572921f94cd38.jpg","text":"TemporaryFile(/tmp/multipartBody7483931509490585253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660668883,"filename":"image_23012025_18_07_02_612193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e43381f16604c1dc592945e6bc2bf08.jpg","text":"TemporaryFile(/tmp/multipartBody769129042229463080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660668883,"filename":"image_23012025_18_07_02_612193_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330859417","file1":"1330859410","file0":"1330859404","file4":"1330859429","file5":"1330859432","file3":"1330859424"},"map_files_photo_id_array":[{"photo_id":"1330859432","filename":"file5"},{"photo_id":"1330859417","filename":"file2"},{"photo_id":"1330859429","filename":"file4"},{"photo_id":"1330859410","filename":"file1"},{"photo_id":"1330859404","filename":"file0"},{"photo_id":"1330859424","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330859410":["hashtag1","hashtag2"]},{"1330859404":["hashtag1","hashtag2"]},{"1330859424":["hashtag1","hashtag2"]},{"1330859432":["hashtag1","hashtag2"]},{"1330859429":["hashtag1","hashtag2"]},{"1330859417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330859410, 1330859404, 1330859424, 1330859432, 1330859429, 1330859417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.17265248298645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:30:52.187659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0000.jpg', '/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0001.jpg', '/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0002.jpg', '/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0003.jpg', '/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_02_973960_0000.jpg', '/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_02_973960_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0000.jpg
/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0001.jpg
/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0002.jpg
/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0003.jpg
/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_02_973960_0000.jpg
/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_02_973960_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: 16.144872426986694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:31:22.362223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0000.jpg', '/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0001.jpg', '/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0002.jpg', '/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0003.jpg', '/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_02_973960_0000.jpg', '/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_02_973960_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0000.jpg
/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0001.jpg
/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0002.jpg
/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_02_781479_0003.jpg
/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_02_973960_0000.jpg
/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_02_973960_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":["1330859493","1330859532","1330859483","1330859477","1330859516","1330859501"],"photo_ids_order":["1330859477","1330859483","1330859493","1330859501","1330859516","1330859532"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/591905e1743d484fea22a70b0495fd5e.jpg","text":"TemporaryFile(/tmp/multipartBody6691661056632088859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660758862,"filename":"image_23012025_18_08_02_781479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba3441d12e2869838ef7a8c12342c3c4.jpg","text":"TemporaryFile(/tmp/multipartBody3619851081614838911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660758862,"filename":"image_23012025_18_09_02_973960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc3c6b03aa6174903423e04cec07b0db.jpg","text":"TemporaryFile(/tmp/multipartBody2289066156675141047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660758862,"filename":"image_23012025_18_08_02_781479_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c72e94fde4d4c7a55f976ce5692898f2.jpg","text":"TemporaryFile(/tmp/multipartBody8796862367407364495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660758862,"filename":"image_23012025_18_08_02_781479_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58bc53de7d46456991c3f9fdb0388cf7.jpg","text":"TemporaryFile(/tmp/multipartBody8514531445441191104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660758862,"filename":"image_23012025_18_09_02_973960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f6b8453aa6576c218c0cdd1f80ed756.jpg","text":"TemporaryFile(/tmp/multipartBody795407433189669465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660758862,"filename":"image_23012025_18_08_02_781479_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330859493","file1":"1330859483","file0":"1330859477","file4":"1330859516","file5":"1330859532","file3":"1330859501"},"map_files_photo_id_array":[{"photo_id":"1330859532","filename":"file5"},{"photo_id":"1330859493","filename":"file2"},{"photo_id":"1330859516","filename":"file4"},{"photo_id":"1330859483","filename":"file1"},{"photo_id":"1330859477","filename":"file0"},{"photo_id":"1330859501","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330859493":["hashtag1","hashtag2"]},{"1330859532":["hashtag1","hashtag2"]},{"1330859483":["hashtag1","hashtag2"]},{"1330859477":["hashtag1","hashtag2"]},{"1330859516":["hashtag1","hashtag2"]},{"1330859501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330859493, 1330859532, 1330859483, 1330859477, 1330859516, 1330859501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.51125931739807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:32:22.523214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_02_973960_0002.jpg', '/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_02_973960_0003.jpg', '/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_03_155838_0000.jpg', '/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_03_155838_0001.jpg', '/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_03_155838_0002.jpg', '/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_03_155838_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_02_973960_0002.jpg
/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_02_973960_0003.jpg
/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_03_155838_0000.jpg
/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_03_155838_0001.jpg
/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_03_155838_0002.jpg
/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_03_155838_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":["1330859584","1330859592","1330859595","1330859588","1330859579","1330859599"],"photo_ids_order":["1330859579","1330859584","1330859588","1330859592","1330859595","1330859599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3058357d69a85847b411c9b0e6c0579.jpg","text":"TemporaryFile(/tmp/multipartBody9168078298818500233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660818971,"filename":"image_23012025_18_09_02_973960_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4128d77d76fcb21a234ea12d5b11648c.jpg","text":"TemporaryFile(/tmp/multipartBody7521113389359731784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660818971,"filename":"image_23012025_18_10_03_155838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25546e639b94e5ca2f877f3233d4e196.jpg","text":"TemporaryFile(/tmp/multipartBody7593528191329015492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660818971,"filename":"image_23012025_18_10_03_155838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95129508cce6c5c1cdf58f5ad8ab6576.jpg","text":"TemporaryFile(/tmp/multipartBody5148419370578372820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660818971,"filename":"image_23012025_18_10_03_155838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc3d8a8d635f7bf80c04b05b0d39d5d4.jpg","text":"TemporaryFile(/tmp/multipartBody1322371937859787502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660818971,"filename":"image_23012025_18_09_02_973960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de64651dc5ed31d2c481ccaaf40d2ffa.jpg","text":"TemporaryFile(/tmp/multipartBody5851759297055553205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660818971,"filename":"image_23012025_18_10_03_155838_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330859588","file1":"1330859584","file0":"1330859579","file4":"1330859595","file5":"1330859599","file3":"1330859592"},"map_files_photo_id_array":[{"photo_id":"1330859599","filename":"file5"},{"photo_id":"1330859588","filename":"file2"},{"photo_id":"1330859595","filename":"file4"},{"photo_id":"1330859584","filename":"file1"},{"photo_id":"1330859579","filename":"file0"},{"photo_id":"1330859592","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330859584":["hashtag1","hashtag2"]},{"1330859592":["hashtag1","hashtag2"]},{"1330859595":["hashtag1","hashtag2"]},{"1330859588":["hashtag1","hashtag2"]},{"1330859579":["hashtag1","hashtag2"]},{"1330859599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330859584, 1330859592, 1330859595, 1330859588, 1330859579, 1330859599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.386861085891724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:33:22.695908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_02_309858_0000.jpg', '/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_02_309858_0001.jpg', '/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_02_309858_0002.jpg', '/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_02_309858_0003.jpg', '/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_02_545964_0000.jpg', '/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_02_545964_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_02_309858_0000.jpg
/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_02_309858_0001.jpg
/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_02_309858_0002.jpg
/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_02_309858_0003.jpg
/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_02_545964_0000.jpg
/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_02_545964_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":["1330859656","1330859644","1330859628","1330859651","1330859639","1330859648"],"photo_ids_order":["1330859628","1330859639","1330859644","1330859648","1330859651","1330859656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a21a487b0de985193dc3fedd630913ce.jpg","text":"TemporaryFile(/tmp/multipartBody5752084604418891501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660879804,"filename":"image_23012025_18_12_02_545964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d2856ddfaf41badb1a1d2b65a70aee2.jpg","text":"TemporaryFile(/tmp/multipartBody8651943389689118565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660879804,"filename":"image_23012025_18_11_02_309858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b507383b12c1ff625f79afa69e7ac38.jpg","text":"TemporaryFile(/tmp/multipartBody6127193192273018782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660879804,"filename":"image_23012025_18_11_02_309858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f6e35775642d38474b0a8cc36458b81.jpg","text":"TemporaryFile(/tmp/multipartBody7877404892228660390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660879804,"filename":"image_23012025_18_12_02_545964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bff7230bf0338a4d7c881cf9aca0ee04.jpg","text":"TemporaryFile(/tmp/multipartBody4951501217927803565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660879804,"filename":"image_23012025_18_11_02_309858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/350b4e9e5520cf7d3423ffd3ebe2ad78.jpg","text":"TemporaryFile(/tmp/multipartBody5776674815164616787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660879804,"filename":"image_23012025_18_11_02_309858_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330859644","file1":"1330859639","file0":"1330859628","file4":"1330859651","file5":"1330859656","file3":"1330859648"},"map_files_photo_id_array":[{"photo_id":"1330859656","filename":"file5"},{"photo_id":"1330859644","filename":"file2"},{"photo_id":"1330859651","filename":"file4"},{"photo_id":"1330859639","filename":"file1"},{"photo_id":"1330859628","filename":"file0"},{"photo_id":"1330859648","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330859656":["hashtag1","hashtag2"]},{"1330859644":["hashtag1","hashtag2"]},{"1330859628":["hashtag1","hashtag2"]},{"1330859651":["hashtag1","hashtag2"]},{"1330859639":["hashtag1","hashtag2"]},{"1330859648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330859656, 1330859644, 1330859628, 1330859651, 1330859639, 1330859648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.87385272979736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:34:21.878784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_02_545964_0002.jpg', '/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_02_545964_0003.jpg', '/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_02_757118_0000.jpg', '/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_02_757118_0001.jpg', '/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_02_757118_0002.jpg', '/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_02_757118_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_02_545964_0002.jpg
/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_02_545964_0003.jpg
/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_02_757118_0000.jpg
/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_02_757118_0001.jpg
/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_02_757118_0002.jpg
/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_02_757118_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":["1330859722","1330859728","1330859739","1330859715","1330859744","1330859735"],"photo_ids_order":["1330859715","1330859722","1330859728","1330859735","1330859739","1330859744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8a683f8df9a02c2b7322eb878c60a93.jpg","text":"TemporaryFile(/tmp/multipartBody8766044838715174372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660938682,"filename":"image_23012025_18_12_02_545964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3114b91b0aba5e48ebf1d0c273ec1b4d.jpg","text":"TemporaryFile(/tmp/multipartBody7801750247039409775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660938682,"filename":"image_23012025_18_13_02_757118_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a7db8d873952a560e67c18a18afc8ba.jpg","text":"TemporaryFile(/tmp/multipartBody8711018174575921477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660938682,"filename":"image_23012025_18_13_02_757118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06036fc9438c01707e80fb5248b9ce09.jpg","text":"TemporaryFile(/tmp/multipartBody3459259668464948245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660938682,"filename":"image_23012025_18_12_02_545964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1fc330e81d184cf6e25916d0cfe47eb.jpg","text":"TemporaryFile(/tmp/multipartBody8247668946285340053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660938682,"filename":"image_23012025_18_13_02_757118_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/386a3b253205c7356c06e4ef337b805e.jpg","text":"TemporaryFile(/tmp/multipartBody6481303095988605997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660938682,"filename":"image_23012025_18_13_02_757118_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330859728","file1":"1330859722","file0":"1330859715","file4":"1330859739","file5":"1330859744","file3":"1330859735"},"map_files_photo_id_array":[{"photo_id":"1330859744","filename":"file5"},{"photo_id":"1330859728","filename":"file2"},{"photo_id":"1330859739","filename":"file4"},{"photo_id":"1330859722","filename":"file1"},{"photo_id":"1330859715","filename":"file0"},{"photo_id":"1330859735","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330859722":["hashtag1","hashtag2"]},{"1330859728":["hashtag1","hashtag2"]},{"1330859739":["hashtag1","hashtag2"]},{"1330859715":["hashtag1","hashtag2"]},{"1330859744":["hashtag1","hashtag2"]},{"1330859735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330859722, 1330859728, 1330859739, 1330859715, 1330859744, 1330859735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.52156186103821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:35:32.056193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_02_985843_0000.jpg', '/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_02_985843_0001.jpg', '/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_02_985843_0002.jpg', '/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_02_985843_0003.jpg', '/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_03_132598_0000.jpg', '/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_03_132598_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_02_985843_0000.jpg
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_02_985843_0001.jpg
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_02_985843_0002.jpg
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_02_985843_0003.jpg
/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_03_132598_0000.jpg
/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_03_132598_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":["1330860343","1330860334","1330860321","1330860389","1330860312","1330860299"],"photo_ids_order":["1330860299","1330860312","1330860321","1330860334","1330860343","1330860389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fa63f81ca63dbcaba654930b1bf6a67.jpg","text":"TemporaryFile(/tmp/multipartBody6135286104613761603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661009093,"filename":"image_23012025_18_15_03_132598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb49b594fa9be6c02a7c4a99059b2425.jpg","text":"TemporaryFile(/tmp/multipartBody3638930401671989183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661009093,"filename":"image_23012025_18_14_02_985843_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c70089068b80852276962dd1ac77ba12.jpg","text":"TemporaryFile(/tmp/multipartBody5288231868630671848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661009093,"filename":"image_23012025_18_14_02_985843_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1c8e58bd0443894cd617d7259559bd7.jpg","text":"TemporaryFile(/tmp/multipartBody3843299617111290988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661009093,"filename":"image_23012025_18_15_03_132598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb7fa2bfff57382d22be0781b0be70ec.jpg","text":"TemporaryFile(/tmp/multipartBody3556734853829786740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661009093,"filename":"image_23012025_18_14_02_985843_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/299cc32b97025c8f8343dea3969f5672.jpg","text":"TemporaryFile(/tmp/multipartBody7025142029148782611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661009093,"filename":"image_23012025_18_14_02_985843_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330860321","file1":"1330860312","file0":"1330860299","file4":"1330860343","file5":"1330860389","file3":"1330860334"},"map_files_photo_id_array":[{"photo_id":"1330860389","filename":"file5"},{"photo_id":"1330860321","filename":"file2"},{"photo_id":"1330860343","filename":"file4"},{"photo_id":"1330860312","filename":"file1"},{"photo_id":"1330860299","filename":"file0"},{"photo_id":"1330860334","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330860343":["hashtag1","hashtag2"]},{"1330860334":["hashtag1","hashtag2"]},{"1330860321":["hashtag1","hashtag2"]},{"1330860389":["hashtag1","hashtag2"]},{"1330860312":["hashtag1","hashtag2"]},{"1330860299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330860343, 1330860334, 1330860321, 1330860389, 1330860312, 1330860299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.405378580093384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 20:36:42.272882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_03_132598_0002.jpg', '/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_03_132598_0003.jpg', '/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_02_251424_0000.jpg', '/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_02_251424_0001.jpg', '/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_02_251424_0002.jpg', '/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_02_251424_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_03_132598_0002.jpg
/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_03_132598_0003.jpg
/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_02_251424_0000.jpg
/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_02_251424_0001.jpg
/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_02_251424_0002.jpg
/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_02_251424_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":["1330860809","1330860745","1330860715","1330860765","1330860776","1330860479"],"photo_ids_order":["1330860479","1330860715","1330860745","1330860765","1330860776","1330860809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0cffd9e262c9b714489e2e02fa887e32.jpg","text":"TemporaryFile(/tmp/multipartBody1241834095664843268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661079083,"filename":"image_23012025_18_16_02_251424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03165345750eb73ca00bd60e12006340.jpg","text":"TemporaryFile(/tmp/multipartBody2033818244396261159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661079083,"filename":"image_23012025_18_16_02_251424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db34b1d5c532b2670bc5837011f7d9f1.jpg","text":"TemporaryFile(/tmp/multipartBody7668008407910750622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661079083,"filename":"image_23012025_18_15_03_132598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2546e18e75a06744c0c94b69d1139da.jpg","text":"TemporaryFile(/tmp/multipartBody6548725644763298744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661079083,"filename":"image_23012025_18_16_02_251424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e08175d009a50e9f7fcb03f616f2aaf3.jpg","text":"TemporaryFile(/tmp/multipartBody7856961317239552425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661079083,"filename":"image_23012025_18_16_02_251424_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10732d09b5abc5d6b283dd066e9a9fd6.jpg","text":"TemporaryFile(/tmp/multipartBody2826566616375556756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661079083,"filename":"image_23012025_18_15_03_132598_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330860745","file1":"1330860715","file0":"1330860479","file4":"1330860776","file5":"1330860809","file3":"1330860765"},"map_files_photo_id_array":[{"photo_id":"1330860809","filename":"file5"},{"photo_id":"1330860745","filename":"file2"},{"photo_id":"1330860776","filename":"file4"},{"photo_id":"1330860715","filename":"file1"},{"photo_id":"1330860479","filename":"file0"},{"photo_id":"1330860765","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330860809":["hashtag1","hashtag2"]},{"1330860745":["hashtag1","hashtag2"]},{"1330860715":["hashtag1","hashtag2"]},{"1330860765":["hashtag1","hashtag2"]},{"1330860776":["hashtag1","hashtag2"]},{"1330860479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330860809, 1330860745, 1330860715, 1330860765, 1330860776, 1330860479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.09294271469116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 20:37:42.460696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0000.jpg', '/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0001.jpg', '/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0002.jpg', '/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0003.jpg', '/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_02_615977_0000.jpg', '/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_02_615977_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0000.jpg
/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0001.jpg
/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0002.jpg
/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0003.jpg
/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_02_615977_0000.jpg
/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_02_615977_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: 16.62409806251526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 20:38:03.255100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0000.jpg', '/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0001.jpg', '/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0002.jpg', '/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0003.jpg', '/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_02_615977_0000.jpg', '/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_02_615977_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0000.jpg
/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0001.jpg
/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0002.jpg
/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_02_517384_0003.jpg
/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_02_615977_0000.jpg
/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_02_615977_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":["1330861168","1330861150","1330861201","1330861155","1330861215","1330861163"],"photo_ids_order":["1330861150","1330861155","1330861163","1330861168","1330861201","1330861215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba6a89e6ed1e3d5117db5fd80fbc362e.jpg","text":"TemporaryFile(/tmp/multipartBody5648473419863716730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661160252,"filename":"image_23012025_18_17_02_517384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aaa7e2eef2982c7253461f8973892136.jpg","text":"TemporaryFile(/tmp/multipartBody3131279639093989240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661160252,"filename":"image_23012025_18_17_02_517384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6e9ce412c132d0369e007969775ce4f.jpg","text":"TemporaryFile(/tmp/multipartBody4398502343824675378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661160252,"filename":"image_23012025_18_18_02_615977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb09f4aaf7545fc2a4ec09044f9a18aa.jpg","text":"TemporaryFile(/tmp/multipartBody7652245758048136158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661160252,"filename":"image_23012025_18_17_02_517384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bcfb3d12740e41382bb1c014135021cd.jpg","text":"TemporaryFile(/tmp/multipartBody8213783114782603307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661160252,"filename":"image_23012025_18_18_02_615977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd6ceb15fc54fef8dfa180e2188955a9.jpg","text":"TemporaryFile(/tmp/multipartBody2135587532960422710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661160252,"filename":"image_23012025_18_17_02_517384_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330861163","file1":"1330861155","file0":"1330861150","file4":"1330861201","file5":"1330861215","file3":"1330861168"},"map_files_photo_id_array":[{"photo_id":"1330861215","filename":"file5"},{"photo_id":"1330861163","filename":"file2"},{"photo_id":"1330861201","filename":"file4"},{"photo_id":"1330861155","filename":"file1"},{"photo_id":"1330861150","filename":"file0"},{"photo_id":"1330861168","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330861168":["hashtag1","hashtag2"]},{"1330861150":["hashtag1","hashtag2"]},{"1330861201":["hashtag1","hashtag2"]},{"1330861155":["hashtag1","hashtag2"]},{"1330861215":["hashtag1","hashtag2"]},{"1330861163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330861168, 1330861150, 1330861201, 1330861155, 1330861215, 1330861163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.02375674247742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 20:39:02.767063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_02_615977_0002.jpg', '/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_02_615977_0003.jpg', '/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_02_778276_0000.jpg', '/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_02_778276_0001.jpg', '/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_02_778276_0002.jpg', '/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_02_778276_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_02_615977_0002.jpg
/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_02_615977_0003.jpg
/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_02_778276_0000.jpg
/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_02_778276_0001.jpg
/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_02_778276_0002.jpg
/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_02_778276_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":["1330861372","1330861383","1330861374","1330861379","1330861286","1330861232"],"photo_ids_order":["1330861232","1330861286","1330861372","1330861374","1330861379","1330861383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/590ab278fe6bb5dff8d452e2797d84e9.jpg","text":"TemporaryFile(/tmp/multipartBody5181278714181690937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661220069,"filename":"image_23012025_18_19_02_778276_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/852c1fb7c054e4d54ff5f53ccb182942.jpg","text":"TemporaryFile(/tmp/multipartBody3963156269641103295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661220069,"filename":"image_23012025_18_19_02_778276_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/997a4ecd9809fac4e28acac1ed617ca0.jpg","text":"TemporaryFile(/tmp/multipartBody7301452849707805291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661220069,"filename":"image_23012025_18_19_02_778276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c7d68c76f31548f1d33f203a425b359.jpg","text":"TemporaryFile(/tmp/multipartBody2663699050160711611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661220069,"filename":"image_23012025_18_19_02_778276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69c542d3ec2e928603a4cbef784d3b2d.jpg","text":"TemporaryFile(/tmp/multipartBody8103219643444368627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661220069,"filename":"image_23012025_18_18_02_615977_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b9424f90383909d8348815196a915fe.jpg","text":"TemporaryFile(/tmp/multipartBody8788454357316116022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661220069,"filename":"image_23012025_18_18_02_615977_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330861372","file1":"1330861286","file0":"1330861232","file4":"1330861379","file5":"1330861383","file3":"1330861374"},"map_files_photo_id_array":[{"photo_id":"1330861383","filename":"file5"},{"photo_id":"1330861372","filename":"file2"},{"photo_id":"1330861379","filename":"file4"},{"photo_id":"1330861286","filename":"file1"},{"photo_id":"1330861232","filename":"file0"},{"photo_id":"1330861374","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330861372":["hashtag1","hashtag2"]},{"1330861383":["hashtag1","hashtag2"]},{"1330861374":["hashtag1","hashtag2"]},{"1330861379":["hashtag1","hashtag2"]},{"1330861286":["hashtag1","hashtag2"]},{"1330861232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330861372, 1330861383, 1330861374, 1330861379, 1330861286, 1330861232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.07070755958557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:40:22.218708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_03_089679_0000.jpg', '/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_03_089679_0001.jpg', '/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_03_089679_0002.jpg', '/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_03_089679_0003.jpg', '/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_02_268794_0000.jpg', '/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_02_268794_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_03_089679_0000.jpg
/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_03_089679_0001.jpg
/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_03_089679_0002.jpg
/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_03_089679_0003.jpg
/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_02_268794_0000.jpg
/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_02_268794_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":["1330861615","1330861525","1330861638","1330861529","1330861631","1330861619"],"photo_ids_order":["1330861525","1330861529","1330861615","1330861619","1330861631","1330861638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/608d43661b64818c179e04e7869e9c83.jpg","text":"TemporaryFile(/tmp/multipartBody7948061704397481362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661299252,"filename":"image_23012025_18_20_03_089679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33fbdde6d1d68b939ff9e5afc73fa299.jpg","text":"TemporaryFile(/tmp/multipartBody6116221154635340038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661299252,"filename":"image_23012025_18_20_03_089679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecab89ddc54400977f1c5311df5077ea.jpg","text":"TemporaryFile(/tmp/multipartBody7234915046401613475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661299252,"filename":"image_23012025_18_21_02_268794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8361700745d98c173b2e4a3da05f1a4f.jpg","text":"TemporaryFile(/tmp/multipartBody92767213051107513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661299252,"filename":"image_23012025_18_20_03_089679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6dea8aba8885746059f10af4933b6c8.jpg","text":"TemporaryFile(/tmp/multipartBody1961996163077453407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661299252,"filename":"image_23012025_18_21_02_268794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5eeaae5d4f0b0d526acc939da70840a.jpg","text":"TemporaryFile(/tmp/multipartBody919733049366487777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661299252,"filename":"image_23012025_18_20_03_089679_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330861615","file1":"1330861529","file0":"1330861525","file4":"1330861631","file5":"1330861638","file3":"1330861619"},"map_files_photo_id_array":[{"photo_id":"1330861638","filename":"file5"},{"photo_id":"1330861615","filename":"file2"},{"photo_id":"1330861631","filename":"file4"},{"photo_id":"1330861529","filename":"file1"},{"photo_id":"1330861525","filename":"file0"},{"photo_id":"1330861619","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330861615":["hashtag1","hashtag2"]},{"1330861525":["hashtag1","hashtag2"]},{"1330861638":["hashtag1","hashtag2"]},{"1330861529":["hashtag1","hashtag2"]},{"1330861631":["hashtag1","hashtag2"]},{"1330861619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330861615, 1330861525, 1330861638, 1330861529, 1330861631, 1330861619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.63381052017212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:41:22.282785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_02_268794_0002.jpg', '/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_02_268794_0003.jpg', '/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_02_450813_0000.jpg', '/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_02_450813_0001.jpg', '/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_02_450813_0002.jpg', '/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_02_450813_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_02_268794_0002.jpg
/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_02_268794_0003.jpg
/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_02_450813_0000.jpg
/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_02_450813_0001.jpg
/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_02_450813_0002.jpg
/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_02_450813_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":["1330861699","1330861741","1330861708","1330861717","1330861752","1330861713"],"photo_ids_order":["1330861699","1330861708","1330861713","1330861717","1330861741","1330861752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44f853fd951e55b744b9baf56069c170.jpg","text":"TemporaryFile(/tmp/multipartBody1912158278567975989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661359298,"filename":"image_23012025_18_21_02_268794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6426a3d5c9fec74478fb49132799c19.jpg","text":"TemporaryFile(/tmp/multipartBody4707286781754511294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661359298,"filename":"image_23012025_18_22_02_450813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6992eb11290cf7c2646044982c7b4534.jpg","text":"TemporaryFile(/tmp/multipartBody3566236383111659081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661359298,"filename":"image_23012025_18_21_02_268794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aadd0b40e6f56c4fbff40f34a3f0b698.jpg","text":"TemporaryFile(/tmp/multipartBody459041436593459310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661359298,"filename":"image_23012025_18_22_02_450813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94efed7548bcbd6268c953d2ecbb10ae.jpg","text":"TemporaryFile(/tmp/multipartBody6963544691409593969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661359298,"filename":"image_23012025_18_22_02_450813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/338c8f888c8b9dd443bdaedad7eeef0d.jpg","text":"TemporaryFile(/tmp/multipartBody865998965484223483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661359298,"filename":"image_23012025_18_22_02_450813_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330861713","file1":"1330861708","file0":"1330861699","file4":"1330861741","file5":"1330861752","file3":"1330861717"},"map_files_photo_id_array":[{"photo_id":"1330861752","filename":"file5"},{"photo_id":"1330861713","filename":"file2"},{"photo_id":"1330861741","filename":"file4"},{"photo_id":"1330861708","filename":"file1"},{"photo_id":"1330861699","filename":"file0"},{"photo_id":"1330861717","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330861699":["hashtag1","hashtag2"]},{"1330861741":["hashtag1","hashtag2"]},{"1330861708":["hashtag1","hashtag2"]},{"1330861717":["hashtag1","hashtag2"]},{"1330861752":["hashtag1","hashtag2"]},{"1330861713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330861699, 1330861741, 1330861708, 1330861717, 1330861752, 1330861713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.90149688720703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:42:22.464417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_02_616126_0000.jpg', '/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_02_616126_0001.jpg', '/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_02_616126_0002.jpg', '/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_02_616126_0003.jpg', '/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_02_807948_0000.jpg', '/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_02_807948_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_02_616126_0000.jpg
/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_02_616126_0001.jpg
/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_02_616126_0002.jpg
/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_02_616126_0003.jpg
/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_02_807948_0000.jpg
/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_02_807948_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":["1330861813","1330861779","1330861881","1330861857","1330861862","1330861867"],"photo_ids_order":["1330861779","1330861813","1330861857","1330861862","1330861867","1330861881"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2706d029dce8c86148ca40a54ea5320.jpg","text":"TemporaryFile(/tmp/multipartBody6811384235893822912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661419496,"filename":"image_23012025_18_23_02_616126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3d935513dbbc9730022e17fe73899db.jpg","text":"TemporaryFile(/tmp/multipartBody2762110271658950127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661419496,"filename":"image_23012025_18_23_02_616126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/102f078e78e22de44e603fdcff1a4d1a.jpg","text":"TemporaryFile(/tmp/multipartBody7771374804275925053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661419496,"filename":"image_23012025_18_24_02_807948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bc08861b2916e724060ce27f9169c4b.jpg","text":"TemporaryFile(/tmp/multipartBody697785971032344888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661419496,"filename":"image_23012025_18_23_02_616126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da930b49bdbf03f081b70ccf2abda354.jpg","text":"TemporaryFile(/tmp/multipartBody5972900625235532730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661419496,"filename":"image_23012025_18_23_02_616126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bba32517cfeda28516307c2295debe9b.jpg","text":"TemporaryFile(/tmp/multipartBody1261469501535733215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661419496,"filename":"image_23012025_18_24_02_807948_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330861857","file1":"1330861813","file0":"1330861779","file4":"1330861867","file5":"1330861881","file3":"1330861862"},"map_files_photo_id_array":[{"photo_id":"1330861881","filename":"file5"},{"photo_id":"1330861857","filename":"file2"},{"photo_id":"1330861867","filename":"file4"},{"photo_id":"1330861813","filename":"file1"},{"photo_id":"1330861779","filename":"file0"},{"photo_id":"1330861862","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330861813":["hashtag1","hashtag2"]},{"1330861779":["hashtag1","hashtag2"]},{"1330861881":["hashtag1","hashtag2"]},{"1330861857":["hashtag1","hashtag2"]},{"1330861862":["hashtag1","hashtag2"]},{"1330861867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330861813, 1330861779, 1330861881, 1330861857, 1330861862, 1330861867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.37454843521118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:43:22.629885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_02_807948_0002.jpg', '/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_02_807948_0003.jpg', '/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_03_001626_0000.jpg', '/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_03_001626_0001.jpg', '/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_03_001626_0002.jpg', '/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_03_001626_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_02_807948_0002.jpg
/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_02_807948_0003.jpg
/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_03_001626_0000.jpg
/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_03_001626_0001.jpg
/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_03_001626_0002.jpg
/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_03_001626_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":["1330861897","1330861918","1330861912","1330861906","1330861909","1330861902"],"photo_ids_order":["1330861897","1330861902","1330861906","1330861909","1330861912","1330861918"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b16fdf8176c3e67de80f95b774f76007.jpg","text":"TemporaryFile(/tmp/multipartBody6356080909444629147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661480164,"filename":"image_23012025_18_24_02_807948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21a814f20621f8bb97d9c7c567d83df2.jpg","text":"TemporaryFile(/tmp/multipartBody3564723482508023796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661480164,"filename":"image_23012025_18_25_03_001626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7adc9eeffd1848d39005755721bc892d.jpg","text":"TemporaryFile(/tmp/multipartBody5339539750501400056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661480164,"filename":"image_23012025_18_25_03_001626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a783d473f9b4c54b0e8014f47106a764.jpg","text":"TemporaryFile(/tmp/multipartBody8638292643356639669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661480164,"filename":"image_23012025_18_25_03_001626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/532c6a5e550dd27b7ffcd4d928369fce.jpg","text":"TemporaryFile(/tmp/multipartBody5127871313567608355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661480164,"filename":"image_23012025_18_25_03_001626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41179ce33f05c800257bb9979084b630.jpg","text":"TemporaryFile(/tmp/multipartBody8072928946923202285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661480164,"filename":"image_23012025_18_24_02_807948_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330861906","file1":"1330861902","file0":"1330861897","file4":"1330861912","file5":"1330861918","file3":"1330861909"},"map_files_photo_id_array":[{"photo_id":"1330861918","filename":"file5"},{"photo_id":"1330861906","filename":"file2"},{"photo_id":"1330861912","filename":"file4"},{"photo_id":"1330861902","filename":"file1"},{"photo_id":"1330861897","filename":"file0"},{"photo_id":"1330861909","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330861897":["hashtag1","hashtag2"]},{"1330861918":["hashtag1","hashtag2"]},{"1330861912":["hashtag1","hashtag2"]},{"1330861906":["hashtag1","hashtag2"]},{"1330861909":["hashtag1","hashtag2"]},{"1330861902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330861897, 1330861918, 1330861912, 1330861906, 1330861909, 1330861902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.479673624038696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:44:21.814884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0000.jpg', '/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0001.jpg', '/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0002.jpg', '/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0003.jpg', '/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_02_384900_0000.jpg', '/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_02_384900_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0000.jpg
/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0001.jpg
/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0002.jpg
/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0003.jpg
/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_02_384900_0000.jpg
/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_02_384900_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: 16.78206515312195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 20:44:41.845813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0000.jpg', '/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0001.jpg', '/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0002.jpg', '/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0003.jpg', '/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_02_384900_0000.jpg', '/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_02_384900_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0000.jpg
/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0001.jpg
/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0002.jpg
/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_03_139038_0003.jpg
/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_02_384900_0000.jpg
/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_02_384900_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":["1330861992","1330861956","1330861973","1330861997","1330861964","1330861987"],"photo_ids_order":["1330861956","1330861964","1330861973","1330861987","1330861992","1330861997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c7e3d382293ca57388e000480ea2708.jpg","text":"TemporaryFile(/tmp/multipartBody3076400881717276024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661558999,"filename":"image_23012025_18_27_02_384900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b75a6ef62e503b2403ea1252987ca0e.jpg","text":"TemporaryFile(/tmp/multipartBody2242343625638665666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661558999,"filename":"image_23012025_18_26_03_139038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a3d29208e03ce12e38d4b92171e8054.jpg","text":"TemporaryFile(/tmp/multipartBody1349186843797445219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661558999,"filename":"image_23012025_18_26_03_139038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0b0bf9303d2dabcb8b6e640d949cf4c.jpg","text":"TemporaryFile(/tmp/multipartBody7694551177202838789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661558999,"filename":"image_23012025_18_27_02_384900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c0236613b9f0c31be092aa0cd74e8b0.jpg","text":"TemporaryFile(/tmp/multipartBody2135076270490039598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661558999,"filename":"image_23012025_18_26_03_139038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a907fa908b7b39e6278e63b1024ccf39.jpg","text":"TemporaryFile(/tmp/multipartBody2437207662779592654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661558999,"filename":"image_23012025_18_26_03_139038_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330861973","file1":"1330861964","file0":"1330861956","file4":"1330861992","file5":"1330861997","file3":"1330861987"},"map_files_photo_id_array":[{"photo_id":"1330861997","filename":"file5"},{"photo_id":"1330861973","filename":"file2"},{"photo_id":"1330861992","filename":"file4"},{"photo_id":"1330861964","filename":"file1"},{"photo_id":"1330861956","filename":"file0"},{"photo_id":"1330861987","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330861992":["hashtag1","hashtag2"]},{"1330861956":["hashtag1","hashtag2"]},{"1330861973":["hashtag1","hashtag2"]},{"1330861997":["hashtag1","hashtag2"]},{"1330861964":["hashtag1","hashtag2"]},{"1330861987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330861992, 1330861956, 1330861973, 1330861997, 1330861964, 1330861987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.3275887966156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 20:45:42.051048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_02_384900_0002.jpg', '/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_02_384900_0003.jpg', '/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_02_421348_0000.jpg', '/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_02_421348_0001.jpg', '/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_02_421348_0002.jpg', '/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_02_421348_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_02_384900_0002.jpg
/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_02_384900_0003.jpg
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_02_421348_0000.jpg
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_02_421348_0001.jpg
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_02_421348_0002.jpg
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_02_421348_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":["1330862050","1330862044","1330862037","1330862022","1330862015","1330862029"],"photo_ids_order":["1330862015","1330862022","1330862029","1330862037","1330862044","1330862050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75c8246b1444d8f60863b90684c8dd31.jpg","text":"TemporaryFile(/tmp/multipartBody5524115473995087006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661619025,"filename":"image_23012025_18_28_02_421348_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54581eb19ae80ee44b508d6507ed81da.jpg","text":"TemporaryFile(/tmp/multipartBody3528026360962579871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661619025,"filename":"image_23012025_18_28_02_421348_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/358d4467c849225b79ad8a24ae0ee935.jpg","text":"TemporaryFile(/tmp/multipartBody2683475858884546723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661619025,"filename":"image_23012025_18_28_02_421348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4ba11a023a47c6c34f65a4325709875.jpg","text":"TemporaryFile(/tmp/multipartBody985790250636705588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661619025,"filename":"image_23012025_18_27_02_384900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52218812c9cd7b1c1b7f1cc7ad776b00.jpg","text":"TemporaryFile(/tmp/multipartBody565465266964920730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661619025,"filename":"image_23012025_18_27_02_384900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c593c7f6e9a17556fd77df8909fd1742.jpg","text":"TemporaryFile(/tmp/multipartBody1832783065935336311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661619025,"filename":"image_23012025_18_28_02_421348_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330862029","file1":"1330862022","file0":"1330862015","file4":"1330862044","file5":"1330862050","file3":"1330862037"},"map_files_photo_id_array":[{"photo_id":"1330862050","filename":"file5"},{"photo_id":"1330862029","filename":"file2"},{"photo_id":"1330862044","filename":"file4"},{"photo_id":"1330862022","filename":"file1"},{"photo_id":"1330862015","filename":"file0"},{"photo_id":"1330862037","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330862050":["hashtag1","hashtag2"]},{"1330862044":["hashtag1","hashtag2"]},{"1330862037":["hashtag1","hashtag2"]},{"1330862022":["hashtag1","hashtag2"]},{"1330862015":["hashtag1","hashtag2"]},{"1330862029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330862050, 1330862044, 1330862037, 1330862022, 1330862015, 1330862029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.69531035423279 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 20:46:42.217911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_02_757853_0000.jpg', '/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_02_757853_0001.jpg', '/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_02_757853_0002.jpg', '/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_02_757853_0003.jpg', '/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_02_796833_0000.jpg', '/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_02_796833_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_02_757853_0000.jpg
/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_02_757853_0001.jpg
/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_02_757853_0002.jpg
/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_02_757853_0003.jpg
/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_02_796833_0000.jpg
/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_02_796833_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":["1330862190","1330862184","1330862195","1330862174","1330862201","1330862179"],"photo_ids_order":["1330862174","1330862179","1330862184","1330862190","1330862195","1330862201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8bdbbad32b63a4e67835ec7e5579aec4.jpg","text":"TemporaryFile(/tmp/multipartBody1928223062560807887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661679151,"filename":"image_23012025_18_29_02_757853_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8da816f7d97d98942e72f19164eaef7d.jpg","text":"TemporaryFile(/tmp/multipartBody989314165532141649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661679151,"filename":"image_23012025_18_29_02_757853_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c17f19af1556f551b2cc44f78cccc6e.jpg","text":"TemporaryFile(/tmp/multipartBody6542292453524235028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661679151,"filename":"image_23012025_18_30_02_796833_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c2fca5fb886b822f96931fe2e0f83a0.jpg","text":"TemporaryFile(/tmp/multipartBody2467958806929797245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661679151,"filename":"image_23012025_18_29_02_757853_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43a7f443c517ec2445d6ef1fcb02315c.jpg","text":"TemporaryFile(/tmp/multipartBody183668170081307220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661679151,"filename":"image_23012025_18_30_02_796833_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8aa15286caa8873029d096657ca99804.jpg","text":"TemporaryFile(/tmp/multipartBody5786505919555423527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661679151,"filename":"image_23012025_18_29_02_757853_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330862184","file1":"1330862179","file0":"1330862174","file4":"1330862195","file5":"1330862201","file3":"1330862190"},"map_files_photo_id_array":[{"photo_id":"1330862201","filename":"file5"},{"photo_id":"1330862184","filename":"file2"},{"photo_id":"1330862195","filename":"file4"},{"photo_id":"1330862179","filename":"file1"},{"photo_id":"1330862174","filename":"file0"},{"photo_id":"1330862190","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330862190":["hashtag1","hashtag2"]},{"1330862184":["hashtag1","hashtag2"]},{"1330862195":["hashtag1","hashtag2"]},{"1330862174":["hashtag1","hashtag2"]},{"1330862201":["hashtag1","hashtag2"]},{"1330862179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330862190, 1330862184, 1330862195, 1330862174, 1330862201, 1330862179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.86701273918152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 20:47:42.441509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_02_796833_0002.jpg', '/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_02_796833_0003.jpg', '/home/pi/Desktop/images/23012025/18/31/image_23012025_18_31_02_988843_0000.jpg', '/home/pi/Desktop/images/23012025/18/31/image_23012025_18_31_02_988843_0001.jpg', '/home/pi/Desktop/images/23012025/18/31/image_23012025_18_31_02_988843_0002.jpg', '/home/pi/Desktop/images/23012025/18/31/image_23012025_18_31_02_988843_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_02_796833_0002.jpg
/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_02_796833_0003.jpg
/home/pi/Desktop/images/23012025/18/31/image_23012025_18_31_02_988843_0000.jpg
/home/pi/Desktop/images/23012025/18/31/image_23012025_18_31_02_988843_0001.jpg
/home/pi/Desktop/images/23012025/18/31/image_23012025_18_31_02_988843_0002.jpg
/home/pi/Desktop/images/23012025/18/31/image_23012025_18_31_02_988843_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":["1330862298","1330862271","1330862282","1330862261","1330862278","1330862266"],"photo_ids_order":["1330862261","1330862266","1330862271","1330862278","1330862282","1330862298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/281997f737ddb2c40e6b2781f1757739.jpg","text":"TemporaryFile(/tmp/multipartBody973716050296653284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661739212,"filename":"image_23012025_18_31_02_988843_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9fb3b2b214ac5004909938f8b2a9c23b.jpg","text":"TemporaryFile(/tmp/multipartBody4849169582899118851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661739212,"filename":"image_23012025_18_31_02_988843_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c761400fd8bebc19aaa8dde58767c49.jpg","text":"TemporaryFile(/tmp/multipartBody4971772038755281309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661739212,"filename":"image_23012025_18_31_02_988843_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97c0817e8b522db90aa8ef8d47bccb66.jpg","text":"TemporaryFile(/tmp/multipartBody3088849431633931622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661739212,"filename":"image_23012025_18_30_02_796833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d64c19e1cdeec59eee9a29141dd39d90.jpg","text":"TemporaryFile(/tmp/multipartBody1577593688857170195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661739212,"filename":"image_23012025_18_31_02_988843_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/946f3ce628e69e8b131f8f487a2a059a.jpg","text":"TemporaryFile(/tmp/multipartBody5940466144269486577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661739212,"filename":"image_23012025_18_30_02_796833_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330862271","file1":"1330862266","file0":"1330862261","file4":"1330862282","file5":"1330862298","file3":"1330862278"},"map_files_photo_id_array":[{"photo_id":"1330862298","filename":"file5"},{"photo_id":"1330862271","filename":"file2"},{"photo_id":"1330862282","filename":"file4"},{"photo_id":"1330862266","filename":"file1"},{"photo_id":"1330862261","filename":"file0"},{"photo_id":"1330862278","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330862298":["hashtag1","hashtag2"]},{"1330862271":["hashtag1","hashtag2"]},{"1330862282":["hashtag1","hashtag2"]},{"1330862261":["hashtag1","hashtag2"]},{"1330862278":["hashtag1","hashtag2"]},{"1330862266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330862298, 1330862271, 1330862282, 1330862261, 1330862278, 1330862266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.955554485321045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 20:48:42.604295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0000.jpg', '/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0001.jpg', '/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0002.jpg', '/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0003.jpg', '/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_02_363991_0000.jpg', '/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_02_363991_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0000.jpg
/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0001.jpg
/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0002.jpg
/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0003.jpg
/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_02_363991_0000.jpg
/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_02_363991_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: 16.62015461921692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 20:49:02.480745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0000.jpg', '/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0001.jpg', '/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0002.jpg', '/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0003.jpg', '/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_02_363991_0000.jpg', '/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_02_363991_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0000.jpg
/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0001.jpg
/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0002.jpg
/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_02_243628_0003.jpg
/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_02_363991_0000.jpg
/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_02_363991_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":["1330862391","1330862397","1330862406","1330862409","1330862399","1330862402"],"photo_ids_order":["1330862391","1330862397","1330862399","1330862402","1330862406","1330862409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6055aaa7548fbe8c70a43485ab31a723.jpg","text":"TemporaryFile(/tmp/multipartBody8433737444855308268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661819548,"filename":"image_23012025_18_32_02_243628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7114cbc3f1f3936f46b8fb5f68a0b22f.jpg","text":"TemporaryFile(/tmp/multipartBody626587404543364095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661819548,"filename":"image_23012025_18_32_02_243628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a636a537a9490bfdfbde1941f6ca69b0.jpg","text":"TemporaryFile(/tmp/multipartBody7136947399823795352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661819548,"filename":"image_23012025_18_33_02_363991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/544841e9790d2ab8a0c0c74f22b44559.jpg","text":"TemporaryFile(/tmp/multipartBody1680798499370800289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661819548,"filename":"image_23012025_18_33_02_363991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e58d576e3043b7194def558165282c14.jpg","text":"TemporaryFile(/tmp/multipartBody1562809707455726054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661819548,"filename":"image_23012025_18_32_02_243628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd01b121ea55d90f39ecead3dc2132e5.jpg","text":"TemporaryFile(/tmp/multipartBody9120232364767818468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661819548,"filename":"image_23012025_18_32_02_243628_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330862399","file1":"1330862397","file0":"1330862391","file4":"1330862406","file5":"1330862409","file3":"1330862402"},"map_files_photo_id_array":[{"photo_id":"1330862409","filename":"file5"},{"photo_id":"1330862399","filename":"file2"},{"photo_id":"1330862406","filename":"file4"},{"photo_id":"1330862397","filename":"file1"},{"photo_id":"1330862391","filename":"file0"},{"photo_id":"1330862402","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330862391":["hashtag1","hashtag2"]},{"1330862397":["hashtag1","hashtag2"]},{"1330862406":["hashtag1","hashtag2"]},{"1330862409":["hashtag1","hashtag2"]},{"1330862399":["hashtag1","hashtag2"]},{"1330862402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330862391, 1330862397, 1330862406, 1330862409, 1330862399, 1330862402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.63431763648987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 20:50:02.461217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_02_363991_0002.jpg', '/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_02_363991_0003.jpg', '/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_02_523644_0000.jpg', '/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_02_523644_0001.jpg', '/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_02_523644_0002.jpg', '/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_02_523644_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_02_363991_0002.jpg
/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_02_363991_0003.jpg
/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_02_523644_0000.jpg
/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_02_523644_0001.jpg
/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_02_523644_0002.jpg
/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_02_523644_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":["1330862496","1330862502","1330862498","1330862494","1330862455","1330862464"],"photo_ids_order":["1330862455","1330862464","1330862494","1330862496","1330862498","1330862502"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a23671514fb81debde93e4a42a9c45a.jpg","text":"TemporaryFile(/tmp/multipartBody8565105934716617725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661879267,"filename":"image_23012025_18_34_02_523644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbffe5347a2dd6aa33b892baa0da70f9.jpg","text":"TemporaryFile(/tmp/multipartBody8887545462176377399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661879267,"filename":"image_23012025_18_34_02_523644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/480b36f0d024bc749d2ef46eb5cc9c07.jpg","text":"TemporaryFile(/tmp/multipartBody3293467946951371041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661879267,"filename":"image_23012025_18_34_02_523644_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9cf4b2b13edf897a7b0b00a8aba3c6a.jpg","text":"TemporaryFile(/tmp/multipartBody1396907923980787281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661879267,"filename":"image_23012025_18_34_02_523644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca492a6f9182ed33a0b36331ebb5c231.jpg","text":"TemporaryFile(/tmp/multipartBody3727386586475830040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661879267,"filename":"image_23012025_18_33_02_363991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5036feadb2c08e25ab559c9016e533dd.jpg","text":"TemporaryFile(/tmp/multipartBody6597288631825951425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661879267,"filename":"image_23012025_18_33_02_363991_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330862494","file1":"1330862464","file0":"1330862455","file4":"1330862498","file5":"1330862502","file3":"1330862496"},"map_files_photo_id_array":[{"photo_id":"1330862502","filename":"file5"},{"photo_id":"1330862494","filename":"file2"},{"photo_id":"1330862498","filename":"file4"},{"photo_id":"1330862464","filename":"file1"},{"photo_id":"1330862455","filename":"file0"},{"photo_id":"1330862496","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330862496":["hashtag1","hashtag2"]},{"1330862502":["hashtag1","hashtag2"]},{"1330862498":["hashtag1","hashtag2"]},{"1330862494":["hashtag1","hashtag2"]},{"1330862455":["hashtag1","hashtag2"]},{"1330862464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330862496, 1330862502, 1330862498, 1330862494, 1330862455, 1330862464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.119609117507935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 20:51:02.936132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_02_758799_0000.jpg', '/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_02_758799_0001.jpg', '/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_02_758799_0002.jpg', '/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_02_758799_0003.jpg', '/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_02_963096_0000.jpg', '/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_02_963096_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_02_758799_0000.jpg
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_02_758799_0001.jpg
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_02_758799_0002.jpg
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_02_758799_0003.jpg
/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_02_963096_0000.jpg
/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_02_963096_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":["1330862598","1330862580","1330862604","1330862594","1330862613","1330862584"],"photo_ids_order":["1330862580","1330862584","1330862594","1330862598","1330862604","1330862613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1ea35e6eec1d2ddac963a1f32c9c7f6.jpg","text":"TemporaryFile(/tmp/multipartBody6040460835754057391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661940083,"filename":"image_23012025_18_35_02_758799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42bdf4b82c69ef6010cee7ce7f62609f.jpg","text":"TemporaryFile(/tmp/multipartBody6860380358752386723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661940083,"filename":"image_23012025_18_35_02_758799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c617fdd06c29245d2117730ad541204.jpg","text":"TemporaryFile(/tmp/multipartBody8213705056594422228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661940083,"filename":"image_23012025_18_36_02_963096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d211f1afd37d7ddd678e526acf74c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7176951957281166974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661940083,"filename":"image_23012025_18_35_02_758799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99313af5bb504bc3520a58e54a5c1255.jpg","text":"TemporaryFile(/tmp/multipartBody4148045817337625371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661940083,"filename":"image_23012025_18_36_02_963096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/450edb4cd053a9b0f70dd59323ec1e96.jpg","text":"TemporaryFile(/tmp/multipartBody5011321937514442212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661940083,"filename":"image_23012025_18_35_02_758799_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330862594","file1":"1330862584","file0":"1330862580","file4":"1330862604","file5":"1330862613","file3":"1330862598"},"map_files_photo_id_array":[{"photo_id":"1330862613","filename":"file5"},{"photo_id":"1330862594","filename":"file2"},{"photo_id":"1330862604","filename":"file4"},{"photo_id":"1330862584","filename":"file1"},{"photo_id":"1330862580","filename":"file0"},{"photo_id":"1330862598","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330862598":["hashtag1","hashtag2"]},{"1330862580":["hashtag1","hashtag2"]},{"1330862604":["hashtag1","hashtag2"]},{"1330862594":["hashtag1","hashtag2"]},{"1330862613":["hashtag1","hashtag2"]},{"1330862584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330862598, 1330862580, 1330862604, 1330862594, 1330862613, 1330862584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.26876091957092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 20:52:02.769068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_02_963096_0002.jpg', '/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_02_963096_0003.jpg', '/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_03_082603_0000.jpg', '/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_03_082603_0001.jpg', '/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_03_082603_0002.jpg', '/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_03_082603_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_02_963096_0002.jpg
/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_02_963096_0003.jpg
/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_03_082603_0000.jpg
/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_03_082603_0001.jpg
/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_03_082603_0002.jpg
/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_03_082603_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":["1330862658","1330862698","1330862668","1330862755","1330862743","1330862650"],"photo_ids_order":["1330862650","1330862658","1330862668","1330862698","1330862743","1330862755"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6058b9d6bce4c403d096f4e799018166.jpg","text":"TemporaryFile(/tmp/multipartBody812494701405638202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661999423,"filename":"image_23012025_18_36_02_963096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/64d4c6699b250267cc2adfe22ed23347.jpg","text":"TemporaryFile(/tmp/multipartBody1508471917035137599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661999423,"filename":"image_23012025_18_37_03_082603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09a95f1baa6f9fc429d58c90d64ffcfc.jpg","text":"TemporaryFile(/tmp/multipartBody2255897393284937642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661999423,"filename":"image_23012025_18_37_03_082603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65f9e0ecf67c6c4e18454e9eaf513430.jpg","text":"TemporaryFile(/tmp/multipartBody8505740892295173199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661999423,"filename":"image_23012025_18_37_03_082603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c76c1952d2151145872820d9b658eac.jpg","text":"TemporaryFile(/tmp/multipartBody4176463331073251035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661999423,"filename":"image_23012025_18_37_03_082603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d06b724b9b750377250c705880fcb68.jpg","text":"TemporaryFile(/tmp/multipartBody1905181020895748849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661999423,"filename":"image_23012025_18_36_02_963096_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330862668","file1":"1330862658","file0":"1330862650","file4":"1330862743","file5":"1330862755","file3":"1330862698"},"map_files_photo_id_array":[{"photo_id":"1330862755","filename":"file5"},{"photo_id":"1330862668","filename":"file2"},{"photo_id":"1330862743","filename":"file4"},{"photo_id":"1330862658","filename":"file1"},{"photo_id":"1330862650","filename":"file0"},{"photo_id":"1330862698","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330862658":["hashtag1","hashtag2"]},{"1330862698":["hashtag1","hashtag2"]},{"1330862668":["hashtag1","hashtag2"]},{"1330862755":["hashtag1","hashtag2"]},{"1330862743":["hashtag1","hashtag2"]},{"1330862650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330862658, 1330862698, 1330862668, 1330862755, 1330862743, 1330862650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.06301403045654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 20:53:03.244675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_02_244313_0000.jpg', '/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_02_244313_0001.jpg', '/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_02_244313_0002.jpg', '/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_02_244313_0003.jpg', '/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_02_335948_0000.jpg', '/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_02_335948_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_02_244313_0000.jpg
/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_02_244313_0001.jpg
/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_02_244313_0002.jpg
/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_02_244313_0003.jpg
/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_02_335948_0000.jpg
/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_02_335948_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":["1330863444","1330863426","1330863437","1330863440","1330863430","1330863433"],"photo_ids_order":["1330863426","1330863430","1330863433","1330863437","1330863440","1330863444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0643d8b42e6923f97b49e8085274158c.jpg","text":"TemporaryFile(/tmp/multipartBody8733828701536969935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662060196,"filename":"image_23012025_18_39_02_335948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cf4107e574b4c4591a42752c126ec81.jpg","text":"TemporaryFile(/tmp/multipartBody2264600072980027166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662060196,"filename":"image_23012025_18_38_02_244313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec6bbc4e801855423aaa9a45221edfe5.jpg","text":"TemporaryFile(/tmp/multipartBody4466425158857955636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662060196,"filename":"image_23012025_18_38_02_244313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f50d269126ca9823e7e1ed7ceaaedb19.jpg","text":"TemporaryFile(/tmp/multipartBody701476847323830475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662060196,"filename":"image_23012025_18_39_02_335948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba18e1e4a5497dedc271d2d6a27c9b53.jpg","text":"TemporaryFile(/tmp/multipartBody6387967868927042451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662060196,"filename":"image_23012025_18_38_02_244313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4f4f75659ad2d0a040b664f5f4a81cc.jpg","text":"TemporaryFile(/tmp/multipartBody2771679717236398448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662060196,"filename":"image_23012025_18_38_02_244313_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330863433","file1":"1330863430","file0":"1330863426","file4":"1330863440","file5":"1330863444","file3":"1330863437"},"map_files_photo_id_array":[{"photo_id":"1330863444","filename":"file5"},{"photo_id":"1330863433","filename":"file2"},{"photo_id":"1330863440","filename":"file4"},{"photo_id":"1330863430","filename":"file1"},{"photo_id":"1330863426","filename":"file0"},{"photo_id":"1330863437","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330863444":["hashtag1","hashtag2"]},{"1330863426":["hashtag1","hashtag2"]},{"1330863437":["hashtag1","hashtag2"]},{"1330863440":["hashtag1","hashtag2"]},{"1330863430":["hashtag1","hashtag2"]},{"1330863433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330863444, 1330863426, 1330863437, 1330863440, 1330863430, 1330863433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.56108474731445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 20:54:02.226432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_02_335948_0002.jpg', '/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_02_335948_0003.jpg', '/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_02_526947_0000.jpg', '/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_02_526947_0001.jpg', '/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_02_526947_0002.jpg', '/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_02_526947_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_02_335948_0002.jpg
/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_02_335948_0003.jpg
/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_02_526947_0000.jpg
/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_02_526947_0001.jpg
/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_02_526947_0002.jpg
/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_02_526947_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":["1330863525","1330863713","1330863496","1330863517","1330863505","1330863489"],"photo_ids_order":["1330863489","1330863496","1330863505","1330863517","1330863525","1330863713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efb0495109eaeaadcbb9797cfcf065c2.jpg","text":"TemporaryFile(/tmp/multipartBody5527149647959724356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662118816,"filename":"image_23012025_18_40_02_526947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/964d1e4599a577093205dd025f4bfea8.jpg","text":"TemporaryFile(/tmp/multipartBody4198202159967591603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662118816,"filename":"image_23012025_18_40_02_526947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a4559c4b5a5ea1563b30d1363a8a426.jpg","text":"TemporaryFile(/tmp/multipartBody4751036770888367158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662118816,"filename":"image_23012025_18_39_02_335948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12ab33c4d280da08c1840577302a6ab1.jpg","text":"TemporaryFile(/tmp/multipartBody6490467330709981671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662118816,"filename":"image_23012025_18_40_02_526947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc028d29e9691ea290eadf70d6fb02b3.jpg","text":"TemporaryFile(/tmp/multipartBody8297973547774419431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662118816,"filename":"image_23012025_18_40_02_526947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd6c3a282fdd8b85368d65797afba925.jpg","text":"TemporaryFile(/tmp/multipartBody3998103468044312803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662118816,"filename":"image_23012025_18_39_02_335948_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330863505","file1":"1330863496","file0":"1330863489","file4":"1330863525","file5":"1330863713","file3":"1330863517"},"map_files_photo_id_array":[{"photo_id":"1330863713","filename":"file5"},{"photo_id":"1330863505","filename":"file2"},{"photo_id":"1330863525","filename":"file4"},{"photo_id":"1330863496","filename":"file1"},{"photo_id":"1330863489","filename":"file0"},{"photo_id":"1330863517","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330863525":["hashtag1","hashtag2"]},{"1330863713":["hashtag1","hashtag2"]},{"1330863496":["hashtag1","hashtag2"]},{"1330863517":["hashtag1","hashtag2"]},{"1330863505":["hashtag1","hashtag2"]},{"1330863489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330863525, 1330863713, 1330863496, 1330863517, 1330863505, 1330863489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.60534906387329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 20:55:02.705358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0000.jpg', '/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0001.jpg', '/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0002.jpg', '/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0003.jpg', '/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_02_886994_0000.jpg', '/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_02_886994_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0000.jpg
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0001.jpg
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0002.jpg
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0003.jpg
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_02_886994_0000.jpg
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_02_886994_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.748019456863403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:55:22.074544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0000.jpg', '/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0001.jpg', '/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0002.jpg', '/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0003.jpg', '/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_02_886994_0000.jpg', '/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_02_886994_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0000.jpg
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0001.jpg
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0002.jpg
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_02_690190_0003.jpg
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_02_886994_0000.jpg
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_02_886994_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":["1330864121","1330864109","1330864118","1330864135","1330864114","1330864128"],"photo_ids_order":["1330864109","1330864114","1330864118","1330864121","1330864128","1330864135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f33789ec27a20d84c0b2c6daa5ff2f62.jpg","text":"TemporaryFile(/tmp/multipartBody5785513077462078858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662199133,"filename":"image_23012025_18_41_02_690190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0c08c02e77a1de4ba8c02ef29eb254e.jpg","text":"TemporaryFile(/tmp/multipartBody7695549540858384760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662199133,"filename":"image_23012025_18_41_02_690190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65df91b0475e54c930709af0614da7d8.jpg","text":"TemporaryFile(/tmp/multipartBody9080929022479272176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662199133,"filename":"image_23012025_18_41_02_690190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ea0e1fe87ca3e1a6a4e99c1464ee57b.jpg","text":"TemporaryFile(/tmp/multipartBody3907859898078960387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662199133,"filename":"image_23012025_18_42_02_886994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebd5afb5aa7c03bd60dc94af7e39cf72.jpg","text":"TemporaryFile(/tmp/multipartBody4279893210001384776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662199133,"filename":"image_23012025_18_41_02_690190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/419053bac2c3dda1575f0cf6b9657031.jpg","text":"TemporaryFile(/tmp/multipartBody1668306928366331649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662199133,"filename":"image_23012025_18_42_02_886994_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330864118","file1":"1330864114","file0":"1330864109","file4":"1330864128","file5":"1330864135","file3":"1330864121"},"map_files_photo_id_array":[{"photo_id":"1330864135","filename":"file5"},{"photo_id":"1330864118","filename":"file2"},{"photo_id":"1330864128","filename":"file4"},{"photo_id":"1330864114","filename":"file1"},{"photo_id":"1330864109","filename":"file0"},{"photo_id":"1330864121","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330864121":["hashtag1","hashtag2"]},{"1330864109":["hashtag1","hashtag2"]},{"1330864118":["hashtag1","hashtag2"]},{"1330864135":["hashtag1","hashtag2"]},{"1330864114":["hashtag1","hashtag2"]},{"1330864128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330864121, 1330864109, 1330864118, 1330864135, 1330864114, 1330864128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.83187747001648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:56:22.337141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_02_886994_0002.jpg', '/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_02_886994_0003.jpg', '/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_03_042949_0000.jpg', '/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_03_042949_0001.jpg', '/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_03_042949_0002.jpg', '/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_03_042949_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_02_886994_0002.jpg
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_02_886994_0003.jpg
/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_03_042949_0000.jpg
/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_03_042949_0001.jpg
/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_03_042949_0002.jpg
/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_03_042949_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":["1330864496","1330864434","1330864487","1330864442","1330864458","1330864467"],"photo_ids_order":["1330864434","1330864442","1330864458","1330864467","1330864487","1330864496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/524ebfc8e3cdb8c4fee2116d5c88cbd7.jpg","text":"TemporaryFile(/tmp/multipartBody282572023100874936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662258936,"filename":"image_23012025_18_43_03_042949_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dedadbec60fb9993da7d40731351ca46.jpg","text":"TemporaryFile(/tmp/multipartBody8964445516813615205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662258936,"filename":"image_23012025_18_42_02_886994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a663b8c7dceb4672615da97467755f27.jpg","text":"TemporaryFile(/tmp/multipartBody5919984893692053098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662258936,"filename":"image_23012025_18_43_03_042949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54d5e497e6b44bb6c7b0f65565570737.jpg","text":"TemporaryFile(/tmp/multipartBody6280029916391463826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662258936,"filename":"image_23012025_18_42_02_886994_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb31ec99c1df7118c996d564507b1495.jpg","text":"TemporaryFile(/tmp/multipartBody2985999006288443121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662258936,"filename":"image_23012025_18_43_03_042949_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7277e3ee0bef8e1fc63b95e76f7c2423.jpg","text":"TemporaryFile(/tmp/multipartBody6320110971015842804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662258936,"filename":"image_23012025_18_43_03_042949_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330864458","file1":"1330864442","file0":"1330864434","file4":"1330864487","file5":"1330864496","file3":"1330864467"},"map_files_photo_id_array":[{"photo_id":"1330864496","filename":"file5"},{"photo_id":"1330864458","filename":"file2"},{"photo_id":"1330864487","filename":"file4"},{"photo_id":"1330864442","filename":"file1"},{"photo_id":"1330864434","filename":"file0"},{"photo_id":"1330864467","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330864496":["hashtag1","hashtag2"]},{"1330864434":["hashtag1","hashtag2"]},{"1330864487":["hashtag1","hashtag2"]},{"1330864442":["hashtag1","hashtag2"]},{"1330864458":["hashtag1","hashtag2"]},{"1330864467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330864496, 1330864434, 1330864487, 1330864442, 1330864458, 1330864467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.56424260139465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 20:57:22.480037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0000.jpg', '/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0001.jpg', '/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0002.jpg', '/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0003.jpg', '/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_02_348615_0000.jpg', '/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_02_348615_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0000.jpg
/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0001.jpg
/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0002.jpg
/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0003.jpg
/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_02_348615_0000.jpg
/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_02_348615_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-23 20:59:02.529634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0000.jpg', '/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0001.jpg', '/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0002.jpg', '/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0003.jpg', '/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_02_348615_0000.jpg', '/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_02_348615_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0000.jpg
/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0001.jpg
/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0002.jpg
/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_02_251063_0003.jpg
/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_02_348615_0000.jpg
/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_02_348615_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":["1330864793","1330864799","1330864795","1330864780","1330864788","1330864773"],"photo_ids_order":["1330864773","1330864780","1330864788","1330864793","1330864795","1330864799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c2af385638b7cbb7f2398ec23c234c4.jpg","text":"TemporaryFile(/tmp/multipartBody7847924275061938163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662419272,"filename":"image_23012025_18_44_02_251063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1de3a752d635249a1830cc5ac74b5d95.jpg","text":"TemporaryFile(/tmp/multipartBody91482240474154327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662419272,"filename":"image_23012025_18_45_02_348615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb3e764322d5e8b4b24d766dbfbb5775.jpg","text":"TemporaryFile(/tmp/multipartBody7652605662208581399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662419272,"filename":"image_23012025_18_45_02_348615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f8631b3b8342b78e4446b163d3ae589.jpg","text":"TemporaryFile(/tmp/multipartBody4073929077815834202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662419272,"filename":"image_23012025_18_44_02_251063_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b056dba27147d01c5da58be9cdfe2ab7.jpg","text":"TemporaryFile(/tmp/multipartBody4084616038063505318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662419272,"filename":"image_23012025_18_44_02_251063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e09a9e37b5948bf5b7d4781d7b1d0993.jpg","text":"TemporaryFile(/tmp/multipartBody7931137157966390351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662419272,"filename":"image_23012025_18_44_02_251063_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330864788","file1":"1330864780","file0":"1330864773","file4":"1330864795","file5":"1330864799","file3":"1330864793"},"map_files_photo_id_array":[{"photo_id":"1330864799","filename":"file5"},{"photo_id":"1330864788","filename":"file2"},{"photo_id":"1330864795","filename":"file4"},{"photo_id":"1330864780","filename":"file1"},{"photo_id":"1330864773","filename":"file0"},{"photo_id":"1330864793","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330864793":["hashtag1","hashtag2"]},{"1330864799":["hashtag1","hashtag2"]},{"1330864795":["hashtag1","hashtag2"]},{"1330864780":["hashtag1","hashtag2"]},{"1330864788":["hashtag1","hashtag2"]},{"1330864773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330864793, 1330864799, 1330864795, 1330864780, 1330864788, 1330864773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.71044683456421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 21:00:02.476013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_02_348615_0002.jpg', '/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_02_348615_0003.jpg', '/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_02_549097_0000.jpg', '/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_02_549097_0001.jpg', '/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_02_549097_0002.jpg', '/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_02_549097_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_02_348615_0002.jpg
/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_02_348615_0003.jpg
/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_02_549097_0000.jpg
/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_02_549097_0001.jpg
/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_02_549097_0002.jpg
/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_02_549097_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":["1330864889","1330864883","1330864856","1330864850","1330864879","1330864873"],"photo_ids_order":["1330864850","1330864856","1330864873","1330864879","1330864883","1330864889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a247ee670235d0cd94cf2305dc4d4e7c.jpg","text":"TemporaryFile(/tmp/multipartBody2778823570481010114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662479312,"filename":"image_23012025_18_46_02_549097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e499778a514cb771beea370058e454a0.jpg","text":"TemporaryFile(/tmp/multipartBody3177498310684514577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662479312,"filename":"image_23012025_18_46_02_549097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ffc89d619ccb3ba45cdd28e9f4042a8.jpg","text":"TemporaryFile(/tmp/multipartBody7384832491124151623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662479312,"filename":"image_23012025_18_45_02_348615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec869018416dd4b33a8fb264910c6bac.jpg","text":"TemporaryFile(/tmp/multipartBody8197956220231749720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662479312,"filename":"image_23012025_18_45_02_348615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40c158fc21da571d252a8a74bbb9075d.jpg","text":"TemporaryFile(/tmp/multipartBody3059553300246186164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662479312,"filename":"image_23012025_18_46_02_549097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25617a261848ad2c8dfaaa42cd471253.jpg","text":"TemporaryFile(/tmp/multipartBody5666552125726158539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662479312,"filename":"image_23012025_18_46_02_549097_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330864873","file1":"1330864856","file0":"1330864850","file4":"1330864883","file5":"1330864889","file3":"1330864879"},"map_files_photo_id_array":[{"photo_id":"1330864889","filename":"file5"},{"photo_id":"1330864873","filename":"file2"},{"photo_id":"1330864883","filename":"file4"},{"photo_id":"1330864856","filename":"file1"},{"photo_id":"1330864850","filename":"file0"},{"photo_id":"1330864879","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330864889":["hashtag1","hashtag2"]},{"1330864883":["hashtag1","hashtag2"]},{"1330864856":["hashtag1","hashtag2"]},{"1330864850":["hashtag1","hashtag2"]},{"1330864879":["hashtag1","hashtag2"]},{"1330864873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330864889, 1330864883, 1330864856, 1330864850, 1330864879, 1330864873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.17243838310242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 21:01:02.794525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_02_853348_0000.jpg', '/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_02_853348_0001.jpg', '/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_02_853348_0002.jpg', '/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_02_853348_0003.jpg', '/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_03_050023_0000.jpg', '/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_03_050023_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_02_853348_0000.jpg
/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_02_853348_0001.jpg
/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_02_853348_0002.jpg
/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_02_853348_0003.jpg
/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_03_050023_0000.jpg
/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_03_050023_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":["1330864939","1330864924","1330864912","1330864926","1330864929","1330864920"],"photo_ids_order":["1330864912","1330864920","1330864924","1330864926","1330864929","1330864939"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4e945fb96a53c688938e4fafb712821.jpg","text":"TemporaryFile(/tmp/multipartBody5495194881834622476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662539487,"filename":"image_23012025_18_48_03_050023_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a0619becb8cc057480a4f5bb2d89b82.jpg","text":"TemporaryFile(/tmp/multipartBody8432732848330332972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662539487,"filename":"image_23012025_18_47_02_853348_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c64a588c73e7b6e5cbe90a800b2e37d.jpg","text":"TemporaryFile(/tmp/multipartBody5873773852626153593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662539487,"filename":"image_23012025_18_47_02_853348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26ff413b924d706885a79b3a192cd60b.jpg","text":"TemporaryFile(/tmp/multipartBody7317730987995930641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662539487,"filename":"image_23012025_18_47_02_853348_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03fd1a6a330dc6f7ae53614d7823f5ad.jpg","text":"TemporaryFile(/tmp/multipartBody813915859766322556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662539487,"filename":"image_23012025_18_48_03_050023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/645a7b7ecc662895a71cad5ed16b9cbb.jpg","text":"TemporaryFile(/tmp/multipartBody759494434619666954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662539487,"filename":"image_23012025_18_47_02_853348_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330864924","file1":"1330864920","file0":"1330864912","file4":"1330864929","file5":"1330864939","file3":"1330864926"},"map_files_photo_id_array":[{"photo_id":"1330864939","filename":"file5"},{"photo_id":"1330864924","filename":"file2"},{"photo_id":"1330864929","filename":"file4"},{"photo_id":"1330864920","filename":"file1"},{"photo_id":"1330864912","filename":"file0"},{"photo_id":"1330864926","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330864939":["hashtag1","hashtag2"]},{"1330864924":["hashtag1","hashtag2"]},{"1330864912":["hashtag1","hashtag2"]},{"1330864926":["hashtag1","hashtag2"]},{"1330864929":["hashtag1","hashtag2"]},{"1330864920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330864939, 1330864924, 1330864912, 1330864926, 1330864929, 1330864920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.20250630378723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 21:02:02.944864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_03_050023_0002.jpg', '/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_03_050023_0003.jpg', '/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_02_137994_0000.jpg', '/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_02_137994_0001.jpg', '/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_02_137994_0002.jpg', '/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_02_137994_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_03_050023_0002.jpg
/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_03_050023_0003.jpg
/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_02_137994_0000.jpg
/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_02_137994_0001.jpg
/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_02_137994_0002.jpg
/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_02_137994_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":["1330864988","1330864997","1330865006","1330864993","1330865154","1330865001"],"photo_ids_order":["1330864988","1330864993","1330864997","1330865001","1330865006","1330865154"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1d6e35c2d3bf34108698fd348399a46.jpg","text":"TemporaryFile(/tmp/multipartBody2309543938631289378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662599922,"filename":"image_23012025_18_48_03_050023_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f8779528b5d3efcba46df554aacbf0b.jpg","text":"TemporaryFile(/tmp/multipartBody5074320466669237736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662599922,"filename":"image_23012025_18_49_02_137994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cbb8ef6754fdc13770744a8662e773ac.jpg","text":"TemporaryFile(/tmp/multipartBody2855556787843495871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662599922,"filename":"image_23012025_18_49_02_137994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4790ecbb5205764681bfbabdc573c0b9.jpg","text":"TemporaryFile(/tmp/multipartBody2862002602579337622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662599922,"filename":"image_23012025_18_48_03_050023_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/764b3e74548c7338053c10a021c7d921.jpg","text":"TemporaryFile(/tmp/multipartBody3357851293874529273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662599922,"filename":"image_23012025_18_49_02_137994_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2fb584bc3715d1e20a2238a50d3da796.jpg","text":"TemporaryFile(/tmp/multipartBody4572478994431742616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662599922,"filename":"image_23012025_18_49_02_137994_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330864997","file1":"1330864993","file0":"1330864988","file4":"1330865006","file5":"1330865154","file3":"1330865001"},"map_files_photo_id_array":[{"photo_id":"1330865154","filename":"file5"},{"photo_id":"1330864997","filename":"file2"},{"photo_id":"1330865006","filename":"file4"},{"photo_id":"1330864993","filename":"file1"},{"photo_id":"1330864988","filename":"file0"},{"photo_id":"1330865001","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330864988":["hashtag1","hashtag2"]},{"1330864997":["hashtag1","hashtag2"]},{"1330865006":["hashtag1","hashtag2"]},{"1330864993":["hashtag1","hashtag2"]},{"1330865154":["hashtag1","hashtag2"]},{"1330865001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330864988, 1330864997, 1330865006, 1330864993, 1330865154, 1330865001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.819541454315186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 21:03:03.143906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0000.jpg', '/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0001.jpg', '/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0002.jpg', '/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0003.jpg', '/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0000.jpg', '/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0000.jpg
/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0001.jpg
/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0002.jpg
/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0003.jpg
/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0000.jpg
/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.48085594177246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:03:22.636746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0000.jpg', '/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0001.jpg', '/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0002.jpg', '/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0003.jpg', '/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0000.jpg', '/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0000.jpg
/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0001.jpg
/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0002.jpg
/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_02_335775_0003.jpg
/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0000.jpg
/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_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":["1330865234","1330865200","1330865193","1330865223","1330865229","1330865214"],"photo_ids_order":["1330865193","1330865200","1330865214","1330865223","1330865229","1330865234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67cb1a5607e2a9792f4d095d30c7baf7.jpg","text":"TemporaryFile(/tmp/multipartBody6088480078169344892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662679413,"filename":"image_23012025_18_51_02_519767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2e5b9e97f9652ac6838ae5002eb2176.jpg","text":"TemporaryFile(/tmp/multipartBody4659702352660956073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662679413,"filename":"image_23012025_18_50_02_335775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31ee42d67961189040059b87d6ce6db8.jpg","text":"TemporaryFile(/tmp/multipartBody5072990258799079684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662679413,"filename":"image_23012025_18_50_02_335775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c99113129ac7b6fe222d469d2909fef1.jpg","text":"TemporaryFile(/tmp/multipartBody17252138615983987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662679413,"filename":"image_23012025_18_50_02_335775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db482b588d841a9a1aa147eb60fbd378.jpg","text":"TemporaryFile(/tmp/multipartBody5412810070944937092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662679413,"filename":"image_23012025_18_51_02_519767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4b0939f6f79fb595bbd8958580ad95e.jpg","text":"TemporaryFile(/tmp/multipartBody151304758165428026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662679413,"filename":"image_23012025_18_50_02_335775_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330865214","file1":"1330865200","file0":"1330865193","file4":"1330865229","file5":"1330865234","file3":"1330865223"},"map_files_photo_id_array":[{"photo_id":"1330865234","filename":"file5"},{"photo_id":"1330865214","filename":"file2"},{"photo_id":"1330865229","filename":"file4"},{"photo_id":"1330865200","filename":"file1"},{"photo_id":"1330865193","filename":"file0"},{"photo_id":"1330865223","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330865234":["hashtag1","hashtag2"]},{"1330865200":["hashtag1","hashtag2"]},{"1330865193":["hashtag1","hashtag2"]},{"1330865223":["hashtag1","hashtag2"]},{"1330865229":["hashtag1","hashtag2"]},{"1330865214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330865234, 1330865200, 1330865193, 1330865223, 1330865229, 1330865214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.34327483177185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:04:22.720975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0002.jpg', '/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0003.jpg', '/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_0000.jpg', '/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_0001.jpg', '/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_0002.jpg', '/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0002.jpg
/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0003.jpg
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_0000.jpg
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_0001.jpg
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_0002.jpg
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_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.65657687187195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 21:04:42.784941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0002.jpg', '/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0003.jpg', '/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_0000.jpg', '/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_0001.jpg', '/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_0002.jpg', '/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0002.jpg
/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_02_519767_0003.jpg
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_0000.jpg
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_0001.jpg
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_0002.jpg
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_02_811072_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":["1330865342","1330865350","1330865332","1330865326","1330865337","1330865319"],"photo_ids_order":["1330865319","1330865326","1330865332","1330865337","1330865342","1330865350"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5311a267c7b93df3a8ad361f2de55a3b.jpg","text":"TemporaryFile(/tmp/multipartBody1179907580679321070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662759807,"filename":"image_23012025_18_52_02_811072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18efb5b096208f21c222ad65bdd5bfaf.jpg","text":"TemporaryFile(/tmp/multipartBody3405151866525157634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662759807,"filename":"image_23012025_18_52_02_811072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57db89587d148e4ed795f2eaaa9c2495.jpg","text":"TemporaryFile(/tmp/multipartBody2318958125852980849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662759807,"filename":"image_23012025_18_52_02_811072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c099bfee08f2948aca1f79b59c80e724.jpg","text":"TemporaryFile(/tmp/multipartBody7625222356919620056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662759807,"filename":"image_23012025_18_51_02_519767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1de32d90d4daec63a2b17f70a8461722.jpg","text":"TemporaryFile(/tmp/multipartBody2697123374878783084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662759807,"filename":"image_23012025_18_52_02_811072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2273a8ee8b89ba6df1373ad6888cc835.jpg","text":"TemporaryFile(/tmp/multipartBody3989075902651957351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662759807,"filename":"image_23012025_18_51_02_519767_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330865332","file1":"1330865326","file0":"1330865319","file4":"1330865342","file5":"1330865350","file3":"1330865337"},"map_files_photo_id_array":[{"photo_id":"1330865350","filename":"file5"},{"photo_id":"1330865332","filename":"file2"},{"photo_id":"1330865342","filename":"file4"},{"photo_id":"1330865326","filename":"file1"},{"photo_id":"1330865319","filename":"file0"},{"photo_id":"1330865337","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330865342":["hashtag1","hashtag2"]},{"1330865350":["hashtag1","hashtag2"]},{"1330865332":["hashtag1","hashtag2"]},{"1330865326":["hashtag1","hashtag2"]},{"1330865337":["hashtag1","hashtag2"]},{"1330865319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330865342, 1330865350, 1330865332, 1330865326, 1330865337, 1330865319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.95950675010681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 21:05:41.852716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0000.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0001.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0002.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0003.jpg', '/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_0000.jpg', '/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0000.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0001.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0002.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0003.jpg
/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_0000.jpg
/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_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: 16.534024715423584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 21:06:02.457238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0000.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0001.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0002.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0003.jpg', '/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_0000.jpg', '/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0000.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0001.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0002.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_02_931110_0003.jpg
/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_0000.jpg
/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_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":["1330865512","1330865499","1330865503","1330865493","1330865487","1330865508"],"photo_ids_order":["1330865487","1330865493","1330865499","1330865503","1330865508","1330865512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/684abc44903c424a4c5afa9b423ebb05.jpg","text":"TemporaryFile(/tmp/multipartBody1679758932004352347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662839396,"filename":"image_23012025_18_54_03_231011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b9c96334b3c48f3e8516cd21179346c.jpg","text":"TemporaryFile(/tmp/multipartBody1813862897070842443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662839396,"filename":"image_23012025_18_53_02_931110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6b007be1ef7d08a4220ff9c51ff6dc5.jpg","text":"TemporaryFile(/tmp/multipartBody4725720708504930934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662839396,"filename":"image_23012025_18_53_02_931110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01d83c48ae0386f94281dcbd0dbe6da0.jpg","text":"TemporaryFile(/tmp/multipartBody6172643921286593011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662839396,"filename":"image_23012025_18_53_02_931110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85931d6abf65148f631b096fccd5b03e.jpg","text":"TemporaryFile(/tmp/multipartBody868940391682399579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662839396,"filename":"image_23012025_18_53_02_931110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0f8b47482e7e4847ac9505987f99439.jpg","text":"TemporaryFile(/tmp/multipartBody3292977370170545844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662839396,"filename":"image_23012025_18_54_03_231011_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330865499","file1":"1330865493","file0":"1330865487","file4":"1330865508","file5":"1330865512","file3":"1330865503"},"map_files_photo_id_array":[{"photo_id":"1330865512","filename":"file5"},{"photo_id":"1330865499","filename":"file2"},{"photo_id":"1330865508","filename":"file4"},{"photo_id":"1330865493","filename":"file1"},{"photo_id":"1330865487","filename":"file0"},{"photo_id":"1330865503","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330865512":["hashtag1","hashtag2"]},{"1330865499":["hashtag1","hashtag2"]},{"1330865503":["hashtag1","hashtag2"]},{"1330865493":["hashtag1","hashtag2"]},{"1330865487":["hashtag1","hashtag2"]},{"1330865508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330865512, 1330865499, 1330865503, 1330865493, 1330865487, 1330865508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.72922110557556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 21:07:02.829054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_0002.jpg', '/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_0003.jpg', '/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0000.jpg', '/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0001.jpg', '/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0002.jpg', '/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_0002.jpg
/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_0003.jpg
/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0000.jpg
/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0001.jpg
/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0002.jpg
/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.808895111083984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:07:22.317451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_0002.jpg', '/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_0003.jpg', '/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0000.jpg', '/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0001.jpg', '/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0002.jpg', '/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_0002.jpg
/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_03_231011_0003.jpg
/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0000.jpg
/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0001.jpg
/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_0002.jpg
/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_02_317928_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":["1330865722","1330866048","1330865595","1330865880","1330865602","1330865607"],"photo_ids_order":["1330865595","1330865602","1330865607","1330865722","1330865880","1330866048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f35134cf92fc879dbfd85deaf899728.jpg","text":"TemporaryFile(/tmp/multipartBody247817061378654242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662919272,"filename":"image_23012025_18_55_02_317928_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8f37dde330bc500dc02a396b92c2a28.jpg","text":"TemporaryFile(/tmp/multipartBody9010462358555492419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662919272,"filename":"image_23012025_18_55_02_317928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fbdfda966e89cc487bc056a2921278b2.jpg","text":"TemporaryFile(/tmp/multipartBody4499371367083508426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662919272,"filename":"image_23012025_18_54_03_231011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed49b920ba9d1acad87374454819e725.jpg","text":"TemporaryFile(/tmp/multipartBody1147099019684519389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662919272,"filename":"image_23012025_18_55_02_317928_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebc292d595219e347712d01ff48dad76.jpg","text":"TemporaryFile(/tmp/multipartBody5535186115645256578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662919272,"filename":"image_23012025_18_54_03_231011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28035b4d8e7c9a4d5d76ceff57eaef1b.jpg","text":"TemporaryFile(/tmp/multipartBody7804118052023900448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662919272,"filename":"image_23012025_18_55_02_317928_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330865607","file1":"1330865602","file0":"1330865595","file4":"1330865880","file5":"1330866048","file3":"1330865722"},"map_files_photo_id_array":[{"photo_id":"1330866048","filename":"file5"},{"photo_id":"1330865607","filename":"file2"},{"photo_id":"1330865880","filename":"file4"},{"photo_id":"1330865602","filename":"file1"},{"photo_id":"1330865595","filename":"file0"},{"photo_id":"1330865722","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330865722":["hashtag1","hashtag2"]},{"1330866048":["hashtag1","hashtag2"]},{"1330865595":["hashtag1","hashtag2"]},{"1330865880":["hashtag1","hashtag2"]},{"1330865602":["hashtag1","hashtag2"]},{"1330865607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330865722, 1330866048, 1330865595, 1330865880, 1330865602, 1330865607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.42653155326843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:08:32.469979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0000.jpg', '/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0001.jpg', '/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0002.jpg', '/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0003.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_0000.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0000.jpg
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0001.jpg
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0002.jpg
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0003.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_0000.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_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: 16.100357055664062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:08:52.468972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0000.jpg', '/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0001.jpg', '/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0002.jpg', '/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0003.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_0000.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0000.jpg
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0001.jpg
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0002.jpg
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_02_567920_0003.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_0000.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_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":["1330866775","1330866766","1330866771","1330866762","1330866759","1330866785"],"photo_ids_order":["1330866759","1330866762","1330866766","1330866771","1330866775","1330866785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/452f0e1f2cf465f346972d313a85b4ef.jpg","text":"TemporaryFile(/tmp/multipartBody3834818746940453138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663008991,"filename":"image_23012025_18_57_02_748071_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4261fe75d9ab3acd2760d7263e16f7a9.jpg","text":"TemporaryFile(/tmp/multipartBody6217393271963972838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663008991,"filename":"image_23012025_18_56_02_567920_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/117504e21e70c37c1a6e480acc644219.jpg","text":"TemporaryFile(/tmp/multipartBody7923610779405952448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663008991,"filename":"image_23012025_18_56_02_567920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc3bf2a01f0a6f8b4a61298f9d3f6e7c.jpg","text":"TemporaryFile(/tmp/multipartBody7960415856044707690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663008991,"filename":"image_23012025_18_56_02_567920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1349c29d8fc69a1b6d73ddc448ccde67.jpg","text":"TemporaryFile(/tmp/multipartBody5091703102843120637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663008991,"filename":"image_23012025_18_56_02_567920_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c928af73968411cc254de5a51b361e7.jpg","text":"TemporaryFile(/tmp/multipartBody7782870483003422796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663008991,"filename":"image_23012025_18_57_02_748071_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330866766","file1":"1330866762","file0":"1330866759","file4":"1330866775","file5":"1330866785","file3":"1330866771"},"map_files_photo_id_array":[{"photo_id":"1330866785","filename":"file5"},{"photo_id":"1330866766","filename":"file2"},{"photo_id":"1330866775","filename":"file4"},{"photo_id":"1330866762","filename":"file1"},{"photo_id":"1330866759","filename":"file0"},{"photo_id":"1330866771","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330866775":["hashtag1","hashtag2"]},{"1330866766":["hashtag1","hashtag2"]},{"1330866771":["hashtag1","hashtag2"]},{"1330866762":["hashtag1","hashtag2"]},{"1330866759":["hashtag1","hashtag2"]},{"1330866785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330866775, 1330866766, 1330866771, 1330866762, 1330866759, 1330866785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.17412757873535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:09:52.662100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_0002.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_0003.jpg', '/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_0000.jpg', '/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_0001.jpg', '/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_0002.jpg', '/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_0002.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_0003.jpg
/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_0000.jpg
/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_0001.jpg
/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_0002.jpg
/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_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.588315725326538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:10:21.832912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_0002.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_0003.jpg', '/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_0000.jpg', '/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_0001.jpg', '/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_0002.jpg', '/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_0002.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_02_748071_0003.jpg
/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_0000.jpg
/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_0001.jpg
/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_0002.jpg
/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_02_960360_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":["1330867303","1330867290","1330867308","1330867317","1330867313","1330867297"],"photo_ids_order":["1330867290","1330867297","1330867303","1330867308","1330867313","1330867317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ddc9cc9e339b679a035183a24ef9813.jpg","text":"TemporaryFile(/tmp/multipartBody3255359595722922000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663098804,"filename":"image_23012025_18_58_02_960360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/564155580b21bcc32bfccd4086dae6cc.jpg","text":"TemporaryFile(/tmp/multipartBody3150382749897851143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663098804,"filename":"image_23012025_18_57_02_748071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4817c5acd162af73e26a6933dc0f992.jpg","text":"TemporaryFile(/tmp/multipartBody8924773038997758504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663098804,"filename":"image_23012025_18_58_02_960360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e3d1fc15838674496498914ebbe0406.jpg","text":"TemporaryFile(/tmp/multipartBody436167978799488824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663098804,"filename":"image_23012025_18_58_02_960360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d01a95df739eb0f0dc39b6c6402f1bb.jpg","text":"TemporaryFile(/tmp/multipartBody38943391124986733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663098804,"filename":"image_23012025_18_58_02_960360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b4701110456c5e563e2a011d537c05c.jpg","text":"TemporaryFile(/tmp/multipartBody5521979061315442887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663098804,"filename":"image_23012025_18_57_02_748071_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330867303","file1":"1330867297","file0":"1330867290","file4":"1330867313","file5":"1330867317","file3":"1330867308"},"map_files_photo_id_array":[{"photo_id":"1330867317","filename":"file5"},{"photo_id":"1330867303","filename":"file2"},{"photo_id":"1330867313","filename":"file4"},{"photo_id":"1330867297","filename":"file1"},{"photo_id":"1330867290","filename":"file0"},{"photo_id":"1330867308","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330867303":["hashtag1","hashtag2"]},{"1330867290":["hashtag1","hashtag2"]},{"1330867308":["hashtag1","hashtag2"]},{"1330867317":["hashtag1","hashtag2"]},{"1330867313":["hashtag1","hashtag2"]},{"1330867297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330867303, 1330867290, 1330867308, 1330867317, 1330867313, 1330867297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.64911198616028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:11:22.060645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_03_097498_0000.jpg', '/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_03_097498_0001.jpg', '/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_03_097498_0002.jpg', '/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_03_097498_0003.jpg', '/home/pi/Desktop/images/23012025/19/00/image_23012025_19_00_02_144455_0000.jpg', '/home/pi/Desktop/images/23012025/19/00/image_23012025_19_00_02_144455_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_03_097498_0000.jpg
/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_03_097498_0001.jpg
/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_03_097498_0002.jpg
/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_03_097498_0003.jpg
/home/pi/Desktop/images/23012025/19/00/image_23012025_19_00_02_144455_0000.jpg
/home/pi/Desktop/images/23012025/19/00/image_23012025_19_00_02_144455_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":["1330867351","1330867345","1330867429","1330867380","1330867359","1330867388"],"photo_ids_order":["1330867345","1330867351","1330867359","1330867380","1330867388","1330867429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1253e0c2448f272f7deb7223fadd64aa.jpg","text":"TemporaryFile(/tmp/multipartBody7247669928603347120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663159028,"filename":"image_23012025_18_59_03_097498_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a02e2bbdf3e2c5c1f7229a31c26b228e.jpg","text":"TemporaryFile(/tmp/multipartBody668000213228543454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663159028,"filename":"image_23012025_18_59_03_097498_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcc36e8004e01856e31d82fd72f6e32c.jpg","text":"TemporaryFile(/tmp/multipartBody457354030430364696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663159028,"filename":"image_23012025_19_00_02_144455_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5328611622598eaf4970e5f7b98cd192.jpg","text":"TemporaryFile(/tmp/multipartBody3387161175453051996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663159028,"filename":"image_23012025_18_59_03_097498_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/375812104377664e84fb5d672286f494.jpg","text":"TemporaryFile(/tmp/multipartBody72815029206955520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663159028,"filename":"image_23012025_18_59_03_097498_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36b54249d86f9d8469a02a3727197acb.jpg","text":"TemporaryFile(/tmp/multipartBody2913205207708942793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663159028,"filename":"image_23012025_19_00_02_144455_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330867359","file1":"1330867351","file0":"1330867345","file4":"1330867388","file5":"1330867429","file3":"1330867380"},"map_files_photo_id_array":[{"photo_id":"1330867429","filename":"file5"},{"photo_id":"1330867359","filename":"file2"},{"photo_id":"1330867388","filename":"file4"},{"photo_id":"1330867351","filename":"file1"},{"photo_id":"1330867345","filename":"file0"},{"photo_id":"1330867380","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330867351":["hashtag1","hashtag2"]},{"1330867345":["hashtag1","hashtag2"]},{"1330867429":["hashtag1","hashtag2"]},{"1330867380":["hashtag1","hashtag2"]},{"1330867359":["hashtag1","hashtag2"]},{"1330867388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330867351, 1330867345, 1330867429, 1330867380, 1330867359, 1330867388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.02772808074951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:12:32.256560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/00/image_23012025_19_00_02_144455_0002.jpg', '/home/pi/Desktop/images/23012025/19/00/image_23012025_19_00_02_144455_0003.jpg', '/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_0000.jpg', '/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_0001.jpg', '/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_0002.jpg', '/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/00/image_23012025_19_00_02_144455_0002.jpg
/home/pi/Desktop/images/23012025/19/00/image_23012025_19_00_02_144455_0003.jpg
/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_0000.jpg
/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_0001.jpg
/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_0002.jpg
/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_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.761144399642944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:12:52.327842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/00/image_23012025_19_00_02_144455_0002.jpg', '/home/pi/Desktop/images/23012025/19/00/image_23012025_19_00_02_144455_0003.jpg', '/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_0000.jpg', '/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_0001.jpg', '/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_0002.jpg', '/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/00/image_23012025_19_00_02_144455_0002.jpg
/home/pi/Desktop/images/23012025/19/00/image_23012025_19_00_02_144455_0003.jpg
/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_0000.jpg
/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_0001.jpg
/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_0002.jpg
/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_02_388569_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":["1330867564","1330867572","1330867581","1330867545","1330867520","1330867538"],"photo_ids_order":["1330867520","1330867538","1330867545","1330867564","1330867572","1330867581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3535d8c05f0d703f500f20d739f88b69.jpg","text":"TemporaryFile(/tmp/multipartBody3384284479994671669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663249508,"filename":"image_23012025_19_01_02_388569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5910db9fe1153ae8c7aeab73c9d9503a.jpg","text":"TemporaryFile(/tmp/multipartBody8481582694766161774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663249508,"filename":"image_23012025_19_01_02_388569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/079dff631efff078a4f60702751e75f0.jpg","text":"TemporaryFile(/tmp/multipartBody505782752089164634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663249508,"filename":"image_23012025_19_01_02_388569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aded5c4ea762277dbf4f039c5e795ece.jpg","text":"TemporaryFile(/tmp/multipartBody3623384574168276708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663249508,"filename":"image_23012025_19_01_02_388569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2bc57e9e0f559f0c4eeef7eceb1e98e.jpg","text":"TemporaryFile(/tmp/multipartBody2657891435953623163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663249508,"filename":"image_23012025_19_00_02_144455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78ed6dbe4bf7651dbcb89095e76480ac.jpg","text":"TemporaryFile(/tmp/multipartBody4496468287876723833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663249508,"filename":"image_23012025_19_00_02_144455_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330867545","file1":"1330867538","file0":"1330867520","file4":"1330867572","file5":"1330867581","file3":"1330867564"},"map_files_photo_id_array":[{"photo_id":"1330867581","filename":"file5"},{"photo_id":"1330867545","filename":"file2"},{"photo_id":"1330867572","filename":"file4"},{"photo_id":"1330867538","filename":"file1"},{"photo_id":"1330867520","filename":"file0"},{"photo_id":"1330867564","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330867564":["hashtag1","hashtag2"]},{"1330867572":["hashtag1","hashtag2"]},{"1330867581":["hashtag1","hashtag2"]},{"1330867545":["hashtag1","hashtag2"]},{"1330867520":["hashtag1","hashtag2"]},{"1330867538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330867564, 1330867572, 1330867581, 1330867545, 1330867520, 1330867538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.89734411239624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:13:52.494166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0000.jpg', '/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0001.jpg', '/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0002.jpg', '/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0003.jpg', '/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_02_680419_0000.jpg', '/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_02_680419_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0000.jpg
/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0001.jpg
/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0002.jpg
/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0003.jpg
/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_02_680419_0000.jpg
/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_02_680419_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: 16.679587364196777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:14:22.688033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0000.jpg', '/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0001.jpg', '/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0002.jpg', '/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0003.jpg', '/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_02_680419_0000.jpg', '/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_02_680419_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0000.jpg
/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0001.jpg
/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0002.jpg
/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_02_590018_0003.jpg
/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_02_680419_0000.jpg
/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_02_680419_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":["1330867689","1330867680","1330867674","1330867668","1330867693","1330867696"],"photo_ids_order":["1330867668","1330867674","1330867680","1330867689","1330867693","1330867696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/108d34c46a444b9e83b0604acdd6ef8c.jpg","text":"TemporaryFile(/tmp/multipartBody2040195306574450395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663339746,"filename":"image_23012025_19_02_02_590018_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0d22c6840f836a67ee5d020e47ee0a3.jpg","text":"TemporaryFile(/tmp/multipartBody8261770501312567626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663339746,"filename":"image_23012025_19_02_02_590018_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e4a4e782fcde8ee243883f3a6337b2e.jpg","text":"TemporaryFile(/tmp/multipartBody5359565510474074968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663339746,"filename":"image_23012025_19_02_02_590018_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21cbdb162f4cc4605c576f0cad359f3c.jpg","text":"TemporaryFile(/tmp/multipartBody2388021927133352381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663339746,"filename":"image_23012025_19_02_02_590018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa6602a8fcdf3e15073497f4528eca5b.jpg","text":"TemporaryFile(/tmp/multipartBody4627579215574989381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663339746,"filename":"image_23012025_19_03_02_680419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9fe08c09c87bd3edb3fcfc2df7853b89.jpg","text":"TemporaryFile(/tmp/multipartBody7685246991693809623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663339746,"filename":"image_23012025_19_03_02_680419_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330867680","file1":"1330867674","file0":"1330867668","file4":"1330867693","file5":"1330867696","file3":"1330867689"},"map_files_photo_id_array":[{"photo_id":"1330867696","filename":"file5"},{"photo_id":"1330867680","filename":"file2"},{"photo_id":"1330867693","filename":"file4"},{"photo_id":"1330867674","filename":"file1"},{"photo_id":"1330867668","filename":"file0"},{"photo_id":"1330867689","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330867689":["hashtag1","hashtag2"]},{"1330867680":["hashtag1","hashtag2"]},{"1330867674":["hashtag1","hashtag2"]},{"1330867668":["hashtag1","hashtag2"]},{"1330867693":["hashtag1","hashtag2"]},{"1330867696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330867689, 1330867680, 1330867674, 1330867668, 1330867693, 1330867696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.56639003753662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:15:21.901106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_02_680419_0002.jpg', '/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_02_680419_0003.jpg', '/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_02_926113_0000.jpg', '/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_02_926113_0001.jpg', '/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_02_926113_0002.jpg', '/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_02_926113_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_02_680419_0002.jpg
/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_02_680419_0003.jpg
/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_02_926113_0000.jpg
/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_02_926113_0001.jpg
/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_02_926113_0002.jpg
/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_02_926113_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":["1330867720","1330867714","1330867734","1330867737","1330867731","1330867725"],"photo_ids_order":["1330867714","1330867720","1330867725","1330867731","1330867734","1330867737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6465753e7f44634221ecae434e605d3.jpg","text":"TemporaryFile(/tmp/multipartBody5954810053389521930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663398556,"filename":"image_23012025_19_03_02_680419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af6fb1c760d7099b1a07096be4026efb.jpg","text":"TemporaryFile(/tmp/multipartBody5071956847484655739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663398556,"filename":"image_23012025_19_03_02_680419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4372892e6f191b3021801d91fb998a81.jpg","text":"TemporaryFile(/tmp/multipartBody6474459127132946492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663398556,"filename":"image_23012025_19_04_02_926113_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06c2f9db5330d792dcabb60c890b9d9d.jpg","text":"TemporaryFile(/tmp/multipartBody1652334374144471239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663398556,"filename":"image_23012025_19_04_02_926113_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bce5fb0cf1c4b7640bc5dc66dadb3c4.jpg","text":"TemporaryFile(/tmp/multipartBody7934617136148540491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663398556,"filename":"image_23012025_19_04_02_926113_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e9481d1a2eb2c831b8799ab5f322fc3.jpg","text":"TemporaryFile(/tmp/multipartBody5112389324609836246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663398556,"filename":"image_23012025_19_04_02_926113_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330867725","file1":"1330867720","file0":"1330867714","file4":"1330867734","file5":"1330867737","file3":"1330867731"},"map_files_photo_id_array":[{"photo_id":"1330867737","filename":"file5"},{"photo_id":"1330867725","filename":"file2"},{"photo_id":"1330867734","filename":"file4"},{"photo_id":"1330867720","filename":"file1"},{"photo_id":"1330867714","filename":"file0"},{"photo_id":"1330867731","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330867720":["hashtag1","hashtag2"]},{"1330867714":["hashtag1","hashtag2"]},{"1330867734":["hashtag1","hashtag2"]},{"1330867737":["hashtag1","hashtag2"]},{"1330867731":["hashtag1","hashtag2"]},{"1330867725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330867720, 1330867714, 1330867734, 1330867737, 1330867731, 1330867725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.84644675254822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:16:22.072027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_03_115650_0000.jpg', '/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_03_115650_0001.jpg', '/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_03_115650_0002.jpg', '/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_03_115650_0003.jpg', '/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_02_351578_0000.jpg', '/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_02_351578_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_03_115650_0000.jpg
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_03_115650_0001.jpg
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_03_115650_0002.jpg
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_03_115650_0003.jpg
/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_02_351578_0000.jpg
/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_02_351578_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":["1330867788","1330867793","1330867775","1330867763","1330867757","1330867817"],"photo_ids_order":["1330867757","1330867763","1330867775","1330867788","1330867793","1330867817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a000b5cfc6978ff9214f2f6a30fe2153.jpg","text":"TemporaryFile(/tmp/multipartBody8416005400785424111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663458825,"filename":"image_23012025_19_05_03_115650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15066a9bbd207f0efc477aa4e1979d1d.jpg","text":"TemporaryFile(/tmp/multipartBody2408518449562056547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663458825,"filename":"image_23012025_19_06_02_351578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f40343376fee7d56063adf4be14674f.jpg","text":"TemporaryFile(/tmp/multipartBody7682977564735985120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663458825,"filename":"image_23012025_19_05_03_115650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/277c08b0f533d20eddfe4d004df06ee0.jpg","text":"TemporaryFile(/tmp/multipartBody5891923563341298662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663458825,"filename":"image_23012025_19_05_03_115650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63f53ba50ea1c926b6546500a9d36640.jpg","text":"TemporaryFile(/tmp/multipartBody3536802415637577522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663458825,"filename":"image_23012025_19_05_03_115650_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ff89dc2482b59de0df9d1fc30bd683f.jpg","text":"TemporaryFile(/tmp/multipartBody5523789312732449718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663458825,"filename":"image_23012025_19_06_02_351578_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330867775","file1":"1330867763","file0":"1330867757","file4":"1330867793","file5":"1330867817","file3":"1330867788"},"map_files_photo_id_array":[{"photo_id":"1330867817","filename":"file5"},{"photo_id":"1330867775","filename":"file2"},{"photo_id":"1330867793","filename":"file4"},{"photo_id":"1330867763","filename":"file1"},{"photo_id":"1330867757","filename":"file0"},{"photo_id":"1330867788","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330867788":["hashtag1","hashtag2"]},{"1330867793":["hashtag1","hashtag2"]},{"1330867775":["hashtag1","hashtag2"]},{"1330867763":["hashtag1","hashtag2"]},{"1330867757":["hashtag1","hashtag2"]},{"1330867817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330867788, 1330867793, 1330867775, 1330867763, 1330867757, 1330867817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.593443393707275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:17:22.228322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_02_351578_0002.jpg', '/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_02_351578_0003.jpg', '/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_02_410685_0000.jpg', '/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_02_410685_0001.jpg', '/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_02_410685_0002.jpg', '/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_02_410685_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_02_351578_0002.jpg
/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_02_351578_0003.jpg
/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_02_410685_0000.jpg
/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_02_410685_0001.jpg
/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_02_410685_0002.jpg
/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_02_410685_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":["1330868274","1330868188","1330868269","1330868182","1330868263","1330868128"],"photo_ids_order":["1330868128","1330868182","1330868188","1330868263","1330868269","1330868274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/418da5bf161594d071fc2ed368c7bed1.jpg","text":"TemporaryFile(/tmp/multipartBody2948816902129004440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663518469,"filename":"image_23012025_19_07_02_410685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6205222d48fbc6172775a0359f47afce.jpg","text":"TemporaryFile(/tmp/multipartBody7044465211735761697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663518469,"filename":"image_23012025_19_07_02_410685_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28801b1e799669a071c4982fbf74244f.jpg","text":"TemporaryFile(/tmp/multipartBody3207442264045908658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663518469,"filename":"image_23012025_19_07_02_410685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84041ba711eca89007ed08cd3fbb2d16.jpg","text":"TemporaryFile(/tmp/multipartBody3073100293574826694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663518469,"filename":"image_23012025_19_06_02_351578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c68bdba08d7000ca7dff6161937ab2a.jpg","text":"TemporaryFile(/tmp/multipartBody7486874876681972067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663518469,"filename":"image_23012025_19_07_02_410685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7e377c47091eff4098c714deb5a6189.jpg","text":"TemporaryFile(/tmp/multipartBody760082273441365865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663518469,"filename":"image_23012025_19_06_02_351578_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330868188","file1":"1330868182","file0":"1330868128","file4":"1330868269","file5":"1330868274","file3":"1330868263"},"map_files_photo_id_array":[{"photo_id":"1330868274","filename":"file5"},{"photo_id":"1330868188","filename":"file2"},{"photo_id":"1330868269","filename":"file4"},{"photo_id":"1330868182","filename":"file1"},{"photo_id":"1330868128","filename":"file0"},{"photo_id":"1330868263","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330868274":["hashtag1","hashtag2"]},{"1330868188":["hashtag1","hashtag2"]},{"1330868269":["hashtag1","hashtag2"]},{"1330868182":["hashtag1","hashtag2"]},{"1330868263":["hashtag1","hashtag2"]},{"1330868128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330868274, 1330868188, 1330868269, 1330868182, 1330868263, 1330868128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.39404606819153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:18:22.335028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0000.jpg', '/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0001.jpg', '/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0002.jpg', '/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0003.jpg', '/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_0000.jpg', '/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0000.jpg
/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0001.jpg
/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0002.jpg
/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0003.jpg
/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_0000.jpg
/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_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: 16.257249355316162 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 21:18:42.422157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0000.jpg', '/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0001.jpg', '/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0002.jpg', '/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0003.jpg', '/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_0000.jpg', '/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0000.jpg
/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0001.jpg
/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0002.jpg
/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_02_562570_0003.jpg
/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_0000.jpg
/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_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":["1330868370","1330868375","1330868390","1330868383","1330868365","1330868359"],"photo_ids_order":["1330868359","1330868365","1330868370","1330868375","1330868383","1330868390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e7ba61d80354e2298a30198d43a5e8c.jpg","text":"TemporaryFile(/tmp/multipartBody897013214658042533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663599054,"filename":"image_23012025_19_08_02_562570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f4a31f4b2c2d43319d6bc6706f2ef6f.jpg","text":"TemporaryFile(/tmp/multipartBody4747552706767108196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663599054,"filename":"image_23012025_19_08_02_562570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b64a14e65c29c6d741d8798e838e387.jpg","text":"TemporaryFile(/tmp/multipartBody2604911391300481710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663599054,"filename":"image_23012025_19_09_02_746436_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d8dc783f31968cbfcd424126b24849f.jpg","text":"TemporaryFile(/tmp/multipartBody5479866244135768014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663599054,"filename":"image_23012025_19_09_02_746436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/736027043213eba2270aabe7106dd2e4.jpg","text":"TemporaryFile(/tmp/multipartBody2772781055619417705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663599054,"filename":"image_23012025_19_08_02_562570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7917665e2b6c8afa7d66de375b15710b.jpg","text":"TemporaryFile(/tmp/multipartBody5742069091999218037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663599054,"filename":"image_23012025_19_08_02_562570_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330868370","file1":"1330868365","file0":"1330868359","file4":"1330868383","file5":"1330868390","file3":"1330868375"},"map_files_photo_id_array":[{"photo_id":"1330868390","filename":"file5"},{"photo_id":"1330868370","filename":"file2"},{"photo_id":"1330868383","filename":"file4"},{"photo_id":"1330868365","filename":"file1"},{"photo_id":"1330868359","filename":"file0"},{"photo_id":"1330868375","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330868370":["hashtag1","hashtag2"]},{"1330868375":["hashtag1","hashtag2"]},{"1330868390":["hashtag1","hashtag2"]},{"1330868383":["hashtag1","hashtag2"]},{"1330868365":["hashtag1","hashtag2"]},{"1330868359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330868370, 1330868375, 1330868390, 1330868383, 1330868365, 1330868359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.88042855262756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 21:19:42.617293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_0002.jpg', '/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_0003.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_0000.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_0001.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_0002.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_0002.jpg
/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_0003.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_0000.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_0001.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_0002.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_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.129951238632202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 21:20:02.309757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_0002.jpg', '/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_0003.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_0000.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_0001.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_0002.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_0002.jpg
/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_02_746436_0003.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_0000.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_0001.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_0002.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_02_908658_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":["1330868496","1330868498","1330868477","1330868486","1330868501","1330868470"],"photo_ids_order":["1330868470","1330868477","1330868486","1330868496","1330868498","1330868501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5865e5727ddf38a0748c9e7accde2fe.jpg","text":"TemporaryFile(/tmp/multipartBody7069394772870806235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663678831,"filename":"image_23012025_19_10_02_908658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/915fb3b172007d46f824b9c39569ebb7.jpg","text":"TemporaryFile(/tmp/multipartBody7858687583848254964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663678831,"filename":"image_23012025_19_10_02_908658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f99dfb8fffec3b4a152250f1fd14d7fd.jpg","text":"TemporaryFile(/tmp/multipartBody9105688399734181905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663678831,"filename":"image_23012025_19_09_02_746436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/573842b21cabb112b63887b7c7f03aaa.jpg","text":"TemporaryFile(/tmp/multipartBody3461016578886290074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663678831,"filename":"image_23012025_19_10_02_908658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/595c045bcdd56d347ad27e719021c70a.jpg","text":"TemporaryFile(/tmp/multipartBody8916139614879361262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663678831,"filename":"image_23012025_19_10_02_908658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8478085990a8d35195e3996046542286.jpg","text":"TemporaryFile(/tmp/multipartBody1253638794877398594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663678831,"filename":"image_23012025_19_09_02_746436_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330868486","file1":"1330868477","file0":"1330868470","file4":"1330868498","file5":"1330868501","file3":"1330868496"},"map_files_photo_id_array":[{"photo_id":"1330868501","filename":"file5"},{"photo_id":"1330868486","filename":"file2"},{"photo_id":"1330868498","filename":"file4"},{"photo_id":"1330868477","filename":"file1"},{"photo_id":"1330868470","filename":"file0"},{"photo_id":"1330868496","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330868496":["hashtag1","hashtag2"]},{"1330868498":["hashtag1","hashtag2"]},{"1330868477":["hashtag1","hashtag2"]},{"1330868486":["hashtag1","hashtag2"]},{"1330868501":["hashtag1","hashtag2"]},{"1330868470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330868496, 1330868498, 1330868477, 1330868486, 1330868501, 1330868470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.87759971618652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 21:21:02.528379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0000.jpg', '/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0001.jpg', '/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0002.jpg', '/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0003.jpg', '/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_02_361779_0000.jpg', '/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_02_361779_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0000.jpg
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0001.jpg
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0002.jpg
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0003.jpg
/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_02_361779_0000.jpg
/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_02_361779_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.22841453552246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:21:21.971387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0000.jpg', '/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0001.jpg', '/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0002.jpg', '/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0003.jpg', '/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_02_361779_0000.jpg', '/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_02_361779_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0000.jpg
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0001.jpg
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0002.jpg
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_03_101620_0003.jpg
/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_02_361779_0000.jpg
/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_02_361779_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":["1330868643","1330868646","1330868640","1330868651","1330868621","1330868603"],"photo_ids_order":["1330868603","1330868621","1330868640","1330868643","1330868646","1330868651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9a9087b684cbf1cea84ffc575ecf34b.jpg","text":"TemporaryFile(/tmp/multipartBody677441123235910522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663758554,"filename":"image_23012025_19_11_03_101620_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ceca75af357df727f9dc0c13d2a96b3.jpg","text":"TemporaryFile(/tmp/multipartBody2548291428387220951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663758554,"filename":"image_23012025_19_12_02_361779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d1ad95c099efd7cafffdb6e71f27d61.jpg","text":"TemporaryFile(/tmp/multipartBody8096494604435017322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663758554,"filename":"image_23012025_19_11_03_101620_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/836503da148699d10b1d4a5adfc42169.jpg","text":"TemporaryFile(/tmp/multipartBody5472783404530677809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663758554,"filename":"image_23012025_19_12_02_361779_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee572e92c33529caa15e204c620dcf8f.jpg","text":"TemporaryFile(/tmp/multipartBody8061788010906878324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663758554,"filename":"image_23012025_19_11_03_101620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14fce1294e7855392ab73258fdcd3c43.jpg","text":"TemporaryFile(/tmp/multipartBody3140227324882090200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663758554,"filename":"image_23012025_19_11_03_101620_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330868640","file1":"1330868621","file0":"1330868603","file4":"1330868646","file5":"1330868651","file3":"1330868643"},"map_files_photo_id_array":[{"photo_id":"1330868651","filename":"file5"},{"photo_id":"1330868640","filename":"file2"},{"photo_id":"1330868646","filename":"file4"},{"photo_id":"1330868621","filename":"file1"},{"photo_id":"1330868603","filename":"file0"},{"photo_id":"1330868643","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330868643":["hashtag1","hashtag2"]},{"1330868646":["hashtag1","hashtag2"]},{"1330868640":["hashtag1","hashtag2"]},{"1330868651":["hashtag1","hashtag2"]},{"1330868621":["hashtag1","hashtag2"]},{"1330868603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330868643, 1330868646, 1330868640, 1330868651, 1330868621, 1330868603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.746713161468506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:22:22.279606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_02_361779_0002.jpg', '/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_02_361779_0003.jpg', '/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_02_506209_0000.jpg', '/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_02_506209_0001.jpg', '/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_02_506209_0002.jpg', '/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_02_506209_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_02_361779_0002.jpg
/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_02_361779_0003.jpg
/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_02_506209_0000.jpg
/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_02_506209_0001.jpg
/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_02_506209_0002.jpg
/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_02_506209_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":["1330868699","1330868693","1330868735","1330868678","1330868740","1330868728"],"photo_ids_order":["1330868678","1330868693","1330868699","1330868728","1330868735","1330868740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d082a86834163d1a0b3ee3e1cd5d498.jpg","text":"TemporaryFile(/tmp/multipartBody8653219850235602217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663818673,"filename":"image_23012025_19_13_02_506209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f621c9b30b7092a88c878334a4150841.jpg","text":"TemporaryFile(/tmp/multipartBody1973368373653777778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663818673,"filename":"image_23012025_19_12_02_361779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/364d6e2082e105f2e5626f0c5e132009.jpg","text":"TemporaryFile(/tmp/multipartBody4599819895591789684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663818673,"filename":"image_23012025_19_13_02_506209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/460c41c01a87e1f39545ad44a990977b.jpg","text":"TemporaryFile(/tmp/multipartBody5260880811421362036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663818673,"filename":"image_23012025_19_12_02_361779_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a1e185b18793f7a98540d96870ef260.jpg","text":"TemporaryFile(/tmp/multipartBody1329435649044829241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663818673,"filename":"image_23012025_19_13_02_506209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/687bed483c53af39939b81b80b9c60e2.jpg","text":"TemporaryFile(/tmp/multipartBody6082524035169724799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663818673,"filename":"image_23012025_19_13_02_506209_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330868699","file1":"1330868693","file0":"1330868678","file4":"1330868735","file5":"1330868740","file3":"1330868728"},"map_files_photo_id_array":[{"photo_id":"1330868740","filename":"file5"},{"photo_id":"1330868699","filename":"file2"},{"photo_id":"1330868735","filename":"file4"},{"photo_id":"1330868693","filename":"file1"},{"photo_id":"1330868678","filename":"file0"},{"photo_id":"1330868728","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330868699":["hashtag1","hashtag2"]},{"1330868693":["hashtag1","hashtag2"]},{"1330868735":["hashtag1","hashtag2"]},{"1330868678":["hashtag1","hashtag2"]},{"1330868740":["hashtag1","hashtag2"]},{"1330868728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330868699, 1330868693, 1330868735, 1330868678, 1330868740, 1330868728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.96688199043274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:23:32.349890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_02_750381_0000.jpg', '/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_02_750381_0001.jpg', '/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_02_750381_0002.jpg', '/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_02_750381_0003.jpg', '/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_02_935024_0000.jpg', '/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_02_935024_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_02_750381_0000.jpg
/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_02_750381_0001.jpg
/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_02_750381_0002.jpg
/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_02_750381_0003.jpg
/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_02_935024_0000.jpg
/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_02_935024_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":["1330868826","1330868811","1330868819","1330868839","1330868833","1330868815"],"photo_ids_order":["1330868811","1330868815","1330868819","1330868826","1330868833","1330868839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ede935f18beeb3815643eb390224ad36.jpg","text":"TemporaryFile(/tmp/multipartBody4400184652238312875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663888959,"filename":"image_23012025_19_14_02_750381_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c14ef54daae42482179ea461bbea9adc.jpg","text":"TemporaryFile(/tmp/multipartBody6386312064082298538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663888959,"filename":"image_23012025_19_14_02_750381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e31ee4afe863d2b0bed93b68a2923cc9.jpg","text":"TemporaryFile(/tmp/multipartBody1310867118459767730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663888959,"filename":"image_23012025_19_14_02_750381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d850fdf28c80900afa8457f0b39eeff3.jpg","text":"TemporaryFile(/tmp/multipartBody4466758053537112417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663888959,"filename":"image_23012025_19_15_02_935024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69b5fb3ea3610c1cff9a5499c79d32de.jpg","text":"TemporaryFile(/tmp/multipartBody4241887262346180751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663888959,"filename":"image_23012025_19_15_02_935024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33fe28d8dbf082544c5a53a9cf0da8a2.jpg","text":"TemporaryFile(/tmp/multipartBody7191893205124684513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663888959,"filename":"image_23012025_19_14_02_750381_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330868819","file1":"1330868815","file0":"1330868811","file4":"1330868833","file5":"1330868839","file3":"1330868826"},"map_files_photo_id_array":[{"photo_id":"1330868839","filename":"file5"},{"photo_id":"1330868819","filename":"file2"},{"photo_id":"1330868833","filename":"file4"},{"photo_id":"1330868815","filename":"file1"},{"photo_id":"1330868811","filename":"file0"},{"photo_id":"1330868826","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330868826":["hashtag1","hashtag2"]},{"1330868811":["hashtag1","hashtag2"]},{"1330868819":["hashtag1","hashtag2"]},{"1330868839":["hashtag1","hashtag2"]},{"1330868833":["hashtag1","hashtag2"]},{"1330868815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330868826, 1330868811, 1330868819, 1330868839, 1330868833, 1330868815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.575018882751465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:24:32.538963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_02_935024_0002.jpg', '/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_02_935024_0003.jpg', '/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_03_082765_0000.jpg', '/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_03_082765_0001.jpg', '/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_03_082765_0002.jpg', '/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_03_082765_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_02_935024_0002.jpg
/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_02_935024_0003.jpg
/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_03_082765_0000.jpg
/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_03_082765_0001.jpg
/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_03_082765_0002.jpg
/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_03_082765_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":["1330868880","1330868861","1330868864","1330868887","1330868872","1330868866"],"photo_ids_order":["1330868861","1330868864","1330868866","1330868872","1330868880","1330868887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8378c67129cecdf7c8ba6b9dbaa85dca.jpg","text":"TemporaryFile(/tmp/multipartBody3417659023829166845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663949328,"filename":"image_23012025_19_16_03_082765_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f9a093d58ae899cade96cb4093ecd31.jpg","text":"TemporaryFile(/tmp/multipartBody4529215527974839021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663949328,"filename":"image_23012025_19_15_02_935024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/942c42230c271127c3b405a3cbfe779d.jpg","text":"TemporaryFile(/tmp/multipartBody1684065022573906916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663949328,"filename":"image_23012025_19_15_02_935024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80c70b4318cd1813b6416cc29ac11bef.jpg","text":"TemporaryFile(/tmp/multipartBody7261015017201098724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663949328,"filename":"image_23012025_19_16_03_082765_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88439fa67cb0c46ddce42e6a0f4593d0.jpg","text":"TemporaryFile(/tmp/multipartBody3944015279478077712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663949328,"filename":"image_23012025_19_16_03_082765_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5a1f43946f49241b7091e625532208f.jpg","text":"TemporaryFile(/tmp/multipartBody8421205624733695170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663949328,"filename":"image_23012025_19_16_03_082765_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330868866","file1":"1330868864","file0":"1330868861","file4":"1330868880","file5":"1330868887","file3":"1330868872"},"map_files_photo_id_array":[{"photo_id":"1330868887","filename":"file5"},{"photo_id":"1330868866","filename":"file2"},{"photo_id":"1330868880","filename":"file4"},{"photo_id":"1330868864","filename":"file1"},{"photo_id":"1330868861","filename":"file0"},{"photo_id":"1330868872","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330868880":["hashtag1","hashtag2"]},{"1330868861":["hashtag1","hashtag2"]},{"1330868864":["hashtag1","hashtag2"]},{"1330868887":["hashtag1","hashtag2"]},{"1330868872":["hashtag1","hashtag2"]},{"1330868866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330868880, 1330868861, 1330868864, 1330868887, 1330868872, 1330868866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.02715706825256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:25:32.720442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_02_226829_0000.jpg', '/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_02_226829_0001.jpg', '/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_02_226829_0002.jpg', '/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_02_226829_0003.jpg', '/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_02_385494_0000.jpg', '/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_02_385494_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_02_226829_0000.jpg
/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_02_226829_0001.jpg
/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_02_226829_0002.jpg
/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_02_226829_0003.jpg
/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_02_385494_0000.jpg
/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_02_385494_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":["1330868917","1330868925","1330868913","1330868936","1330868930","1330868908"],"photo_ids_order":["1330868908","1330868913","1330868917","1330868925","1330868930","1330868936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37d0e61128ad586a81caac327ad08dd8.jpg","text":"TemporaryFile(/tmp/multipartBody7847869028249462770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664009289,"filename":"image_23012025_19_17_02_226829_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81dfe17679b893adfa51482e2f550554.jpg","text":"TemporaryFile(/tmp/multipartBody2543140735628016572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664009289,"filename":"image_23012025_19_17_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/23/3c97a753fb293cc98afa29e6f111df40.jpg","text":"TemporaryFile(/tmp/multipartBody4947637094485018818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664009289,"filename":"image_23012025_19_17_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/23/c8774e4397a845d7086e6dad6aad5dff.jpg","text":"TemporaryFile(/tmp/multipartBody8084192800318589600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664009289,"filename":"image_23012025_19_18_02_385494_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a54d647f9e55986a7fbb8abc2629dd04.jpg","text":"TemporaryFile(/tmp/multipartBody1326476010886210976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664009289,"filename":"image_23012025_19_18_02_385494_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/763aaefd01fad07e4be50c01715f4e5f.jpg","text":"TemporaryFile(/tmp/multipartBody190787441143717012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664009289,"filename":"image_23012025_19_17_02_226829_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330868917","file1":"1330868913","file0":"1330868908","file4":"1330868930","file5":"1330868936","file3":"1330868925"},"map_files_photo_id_array":[{"photo_id":"1330868936","filename":"file5"},{"photo_id":"1330868917","filename":"file2"},{"photo_id":"1330868930","filename":"file4"},{"photo_id":"1330868913","filename":"file1"},{"photo_id":"1330868908","filename":"file0"},{"photo_id":"1330868925","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330868917":["hashtag1","hashtag2"]},{"1330868925":["hashtag1","hashtag2"]},{"1330868913":["hashtag1","hashtag2"]},{"1330868936":["hashtag1","hashtag2"]},{"1330868930":["hashtag1","hashtag2"]},{"1330868908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330868917, 1330868925, 1330868913, 1330868936, 1330868930, 1330868908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.656819105148315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:26:31.924317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_02_385494_0002.jpg', '/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_02_385494_0003.jpg', '/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_02_514330_0000.jpg', '/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_02_514330_0001.jpg', '/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_02_514330_0002.jpg', '/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_02_514330_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_02_385494_0002.jpg
/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_02_385494_0003.jpg
/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_02_514330_0000.jpg
/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_02_514330_0001.jpg
/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_02_514330_0002.jpg
/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_02_514330_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":["1330869012","1330869029","1330869005","1330868992","1330868974","1330869019"],"photo_ids_order":["1330868974","1330868992","1330869005","1330869012","1330869019","1330869029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b849d52727b35a68702dd34d4f682147.jpg","text":"TemporaryFile(/tmp/multipartBody1891350154298125930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664068718,"filename":"image_23012025_19_19_02_514330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/566649f74b97970cb1a5f0cd882a84b7.jpg","text":"TemporaryFile(/tmp/multipartBody7527428358603604781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664068718,"filename":"image_23012025_19_19_02_514330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9c8119fc636e99d1b4360771eaa7667.jpg","text":"TemporaryFile(/tmp/multipartBody2334138648967126863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664068718,"filename":"image_23012025_19_19_02_514330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b4b2b809c2f0677550e6692fd0dab98.jpg","text":"TemporaryFile(/tmp/multipartBody8533358962160541238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664068718,"filename":"image_23012025_19_18_02_385494_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b06e0fc52568d6caaecacc4d8f70de00.jpg","text":"TemporaryFile(/tmp/multipartBody8710800178807606788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664068718,"filename":"image_23012025_19_18_02_385494_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15ec319e7f55f4db5699e5c84aa96832.jpg","text":"TemporaryFile(/tmp/multipartBody9002284852158553682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664068718,"filename":"image_23012025_19_19_02_514330_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330869005","file1":"1330868992","file0":"1330868974","file4":"1330869019","file5":"1330869029","file3":"1330869012"},"map_files_photo_id_array":[{"photo_id":"1330869029","filename":"file5"},{"photo_id":"1330869005","filename":"file2"},{"photo_id":"1330869019","filename":"file4"},{"photo_id":"1330868992","filename":"file1"},{"photo_id":"1330868974","filename":"file0"},{"photo_id":"1330869012","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330869012":["hashtag1","hashtag2"]},{"1330869029":["hashtag1","hashtag2"]},{"1330869005":["hashtag1","hashtag2"]},{"1330868992":["hashtag1","hashtag2"]},{"1330868974":["hashtag1","hashtag2"]},{"1330869019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330869012, 1330869029, 1330869005, 1330868992, 1330868974, 1330869019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.10792541503906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:27:32.122314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_02_694176_0000.jpg', '/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_02_694176_0001.jpg', '/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_02_694176_0002.jpg', '/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_02_694176_0003.jpg', '/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_02_947697_0000.jpg', '/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_02_947697_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_02_694176_0000.jpg
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_02_694176_0001.jpg
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_02_694176_0002.jpg
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_02_694176_0003.jpg
/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_02_947697_0000.jpg
/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_02_947697_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":["1330869215","1330869199","1330869184","1330869220","1330869208","1330869202"],"photo_ids_order":["1330869184","1330869199","1330869202","1330869208","1330869215","1330869220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cb2f90848905ae1bde4b30732e2c008.jpg","text":"TemporaryFile(/tmp/multipartBody9219976845095087162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664128832,"filename":"image_23012025_19_21_02_947697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77ee9355e1ddc9c9380c4d54bd5d291b.jpg","text":"TemporaryFile(/tmp/multipartBody4863667395128152040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664128832,"filename":"image_23012025_19_20_02_694176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac57bd578b3f9da4637f3e7207ea6e58.jpg","text":"TemporaryFile(/tmp/multipartBody8511827217634183449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664128832,"filename":"image_23012025_19_20_02_694176_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea064fb92ae5351ff109bc51e3288c6f.jpg","text":"TemporaryFile(/tmp/multipartBody4755764483730167370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664128832,"filename":"image_23012025_19_21_02_947697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ad8ba22dff41d20c783c4ed9868de1b.jpg","text":"TemporaryFile(/tmp/multipartBody3877387933302139248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664128832,"filename":"image_23012025_19_20_02_694176_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f371b7dfc7a137dae841728f4a94c133.jpg","text":"TemporaryFile(/tmp/multipartBody3466807630359439778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664128832,"filename":"image_23012025_19_20_02_694176_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330869202","file1":"1330869199","file0":"1330869184","file4":"1330869215","file5":"1330869220","file3":"1330869208"},"map_files_photo_id_array":[{"photo_id":"1330869220","filename":"file5"},{"photo_id":"1330869202","filename":"file2"},{"photo_id":"1330869215","filename":"file4"},{"photo_id":"1330869199","filename":"file1"},{"photo_id":"1330869184","filename":"file0"},{"photo_id":"1330869208","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330869215":["hashtag1","hashtag2"]},{"1330869199":["hashtag1","hashtag2"]},{"1330869184":["hashtag1","hashtag2"]},{"1330869220":["hashtag1","hashtag2"]},{"1330869208":["hashtag1","hashtag2"]},{"1330869202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330869215, 1330869199, 1330869184, 1330869220, 1330869208, 1330869202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.987072467803955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:28:32.245759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_02_947697_0002.jpg', '/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_02_947697_0003.jpg', '/home/pi/Desktop/images/23012025/19/22/image_23012025_19_22_03_103981_0000.jpg', '/home/pi/Desktop/images/23012025/19/22/image_23012025_19_22_03_103981_0001.jpg', '/home/pi/Desktop/images/23012025/19/22/image_23012025_19_22_03_103981_0002.jpg', '/home/pi/Desktop/images/23012025/19/22/image_23012025_19_22_03_103981_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_02_947697_0002.jpg
/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_02_947697_0003.jpg
/home/pi/Desktop/images/23012025/19/22/image_23012025_19_22_03_103981_0000.jpg
/home/pi/Desktop/images/23012025/19/22/image_23012025_19_22_03_103981_0001.jpg
/home/pi/Desktop/images/23012025/19/22/image_23012025_19_22_03_103981_0002.jpg
/home/pi/Desktop/images/23012025/19/22/image_23012025_19_22_03_103981_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":["1330869252","1330869261","1330869255","1330869278","1330869272","1330869248"],"photo_ids_order":["1330869248","1330869252","1330869255","1330869261","1330869272","1330869278"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f11966dd3316c0d2acbfb44e490c808b.jpg","text":"TemporaryFile(/tmp/multipartBody5043500051904275923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664188716,"filename":"image_23012025_19_21_02_947697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ad0fd42d00d025963b9bdc75a0241d0.jpg","text":"TemporaryFile(/tmp/multipartBody7399885675849516478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664188716,"filename":"image_23012025_19_22_03_103981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/410dc38bebb6389c0dcdb1b72b72e01d.jpg","text":"TemporaryFile(/tmp/multipartBody8526363613970118181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664188716,"filename":"image_23012025_19_22_03_103981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52c226f142a5f5cb9dff022a90fc099a.jpg","text":"TemporaryFile(/tmp/multipartBody7537120482865295639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664188716,"filename":"image_23012025_19_22_03_103981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af2f1cbf05fb164db3a26c14c6f52eed.jpg","text":"TemporaryFile(/tmp/multipartBody4143927335467648314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664188716,"filename":"image_23012025_19_22_03_103981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f1c15394d5d6db3201303ce1211d5f6.jpg","text":"TemporaryFile(/tmp/multipartBody2053492061240027896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664188716,"filename":"image_23012025_19_21_02_947697_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330869255","file1":"1330869252","file0":"1330869248","file4":"1330869272","file5":"1330869278","file3":"1330869261"},"map_files_photo_id_array":[{"photo_id":"1330869278","filename":"file5"},{"photo_id":"1330869255","filename":"file2"},{"photo_id":"1330869272","filename":"file4"},{"photo_id":"1330869252","filename":"file1"},{"photo_id":"1330869248","filename":"file0"},{"photo_id":"1330869261","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330869252":["hashtag1","hashtag2"]},{"1330869261":["hashtag1","hashtag2"]},{"1330869255":["hashtag1","hashtag2"]},{"1330869278":["hashtag1","hashtag2"]},{"1330869272":["hashtag1","hashtag2"]},{"1330869248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330869252, 1330869261, 1330869255, 1330869278, 1330869272, 1330869248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.369131088256836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:29:32.497764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_02_322550_0000.jpg', '/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_02_322550_0001.jpg', '/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_02_322550_0002.jpg', '/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_02_322550_0003.jpg', '/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_02_889885_0000.jpg', '/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_02_889885_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_02_322550_0000.jpg
/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_02_322550_0001.jpg
/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_02_322550_0002.jpg
/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_02_322550_0003.jpg
/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_02_889885_0000.jpg
/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_02_889885_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":["1330869330","1330869324","1330869311","1330869308","1330869317","1330869304"],"photo_ids_order":["1330869304","1330869308","1330869311","1330869317","1330869324","1330869330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7de1f87254058083ddc4e633b68abb9a.jpg","text":"TemporaryFile(/tmp/multipartBody2224378643139901662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664249385,"filename":"image_23012025_19_24_02_889885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ff50ee1c7afa651898195f4c05c11fd.jpg","text":"TemporaryFile(/tmp/multipartBody8991686575455251260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664249385,"filename":"image_23012025_19_24_02_889885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3b0b144cc4fa5b0e7645b981537571f.jpg","text":"TemporaryFile(/tmp/multipartBody5821298274575602546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664249385,"filename":"image_23012025_19_23_02_322550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/850bedbddf3f80d7dbc691584edad70c.jpg","text":"TemporaryFile(/tmp/multipartBody202271978262024542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664249385,"filename":"image_23012025_19_23_02_322550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4bf3c02b79880652982b2b99df9cb49.jpg","text":"TemporaryFile(/tmp/multipartBody5703444042571122970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664249385,"filename":"image_23012025_19_23_02_322550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f44549d7b174981969c310158762cf89.jpg","text":"TemporaryFile(/tmp/multipartBody7939018170971621388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664249385,"filename":"image_23012025_19_23_02_322550_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330869311","file1":"1330869308","file0":"1330869304","file4":"1330869324","file5":"1330869330","file3":"1330869317"},"map_files_photo_id_array":[{"photo_id":"1330869330","filename":"file5"},{"photo_id":"1330869311","filename":"file2"},{"photo_id":"1330869324","filename":"file4"},{"photo_id":"1330869308","filename":"file1"},{"photo_id":"1330869304","filename":"file0"},{"photo_id":"1330869317","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330869330":["hashtag1","hashtag2"]},{"1330869324":["hashtag1","hashtag2"]},{"1330869311":["hashtag1","hashtag2"]},{"1330869308":["hashtag1","hashtag2"]},{"1330869317":["hashtag1","hashtag2"]},{"1330869304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330869330, 1330869324, 1330869311, 1330869308, 1330869317, 1330869304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.356258153915405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:30:32.625274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_02_889885_0002.jpg', '/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_02_889885_0003.jpg', '/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_0000.jpg', '/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_0001.jpg', '/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_0002.jpg', '/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_02_889885_0002.jpg
/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_02_889885_0003.jpg
/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_0000.jpg
/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_0001.jpg
/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_0002.jpg
/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_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.5486900806427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:30:52.620043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_02_889885_0002.jpg', '/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_02_889885_0003.jpg', '/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_0000.jpg', '/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_0001.jpg', '/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_0002.jpg', '/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_02_889885_0002.jpg
/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_02_889885_0003.jpg
/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_0000.jpg
/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_0001.jpg
/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_0002.jpg
/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_02_971968_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":["1330869408","1330869402","1330869380","1330869397","1330869388","1330869412"],"photo_ids_order":["1330869380","1330869388","1330869397","1330869402","1330869408","1330869412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b2b869d4398fc1728438a448b60485a.jpg","text":"TemporaryFile(/tmp/multipartBody6074326596664369128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664329724,"filename":"image_23012025_19_25_02_971968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be48c8218c2941250d07807dd221ef34.jpg","text":"TemporaryFile(/tmp/multipartBody5607665235189551922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664329724,"filename":"image_23012025_19_25_02_971968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eca5929a8cca47a551c27d162ed481a8.jpg","text":"TemporaryFile(/tmp/multipartBody5674863362048233081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664329724,"filename":"image_23012025_19_24_02_889885_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eff95385e23a164d10f2a115d23bb0c3.jpg","text":"TemporaryFile(/tmp/multipartBody1966238033383619036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664329724,"filename":"image_23012025_19_25_02_971968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db22efb5fa48eef742a5f3af41a892ed.jpg","text":"TemporaryFile(/tmp/multipartBody7432846220380326354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664329724,"filename":"image_23012025_19_24_02_889885_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63a87f0e39a8c44e0601c3e701f8d79c.jpg","text":"TemporaryFile(/tmp/multipartBody6724637297087607041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664329724,"filename":"image_23012025_19_25_02_971968_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330869397","file1":"1330869388","file0":"1330869380","file4":"1330869408","file5":"1330869412","file3":"1330869402"},"map_files_photo_id_array":[{"photo_id":"1330869412","filename":"file5"},{"photo_id":"1330869397","filename":"file2"},{"photo_id":"1330869408","filename":"file4"},{"photo_id":"1330869388","filename":"file1"},{"photo_id":"1330869380","filename":"file0"},{"photo_id":"1330869402","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330869408":["hashtag1","hashtag2"]},{"1330869402":["hashtag1","hashtag2"]},{"1330869380":["hashtag1","hashtag2"]},{"1330869397":["hashtag1","hashtag2"]},{"1330869388":["hashtag1","hashtag2"]},{"1330869412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330869408, 1330869402, 1330869380, 1330869397, 1330869388, 1330869412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.15744066238403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:31:51.824913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_02_262955_0000.jpg', '/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_02_262955_0001.jpg', '/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_02_262955_0002.jpg', '/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_02_262955_0003.jpg', '/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_02_478400_0000.jpg', '/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_02_478400_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_02_262955_0000.jpg
/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_02_262955_0001.jpg
/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_02_262955_0002.jpg
/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_02_262955_0003.jpg
/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_02_478400_0000.jpg
/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_02_478400_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":["1330869752","1330869461","1330869682","1330869670","1330869457","1330869675"],"photo_ids_order":["1330869457","1330869461","1330869670","1330869675","1330869682","1330869752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/701d517048df66d77ce1bf0120ec9a6e.jpg","text":"TemporaryFile(/tmp/multipartBody6374590631398237154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664388175,"filename":"image_23012025_19_27_02_478400_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a2d320e883c3e0dde6d9870d73ecef3.jpg","text":"TemporaryFile(/tmp/multipartBody8463319234234828176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664388175,"filename":"image_23012025_19_26_02_262955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75fe0ea7e34f3c374aea6e69a38e4108.jpg","text":"TemporaryFile(/tmp/multipartBody766680899398383432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664388175,"filename":"image_23012025_19_27_02_478400_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0cc36bcb6dcee03e88693f3b4675454e.jpg","text":"TemporaryFile(/tmp/multipartBody5279993074192752861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664388175,"filename":"image_23012025_19_26_02_262955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b5ba539bc17ec6e1a5b818e9257316d.jpg","text":"TemporaryFile(/tmp/multipartBody647448376033137171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664388175,"filename":"image_23012025_19_26_02_262955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66c19e5b44c934b0f08084c1a2c7254b.jpg","text":"TemporaryFile(/tmp/multipartBody3152314445055229025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664388175,"filename":"image_23012025_19_26_02_262955_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330869670","file1":"1330869461","file0":"1330869457","file4":"1330869682","file5":"1330869752","file3":"1330869675"},"map_files_photo_id_array":[{"photo_id":"1330869752","filename":"file5"},{"photo_id":"1330869670","filename":"file2"},{"photo_id":"1330869682","filename":"file4"},{"photo_id":"1330869461","filename":"file1"},{"photo_id":"1330869457","filename":"file0"},{"photo_id":"1330869675","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330869752":["hashtag1","hashtag2"]},{"1330869461":["hashtag1","hashtag2"]},{"1330869682":["hashtag1","hashtag2"]},{"1330869670":["hashtag1","hashtag2"]},{"1330869457":["hashtag1","hashtag2"]},{"1330869675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330869752, 1330869461, 1330869682, 1330869670, 1330869457, 1330869675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.145557165145874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:32:51.956802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_02_478400_0002.jpg', '/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_02_478400_0003.jpg', '/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_02_578634_0000.jpg', '/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_02_578634_0001.jpg', '/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_02_578634_0002.jpg', '/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_02_578634_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_02_478400_0002.jpg
/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_02_478400_0003.jpg
/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_02_578634_0000.jpg
/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_02_578634_0001.jpg
/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_02_578634_0002.jpg
/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_02_578634_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":["1330869896","1330869875","1330869892","1330869889","1330869880","1330869885"],"photo_ids_order":["1330869875","1330869880","1330869885","1330869889","1330869892","1330869896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad5d41c87554290d75f4018ddbb84d7c.jpg","text":"TemporaryFile(/tmp/multipartBody3778271262255010812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664448497,"filename":"image_23012025_19_28_02_578634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b56e71a5d373deffa62c4b2d89492035.jpg","text":"TemporaryFile(/tmp/multipartBody4313884212640416459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664448497,"filename":"image_23012025_19_27_02_478400_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45ba8b0153bbf998bd2918cb2a94951e.jpg","text":"TemporaryFile(/tmp/multipartBody8185379886397401758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664448497,"filename":"image_23012025_19_28_02_578634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3181dd68991aa15c29bbceae75d5344.jpg","text":"TemporaryFile(/tmp/multipartBody3655274117955448368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664448497,"filename":"image_23012025_19_28_02_578634_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9de0228c980fd62e203935b3e4f6f70b.jpg","text":"TemporaryFile(/tmp/multipartBody7032574876153930428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664448497,"filename":"image_23012025_19_27_02_478400_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf86e6a9764e591cfaf1de9503325e29.jpg","text":"TemporaryFile(/tmp/multipartBody7244366211764373557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664448497,"filename":"image_23012025_19_28_02_578634_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330869885","file1":"1330869880","file0":"1330869875","file4":"1330869892","file5":"1330869896","file3":"1330869889"},"map_files_photo_id_array":[{"photo_id":"1330869896","filename":"file5"},{"photo_id":"1330869885","filename":"file2"},{"photo_id":"1330869892","filename":"file4"},{"photo_id":"1330869880","filename":"file1"},{"photo_id":"1330869875","filename":"file0"},{"photo_id":"1330869889","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330869896":["hashtag1","hashtag2"]},{"1330869875":["hashtag1","hashtag2"]},{"1330869892":["hashtag1","hashtag2"]},{"1330869889":["hashtag1","hashtag2"]},{"1330869880":["hashtag1","hashtag2"]},{"1330869885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330869896, 1330869875, 1330869892, 1330869889, 1330869880, 1330869885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.43598198890686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:33:52.182790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_02_789877_0000.jpg', '/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_02_789877_0001.jpg', '/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_02_789877_0002.jpg', '/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_02_789877_0003.jpg', '/home/pi/Desktop/images/23012025/19/30/image_23012025_19_30_02_970777_0000.jpg', '/home/pi/Desktop/images/23012025/19/30/image_23012025_19_30_02_970777_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_02_789877_0000.jpg
/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_02_789877_0001.jpg
/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_02_789877_0002.jpg
/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_02_789877_0003.jpg
/home/pi/Desktop/images/23012025/19/30/image_23012025_19_30_02_970777_0000.jpg
/home/pi/Desktop/images/23012025/19/30/image_23012025_19_30_02_970777_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":["1330870009","1330870003","1330869998","1330870025","1330870022","1330869987"],"photo_ids_order":["1330869987","1330869998","1330870003","1330870009","1330870022","1330870025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42ed03af10a9f61104d1f970ff2736cd.jpg","text":"TemporaryFile(/tmp/multipartBody1707298320821329867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664508805,"filename":"image_23012025_19_29_02_789877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4dcfb42bca121c5a72ae6844f09adb80.jpg","text":"TemporaryFile(/tmp/multipartBody4004755936448297772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664508805,"filename":"image_23012025_19_29_02_789877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f571af81d567cc5c21a22e8057e32ec1.jpg","text":"TemporaryFile(/tmp/multipartBody8310558216083355226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664508805,"filename":"image_23012025_19_29_02_789877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3780d5f1d35639e97454c6faf99ef66.jpg","text":"TemporaryFile(/tmp/multipartBody537779849909175114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664508805,"filename":"image_23012025_19_30_02_970777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/abaa6ef9002ef1e4466047612993f7f6.jpg","text":"TemporaryFile(/tmp/multipartBody1345286734294514742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664508805,"filename":"image_23012025_19_30_02_970777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eda33789ceec7c7b477de0f3625e8e71.jpg","text":"TemporaryFile(/tmp/multipartBody2871012568541010647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664508805,"filename":"image_23012025_19_29_02_789877_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330870003","file1":"1330869998","file0":"1330869987","file4":"1330870022","file5":"1330870025","file3":"1330870009"},"map_files_photo_id_array":[{"photo_id":"1330870025","filename":"file5"},{"photo_id":"1330870003","filename":"file2"},{"photo_id":"1330870022","filename":"file4"},{"photo_id":"1330869998","filename":"file1"},{"photo_id":"1330869987","filename":"file0"},{"photo_id":"1330870009","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330870009":["hashtag1","hashtag2"]},{"1330870003":["hashtag1","hashtag2"]},{"1330869998":["hashtag1","hashtag2"]},{"1330870025":["hashtag1","hashtag2"]},{"1330870022":["hashtag1","hashtag2"]},{"1330869987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330870009, 1330870003, 1330869998, 1330870025, 1330870022, 1330869987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.83693599700928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:34:52.396143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/30/image_23012025_19_30_02_970777_0002.jpg', '/home/pi/Desktop/images/23012025/19/30/image_23012025_19_30_02_970777_0003.jpg', '/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_0000.jpg', '/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_0001.jpg', '/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_0002.jpg', '/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/30/image_23012025_19_30_02_970777_0002.jpg
/home/pi/Desktop/images/23012025/19/30/image_23012025_19_30_02_970777_0003.jpg
/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_0000.jpg
/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_0001.jpg
/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_0002.jpg
/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_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.114227533340454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:35:22.627952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/30/image_23012025_19_30_02_970777_0002.jpg', '/home/pi/Desktop/images/23012025/19/30/image_23012025_19_30_02_970777_0003.jpg', '/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_0000.jpg', '/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_0001.jpg', '/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_0002.jpg', '/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/30/image_23012025_19_30_02_970777_0002.jpg
/home/pi/Desktop/images/23012025/19/30/image_23012025_19_30_02_970777_0003.jpg
/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_0000.jpg
/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_0001.jpg
/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_0002.jpg
/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_02_166025_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":["1330870102","1330870116","1330870094","1330870121","1330870090","1330870081"],"photo_ids_order":["1330870081","1330870090","1330870094","1330870102","1330870116","1330870121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eccd8998a4100a733b5a441834c3387d.jpg","text":"TemporaryFile(/tmp/multipartBody9180299078048850505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664599111,"filename":"image_23012025_19_31_02_166025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57afbb5991f40569eabbc1d88ca83ee2.jpg","text":"TemporaryFile(/tmp/multipartBody3302059230790400911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664599111,"filename":"image_23012025_19_31_02_166025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ce76ee1d00c6cc8a238f2320a8e3106.jpg","text":"TemporaryFile(/tmp/multipartBody7645571014082781177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664599111,"filename":"image_23012025_19_31_02_166025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab6647885db6ea1ba2863414764e242c.jpg","text":"TemporaryFile(/tmp/multipartBody4812915939937459135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664599111,"filename":"image_23012025_19_31_02_166025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f99e5be1c48a09aca4a11e45ac8dc99f.jpg","text":"TemporaryFile(/tmp/multipartBody3729067723448181711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664599111,"filename":"image_23012025_19_30_02_970777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f68fe046b2a33388b33c76ff391ff00.jpg","text":"TemporaryFile(/tmp/multipartBody3565228085842276613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664599111,"filename":"image_23012025_19_30_02_970777_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330870094","file1":"1330870090","file0":"1330870081","file4":"1330870116","file5":"1330870121","file3":"1330870102"},"map_files_photo_id_array":[{"photo_id":"1330870121","filename":"file5"},{"photo_id":"1330870094","filename":"file2"},{"photo_id":"1330870116","filename":"file4"},{"photo_id":"1330870090","filename":"file1"},{"photo_id":"1330870081","filename":"file0"},{"photo_id":"1330870102","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330870102":["hashtag1","hashtag2"]},{"1330870116":["hashtag1","hashtag2"]},{"1330870094":["hashtag1","hashtag2"]},{"1330870121":["hashtag1","hashtag2"]},{"1330870090":["hashtag1","hashtag2"]},{"1330870081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330870102, 1330870116, 1330870094, 1330870121, 1330870090, 1330870081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.76330900192261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:36:21.889780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_02_419753_0000.jpg', '/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_02_419753_0001.jpg', '/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_02_419753_0002.jpg', '/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_02_419753_0003.jpg', '/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_02_506780_0000.jpg', '/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_02_506780_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_02_419753_0000.jpg
/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_02_419753_0001.jpg
/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_02_419753_0002.jpg
/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_02_419753_0003.jpg
/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_02_506780_0000.jpg
/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_02_506780_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":["1330870219","1330870204","1330870257","1330870209","1330870199","1330870277"],"photo_ids_order":["1330870199","1330870204","1330870209","1330870219","1330870257","1330870277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c154f48ac38349f88073d5ae9c45cea6.jpg","text":"TemporaryFile(/tmp/multipartBody6955869808087130958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664658513,"filename":"image_23012025_19_32_02_419753_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8c5289ab9a3320718d1ef9730d37d4f.jpg","text":"TemporaryFile(/tmp/multipartBody4507428158599312473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664658513,"filename":"image_23012025_19_32_02_419753_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c99f0b192902d82bbda37a63848830b.jpg","text":"TemporaryFile(/tmp/multipartBody6789193164956003346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664658513,"filename":"image_23012025_19_33_02_506780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7c86465efca044870123242620debaa.jpg","text":"TemporaryFile(/tmp/multipartBody5150889692932561510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664658513,"filename":"image_23012025_19_32_02_419753_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdcea31da1e1443c5d0fefb62f39a27f.jpg","text":"TemporaryFile(/tmp/multipartBody4019644352638670475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664658513,"filename":"image_23012025_19_32_02_419753_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac397b7bbdc1885ad32bbff73eb0eebb.jpg","text":"TemporaryFile(/tmp/multipartBody1657251761218232026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664658513,"filename":"image_23012025_19_33_02_506780_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330870209","file1":"1330870204","file0":"1330870199","file4":"1330870257","file5":"1330870277","file3":"1330870219"},"map_files_photo_id_array":[{"photo_id":"1330870277","filename":"file5"},{"photo_id":"1330870209","filename":"file2"},{"photo_id":"1330870257","filename":"file4"},{"photo_id":"1330870204","filename":"file1"},{"photo_id":"1330870199","filename":"file0"},{"photo_id":"1330870219","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330870219":["hashtag1","hashtag2"]},{"1330870204":["hashtag1","hashtag2"]},{"1330870257":["hashtag1","hashtag2"]},{"1330870209":["hashtag1","hashtag2"]},{"1330870199":["hashtag1","hashtag2"]},{"1330870277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330870219, 1330870204, 1330870257, 1330870209, 1330870199, 1330870277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.127586364746094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:37:22.052194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_02_506780_0002.jpg', '/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_02_506780_0003.jpg', '/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_02_675627_0000.jpg', '/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_02_675627_0001.jpg', '/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_02_675627_0002.jpg', '/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_02_675627_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_02_506780_0002.jpg
/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_02_506780_0003.jpg
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_02_675627_0000.jpg
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_02_675627_0001.jpg
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_02_675627_0002.jpg
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_02_675627_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":["1330870398","1330870383","1330870394","1330870367","1330870376","1330870409"],"photo_ids_order":["1330870367","1330870376","1330870383","1330870394","1330870398","1330870409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3dd82b23b799f1c5b220682bb82300e8.jpg","text":"TemporaryFile(/tmp/multipartBody2973433846439354528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664718291,"filename":"image_23012025_19_34_02_675627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47cfee6ce3390a2e996ebcba7edad35e.jpg","text":"TemporaryFile(/tmp/multipartBody6261403186481282748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664718291,"filename":"image_23012025_19_34_02_675627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11b1157df6f831a976506bc327c28904.jpg","text":"TemporaryFile(/tmp/multipartBody537248075577254660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664718291,"filename":"image_23012025_19_34_02_675627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39cddebd430b34b0c66dc10a8820c520.jpg","text":"TemporaryFile(/tmp/multipartBody4105812480720495440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664718291,"filename":"image_23012025_19_33_02_506780_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d85f10913e15b6521dee77c4b972692.jpg","text":"TemporaryFile(/tmp/multipartBody6010451660386196754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664718291,"filename":"image_23012025_19_33_02_506780_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a528dbbf5dd649ce959e4c1030e78916.jpg","text":"TemporaryFile(/tmp/multipartBody1357126678142253418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664718291,"filename":"image_23012025_19_34_02_675627_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330870383","file1":"1330870376","file0":"1330870367","file4":"1330870398","file5":"1330870409","file3":"1330870394"},"map_files_photo_id_array":[{"photo_id":"1330870409","filename":"file5"},{"photo_id":"1330870383","filename":"file2"},{"photo_id":"1330870398","filename":"file4"},{"photo_id":"1330870376","filename":"file1"},{"photo_id":"1330870367","filename":"file0"},{"photo_id":"1330870394","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330870398":["hashtag1","hashtag2"]},{"1330870383":["hashtag1","hashtag2"]},{"1330870394":["hashtag1","hashtag2"]},{"1330870367":["hashtag1","hashtag2"]},{"1330870376":["hashtag1","hashtag2"]},{"1330870409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330870398, 1330870383, 1330870394, 1330870367, 1330870376, 1330870409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.88319182395935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:38:22.251394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_02_930187_0000.jpg', '/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_02_930187_0001.jpg', '/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_02_930187_0002.jpg', '/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_02_930187_0003.jpg', '/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_03_108485_0000.jpg', '/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_03_108485_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_02_930187_0000.jpg
/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_02_930187_0001.jpg
/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_02_930187_0002.jpg
/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_02_930187_0003.jpg
/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_03_108485_0000.jpg
/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_03_108485_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":["1330870455","1330870449","1330870443","1330870508","1330870492","1330870486"],"photo_ids_order":["1330870443","1330870449","1330870455","1330870486","1330870492","1330870508"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04ffee4efe20c42185a327d965fb0641.jpg","text":"TemporaryFile(/tmp/multipartBody1427127513097691193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664778988,"filename":"image_23012025_19_35_02_930187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b61ced10a836d27ddfb6209441b65ff.jpg","text":"TemporaryFile(/tmp/multipartBody6342773543024827836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664778988,"filename":"image_23012025_19_35_02_930187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d69870d8e179f44e1454ae1be58c8256.jpg","text":"TemporaryFile(/tmp/multipartBody541950829578442796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664778988,"filename":"image_23012025_19_35_02_930187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9fa75d6d4fc52c8c1ce776377164b979.jpg","text":"TemporaryFile(/tmp/multipartBody6526213637046800206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664778988,"filename":"image_23012025_19_36_03_108485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4a757d0d9bec54d5f0e8759cc3862a0.jpg","text":"TemporaryFile(/tmp/multipartBody7268454946295297101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664778988,"filename":"image_23012025_19_36_03_108485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b87fc3008f40e1bf51dee7e1dbacf00.jpg","text":"TemporaryFile(/tmp/multipartBody3472170034706454809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664778988,"filename":"image_23012025_19_35_02_930187_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330870455","file1":"1330870449","file0":"1330870443","file4":"1330870492","file5":"1330870508","file3":"1330870486"},"map_files_photo_id_array":[{"photo_id":"1330870508","filename":"file5"},{"photo_id":"1330870455","filename":"file2"},{"photo_id":"1330870492","filename":"file4"},{"photo_id":"1330870449","filename":"file1"},{"photo_id":"1330870443","filename":"file0"},{"photo_id":"1330870486","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330870455":["hashtag1","hashtag2"]},{"1330870449":["hashtag1","hashtag2"]},{"1330870443":["hashtag1","hashtag2"]},{"1330870508":["hashtag1","hashtag2"]},{"1330870492":["hashtag1","hashtag2"]},{"1330870486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330870455, 1330870449, 1330870443, 1330870508, 1330870492, 1330870486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.79145812988281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:39:22.326416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_03_108485_0002.jpg', '/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_03_108485_0003.jpg', '/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_02_316543_0000.jpg', '/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_02_316543_0001.jpg', '/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_02_316543_0002.jpg', '/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_02_316543_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_03_108485_0002.jpg
/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_03_108485_0003.jpg
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_02_316543_0000.jpg
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_02_316543_0001.jpg
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_02_316543_0002.jpg
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_02_316543_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":["1330870603","1330870593","1330870587","1330870577","1330870582","1330870570"],"photo_ids_order":["1330870570","1330870577","1330870582","1330870587","1330870593","1330870603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c058158f8032cf63b7616e92c91aa6b.jpg","text":"TemporaryFile(/tmp/multipartBody3806099310830811686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664838980,"filename":"image_23012025_19_37_02_316543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5e121d2a7c37531d992116e0a91c9f0.jpg","text":"TemporaryFile(/tmp/multipartBody810604866991775802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664838980,"filename":"image_23012025_19_37_02_316543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4985daaaf74c5ff45f018983ff1a5e66.jpg","text":"TemporaryFile(/tmp/multipartBody7687967834444813233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664838980,"filename":"image_23012025_19_37_02_316543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/deeeab07b833de68ae9dbf345e5e8a80.jpg","text":"TemporaryFile(/tmp/multipartBody6610916705585051190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664838980,"filename":"image_23012025_19_36_03_108485_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/481a1aae4c5faf4e8fd811918331ad2a.jpg","text":"TemporaryFile(/tmp/multipartBody5913561535766295065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664838980,"filename":"image_23012025_19_37_02_316543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fecc2bd13d6bb719904565ba1b6da45e.jpg","text":"TemporaryFile(/tmp/multipartBody7576541221953906236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664838980,"filename":"image_23012025_19_36_03_108485_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330870582","file1":"1330870577","file0":"1330870570","file4":"1330870593","file5":"1330870603","file3":"1330870587"},"map_files_photo_id_array":[{"photo_id":"1330870603","filename":"file5"},{"photo_id":"1330870582","filename":"file2"},{"photo_id":"1330870593","filename":"file4"},{"photo_id":"1330870577","filename":"file1"},{"photo_id":"1330870570","filename":"file0"},{"photo_id":"1330870587","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330870603":["hashtag1","hashtag2"]},{"1330870593":["hashtag1","hashtag2"]},{"1330870587":["hashtag1","hashtag2"]},{"1330870577":["hashtag1","hashtag2"]},{"1330870582":["hashtag1","hashtag2"]},{"1330870570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330870603, 1330870593, 1330870587, 1330870577, 1330870582, 1330870570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.88232970237732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:40:22.593594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_02_537335_0000.jpg', '/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_02_537335_0001.jpg', '/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_02_537335_0002.jpg', '/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_02_537335_0003.jpg', '/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_02_793248_0000.jpg', '/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_02_793248_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_02_537335_0000.jpg
/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_02_537335_0001.jpg
/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_02_537335_0002.jpg
/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_02_537335_0003.jpg
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_02_793248_0000.jpg
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_02_793248_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":["1330870683","1330870671","1330870653","1330870635","1330870643","1330870639"],"photo_ids_order":["1330870635","1330870639","1330870643","1330870653","1330870671","1330870683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0053480f808c46432ea5b6a196a21c4.jpg","text":"TemporaryFile(/tmp/multipartBody6948792208141703415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664898739,"filename":"image_23012025_19_39_02_793248_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e12c65c1fddbc8f5fa8ba2476fa8a466.jpg","text":"TemporaryFile(/tmp/multipartBody8878218065615447384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664898739,"filename":"image_23012025_19_39_02_793248_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c059c82842e2c99233d457bb913651d.jpg","text":"TemporaryFile(/tmp/multipartBody1760821080191995527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664898739,"filename":"image_23012025_19_38_02_537335_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/110f9f8696c5be95db42641e70b15a9c.jpg","text":"TemporaryFile(/tmp/multipartBody561549780548531974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664898739,"filename":"image_23012025_19_38_02_537335_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2195e537c5ae144dafdaa3d2363ec39.jpg","text":"TemporaryFile(/tmp/multipartBody7775440988811235543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664898739,"filename":"image_23012025_19_38_02_537335_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0416e52c419dfa58c3361d82723713ec.jpg","text":"TemporaryFile(/tmp/multipartBody3193402800546775017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664898739,"filename":"image_23012025_19_38_02_537335_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330870643","file1":"1330870639","file0":"1330870635","file4":"1330870671","file5":"1330870683","file3":"1330870653"},"map_files_photo_id_array":[{"photo_id":"1330870683","filename":"file5"},{"photo_id":"1330870643","filename":"file2"},{"photo_id":"1330870671","filename":"file4"},{"photo_id":"1330870639","filename":"file1"},{"photo_id":"1330870635","filename":"file0"},{"photo_id":"1330870653","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330870683":["hashtag1","hashtag2"]},{"1330870671":["hashtag1","hashtag2"]},{"1330870653":["hashtag1","hashtag2"]},{"1330870635":["hashtag1","hashtag2"]},{"1330870643":["hashtag1","hashtag2"]},{"1330870639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330870683, 1330870671, 1330870653, 1330870635, 1330870643, 1330870639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.10280632972717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:41:22.684698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_02_793248_0002.jpg', '/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_02_793248_0003.jpg', '/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_02_999118_0000.jpg', '/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_02_999118_0001.jpg', '/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_02_999118_0002.jpg', '/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_02_999118_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_02_793248_0002.jpg
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_02_793248_0003.jpg
/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_02_999118_0000.jpg
/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_02_999118_0001.jpg
/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_02_999118_0002.jpg
/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_02_999118_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":["1330870767","1330870790","1330870772","1330870780","1330870762","1330870759"],"photo_ids_order":["1330870759","1330870762","1330870767","1330870772","1330870780","1330870790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc91211ee1af55ccf28cfbcbe88fce8d.jpg","text":"TemporaryFile(/tmp/multipartBody8372892915815371716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664959773,"filename":"image_23012025_19_40_02_999118_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c47b7f0420dbfb3e5097e6ba1e18407.jpg","text":"TemporaryFile(/tmp/multipartBody8684049279315934086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664959773,"filename":"image_23012025_19_40_02_999118_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1b499b92bb88581dc3c4b2bb15a84ee.jpg","text":"TemporaryFile(/tmp/multipartBody5857906567637825884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664959773,"filename":"image_23012025_19_40_02_999118_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1689213bec970180ca9e6d3cc27a6c1e.jpg","text":"TemporaryFile(/tmp/multipartBody5317578001146945789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664959773,"filename":"image_23012025_19_40_02_999118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd5d573bfdaf039dab672db9df2a2c84.jpg","text":"TemporaryFile(/tmp/multipartBody2968409360703001798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664959773,"filename":"image_23012025_19_39_02_793248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00e61fc48beeee49a57625c6e03737d9.jpg","text":"TemporaryFile(/tmp/multipartBody1656511720895716922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664959773,"filename":"image_23012025_19_39_02_793248_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330870767","file1":"1330870762","file0":"1330870759","file4":"1330870780","file5":"1330870790","file3":"1330870772"},"map_files_photo_id_array":[{"photo_id":"1330870790","filename":"file5"},{"photo_id":"1330870767","filename":"file2"},{"photo_id":"1330870780","filename":"file4"},{"photo_id":"1330870762","filename":"file1"},{"photo_id":"1330870759","filename":"file0"},{"photo_id":"1330870772","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330870767":["hashtag1","hashtag2"]},{"1330870790":["hashtag1","hashtag2"]},{"1330870772":["hashtag1","hashtag2"]},{"1330870780":["hashtag1","hashtag2"]},{"1330870762":["hashtag1","hashtag2"]},{"1330870759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330870767, 1330870790, 1330870772, 1330870780, 1330870762, 1330870759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.77814698219299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:42:21.897691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0000.jpg', '/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0001.jpg', '/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0002.jpg', '/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0003.jpg', '/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_02_432191_0000.jpg', '/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_02_432191_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0000.jpg
/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0001.jpg
/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0002.jpg
/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0003.jpg
/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_02_432191_0000.jpg
/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_02_432191_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: 16.13232111930847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 21:42:41.868940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0000.jpg', '/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0001.jpg', '/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0002.jpg', '/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0003.jpg', '/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_02_432191_0000.jpg', '/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_02_432191_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0000.jpg
/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0001.jpg
/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0002.jpg
/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_03_204684_0003.jpg
/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_02_432191_0000.jpg
/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_02_432191_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":["1330870906","1330870950","1330870910","1330870934","1330870942","1330870915"],"photo_ids_order":["1330870906","1330870910","1330870915","1330870934","1330870942","1330870950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e29ffbb9e886db34544a9eae9c13d2d4.jpg","text":"TemporaryFile(/tmp/multipartBody8318161987498476546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665038451,"filename":"image_23012025_19_41_03_204684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2a02f7a49d9c3bb3e0db913bb2a0536.jpg","text":"TemporaryFile(/tmp/multipartBody6464747898214065412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665038451,"filename":"image_23012025_19_42_02_432191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ad4355dc7e4e4dde6f31a2ee87544c0.jpg","text":"TemporaryFile(/tmp/multipartBody2228299565329293275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665038451,"filename":"image_23012025_19_41_03_204684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4de81efe53d09f9a8c877e1f3b1bfc75.jpg","text":"TemporaryFile(/tmp/multipartBody8693982128353347644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665038451,"filename":"image_23012025_19_41_03_204684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb3caa0f2793f51d5455de90027731cc.jpg","text":"TemporaryFile(/tmp/multipartBody1964613504008726874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665038451,"filename":"image_23012025_19_42_02_432191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/077fdd610ac32d1e55bc75aaeebc1cd5.jpg","text":"TemporaryFile(/tmp/multipartBody3860944288231763721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665038451,"filename":"image_23012025_19_41_03_204684_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330870915","file1":"1330870910","file0":"1330870906","file4":"1330870942","file5":"1330870950","file3":"1330870934"},"map_files_photo_id_array":[{"photo_id":"1330870950","filename":"file5"},{"photo_id":"1330870915","filename":"file2"},{"photo_id":"1330870942","filename":"file4"},{"photo_id":"1330870910","filename":"file1"},{"photo_id":"1330870906","filename":"file0"},{"photo_id":"1330870934","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330870906":["hashtag1","hashtag2"]},{"1330870950":["hashtag1","hashtag2"]},{"1330870910":["hashtag1","hashtag2"]},{"1330870934":["hashtag1","hashtag2"]},{"1330870942":["hashtag1","hashtag2"]},{"1330870915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330870906, 1330870950, 1330870910, 1330870934, 1330870942, 1330870915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.24677538871765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:43:52.041925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_02_432191_0002.jpg', '/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_02_432191_0003.jpg', '/home/pi/Desktop/images/23012025/19/43/image_23012025_19_43_02_487496_0000.jpg', '/home/pi/Desktop/images/23012025/19/43/image_23012025_19_43_02_487496_0001.jpg', '/home/pi/Desktop/images/23012025/19/43/image_23012025_19_43_02_487496_0002.jpg', '/home/pi/Desktop/images/23012025/19/43/image_23012025_19_43_02_487496_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_02_432191_0002.jpg
/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_02_432191_0003.jpg
/home/pi/Desktop/images/23012025/19/43/image_23012025_19_43_02_487496_0000.jpg
/home/pi/Desktop/images/23012025/19/43/image_23012025_19_43_02_487496_0001.jpg
/home/pi/Desktop/images/23012025/19/43/image_23012025_19_43_02_487496_0002.jpg
/home/pi/Desktop/images/23012025/19/43/image_23012025_19_43_02_487496_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":["1330871018","1330870984","1330871029","1330871023","1330871008","1330870992"],"photo_ids_order":["1330870984","1330870992","1330871008","1330871018","1330871023","1330871029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/677e12e6b62badf0afd8a71827d3fc23.jpg","text":"TemporaryFile(/tmp/multipartBody1986843952383890868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665108357,"filename":"image_23012025_19_43_02_487496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7033b61efe12febcab5a8ff0a8d32b86.jpg","text":"TemporaryFile(/tmp/multipartBody5625180514450450994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665108357,"filename":"image_23012025_19_42_02_432191_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9c81512faecc7768833c2b01ccc8bb1.jpg","text":"TemporaryFile(/tmp/multipartBody2082053057562958364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665108357,"filename":"image_23012025_19_43_02_487496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5a077dfdcfd449a77c4ff3660972944.jpg","text":"TemporaryFile(/tmp/multipartBody1953725425525751279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665108357,"filename":"image_23012025_19_43_02_487496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26558ca1469344b7906e07f0300a3b37.jpg","text":"TemporaryFile(/tmp/multipartBody3605026353235201601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665108357,"filename":"image_23012025_19_43_02_487496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1455bbc90a3020072b4776cdc0701d02.jpg","text":"TemporaryFile(/tmp/multipartBody8393494340763337821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665108357,"filename":"image_23012025_19_42_02_432191_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330871008","file1":"1330870992","file0":"1330870984","file4":"1330871023","file5":"1330871029","file3":"1330871018"},"map_files_photo_id_array":[{"photo_id":"1330871029","filename":"file5"},{"photo_id":"1330871008","filename":"file2"},{"photo_id":"1330871023","filename":"file4"},{"photo_id":"1330870992","filename":"file1"},{"photo_id":"1330870984","filename":"file0"},{"photo_id":"1330871018","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330871018":["hashtag1","hashtag2"]},{"1330870984":["hashtag1","hashtag2"]},{"1330871029":["hashtag1","hashtag2"]},{"1330871023":["hashtag1","hashtag2"]},{"1330871008":["hashtag1","hashtag2"]},{"1330870992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330871018, 1330870984, 1330871029, 1330871023, 1330871008, 1330870992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.24510717391968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:44:52.241467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/44/image_23012025_19_44_02_688531_0000.jpg', '/home/pi/Desktop/images/23012025/19/44/image_23012025_19_44_02_688531_0001.jpg', '/home/pi/Desktop/images/23012025/19/44/image_23012025_19_44_02_688531_0002.jpg', '/home/pi/Desktop/images/23012025/19/44/image_23012025_19_44_02_688531_0003.jpg', '/home/pi/Desktop/images/23012025/19/45/image_23012025_19_45_02_907286_0000.jpg', '/home/pi/Desktop/images/23012025/19/45/image_23012025_19_45_02_907286_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/44/image_23012025_19_44_02_688531_0000.jpg
/home/pi/Desktop/images/23012025/19/44/image_23012025_19_44_02_688531_0001.jpg
/home/pi/Desktop/images/23012025/19/44/image_23012025_19_44_02_688531_0002.jpg
/home/pi/Desktop/images/23012025/19/44/image_23012025_19_44_02_688531_0003.jpg
/home/pi/Desktop/images/23012025/19/45/image_23012025_19_45_02_907286_0000.jpg
/home/pi/Desktop/images/23012025/19/45/image_23012025_19_45_02_907286_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":["1330871085","1330871130","1330871093","1330871113","1330871101","1330871088"],"photo_ids_order":["1330871085","1330871088","1330871093","1330871101","1330871113","1330871130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/844ca3841ccf995bdb3963dac0212b22.jpg","text":"TemporaryFile(/tmp/multipartBody4099438755234812430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665168993,"filename":"image_23012025_19_44_02_688531_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b43728685b9d32e17444edf10162c7bd.jpg","text":"TemporaryFile(/tmp/multipartBody387885233141683841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665168993,"filename":"image_23012025_19_45_02_907286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db84fbd42fc291a3f4bea040b148446d.jpg","text":"TemporaryFile(/tmp/multipartBody8185769126976850390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665168993,"filename":"image_23012025_19_44_02_688531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72ce5b28e24b884fe21c4b43c13e1c86.jpg","text":"TemporaryFile(/tmp/multipartBody1181245327065739584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665168993,"filename":"image_23012025_19_45_02_907286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0660841b724fa782d7d05f3af716963.jpg","text":"TemporaryFile(/tmp/multipartBody2031944975983719497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665168993,"filename":"image_23012025_19_44_02_688531_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b97874de1a7a8c0996b06f0407e998f.jpg","text":"TemporaryFile(/tmp/multipartBody4950176530505497715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665168993,"filename":"image_23012025_19_44_02_688531_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330871093","file1":"1330871088","file0":"1330871085","file4":"1330871113","file5":"1330871130","file3":"1330871101"},"map_files_photo_id_array":[{"photo_id":"1330871130","filename":"file5"},{"photo_id":"1330871093","filename":"file2"},{"photo_id":"1330871113","filename":"file4"},{"photo_id":"1330871088","filename":"file1"},{"photo_id":"1330871085","filename":"file0"},{"photo_id":"1330871101","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330871085":["hashtag1","hashtag2"]},{"1330871130":["hashtag1","hashtag2"]},{"1330871093":["hashtag1","hashtag2"]},{"1330871113":["hashtag1","hashtag2"]},{"1330871101":["hashtag1","hashtag2"]},{"1330871088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330871085, 1330871130, 1330871093, 1330871113, 1330871101, 1330871088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.876954317092896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:45:52.406847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/45/image_23012025_19_45_02_907286_0002.jpg', '/home/pi/Desktop/images/23012025/19/45/image_23012025_19_45_02_907286_0003.jpg', '/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_03_032059_0000.jpg', '/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_03_032059_0001.jpg', '/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_03_032059_0002.jpg', '/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_03_032059_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/45/image_23012025_19_45_02_907286_0002.jpg
/home/pi/Desktop/images/23012025/19/45/image_23012025_19_45_02_907286_0003.jpg
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_03_032059_0000.jpg
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_03_032059_0001.jpg
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_03_032059_0002.jpg
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_03_032059_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":["1330871376","1330871405","1330871398","1330871419","1330871410","1330871347"],"photo_ids_order":["1330871347","1330871376","1330871398","1330871405","1330871410","1330871419"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0780991a7a98ac469b7de7cd5bedf904.jpg","text":"TemporaryFile(/tmp/multipartBody7825609053204162772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665228923,"filename":"image_23012025_19_45_02_907286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/695f3e6d17fd38e2762f3b2c90b01491.jpg","text":"TemporaryFile(/tmp/multipartBody5701467011357521292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665228923,"filename":"image_23012025_19_46_03_032059_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3462ce551fdd28f008112d4d6f5aeea2.jpg","text":"TemporaryFile(/tmp/multipartBody6630252585558465772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665228923,"filename":"image_23012025_19_46_03_032059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a60cf318ceb59960423b101d032c3a0.jpg","text":"TemporaryFile(/tmp/multipartBody1172259880492156401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665228923,"filename":"image_23012025_19_46_03_032059_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bd55f08365581fec280ab7ffdc9471c.jpg","text":"TemporaryFile(/tmp/multipartBody3373312625477365553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665228923,"filename":"image_23012025_19_46_03_032059_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/418ed3172947b3424580666831c5906f.jpg","text":"TemporaryFile(/tmp/multipartBody7790660277760156000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665228923,"filename":"image_23012025_19_45_02_907286_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330871398","file1":"1330871376","file0":"1330871347","file4":"1330871410","file5":"1330871419","file3":"1330871405"},"map_files_photo_id_array":[{"photo_id":"1330871419","filename":"file5"},{"photo_id":"1330871398","filename":"file2"},{"photo_id":"1330871410","filename":"file4"},{"photo_id":"1330871376","filename":"file1"},{"photo_id":"1330871347","filename":"file0"},{"photo_id":"1330871405","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330871376":["hashtag1","hashtag2"]},{"1330871405":["hashtag1","hashtag2"]},{"1330871398":["hashtag1","hashtag2"]},{"1330871419":["hashtag1","hashtag2"]},{"1330871410":["hashtag1","hashtag2"]},{"1330871347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330871376, 1330871405, 1330871398, 1330871419, 1330871410, 1330871347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.77108550071716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:46:52.581310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_02_195998_0000.jpg', '/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_02_195998_0001.jpg', '/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_02_195998_0002.jpg', '/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_02_195998_0003.jpg', '/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_02_447842_0000.jpg', '/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_02_447842_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_02_195998_0000.jpg
/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_02_195998_0001.jpg
/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_02_195998_0002.jpg
/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_02_195998_0003.jpg
/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_02_447842_0000.jpg
/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_02_447842_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":["1330871580","1330871594","1330871570","1330871575","1330871602","1330871608"],"photo_ids_order":["1330871570","1330871575","1330871580","1330871594","1330871602","1330871608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5038e938d9fe8a77451e850e42f4bb39.jpg","text":"TemporaryFile(/tmp/multipartBody5794342324715500326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665288663,"filename":"image_23012025_19_47_02_195998_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7228ae1274bc2abd2b88186fe391eb22.jpg","text":"TemporaryFile(/tmp/multipartBody7480727726676073183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665288663,"filename":"image_23012025_19_47_02_195998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae6a6e1d4c795517c26e8514fc0743d7.jpg","text":"TemporaryFile(/tmp/multipartBody501873905498104595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665288663,"filename":"image_23012025_19_47_02_195998_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b1026ed059dc6ed05b920f085673872.jpg","text":"TemporaryFile(/tmp/multipartBody8539803900958265072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665288663,"filename":"image_23012025_19_47_02_195998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da16793940f1a7fc662d70df9d512d98.jpg","text":"TemporaryFile(/tmp/multipartBody528099773482850250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665288663,"filename":"image_23012025_19_48_02_447842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9dd03fad6d45724866ba50acda760da0.jpg","text":"TemporaryFile(/tmp/multipartBody1266857743838848143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665288663,"filename":"image_23012025_19_48_02_447842_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330871580","file1":"1330871575","file0":"1330871570","file4":"1330871602","file5":"1330871608","file3":"1330871594"},"map_files_photo_id_array":[{"photo_id":"1330871608","filename":"file5"},{"photo_id":"1330871580","filename":"file2"},{"photo_id":"1330871602","filename":"file4"},{"photo_id":"1330871575","filename":"file1"},{"photo_id":"1330871570","filename":"file0"},{"photo_id":"1330871594","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330871580":["hashtag1","hashtag2"]},{"1330871594":["hashtag1","hashtag2"]},{"1330871570":["hashtag1","hashtag2"]},{"1330871575":["hashtag1","hashtag2"]},{"1330871602":["hashtag1","hashtag2"]},{"1330871608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330871580, 1330871594, 1330871570, 1330871575, 1330871602, 1330871608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.76179814338684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:47:51.769408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_02_447842_0002.jpg', '/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_02_447842_0003.jpg', '/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_02_655220_0000.jpg', '/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_02_655220_0001.jpg', '/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_02_655220_0002.jpg', '/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_02_655220_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_02_447842_0002.jpg
/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_02_447842_0003.jpg
/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_02_655220_0000.jpg
/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_02_655220_0001.jpg
/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_02_655220_0002.jpg
/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_02_655220_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":["1330871690","1330871774","1330871741","1330871813","1330871791","1330871716"],"photo_ids_order":["1330871690","1330871716","1330871741","1330871774","1330871791","1330871813"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fe276dea91623318ffabdfdd5561fca.jpg","text":"TemporaryFile(/tmp/multipartBody4951027949878517666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665347627,"filename":"image_23012025_19_48_02_447842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e80d28f8c1cc77a0d15955ce7549268b.jpg","text":"TemporaryFile(/tmp/multipartBody8785083954480423645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665347627,"filename":"image_23012025_19_49_02_655220_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b479b9ad1530674ce78e7ceb5d00514.jpg","text":"TemporaryFile(/tmp/multipartBody6517064905959949217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665347627,"filename":"image_23012025_19_49_02_655220_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c292bb23203a84f70bdc4497ab9037a1.jpg","text":"TemporaryFile(/tmp/multipartBody5208677787758863296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665347627,"filename":"image_23012025_19_49_02_655220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/656adc9d3d714859cb6986537e4e5fa8.jpg","text":"TemporaryFile(/tmp/multipartBody3545441561470545283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665347627,"filename":"image_23012025_19_49_02_655220_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7aa704fa9f73bd074c17b0e686392574.jpg","text":"TemporaryFile(/tmp/multipartBody1646840898314531476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665347627,"filename":"image_23012025_19_48_02_447842_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330871741","file1":"1330871716","file0":"1330871690","file4":"1330871791","file5":"1330871813","file3":"1330871774"},"map_files_photo_id_array":[{"photo_id":"1330871813","filename":"file5"},{"photo_id":"1330871741","filename":"file2"},{"photo_id":"1330871791","filename":"file4"},{"photo_id":"1330871716","filename":"file1"},{"photo_id":"1330871690","filename":"file0"},{"photo_id":"1330871774","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330871690":["hashtag1","hashtag2"]},{"1330871774":["hashtag1","hashtag2"]},{"1330871741":["hashtag1","hashtag2"]},{"1330871813":["hashtag1","hashtag2"]},{"1330871791":["hashtag1","hashtag2"]},{"1330871716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330871690, 1330871774, 1330871741, 1330871813, 1330871791, 1330871716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.03607249259949 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:48:51.918791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_02_833381_0000.jpg', '/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_02_833381_0001.jpg', '/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_02_833381_0002.jpg', '/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_02_833381_0003.jpg', '/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_02_987752_0000.jpg', '/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_02_987752_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_02_833381_0000.jpg
/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_02_833381_0001.jpg
/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_02_833381_0002.jpg
/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_02_833381_0003.jpg
/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_02_987752_0000.jpg
/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_02_987752_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":["1330871838","1330871852","1330871849","1330871858","1330871843","1330871846"],"photo_ids_order":["1330871838","1330871843","1330871846","1330871849","1330871852","1330871858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04c317ba64534bbcb4db59e3ef0f7b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7178979809938072854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665407635,"filename":"image_23012025_19_50_02_833381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2013273f7e525a6c0f1b1636387c3fa.jpg","text":"TemporaryFile(/tmp/multipartBody4371343121403102053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665407635,"filename":"image_23012025_19_51_02_987752_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05c74e5dfec6078964541fc0e895020e.jpg","text":"TemporaryFile(/tmp/multipartBody5735817299062741918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665407635,"filename":"image_23012025_19_50_02_833381_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10b88c253ff8dc797fabbf7144e4ad38.jpg","text":"TemporaryFile(/tmp/multipartBody4488111444726246271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665407635,"filename":"image_23012025_19_51_02_987752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b1b250cb64cf042e2730464a0dec4ea.jpg","text":"TemporaryFile(/tmp/multipartBody7130451177820264162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665407635,"filename":"image_23012025_19_50_02_833381_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/523e100688995673e9b7faf6929499f4.jpg","text":"TemporaryFile(/tmp/multipartBody5192187185624364763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665407635,"filename":"image_23012025_19_50_02_833381_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330871846","file1":"1330871843","file0":"1330871838","file4":"1330871852","file5":"1330871858","file3":"1330871849"},"map_files_photo_id_array":[{"photo_id":"1330871858","filename":"file5"},{"photo_id":"1330871846","filename":"file2"},{"photo_id":"1330871852","filename":"file4"},{"photo_id":"1330871843","filename":"file1"},{"photo_id":"1330871838","filename":"file0"},{"photo_id":"1330871849","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330871838":["hashtag1","hashtag2"]},{"1330871852":["hashtag1","hashtag2"]},{"1330871849":["hashtag1","hashtag2"]},{"1330871858":["hashtag1","hashtag2"]},{"1330871843":["hashtag1","hashtag2"]},{"1330871846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330871838, 1330871852, 1330871849, 1330871858, 1330871843, 1330871846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.306397676467896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:49:52.097370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_02_987752_0002.jpg', '/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_02_987752_0003.jpg', '/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_02_269700_0000.jpg', '/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_02_269700_0001.jpg', '/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_02_269700_0002.jpg', '/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_02_269700_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_02_987752_0002.jpg
/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_02_987752_0003.jpg
/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_02_269700_0000.jpg
/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_02_269700_0001.jpg
/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_02_269700_0002.jpg
/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_02_269700_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":["1330871937","1330871931","1330871904","1330871907","1330871916","1330871923"],"photo_ids_order":["1330871904","1330871907","1330871916","1330871923","1330871931","1330871937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/133928db7a39f33837115e736b29ca7d.jpg","text":"TemporaryFile(/tmp/multipartBody4944369341399475428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665467961,"filename":"image_23012025_19_52_02_269700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/572d7b17b71ae9b8c94fc6f21df32c2a.jpg","text":"TemporaryFile(/tmp/multipartBody508953726425494736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665467961,"filename":"image_23012025_19_52_02_269700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d47cd383d902661a67683bafd157714b.jpg","text":"TemporaryFile(/tmp/multipartBody50089246043855836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665467961,"filename":"image_23012025_19_51_02_987752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fff24d9baeda7e8d7ab2c882d4d1e131.jpg","text":"TemporaryFile(/tmp/multipartBody7069581093939212609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665467961,"filename":"image_23012025_19_51_02_987752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3c1da055bde9408bc73238fac48e6db.jpg","text":"TemporaryFile(/tmp/multipartBody4438805086129490973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665467961,"filename":"image_23012025_19_52_02_269700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/226cfae723a5d21dd76ce23c98ffd5e4.jpg","text":"TemporaryFile(/tmp/multipartBody1882853917579060730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665467961,"filename":"image_23012025_19_52_02_269700_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330871916","file1":"1330871907","file0":"1330871904","file4":"1330871931","file5":"1330871937","file3":"1330871923"},"map_files_photo_id_array":[{"photo_id":"1330871937","filename":"file5"},{"photo_id":"1330871916","filename":"file2"},{"photo_id":"1330871931","filename":"file4"},{"photo_id":"1330871907","filename":"file1"},{"photo_id":"1330871904","filename":"file0"},{"photo_id":"1330871923","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330871937":["hashtag1","hashtag2"]},{"1330871931":["hashtag1","hashtag2"]},{"1330871904":["hashtag1","hashtag2"]},{"1330871907":["hashtag1","hashtag2"]},{"1330871916":["hashtag1","hashtag2"]},{"1330871923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330871937, 1330871931, 1330871904, 1330871907, 1330871916, 1330871923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.68831992149353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 21:51:03.140438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_02_371788_0000.jpg', '/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_02_371788_0001.jpg', '/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_02_371788_0002.jpg', '/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_02_371788_0003.jpg', '/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_02_540221_0000.jpg', '/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_02_540221_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_02_371788_0000.jpg
/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_02_371788_0001.jpg
/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_02_371788_0002.jpg
/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_02_371788_0003.jpg
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_02_540221_0000.jpg
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_02_540221_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":["1330872012","1330872000","1330871993","1330871981","1330871977","1330872021"],"photo_ids_order":["1330871977","1330871981","1330871993","1330872000","1330872012","1330872021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/743da01872975d2b23a5b68c664a81c4.jpg","text":"TemporaryFile(/tmp/multipartBody2678418988579385887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665538161,"filename":"image_23012025_19_54_02_540221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/067efb798e24ad05adfb3d52ae125898.jpg","text":"TemporaryFile(/tmp/multipartBody4027931222798921501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665538161,"filename":"image_23012025_19_53_02_371788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fbe0496a4f5f0af0a1e8ae2edd8a9fd.jpg","text":"TemporaryFile(/tmp/multipartBody5475084116056912665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665538161,"filename":"image_23012025_19_53_02_371788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b9076bd9412ab5e2a12a37dacc9e84a.jpg","text":"TemporaryFile(/tmp/multipartBody3452563832806874597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665538161,"filename":"image_23012025_19_53_02_371788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9435e227679f3aa7a2c125037bccfd13.jpg","text":"TemporaryFile(/tmp/multipartBody7029822270649875412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665538161,"filename":"image_23012025_19_53_02_371788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dcc20de56b95641f8165b2aeecbc468f.jpg","text":"TemporaryFile(/tmp/multipartBody8303600507229522606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665538161,"filename":"image_23012025_19_54_02_540221_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330871993","file1":"1330871981","file0":"1330871977","file4":"1330872012","file5":"1330872021","file3":"1330872000"},"map_files_photo_id_array":[{"photo_id":"1330872021","filename":"file5"},{"photo_id":"1330871993","filename":"file2"},{"photo_id":"1330872012","filename":"file4"},{"photo_id":"1330871981","filename":"file1"},{"photo_id":"1330871977","filename":"file0"},{"photo_id":"1330872000","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330872012":["hashtag1","hashtag2"]},{"1330872000":["hashtag1","hashtag2"]},{"1330871993":["hashtag1","hashtag2"]},{"1330871981":["hashtag1","hashtag2"]},{"1330871977":["hashtag1","hashtag2"]},{"1330872021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330872012, 1330872000, 1330871993, 1330871981, 1330871977, 1330872021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.44906949996948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 21:52:22.704670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_02_540221_0002.jpg', '/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0000.jpg', '/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0001.jpg', '/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0002.jpg', '/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0003.jpg', '/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_02_540221_0002.jpg
/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0000.jpg
/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0001.jpg
/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0002.jpg
/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0003.jpg
/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_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.822502613067627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 21:52:42.637554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_02_540221_0002.jpg', '/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0000.jpg', '/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0001.jpg', '/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0002.jpg', '/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0003.jpg', '/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_02_540221_0002.jpg
/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0000.jpg
/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0001.jpg
/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0002.jpg
/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_02_774924_0003.jpg
/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_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":["1330872132","1330872152","1330872146","1330872143","1330872137","1330872148"],"photo_ids_order":["1330872132","1330872137","1330872143","1330872146","1330872148","1330872152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66c928e99844ca01e1a01b9a54412c8f.jpg","text":"TemporaryFile(/tmp/multipartBody2080643108232594717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665637861,"filename":"image_23012025_19_54_02_540221_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd1da79af3df43f37e7a474f421c9d7c.jpg","text":"TemporaryFile(/tmp/multipartBody8589221715795524878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665637861,"filename":"image_23012025_19_56_02_863308_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55dc1ccc30c6965766a264f8760b4a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7391637928829344341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665637861,"filename":"image_23012025_19_55_02_774924_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16219bd72ea812dde87f1255fee34daa.jpg","text":"TemporaryFile(/tmp/multipartBody103784211532590291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665637861,"filename":"image_23012025_19_55_02_774924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f497f34ca3d209c13e6f2005b0142074.jpg","text":"TemporaryFile(/tmp/multipartBody8211551314955648748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665637861,"filename":"image_23012025_19_55_02_774924_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a002e861d33a432aff1441bd6ae84f3.jpg","text":"TemporaryFile(/tmp/multipartBody7365773052345587929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665637861,"filename":"image_23012025_19_55_02_774924_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330872143","file1":"1330872137","file0":"1330872132","file4":"1330872148","file5":"1330872152","file3":"1330872146"},"map_files_photo_id_array":[{"photo_id":"1330872152","filename":"file5"},{"photo_id":"1330872143","filename":"file2"},{"photo_id":"1330872148","filename":"file4"},{"photo_id":"1330872137","filename":"file1"},{"photo_id":"1330872132","filename":"file0"},{"photo_id":"1330872146","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330872132":["hashtag1","hashtag2"]},{"1330872152":["hashtag1","hashtag2"]},{"1330872146":["hashtag1","hashtag2"]},{"1330872143":["hashtag1","hashtag2"]},{"1330872137":["hashtag1","hashtag2"]},{"1330872148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330872132, 1330872152, 1330872146, 1330872143, 1330872137, 1330872148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.54120469093323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 21:53:41.835164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_0001.jpg', '/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_0002.jpg', '/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_0003.jpg', '/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_03_061265_0000.jpg', '/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_03_061265_0001.jpg', '/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_03_061265_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_0001.jpg
/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_0002.jpg
/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_0003.jpg
/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_03_061265_0000.jpg
/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_03_061265_0001.jpg
/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_03_061265_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.774248361587524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 21:54:02.371905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_0001.jpg', '/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_0002.jpg', '/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_0003.jpg', '/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_03_061265_0000.jpg', '/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_03_061265_0001.jpg', '/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_03_061265_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_0001.jpg
/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_0002.jpg
/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_02_863308_0003.jpg
/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_03_061265_0000.jpg
/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_03_061265_0001.jpg
/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_03_061265_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330872275","1330872254","1330872271","1330872280","1330872259","1330872264"],"photo_ids_order":["1330872254","1330872259","1330872264","1330872271","1330872275","1330872280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5274bca3f0117a92752b15c61440df58.jpg","text":"TemporaryFile(/tmp/multipartBody5842149797849140307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665718568,"filename":"image_23012025_19_57_03_061265_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9200a2aa3c368d0ab17b28797dad13d.jpg","text":"TemporaryFile(/tmp/multipartBody4651869762010323028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665718568,"filename":"image_23012025_19_56_02_863308_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24df79bc4c5efb1e6f7bebd9d99286df.jpg","text":"TemporaryFile(/tmp/multipartBody8835111538336173699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665718568,"filename":"image_23012025_19_57_03_061265_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5272ce1d02b45459c707dd262d1d3bd.jpg","text":"TemporaryFile(/tmp/multipartBody7198611004812606735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665718568,"filename":"image_23012025_19_57_03_061265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e6940cfc6d24b15173bae53ebe1b349.jpg","text":"TemporaryFile(/tmp/multipartBody798752745089347867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665718568,"filename":"image_23012025_19_56_02_863308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/498095b9dcf01d42dc1329670ff49599.jpg","text":"TemporaryFile(/tmp/multipartBody1846546631761744157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665718568,"filename":"image_23012025_19_56_02_863308_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330872264","file1":"1330872259","file0":"1330872254","file4":"1330872275","file5":"1330872280","file3":"1330872271"},"map_files_photo_id_array":[{"photo_id":"1330872280","filename":"file5"},{"photo_id":"1330872264","filename":"file2"},{"photo_id":"1330872275","filename":"file4"},{"photo_id":"1330872259","filename":"file1"},{"photo_id":"1330872254","filename":"file0"},{"photo_id":"1330872271","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330872275":["hashtag1","hashtag2"]},{"1330872254":["hashtag1","hashtag2"]},{"1330872271":["hashtag1","hashtag2"]},{"1330872280":["hashtag1","hashtag2"]},{"1330872259":["hashtag1","hashtag2"]},{"1330872264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330872275, 1330872254, 1330872271, 1330872280, 1330872259, 1330872264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.02390241622925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 21:55:02.843187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_03_061265_0003.jpg', '/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_02_326448_0000.jpg', '/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_02_326448_0002.jpg', '/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_02_326448_0003.jpg', '/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_02_413914_0000.jpg', '/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_02_413914_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_03_061265_0003.jpg
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_02_326448_0000.jpg
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_02_326448_0002.jpg
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_02_326448_0003.jpg
/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_02_413914_0000.jpg
/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_02_413914_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":["1330872383","1330872356","1330872341","1330872301","1330872345","1330872369"],"photo_ids_order":["1330872301","1330872341","1330872345","1330872356","1330872369","1330872383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7234a30cf9bfc7536697e0ed94c70f8.jpg","text":"TemporaryFile(/tmp/multipartBody2296332437536412834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665777967,"filename":"image_23012025_19_59_02_413914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9aac50ecbb49795482e32952973d6530.jpg","text":"TemporaryFile(/tmp/multipartBody897710136902190757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665777967,"filename":"image_23012025_19_58_02_326448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fb390d82e5830aea1e2870402dd5cc9.jpg","text":"TemporaryFile(/tmp/multipartBody756653688051031356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665777967,"filename":"image_23012025_19_58_02_326448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b45da9df0374573558992783c2d0bd4.jpg","text":"TemporaryFile(/tmp/multipartBody2444206350569159721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665777967,"filename":"image_23012025_19_57_03_061265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/728a4301b2f46f1868af9d8f4956f299.jpg","text":"TemporaryFile(/tmp/multipartBody4626102176204047748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665777967,"filename":"image_23012025_19_58_02_326448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e3129e093d83215f54ca2264d982be5.jpg","text":"TemporaryFile(/tmp/multipartBody2970216283379666153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665777967,"filename":"image_23012025_19_59_02_413914_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330872345","file1":"1330872341","file0":"1330872301","file4":"1330872369","file5":"1330872383","file3":"1330872356"},"map_files_photo_id_array":[{"photo_id":"1330872383","filename":"file5"},{"photo_id":"1330872345","filename":"file2"},{"photo_id":"1330872369","filename":"file4"},{"photo_id":"1330872341","filename":"file1"},{"photo_id":"1330872301","filename":"file0"},{"photo_id":"1330872356","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330872383":["hashtag1","hashtag2"]},{"1330872356":["hashtag1","hashtag2"]},{"1330872341":["hashtag1","hashtag2"]},{"1330872301":["hashtag1","hashtag2"]},{"1330872345":["hashtag1","hashtag2"]},{"1330872369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330872383, 1330872356, 1330872341, 1330872301, 1330872345, 1330872369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.98835778236389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 21:56:02.873045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_02_413914_0002.jpg', '/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_02_413914_0003.jpg', '/home/pi/Desktop/images/23012025/20/00/image_23012025_20_00_02_631038_0000.jpg', '/home/pi/Desktop/images/23012025/20/00/image_23012025_20_00_02_631038_0001.jpg', '/home/pi/Desktop/images/23012025/20/00/image_23012025_20_00_02_631038_0002.jpg', '/home/pi/Desktop/images/23012025/20/00/image_23012025_20_00_02_631038_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_02_413914_0002.jpg
/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_02_413914_0003.jpg
/home/pi/Desktop/images/23012025/20/00/image_23012025_20_00_02_631038_0000.jpg
/home/pi/Desktop/images/23012025/20/00/image_23012025_20_00_02_631038_0001.jpg
/home/pi/Desktop/images/23012025/20/00/image_23012025_20_00_02_631038_0002.jpg
/home/pi/Desktop/images/23012025/20/00/image_23012025_20_00_02_631038_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":["1330872536","1330872521","1330872430","1330872424","1330872406","1330872409"],"photo_ids_order":["1330872406","1330872409","1330872424","1330872430","1330872521","1330872536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b0be589bb3d17d65a20c02697621de6.jpg","text":"TemporaryFile(/tmp/multipartBody8673761422291915879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665838398,"filename":"image_23012025_20_00_02_631038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/533809d58b73b2697b2ff401d1af4d29.jpg","text":"TemporaryFile(/tmp/multipartBody7171944027435392557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665838398,"filename":"image_23012025_20_00_02_631038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2eaccdbd9972818db4b6711fd1598cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4676304411343730772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665838398,"filename":"image_23012025_20_00_02_631038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e6f66d90844b8201860d1796c9ee265.jpg","text":"TemporaryFile(/tmp/multipartBody5709698759424375585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665838398,"filename":"image_23012025_20_00_02_631038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8eeced95ad071845dcf21275b8a4f453.jpg","text":"TemporaryFile(/tmp/multipartBody6929113470100822068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665838398,"filename":"image_23012025_19_59_02_413914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e44edd0e9fbe7ff7ae8a45ea1f9e8ad1.jpg","text":"TemporaryFile(/tmp/multipartBody2914781018362985089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665838398,"filename":"image_23012025_19_59_02_413914_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330872424","file1":"1330872409","file0":"1330872406","file4":"1330872521","file5":"1330872536","file3":"1330872430"},"map_files_photo_id_array":[{"photo_id":"1330872536","filename":"file5"},{"photo_id":"1330872424","filename":"file2"},{"photo_id":"1330872521","filename":"file4"},{"photo_id":"1330872409","filename":"file1"},{"photo_id":"1330872406","filename":"file0"},{"photo_id":"1330872430","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330872536":["hashtag1","hashtag2"]},{"1330872521":["hashtag1","hashtag2"]},{"1330872430":["hashtag1","hashtag2"]},{"1330872424":["hashtag1","hashtag2"]},{"1330872406":["hashtag1","hashtag2"]},{"1330872409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330872536, 1330872521, 1330872430, 1330872424, 1330872406, 1330872409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.644416093826294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 21:57:03.078783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_02_701979_0000.jpg', '/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_02_701979_0001.jpg', '/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_02_701979_0002.jpg', '/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_02_701979_0003.jpg', '/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_02_994024_0000.jpg', '/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_02_994024_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_02_701979_0000.jpg
/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_02_701979_0001.jpg
/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_02_701979_0002.jpg
/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_02_701979_0003.jpg
/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_02_994024_0000.jpg
/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_02_994024_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":["1330872683","1330872686","1330872668","1330872679","1330872681","1330872648"],"photo_ids_order":["1330872648","1330872668","1330872679","1330872681","1330872683","1330872686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7985bba582b63397dfd00835a24951e.jpg","text":"TemporaryFile(/tmp/multipartBody1283699846251040003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665899038,"filename":"image_23012025_20_02_02_994024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac2c3fc2aed64f3ef58b1c320f44c9dd.jpg","text":"TemporaryFile(/tmp/multipartBody8999193123289466823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665899038,"filename":"image_23012025_20_02_02_994024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/179f55ebaa7ca86da7c06f8d0bdc5021.jpg","text":"TemporaryFile(/tmp/multipartBody5631638162495979223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665899038,"filename":"image_23012025_20_01_02_701979_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c3b28d69d84bfd7975e10652e33038b.jpg","text":"TemporaryFile(/tmp/multipartBody3289138722229336046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665899038,"filename":"image_23012025_20_01_02_701979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/341d42d035a3da1ec15532679a3a1fe6.jpg","text":"TemporaryFile(/tmp/multipartBody7365138924282078631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665899038,"filename":"image_23012025_20_01_02_701979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c634ac94a50842d51fc84f2e88121fc9.jpg","text":"TemporaryFile(/tmp/multipartBody613919877518327407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665899038,"filename":"image_23012025_20_01_02_701979_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330872679","file1":"1330872668","file0":"1330872648","file4":"1330872683","file5":"1330872686","file3":"1330872681"},"map_files_photo_id_array":[{"photo_id":"1330872686","filename":"file5"},{"photo_id":"1330872679","filename":"file2"},{"photo_id":"1330872683","filename":"file4"},{"photo_id":"1330872668","filename":"file1"},{"photo_id":"1330872648","filename":"file0"},{"photo_id":"1330872681","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330872683":["hashtag1","hashtag2"]},{"1330872686":["hashtag1","hashtag2"]},{"1330872668":["hashtag1","hashtag2"]},{"1330872679":["hashtag1","hashtag2"]},{"1330872681":["hashtag1","hashtag2"]},{"1330872648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330872683, 1330872686, 1330872668, 1330872679, 1330872681, 1330872648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.21328663825989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 21:59:02.502459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_02_994024_0002.jpg', '/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_02_994024_0003.jpg', '/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_03_171438_0000.jpg', '/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_03_171438_0001.jpg', '/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_03_171438_0002.jpg', '/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_03_171438_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_02_994024_0002.jpg
/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_02_994024_0003.jpg
/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_03_171438_0000.jpg
/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_03_171438_0001.jpg
/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_03_171438_0002.jpg
/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_03_171438_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":["1330872962","1330872950","1330872887","1330872860","1330872844","1330872853"],"photo_ids_order":["1330872844","1330872853","1330872860","1330872887","1330872950","1330872962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70c3ff71bc7d526951e70045fc40bb26.jpg","text":"TemporaryFile(/tmp/multipartBody3221009430313008768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666018979,"filename":"image_23012025_20_03_03_171438_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c5596a6af41008a6650df2419b8a50a.jpg","text":"TemporaryFile(/tmp/multipartBody7666313364400168146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666018979,"filename":"image_23012025_20_03_03_171438_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de8070b5a021fcf1cfd186ac0707db02.jpg","text":"TemporaryFile(/tmp/multipartBody7119279752745158027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666018979,"filename":"image_23012025_20_03_03_171438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8160dc57edbb9fe4d7215404ab306d5a.jpg","text":"TemporaryFile(/tmp/multipartBody654481600566854963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666018979,"filename":"image_23012025_20_03_03_171438_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/534ac9fe903d3278f5c550f60592b600.jpg","text":"TemporaryFile(/tmp/multipartBody6702490376180320884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666018979,"filename":"image_23012025_20_02_02_994024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ae35e2314a051afbd07014af19e6ae8.jpg","text":"TemporaryFile(/tmp/multipartBody6111434502217226623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666018979,"filename":"image_23012025_20_02_02_994024_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330872860","file1":"1330872853","file0":"1330872844","file4":"1330872950","file5":"1330872962","file3":"1330872887"},"map_files_photo_id_array":[{"photo_id":"1330872962","filename":"file5"},{"photo_id":"1330872860","filename":"file2"},{"photo_id":"1330872950","filename":"file4"},{"photo_id":"1330872853","filename":"file1"},{"photo_id":"1330872844","filename":"file0"},{"photo_id":"1330872887","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330872962":["hashtag1","hashtag2"]},{"1330872950":["hashtag1","hashtag2"]},{"1330872887":["hashtag1","hashtag2"]},{"1330872860":["hashtag1","hashtag2"]},{"1330872844":["hashtag1","hashtag2"]},{"1330872853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330872962, 1330872950, 1330872887, 1330872860, 1330872844, 1330872853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.31346416473389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:00:22.077668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_02_306670_0000.jpg', '/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_02_306670_0001.jpg', '/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_02_306670_0002.jpg', '/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_02_306670_0003.jpg', '/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_02_507903_0000.jpg', '/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_02_507903_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_02_306670_0000.jpg
/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_02_306670_0001.jpg
/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_02_306670_0002.jpg
/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_02_306670_0003.jpg
/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_02_507903_0000.jpg
/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_02_507903_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":["1330873013","1330873027","1330873032","1330873020","1330873023","1330873017"],"photo_ids_order":["1330873013","1330873017","1330873020","1330873023","1330873027","1330873032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b64c74543d9ae8b4038f7cf54879099.jpg","text":"TemporaryFile(/tmp/multipartBody1079483040582802107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666097634,"filename":"image_23012025_20_04_02_306670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5486b17c733facf605872db300e1b3ef.jpg","text":"TemporaryFile(/tmp/multipartBody1329906193709125557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666097634,"filename":"image_23012025_20_05_02_507903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2bc1a9c5f19131908af3da9771fb3ac2.jpg","text":"TemporaryFile(/tmp/multipartBody7798323010409326195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666097634,"filename":"image_23012025_20_05_02_507903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c162af458cb95734645fdde16a51cc2d.jpg","text":"TemporaryFile(/tmp/multipartBody1089987199737131120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666097634,"filename":"image_23012025_20_04_02_306670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbbec7e0ad2ea84628cfc637b9cfd675.jpg","text":"TemporaryFile(/tmp/multipartBody8946071588643290596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666097634,"filename":"image_23012025_20_04_02_306670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f870e4596a94313580da8352bbf9e7d0.jpg","text":"TemporaryFile(/tmp/multipartBody8684926721781396196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666097634,"filename":"image_23012025_20_04_02_306670_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330873020","file1":"1330873017","file0":"1330873013","file4":"1330873027","file5":"1330873032","file3":"1330873023"},"map_files_photo_id_array":[{"photo_id":"1330873032","filename":"file5"},{"photo_id":"1330873020","filename":"file2"},{"photo_id":"1330873027","filename":"file4"},{"photo_id":"1330873017","filename":"file1"},{"photo_id":"1330873013","filename":"file0"},{"photo_id":"1330873023","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330873013":["hashtag1","hashtag2"]},{"1330873027":["hashtag1","hashtag2"]},{"1330873032":["hashtag1","hashtag2"]},{"1330873020":["hashtag1","hashtag2"]},{"1330873023":["hashtag1","hashtag2"]},{"1330873017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330873013, 1330873027, 1330873032, 1330873020, 1330873023, 1330873017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.83285117149353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:01:22.183084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_02_507903_0002.jpg', '/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_02_507903_0003.jpg', '/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_02_763591_0000.jpg', '/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_02_763591_0001.jpg', '/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_02_763591_0002.jpg', '/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_02_763591_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_02_507903_0002.jpg
/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_02_507903_0003.jpg
/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_02_763591_0000.jpg
/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_02_763591_0001.jpg
/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_02_763591_0002.jpg
/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_02_763591_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":["1330873064","1330873072","1330873081","1330873075","1330873059","1330873068"],"photo_ids_order":["1330873059","1330873064","1330873068","1330873072","1330873075","1330873081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01d282dcb0856cbfbbf1b2716732b78c.jpg","text":"TemporaryFile(/tmp/multipartBody945368575835417051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666158982,"filename":"image_23012025_20_05_02_507903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ecaa83ce1e47a49185513bd0f575f34.jpg","text":"TemporaryFile(/tmp/multipartBody3401846685042964618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666158982,"filename":"image_23012025_20_06_02_763591_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a4ec3da0de0ac5967a9c9df98240a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4802454042929512795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666158982,"filename":"image_23012025_20_06_02_763591_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9a62734670bbbfc9a64579a628efd60.jpg","text":"TemporaryFile(/tmp/multipartBody4376450867997780669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666158982,"filename":"image_23012025_20_06_02_763591_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdeea3dfe0182fb374334fbcf45d16e8.jpg","text":"TemporaryFile(/tmp/multipartBody3132427127893663138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666158982,"filename":"image_23012025_20_05_02_507903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88c0e96fa81618dd62ed1a47eb819914.jpg","text":"TemporaryFile(/tmp/multipartBody963986610764295272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666158982,"filename":"image_23012025_20_06_02_763591_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330873068","file1":"1330873064","file0":"1330873059","file4":"1330873075","file5":"1330873081","file3":"1330873072"},"map_files_photo_id_array":[{"photo_id":"1330873081","filename":"file5"},{"photo_id":"1330873068","filename":"file2"},{"photo_id":"1330873075","filename":"file4"},{"photo_id":"1330873064","filename":"file1"},{"photo_id":"1330873059","filename":"file0"},{"photo_id":"1330873072","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330873064":["hashtag1","hashtag2"]},{"1330873072":["hashtag1","hashtag2"]},{"1330873081":["hashtag1","hashtag2"]},{"1330873075":["hashtag1","hashtag2"]},{"1330873059":["hashtag1","hashtag2"]},{"1330873068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330873064, 1330873072, 1330873081, 1330873075, 1330873059, 1330873068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.72166657447815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:02:22.431651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_02_919339_0000.jpg', '/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_02_919339_0001.jpg', '/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_02_919339_0002.jpg', '/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_02_919339_0003.jpg', '/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_03_039939_0000.jpg', '/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_03_039939_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_02_919339_0000.jpg
/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_02_919339_0001.jpg
/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_02_919339_0002.jpg
/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_02_919339_0003.jpg
/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_03_039939_0000.jpg
/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_03_039939_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":["1330873226","1330873186","1330873233","1330873212","1330873200","1330873203"],"photo_ids_order":["1330873186","1330873200","1330873203","1330873212","1330873226","1330873233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f1d34c9dd918ff5e4dfdfecaba78d21.jpg","text":"TemporaryFile(/tmp/multipartBody4437668977391349798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666219135,"filename":"image_23012025_20_08_03_039939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57ce0b846471a2e0ad25fe7318f6f046.jpg","text":"TemporaryFile(/tmp/multipartBody3159442683779260597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666219135,"filename":"image_23012025_20_07_02_919339_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d6b668cd884766edb1a73ce9014f991.jpg","text":"TemporaryFile(/tmp/multipartBody1900933553292282814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666219135,"filename":"image_23012025_20_08_03_039939_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5935d239532888b8f0d6dba5a59b2fa.jpg","text":"TemporaryFile(/tmp/multipartBody7687697557326293127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666219135,"filename":"image_23012025_20_07_02_919339_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fb3599ad12081df249726b3c9467049.jpg","text":"TemporaryFile(/tmp/multipartBody2402455644780522313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666219135,"filename":"image_23012025_20_07_02_919339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a65b2dc3e3bc5334ac41c9bef8df167f.jpg","text":"TemporaryFile(/tmp/multipartBody6722485046313085136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666219135,"filename":"image_23012025_20_07_02_919339_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330873203","file1":"1330873200","file0":"1330873186","file4":"1330873226","file5":"1330873233","file3":"1330873212"},"map_files_photo_id_array":[{"photo_id":"1330873233","filename":"file5"},{"photo_id":"1330873203","filename":"file2"},{"photo_id":"1330873226","filename":"file4"},{"photo_id":"1330873200","filename":"file1"},{"photo_id":"1330873186","filename":"file0"},{"photo_id":"1330873212","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330873226":["hashtag1","hashtag2"]},{"1330873186":["hashtag1","hashtag2"]},{"1330873233":["hashtag1","hashtag2"]},{"1330873212":["hashtag1","hashtag2"]},{"1330873200":["hashtag1","hashtag2"]},{"1330873203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330873226, 1330873186, 1330873233, 1330873212, 1330873200, 1330873203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.476354122161865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:03:22.573279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_03_039939_0002.jpg', '/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_03_039939_0003.jpg', '/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_02_234183_0000.jpg', '/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_02_234183_0001.jpg', '/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_02_234183_0002.jpg', '/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_02_234183_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_03_039939_0002.jpg
/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_03_039939_0003.jpg
/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_02_234183_0000.jpg
/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_02_234183_0001.jpg
/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_02_234183_0002.jpg
/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_02_234183_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":["1330873331","1330873319","1330873313","1330873323","1330873326","1330873295"],"photo_ids_order":["1330873295","1330873313","1330873319","1330873323","1330873326","1330873331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d6663f3f8176203fc4f645abd5c7455.jpg","text":"TemporaryFile(/tmp/multipartBody7232837434226895448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666278482,"filename":"image_23012025_20_09_02_234183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88236e08478e2c7f7973707c7663625a.jpg","text":"TemporaryFile(/tmp/multipartBody6743225380927646553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666278482,"filename":"image_23012025_20_09_02_234183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0d904c02c8fda4f3fe778fc23a14384.jpg","text":"TemporaryFile(/tmp/multipartBody5589802891971432969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666278482,"filename":"image_23012025_20_08_03_039939_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c1d682c4668c794a674745705f643ab.jpg","text":"TemporaryFile(/tmp/multipartBody5282146855158270398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666278482,"filename":"image_23012025_20_09_02_234183_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0474b99a29e18d9251b43a7557b0fd19.jpg","text":"TemporaryFile(/tmp/multipartBody6593328495923860489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666278482,"filename":"image_23012025_20_09_02_234183_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6a3dd7d460b1b9695558d22296dc6c0.jpg","text":"TemporaryFile(/tmp/multipartBody8867730353255709922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666278482,"filename":"image_23012025_20_08_03_039939_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330873319","file1":"1330873313","file0":"1330873295","file4":"1330873326","file5":"1330873331","file3":"1330873323"},"map_files_photo_id_array":[{"photo_id":"1330873331","filename":"file5"},{"photo_id":"1330873319","filename":"file2"},{"photo_id":"1330873326","filename":"file4"},{"photo_id":"1330873313","filename":"file1"},{"photo_id":"1330873295","filename":"file0"},{"photo_id":"1330873323","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330873331":["hashtag1","hashtag2"]},{"1330873319":["hashtag1","hashtag2"]},{"1330873313":["hashtag1","hashtag2"]},{"1330873323":["hashtag1","hashtag2"]},{"1330873326":["hashtag1","hashtag2"]},{"1330873295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330873331, 1330873319, 1330873313, 1330873323, 1330873326, 1330873295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.031126260757446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:04:22.744477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0000.jpg', '/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0001.jpg', '/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0002.jpg', '/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0003.jpg', '/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_02_585888_0000.jpg', '/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_02_585888_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0000.jpg
/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0001.jpg
/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0002.jpg
/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0003.jpg
/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_02_585888_0000.jpg
/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_02_585888_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: 16.080089807510376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:04:42.734876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0000.jpg', '/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0001.jpg', '/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0002.jpg', '/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0003.jpg', '/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_02_585888_0000.jpg', '/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_02_585888_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0000.jpg
/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0001.jpg
/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0002.jpg
/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_02_352499_0003.jpg
/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_02_585888_0000.jpg
/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_02_585888_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":["1330873465","1330873482","1330873490","1330873478","1330873487","1330873472"],"photo_ids_order":["1330873465","1330873472","1330873478","1330873482","1330873487","1330873490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/87bf9bcefcb26923c79e5fb965343844.jpg","text":"TemporaryFile(/tmp/multipartBody9189362564502705527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666359206,"filename":"image_23012025_20_10_02_352499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/971d80002c9590cde7f93cd43bd23a9a.jpg","text":"TemporaryFile(/tmp/multipartBody6754402825402666057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666359206,"filename":"image_23012025_20_10_02_352499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/620d569b36dd91cd502ab1172688203b.jpg","text":"TemporaryFile(/tmp/multipartBody6795581901562155450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666359206,"filename":"image_23012025_20_11_02_585888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5a5b38f297c164053fa9f7b84fec561.jpg","text":"TemporaryFile(/tmp/multipartBody5345559323160400555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666359206,"filename":"image_23012025_20_10_02_352499_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/548081a8d7bf06b7ebec92fcb2874e7a.jpg","text":"TemporaryFile(/tmp/multipartBody3344673015297703489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666359206,"filename":"image_23012025_20_11_02_585888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86e2bbf9cb61a4d3ea91b4ff2e90ea90.jpg","text":"TemporaryFile(/tmp/multipartBody3093746625521925377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666359206,"filename":"image_23012025_20_10_02_352499_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330873478","file1":"1330873472","file0":"1330873465","file4":"1330873487","file5":"1330873490","file3":"1330873482"},"map_files_photo_id_array":[{"photo_id":"1330873490","filename":"file5"},{"photo_id":"1330873478","filename":"file2"},{"photo_id":"1330873487","filename":"file4"},{"photo_id":"1330873472","filename":"file1"},{"photo_id":"1330873465","filename":"file0"},{"photo_id":"1330873482","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330873465":["hashtag1","hashtag2"]},{"1330873482":["hashtag1","hashtag2"]},{"1330873490":["hashtag1","hashtag2"]},{"1330873478":["hashtag1","hashtag2"]},{"1330873487":["hashtag1","hashtag2"]},{"1330873472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330873465, 1330873482, 1330873490, 1330873478, 1330873487, 1330873472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.67208504676819 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:05:41.941156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_02_585888_0002.jpg', '/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_02_585888_0003.jpg', '/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_02_706693_0000.jpg', '/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_02_706693_0001.jpg', '/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_02_706693_0002.jpg', '/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_02_706693_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_02_585888_0002.jpg
/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_02_585888_0003.jpg
/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_02_706693_0000.jpg
/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_02_706693_0001.jpg
/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_02_706693_0002.jpg
/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_02_706693_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":["1330873532","1330873526","1330873548","1330873521","1330873539","1330873544"],"photo_ids_order":["1330873521","1330873526","1330873532","1330873539","1330873544","1330873548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc2f0e8dd2fb2edf7ad7d0437fdfb0fb.jpg","text":"TemporaryFile(/tmp/multipartBody7103051860028815944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666418709,"filename":"image_23012025_20_12_02_706693_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ae1537d874a37c493b785d530cc42c2.jpg","text":"TemporaryFile(/tmp/multipartBody5760349532466762474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666418709,"filename":"image_23012025_20_11_02_585888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8d2f2bdce2f675c8cf38194a472ffe7.jpg","text":"TemporaryFile(/tmp/multipartBody8341759588090955304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666418709,"filename":"image_23012025_20_12_02_706693_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b982e4e6129a8fda631ec987d7992a7.jpg","text":"TemporaryFile(/tmp/multipartBody5504140180563952546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666418709,"filename":"image_23012025_20_11_02_585888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63665f0456ef003f01bb8f661c737bcf.jpg","text":"TemporaryFile(/tmp/multipartBody2099816821220972846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666418709,"filename":"image_23012025_20_12_02_706693_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44ec570d008629d305a98a4ab70f7b2c.jpg","text":"TemporaryFile(/tmp/multipartBody717063856969971497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666418709,"filename":"image_23012025_20_12_02_706693_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330873532","file1":"1330873526","file0":"1330873521","file4":"1330873544","file5":"1330873548","file3":"1330873539"},"map_files_photo_id_array":[{"photo_id":"1330873548","filename":"file5"},{"photo_id":"1330873532","filename":"file2"},{"photo_id":"1330873544","filename":"file4"},{"photo_id":"1330873526","filename":"file1"},{"photo_id":"1330873521","filename":"file0"},{"photo_id":"1330873539","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330873532":["hashtag1","hashtag2"]},{"1330873526":["hashtag1","hashtag2"]},{"1330873548":["hashtag1","hashtag2"]},{"1330873521":["hashtag1","hashtag2"]},{"1330873539":["hashtag1","hashtag2"]},{"1330873544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330873532, 1330873526, 1330873548, 1330873521, 1330873539, 1330873544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.592968702316284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:06:42.027536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_02_919824_0000.jpg', '/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_02_919824_0001.jpg', '/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_02_919824_0002.jpg', '/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_02_919824_0003.jpg', '/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_03_104074_0000.jpg', '/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_03_104074_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_02_919824_0000.jpg
/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_02_919824_0001.jpg
/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_02_919824_0002.jpg
/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_02_919824_0003.jpg
/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_03_104074_0000.jpg
/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_03_104074_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":["1330873964","1330874686","1330874295","1330874706","1330874700","1330874612"],"photo_ids_order":["1330873964","1330874295","1330874612","1330874686","1330874700","1330874706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2cfa32a0849a144fbda09a2c925c9459.jpg","text":"TemporaryFile(/tmp/multipartBody2245092156329230257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666478330,"filename":"image_23012025_20_13_02_919824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/411bbeedd77bd2b8dd96da7a23abc482.jpg","text":"TemporaryFile(/tmp/multipartBody6459792380898932173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666478330,"filename":"image_23012025_20_13_02_919824_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c8e751f09626bcd47e8f75d8db3c625.jpg","text":"TemporaryFile(/tmp/multipartBody3572959366174714553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666478330,"filename":"image_23012025_20_13_02_919824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d68fbae3aa5c50aa286e863d09d09427.jpg","text":"TemporaryFile(/tmp/multipartBody1111560400013357833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666478330,"filename":"image_23012025_20_14_03_104074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab8d5263ee05da0f1c546e3c656ff542.jpg","text":"TemporaryFile(/tmp/multipartBody9211910202472131313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666478330,"filename":"image_23012025_20_14_03_104074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/255d707a1aaf4502d719cc9c845ed33d.jpg","text":"TemporaryFile(/tmp/multipartBody5489554503765156244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666478330,"filename":"image_23012025_20_13_02_919824_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330874612","file1":"1330874295","file0":"1330873964","file4":"1330874700","file5":"1330874706","file3":"1330874686"},"map_files_photo_id_array":[{"photo_id":"1330874706","filename":"file5"},{"photo_id":"1330874612","filename":"file2"},{"photo_id":"1330874700","filename":"file4"},{"photo_id":"1330874295","filename":"file1"},{"photo_id":"1330873964","filename":"file0"},{"photo_id":"1330874686","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330873964":["hashtag1","hashtag2"]},{"1330874686":["hashtag1","hashtag2"]},{"1330874295":["hashtag1","hashtag2"]},{"1330874706":["hashtag1","hashtag2"]},{"1330874700":["hashtag1","hashtag2"]},{"1330874612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330873964, 1330874686, 1330874295, 1330874706, 1330874700, 1330874612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.42182922363281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:07:42.274089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_03_104074_0002.jpg', '/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_03_104074_0003.jpg', '/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_02_323759_0000.jpg', '/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_02_323759_0001.jpg', '/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_02_323759_0002.jpg', '/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_02_323759_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_03_104074_0002.jpg
/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_03_104074_0003.jpg
/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_02_323759_0000.jpg
/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_02_323759_0001.jpg
/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_02_323759_0002.jpg
/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_02_323759_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":["1330874749","1330874778","1330874766","1330874754","1330874771","1330874759"],"photo_ids_order":["1330874749","1330874754","1330874759","1330874766","1330874771","1330874778"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16cd03e160e10ccac1fc1999e8cd2058.jpg","text":"TemporaryFile(/tmp/multipartBody70917331277438347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666538709,"filename":"image_23012025_20_14_03_104074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/679ecfb6d29175fb39c6cb80edfe1009.jpg","text":"TemporaryFile(/tmp/multipartBody5348811057811175352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666538709,"filename":"image_23012025_20_15_02_323759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c4388b42f53958ba6dda316b43a713b.jpg","text":"TemporaryFile(/tmp/multipartBody2371512128030497361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666538709,"filename":"image_23012025_20_15_02_323759_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b105f94cc91317a76dfd7f644bb028a.jpg","text":"TemporaryFile(/tmp/multipartBody1295091155999416121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666538709,"filename":"image_23012025_20_14_03_104074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6c074bc7c911dc49e162e6178500562.jpg","text":"TemporaryFile(/tmp/multipartBody2087998738707679326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666538709,"filename":"image_23012025_20_15_02_323759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24df5cc06b8adb880ced60f4c2d63220.jpg","text":"TemporaryFile(/tmp/multipartBody3905935882173327680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666538709,"filename":"image_23012025_20_15_02_323759_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330874759","file1":"1330874754","file0":"1330874749","file4":"1330874771","file5":"1330874778","file3":"1330874766"},"map_files_photo_id_array":[{"photo_id":"1330874778","filename":"file5"},{"photo_id":"1330874759","filename":"file2"},{"photo_id":"1330874771","filename":"file4"},{"photo_id":"1330874754","filename":"file1"},{"photo_id":"1330874749","filename":"file0"},{"photo_id":"1330874766","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330874749":["hashtag1","hashtag2"]},{"1330874778":["hashtag1","hashtag2"]},{"1330874766":["hashtag1","hashtag2"]},{"1330874754":["hashtag1","hashtag2"]},{"1330874771":["hashtag1","hashtag2"]},{"1330874759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330874749, 1330874778, 1330874766, 1330874754, 1330874771, 1330874759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.11673426628113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:08:42.501079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_02_394197_0000.jpg', '/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_02_394197_0001.jpg', '/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_02_394197_0002.jpg', '/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_02_394197_0003.jpg', '/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_02_552352_0000.jpg', '/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_02_552352_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_02_394197_0000.jpg
/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_02_394197_0001.jpg
/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_02_394197_0002.jpg
/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_02_394197_0003.jpg
/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_02_552352_0000.jpg
/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_02_552352_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":["1330875288","1330875261","1330875299","1330875303","1330875317","1330875308"],"photo_ids_order":["1330875261","1330875288","1330875299","1330875303","1330875308","1330875317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b91a0dc65d331c89a6e79baa684d09bf.jpg","text":"TemporaryFile(/tmp/multipartBody8574426252111062322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666598629,"filename":"image_23012025_20_16_02_394197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0bfbc20496dc66791f7b50ff14dad21.jpg","text":"TemporaryFile(/tmp/multipartBody290756040736699414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666598629,"filename":"image_23012025_20_16_02_394197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/578878a30f6ea03ad1b447196f123282.jpg","text":"TemporaryFile(/tmp/multipartBody8662462145906178876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666598629,"filename":"image_23012025_20_16_02_394197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdc8e0b5a11f3ec0729501340900e8cb.jpg","text":"TemporaryFile(/tmp/multipartBody5733984079416933991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666598629,"filename":"image_23012025_20_16_02_394197_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c717d00a7f17803a838ab144e9ce157e.jpg","text":"TemporaryFile(/tmp/multipartBody8537856619709959086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666598629,"filename":"image_23012025_20_17_02_552352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69d72e965a4d96d9fa70f8b7f80213c2.jpg","text":"TemporaryFile(/tmp/multipartBody2287309417450038388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666598629,"filename":"image_23012025_20_17_02_552352_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330875299","file1":"1330875288","file0":"1330875261","file4":"1330875308","file5":"1330875317","file3":"1330875303"},"map_files_photo_id_array":[{"photo_id":"1330875317","filename":"file5"},{"photo_id":"1330875299","filename":"file2"},{"photo_id":"1330875308","filename":"file4"},{"photo_id":"1330875288","filename":"file1"},{"photo_id":"1330875261","filename":"file0"},{"photo_id":"1330875303","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330875288":["hashtag1","hashtag2"]},{"1330875261":["hashtag1","hashtag2"]},{"1330875299":["hashtag1","hashtag2"]},{"1330875303":["hashtag1","hashtag2"]},{"1330875317":["hashtag1","hashtag2"]},{"1330875308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330875288, 1330875261, 1330875299, 1330875303, 1330875317, 1330875308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.42786645889282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:09:42.642287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_02_552352_0002.jpg', '/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_02_552352_0003.jpg', '/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_02_812862_0000.jpg', '/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_02_812862_0001.jpg', '/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_02_812862_0002.jpg', '/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_02_812862_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_02_552352_0002.jpg
/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_02_552352_0003.jpg
/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_02_812862_0000.jpg
/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_02_812862_0001.jpg
/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_02_812862_0002.jpg
/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_02_812862_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":["1330875387","1330875375","1330875392","1330875383","1330875397","1330875379"],"photo_ids_order":["1330875375","1330875379","1330875383","1330875387","1330875392","1330875397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdd793516c29e6af0d8119a3c5fef1f7.jpg","text":"TemporaryFile(/tmp/multipartBody5508021423905123796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666659731,"filename":"image_23012025_20_18_02_812862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05c45d9dda1824aac89b2be63fefc788.jpg","text":"TemporaryFile(/tmp/multipartBody5161300502822485899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666659731,"filename":"image_23012025_20_17_02_552352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2e1c4fd0492a2edfe5e89719bde8f29.jpg","text":"TemporaryFile(/tmp/multipartBody5024277066767546610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666659731,"filename":"image_23012025_20_18_02_812862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/270bff4e08c5a172874a454340e235e7.jpg","text":"TemporaryFile(/tmp/multipartBody8419575646228149149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666659731,"filename":"image_23012025_20_18_02_812862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/196672b98ac62b9c1044521a6249300c.jpg","text":"TemporaryFile(/tmp/multipartBody141503341981195978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666659731,"filename":"image_23012025_20_18_02_812862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f67319935bd1cbb963bb2bf70743b44d.jpg","text":"TemporaryFile(/tmp/multipartBody7383459824402043442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666659731,"filename":"image_23012025_20_17_02_552352_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330875383","file1":"1330875379","file0":"1330875375","file4":"1330875392","file5":"1330875397","file3":"1330875387"},"map_files_photo_id_array":[{"photo_id":"1330875397","filename":"file5"},{"photo_id":"1330875383","filename":"file2"},{"photo_id":"1330875392","filename":"file4"},{"photo_id":"1330875379","filename":"file1"},{"photo_id":"1330875375","filename":"file0"},{"photo_id":"1330875387","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330875387":["hashtag1","hashtag2"]},{"1330875375":["hashtag1","hashtag2"]},{"1330875392":["hashtag1","hashtag2"]},{"1330875383":["hashtag1","hashtag2"]},{"1330875397":["hashtag1","hashtag2"]},{"1330875379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330875387, 1330875375, 1330875392, 1330875383, 1330875397, 1330875379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.482383251190186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:10:41.779243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_02_915308_0000.jpg', '/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_02_915308_0001.jpg', '/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_02_915308_0002.jpg', '/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_02_915308_0003.jpg', '/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_02_146829_0000.jpg', '/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_02_146829_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_02_915308_0000.jpg
/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_02_915308_0001.jpg
/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_02_915308_0002.jpg
/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_02_915308_0003.jpg
/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_02_146829_0000.jpg
/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_02_146829_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":["1330875433","1330875457","1330875444","1330875429","1330875461","1330875464"],"photo_ids_order":["1330875429","1330875433","1330875444","1330875457","1330875461","1330875464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c492e1643a29c4b1103164b3a9daadb.jpg","text":"TemporaryFile(/tmp/multipartBody6011858427226799875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666718909,"filename":"image_23012025_20_19_02_915308_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b925ab9dfe3fdd6d7de8f754a747c66.jpg","text":"TemporaryFile(/tmp/multipartBody129356638947680142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666718909,"filename":"image_23012025_20_19_02_915308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb81e0d9238f6951a9131ae4d0a87cbd.jpg","text":"TemporaryFile(/tmp/multipartBody2377653641730483648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666718909,"filename":"image_23012025_20_19_02_915308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8b00a2100823fc12c62f40c2d78593d.jpg","text":"TemporaryFile(/tmp/multipartBody8757392655027847360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666718909,"filename":"image_23012025_20_19_02_915308_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5560c1d494a008390daee9a952b8bdb.jpg","text":"TemporaryFile(/tmp/multipartBody7695832108718935059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666718909,"filename":"image_23012025_20_20_02_146829_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a60b431c5ddc755f6e2108cf1570432.jpg","text":"TemporaryFile(/tmp/multipartBody2343301636933765784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666718909,"filename":"image_23012025_20_20_02_146829_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330875444","file1":"1330875433","file0":"1330875429","file4":"1330875461","file5":"1330875464","file3":"1330875457"},"map_files_photo_id_array":[{"photo_id":"1330875464","filename":"file5"},{"photo_id":"1330875444","filename":"file2"},{"photo_id":"1330875461","filename":"file4"},{"photo_id":"1330875433","filename":"file1"},{"photo_id":"1330875429","filename":"file0"},{"photo_id":"1330875457","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330875433":["hashtag1","hashtag2"]},{"1330875457":["hashtag1","hashtag2"]},{"1330875444":["hashtag1","hashtag2"]},{"1330875429":["hashtag1","hashtag2"]},{"1330875461":["hashtag1","hashtag2"]},{"1330875464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330875433, 1330875457, 1330875444, 1330875429, 1330875461, 1330875464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.642552614212036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:11:41.981700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_02_146829_0002.jpg', '/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_02_146829_0003.jpg', '/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_02_334659_0000.jpg', '/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_02_334659_0001.jpg', '/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_02_334659_0002.jpg', '/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_02_334659_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_02_146829_0002.jpg
/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_02_146829_0003.jpg
/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_02_334659_0000.jpg
/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_02_334659_0001.jpg
/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_02_334659_0002.jpg
/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_02_334659_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":["1330875556","1330875541","1330875552","1330875546","1330875513","1330875560"],"photo_ids_order":["1330875513","1330875541","1330875546","1330875552","1330875556","1330875560"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62f99b2269d7ec63f73a261a00216e53.jpg","text":"TemporaryFile(/tmp/multipartBody1146550219855247272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666778984,"filename":"image_23012025_20_21_02_334659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9626528584a3516d122d90005a7c5c3b.jpg","text":"TemporaryFile(/tmp/multipartBody8237041461393307221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666778984,"filename":"image_23012025_20_20_02_146829_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b5802a203df05950290862b71042030.jpg","text":"TemporaryFile(/tmp/multipartBody4793176316368888108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666778984,"filename":"image_23012025_20_21_02_334659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15220e8ecb99422da0ffa187c3ab5d7e.jpg","text":"TemporaryFile(/tmp/multipartBody798530230599287085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666778984,"filename":"image_23012025_20_21_02_334659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4a6b00c6dfdbb692439894e3c4af447.jpg","text":"TemporaryFile(/tmp/multipartBody2119588606995126588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666778984,"filename":"image_23012025_20_20_02_146829_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ff92a3a466165b0deda5a089556643d.jpg","text":"TemporaryFile(/tmp/multipartBody8556749807875105352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666778984,"filename":"image_23012025_20_21_02_334659_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330875546","file1":"1330875541","file0":"1330875513","file4":"1330875556","file5":"1330875560","file3":"1330875552"},"map_files_photo_id_array":[{"photo_id":"1330875560","filename":"file5"},{"photo_id":"1330875546","filename":"file2"},{"photo_id":"1330875556","filename":"file4"},{"photo_id":"1330875541","filename":"file1"},{"photo_id":"1330875513","filename":"file0"},{"photo_id":"1330875552","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330875556":["hashtag1","hashtag2"]},{"1330875541":["hashtag1","hashtag2"]},{"1330875552":["hashtag1","hashtag2"]},{"1330875546":["hashtag1","hashtag2"]},{"1330875513":["hashtag1","hashtag2"]},{"1330875560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330875556, 1330875541, 1330875552, 1330875546, 1330875513, 1330875560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.695465087890625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:12:42.200686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0000.jpg', '/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0001.jpg', '/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0002.jpg', '/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0003.jpg', '/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_02_782237_0000.jpg', '/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_02_782237_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0000.jpg
/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0001.jpg
/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0002.jpg
/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0003.jpg
/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_02_782237_0000.jpg
/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_02_782237_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.161660194396973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 22:13:03.109454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0000.jpg', '/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0001.jpg', '/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0002.jpg', '/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0003.jpg', '/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_02_782237_0000.jpg', '/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_02_782237_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0000.jpg
/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0001.jpg
/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0002.jpg
/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_02_616814_0003.jpg
/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_02_782237_0000.jpg
/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_02_782237_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":["1330875613","1330875607","1330875639","1330875624","1330875618","1330875647"],"photo_ids_order":["1330875607","1330875613","1330875618","1330875624","1330875639","1330875647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9565ea4891a1ea2ed9e13a32cd5d9358.jpg","text":"TemporaryFile(/tmp/multipartBody9021495113214340668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666858699,"filename":"image_23012025_20_22_02_616814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2c4750f4207762063c32729d720317c.jpg","text":"TemporaryFile(/tmp/multipartBody8268043368505693570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666858699,"filename":"image_23012025_20_22_02_616814_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60beed07d152bf18c3e81f601c74e0e6.jpg","text":"TemporaryFile(/tmp/multipartBody2559002932205858388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666858699,"filename":"image_23012025_20_23_02_782237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd6e57a4a13b9f9765a2847e1e711554.jpg","text":"TemporaryFile(/tmp/multipartBody4616017336823995430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666858699,"filename":"image_23012025_20_22_02_616814_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a2de7a3592c0d25872d52fca0d0f3bc.jpg","text":"TemporaryFile(/tmp/multipartBody2067407746133808014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666858699,"filename":"image_23012025_20_22_02_616814_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0aed65a71d0c929e18870113ffb7c20.jpg","text":"TemporaryFile(/tmp/multipartBody7915192615273793907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666858699,"filename":"image_23012025_20_23_02_782237_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330875618","file1":"1330875613","file0":"1330875607","file4":"1330875639","file5":"1330875647","file3":"1330875624"},"map_files_photo_id_array":[{"photo_id":"1330875647","filename":"file5"},{"photo_id":"1330875618","filename":"file2"},{"photo_id":"1330875639","filename":"file4"},{"photo_id":"1330875613","filename":"file1"},{"photo_id":"1330875607","filename":"file0"},{"photo_id":"1330875624","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330875613":["hashtag1","hashtag2"]},{"1330875607":["hashtag1","hashtag2"]},{"1330875639":["hashtag1","hashtag2"]},{"1330875624":["hashtag1","hashtag2"]},{"1330875618":["hashtag1","hashtag2"]},{"1330875647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330875613, 1330875607, 1330875639, 1330875624, 1330875618, 1330875647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.55142593383789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 22:14:02.962730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_03_051837_0000.jpg', '/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_03_051837_0001.jpg', '/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_03_051837_0002.jpg', '/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_02_164063_0000.jpg', '/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_02_164063_0001.jpg', '/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_02_164063_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_03_051837_0000.jpg
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_03_051837_0001.jpg
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_03_051837_0002.jpg
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_02_164063_0000.jpg
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_02_164063_0001.jpg
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_02_164063_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.009680032730103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:14:22.537438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_03_051837_0000.jpg', '/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_03_051837_0001.jpg', '/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_03_051837_0002.jpg', '/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_02_164063_0000.jpg', '/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_02_164063_0001.jpg', '/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_02_164063_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_03_051837_0000.jpg
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_03_051837_0001.jpg
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_03_051837_0002.jpg
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_02_164063_0000.jpg
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_02_164063_0001.jpg
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_02_164063_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":["1330875700","1330875690","1330875696","1330875717","1330875711","1330875685"],"photo_ids_order":["1330875685","1330875690","1330875696","1330875700","1330875711","1330875717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1738f9ab17fab8c32e31f4ce027aa0bd.jpg","text":"TemporaryFile(/tmp/multipartBody662032402808899960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666937892,"filename":"image_23012025_20_25_02_164063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf3ccf8f58636e3e9bbdda9467c5e96d.jpg","text":"TemporaryFile(/tmp/multipartBody1090075397355718511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666937892,"filename":"image_23012025_20_24_03_051837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6dabf11efe2a4c6bda685d1a64b9832d.jpg","text":"TemporaryFile(/tmp/multipartBody3455502220847713116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666937892,"filename":"image_23012025_20_24_03_051837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6dfeb8b2d729204905698e7d69c6f61e.jpg","text":"TemporaryFile(/tmp/multipartBody7995805210161690517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666937892,"filename":"image_23012025_20_25_02_164063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd8753a76ae8627a4fe233c45e405666.jpg","text":"TemporaryFile(/tmp/multipartBody2289633561534500550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666937892,"filename":"image_23012025_20_25_02_164063_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/696059a9b54b0beb376f2335342ca642.jpg","text":"TemporaryFile(/tmp/multipartBody6507292361520028084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666937892,"filename":"image_23012025_20_24_03_051837_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330875696","file1":"1330875690","file0":"1330875685","file4":"1330875711","file5":"1330875717","file3":"1330875700"},"map_files_photo_id_array":[{"photo_id":"1330875717","filename":"file5"},{"photo_id":"1330875696","filename":"file2"},{"photo_id":"1330875711","filename":"file4"},{"photo_id":"1330875690","filename":"file1"},{"photo_id":"1330875685","filename":"file0"},{"photo_id":"1330875700","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330875700":["hashtag1","hashtag2"]},{"1330875690":["hashtag1","hashtag2"]},{"1330875696":["hashtag1","hashtag2"]},{"1330875717":["hashtag1","hashtag2"]},{"1330875711":["hashtag1","hashtag2"]},{"1330875685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330875700, 1330875690, 1330875696, 1330875717, 1330875711, 1330875685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.694164752960205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:15:21.887574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_02_292180_0000.jpg', '/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_02_292180_0003.jpg', '/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_02_519205_0000.jpg', '/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_02_519205_0001.jpg', '/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_02_519205_0002.jpg', '/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_02_519205_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_02_292180_0000.jpg
/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_02_292180_0003.jpg
/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_02_519205_0000.jpg
/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_02_519205_0001.jpg
/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_02_519205_0002.jpg
/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_02_519205_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":["1330875885","1330875876","1330875752","1330875734","1330875880","1330875736"],"photo_ids_order":["1330875734","1330875736","1330875752","1330875876","1330875880","1330875885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e0eec97b4413614d4da2b4b39a9761c.jpg","text":"TemporaryFile(/tmp/multipartBody8219258574831549123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666997005,"filename":"image_23012025_20_27_02_519205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4001053432c90802bb6f29c03037d992.jpg","text":"TemporaryFile(/tmp/multipartBody8051375182901151135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666997005,"filename":"image_23012025_20_27_02_519205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d358f70310f5909b0d2973d00d87410b.jpg","text":"TemporaryFile(/tmp/multipartBody5644660808423680885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666997005,"filename":"image_23012025_20_27_02_519205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f8a22b3ac53ef5669f81da1e4b9eadc.jpg","text":"TemporaryFile(/tmp/multipartBody1252895416018321772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666997005,"filename":"image_23012025_20_26_02_292180_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e5180f7f636da08f83f783a275c50a9.jpg","text":"TemporaryFile(/tmp/multipartBody1266298138784728738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666997005,"filename":"image_23012025_20_27_02_519205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6dbc96e23e0214bd81677406a2549a2.jpg","text":"TemporaryFile(/tmp/multipartBody2105161578981852836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666997005,"filename":"image_23012025_20_26_02_292180_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330875752","file1":"1330875736","file0":"1330875734","file4":"1330875880","file5":"1330875885","file3":"1330875876"},"map_files_photo_id_array":[{"photo_id":"1330875885","filename":"file5"},{"photo_id":"1330875752","filename":"file2"},{"photo_id":"1330875880","filename":"file4"},{"photo_id":"1330875736","filename":"file1"},{"photo_id":"1330875734","filename":"file0"},{"photo_id":"1330875876","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330875885":["hashtag1","hashtag2"]},{"1330875876":["hashtag1","hashtag2"]},{"1330875752":["hashtag1","hashtag2"]},{"1330875734":["hashtag1","hashtag2"]},{"1330875880":["hashtag1","hashtag2"]},{"1330875736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330875885, 1330875876, 1330875752, 1330875734, 1330875880, 1330875736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.8334014415741 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:16:22.139469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_03_174295_0000.jpg', '/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_03_174295_0001.jpg', '/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_03_174295_0002.jpg', '/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_03_174295_0003.jpg', '/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_02_359782_0000.jpg', '/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_02_359782_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_03_174295_0000.jpg
/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_03_174295_0001.jpg
/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_03_174295_0002.jpg
/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_03_174295_0003.jpg
/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_02_359782_0000.jpg
/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_02_359782_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":["1330875915","1330875944","1330875938","1330875923","1330875911","1330875949"],"photo_ids_order":["1330875911","1330875915","1330875923","1330875938","1330875944","1330875949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f826e7e368971a4af1a0458cf386de23.jpg","text":"TemporaryFile(/tmp/multipartBody3815128359715518895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667057503,"filename":"image_23012025_20_28_03_174295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/857673dc9e8de920350b2a3e8997f254.jpg","text":"TemporaryFile(/tmp/multipartBody747040549861163567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667057503,"filename":"image_23012025_20_29_02_359782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac341aa36bbfc23eac0eacb47f3d309c.jpg","text":"TemporaryFile(/tmp/multipartBody333829032794050858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667057503,"filename":"image_23012025_20_28_03_174295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d63086bcff8161973b6046b70a401688.jpg","text":"TemporaryFile(/tmp/multipartBody224058164268834780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667057503,"filename":"image_23012025_20_28_03_174295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f236b91147d9ad3e55ec097a3705d836.jpg","text":"TemporaryFile(/tmp/multipartBody1673192213843610487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667057503,"filename":"image_23012025_20_28_03_174295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0efe807f15c79437ea88c09b93c61ba6.jpg","text":"TemporaryFile(/tmp/multipartBody7216924548371921542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667057503,"filename":"image_23012025_20_29_02_359782_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330875923","file1":"1330875915","file0":"1330875911","file4":"1330875944","file5":"1330875949","file3":"1330875938"},"map_files_photo_id_array":[{"photo_id":"1330875949","filename":"file5"},{"photo_id":"1330875923","filename":"file2"},{"photo_id":"1330875944","filename":"file4"},{"photo_id":"1330875915","filename":"file1"},{"photo_id":"1330875911","filename":"file0"},{"photo_id":"1330875938","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330875915":["hashtag1","hashtag2"]},{"1330875944":["hashtag1","hashtag2"]},{"1330875938":["hashtag1","hashtag2"]},{"1330875923":["hashtag1","hashtag2"]},{"1330875911":["hashtag1","hashtag2"]},{"1330875949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330875915, 1330875944, 1330875938, 1330875923, 1330875911, 1330875949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.724143981933594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:17:22.279288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_02_359782_0002.jpg', '/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_02_359782_0003.jpg', '/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_02_420378_0000.jpg', '/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_02_420378_0001.jpg', '/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_02_420378_0002.jpg', '/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_02_420378_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_02_359782_0002.jpg
/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_02_359782_0003.jpg
/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_02_420378_0000.jpg
/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_02_420378_0001.jpg
/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_02_420378_0002.jpg
/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_02_420378_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":["1330875999","1330875984","1330875980","1330876013","1330875991","1330875982"],"photo_ids_order":["1330875980","1330875982","1330875984","1330875991","1330875999","1330876013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f32734c11977440b4082c8e5f048c865.jpg","text":"TemporaryFile(/tmp/multipartBody3951060142182135972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667117988,"filename":"image_23012025_20_30_02_420378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7799772823adc901d7635bf033777e98.jpg","text":"TemporaryFile(/tmp/multipartBody7000942182118639732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667117988,"filename":"image_23012025_20_30_02_420378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee2973f198f60f350d8fbe5286153e27.jpg","text":"TemporaryFile(/tmp/multipartBody1570689786121465421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667117988,"filename":"image_23012025_20_29_02_359782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/955b896026ca6f7b1f52df170858f529.jpg","text":"TemporaryFile(/tmp/multipartBody155193569335960968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667117988,"filename":"image_23012025_20_30_02_420378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e7f449dc96a40ee8111c7cbac614fef.jpg","text":"TemporaryFile(/tmp/multipartBody5632033105959666934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667117988,"filename":"image_23012025_20_30_02_420378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb04dcc15de671e702692ca60115a18e.jpg","text":"TemporaryFile(/tmp/multipartBody2652413431104579332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667117988,"filename":"image_23012025_20_29_02_359782_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330875984","file1":"1330875982","file0":"1330875980","file4":"1330875999","file5":"1330876013","file3":"1330875991"},"map_files_photo_id_array":[{"photo_id":"1330876013","filename":"file5"},{"photo_id":"1330875984","filename":"file2"},{"photo_id":"1330875999","filename":"file4"},{"photo_id":"1330875982","filename":"file1"},{"photo_id":"1330875980","filename":"file0"},{"photo_id":"1330875991","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330875999":["hashtag1","hashtag2"]},{"1330875984":["hashtag1","hashtag2"]},{"1330875980":["hashtag1","hashtag2"]},{"1330876013":["hashtag1","hashtag2"]},{"1330875991":["hashtag1","hashtag2"]},{"1330875982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330875999, 1330875984, 1330875980, 1330876013, 1330875991, 1330875982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.40683317184448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:18:22.389443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/31/image_23012025_20_31_02_596702_0000.jpg', '/home/pi/Desktop/images/23012025/20/31/image_23012025_20_31_02_596702_0001.jpg', '/home/pi/Desktop/images/23012025/20/31/image_23012025_20_31_02_596702_0002.jpg', '/home/pi/Desktop/images/23012025/20/31/image_23012025_20_31_02_596702_0003.jpg', '/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_02_750099_0000.jpg', '/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_02_750099_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/31/image_23012025_20_31_02_596702_0000.jpg
/home/pi/Desktop/images/23012025/20/31/image_23012025_20_31_02_596702_0001.jpg
/home/pi/Desktop/images/23012025/20/31/image_23012025_20_31_02_596702_0002.jpg
/home/pi/Desktop/images/23012025/20/31/image_23012025_20_31_02_596702_0003.jpg
/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_02_750099_0000.jpg
/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_02_750099_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":["1330876137","1330876050","1330876044","1330876068","1330876128","1330876037"],"photo_ids_order":["1330876037","1330876044","1330876050","1330876068","1330876128","1330876137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08f69be91704578ccc132e305faa2049.jpg","text":"TemporaryFile(/tmp/multipartBody2549811491229271972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667178868,"filename":"image_23012025_20_32_02_750099_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c51c913f1236b7748a821f602fae5ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3004140342116823652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667178868,"filename":"image_23012025_20_31_02_596702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/458d9ad8bcf92c63b5f95a66876ef500.jpg","text":"TemporaryFile(/tmp/multipartBody2861495384827567957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667178868,"filename":"image_23012025_20_31_02_596702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/843bae39aaebb945db61106d62a4ed95.jpg","text":"TemporaryFile(/tmp/multipartBody4481816528947365339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667178868,"filename":"image_23012025_20_31_02_596702_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38bbd0e87a80f61081218b02abb27f58.jpg","text":"TemporaryFile(/tmp/multipartBody5479870408579974963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667178868,"filename":"image_23012025_20_32_02_750099_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb63ce8b617f28f5dacf5c03827d9b6c.jpg","text":"TemporaryFile(/tmp/multipartBody7290342759641036891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667178868,"filename":"image_23012025_20_31_02_596702_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330876050","file1":"1330876044","file0":"1330876037","file4":"1330876128","file5":"1330876137","file3":"1330876068"},"map_files_photo_id_array":[{"photo_id":"1330876137","filename":"file5"},{"photo_id":"1330876050","filename":"file2"},{"photo_id":"1330876128","filename":"file4"},{"photo_id":"1330876044","filename":"file1"},{"photo_id":"1330876037","filename":"file0"},{"photo_id":"1330876068","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330876137":["hashtag1","hashtag2"]},{"1330876050":["hashtag1","hashtag2"]},{"1330876044":["hashtag1","hashtag2"]},{"1330876068":["hashtag1","hashtag2"]},{"1330876128":["hashtag1","hashtag2"]},{"1330876037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330876137, 1330876050, 1330876044, 1330876068, 1330876128, 1330876037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.02646231651306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:19:22.766628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_02_750099_0002.jpg', '/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_02_750099_0003.jpg', '/home/pi/Desktop/images/23012025/20/33/image_23012025_20_33_02_960545_0000.jpg', '/home/pi/Desktop/images/23012025/20/33/image_23012025_20_33_02_960545_0001.jpg', '/home/pi/Desktop/images/23012025/20/33/image_23012025_20_33_02_960545_0002.jpg', '/home/pi/Desktop/images/23012025/20/33/image_23012025_20_33_02_960545_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_02_750099_0002.jpg
/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_02_750099_0003.jpg
/home/pi/Desktop/images/23012025/20/33/image_23012025_20_33_02_960545_0000.jpg
/home/pi/Desktop/images/23012025/20/33/image_23012025_20_33_02_960545_0001.jpg
/home/pi/Desktop/images/23012025/20/33/image_23012025_20_33_02_960545_0002.jpg
/home/pi/Desktop/images/23012025/20/33/image_23012025_20_33_02_960545_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":["1330876197","1330876182","1330876199","1330876203","1330876193","1330876189"],"photo_ids_order":["1330876182","1330876189","1330876193","1330876197","1330876199","1330876203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06d675f7035ca0c37781779f79749f37.jpg","text":"TemporaryFile(/tmp/multipartBody149464646802000133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667239248,"filename":"image_23012025_20_33_02_960545_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1299e73804d06d913303f293bba511d1.jpg","text":"TemporaryFile(/tmp/multipartBody3316563355338313045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667239248,"filename":"image_23012025_20_32_02_750099_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4719ec6171356f6aa8cba74417f00930.jpg","text":"TemporaryFile(/tmp/multipartBody1255036692771444800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667239248,"filename":"image_23012025_20_33_02_960545_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/088aeb4928eb7be5fec0c5917d53f335.jpg","text":"TemporaryFile(/tmp/multipartBody3808859990575640201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667239248,"filename":"image_23012025_20_33_02_960545_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/765dab09bfd9248b512aed7a99cf6b1c.jpg","text":"TemporaryFile(/tmp/multipartBody2610147214734039992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667239248,"filename":"image_23012025_20_33_02_960545_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8b1695d1727ac71f9207f99a895d2e4.jpg","text":"TemporaryFile(/tmp/multipartBody797384327950913772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667239248,"filename":"image_23012025_20_32_02_750099_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330876193","file1":"1330876189","file0":"1330876182","file4":"1330876199","file5":"1330876203","file3":"1330876197"},"map_files_photo_id_array":[{"photo_id":"1330876203","filename":"file5"},{"photo_id":"1330876193","filename":"file2"},{"photo_id":"1330876199","filename":"file4"},{"photo_id":"1330876189","filename":"file1"},{"photo_id":"1330876182","filename":"file0"},{"photo_id":"1330876197","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330876197":["hashtag1","hashtag2"]},{"1330876182":["hashtag1","hashtag2"]},{"1330876199":["hashtag1","hashtag2"]},{"1330876203":["hashtag1","hashtag2"]},{"1330876193":["hashtag1","hashtag2"]},{"1330876189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330876197, 1330876182, 1330876199, 1330876203, 1330876193, 1330876189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.30014419555664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:20:21.863740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/34/image_23012025_20_34_03_030150_0000.jpg', '/home/pi/Desktop/images/23012025/20/34/image_23012025_20_34_03_030150_0001.jpg', '/home/pi/Desktop/images/23012025/20/34/image_23012025_20_34_03_030150_0002.jpg', '/home/pi/Desktop/images/23012025/20/34/image_23012025_20_34_03_030150_0003.jpg', '/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_02_287018_0000.jpg', '/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_02_287018_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/34/image_23012025_20_34_03_030150_0000.jpg
/home/pi/Desktop/images/23012025/20/34/image_23012025_20_34_03_030150_0001.jpg
/home/pi/Desktop/images/23012025/20/34/image_23012025_20_34_03_030150_0002.jpg
/home/pi/Desktop/images/23012025/20/34/image_23012025_20_34_03_030150_0003.jpg
/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_02_287018_0000.jpg
/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_02_287018_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":["1330876382","1330876373","1330876229","1330876390","1330876378","1330876270"],"photo_ids_order":["1330876229","1330876270","1330876373","1330876378","1330876382","1330876390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/439e6175ec4122536fe548ed690764df.jpg","text":"TemporaryFile(/tmp/multipartBody8317015085835663962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667298255,"filename":"image_23012025_20_35_02_287018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4ae265ca7eeaeac22e50725ba16c287.jpg","text":"TemporaryFile(/tmp/multipartBody5195863059894945842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667298255,"filename":"image_23012025_20_34_03_030150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e0b5dae8fe99cbc523d7806454b1664.jpg","text":"TemporaryFile(/tmp/multipartBody8902268264433693615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667298255,"filename":"image_23012025_20_34_03_030150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0470f17105f36d4cbb05c67b05ea3a37.jpg","text":"TemporaryFile(/tmp/multipartBody4850385338750727814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667298255,"filename":"image_23012025_20_35_02_287018_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/481038a36c41bf7fc63ca5d335e6181a.jpg","text":"TemporaryFile(/tmp/multipartBody845943232327862148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667298255,"filename":"image_23012025_20_34_03_030150_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9cc8cbaf0686ab5a9870155621f21bc.jpg","text":"TemporaryFile(/tmp/multipartBody8752251314594652477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667298255,"filename":"image_23012025_20_34_03_030150_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330876373","file1":"1330876270","file0":"1330876229","file4":"1330876382","file5":"1330876390","file3":"1330876378"},"map_files_photo_id_array":[{"photo_id":"1330876390","filename":"file5"},{"photo_id":"1330876373","filename":"file2"},{"photo_id":"1330876382","filename":"file4"},{"photo_id":"1330876270","filename":"file1"},{"photo_id":"1330876229","filename":"file0"},{"photo_id":"1330876378","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330876382":["hashtag1","hashtag2"]},{"1330876373":["hashtag1","hashtag2"]},{"1330876229":["hashtag1","hashtag2"]},{"1330876390":["hashtag1","hashtag2"]},{"1330876378":["hashtag1","hashtag2"]},{"1330876270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330876382, 1330876373, 1330876229, 1330876390, 1330876378, 1330876270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.44870209693909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:21:22.031381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_02_287018_0002.jpg', '/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_02_287018_0003.jpg', '/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_02_401664_0000.jpg', '/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_02_401664_0001.jpg', '/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_02_401664_0002.jpg', '/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_02_401664_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_02_287018_0002.jpg
/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_02_287018_0003.jpg
/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_02_401664_0000.jpg
/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_02_401664_0001.jpg
/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_02_401664_0002.jpg
/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_02_401664_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":["1330876501","1330876557","1330876574","1330876506","1330876538","1330876541"],"photo_ids_order":["1330876501","1330876506","1330876538","1330876541","1330876557","1330876574"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4594f28187882eda9538d44ad5cadd76.jpg","text":"TemporaryFile(/tmp/multipartBody3902743521001756634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667358224,"filename":"image_23012025_20_35_02_287018_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a628c16c33a9f4da907e90b4b1ce2c68.jpg","text":"TemporaryFile(/tmp/multipartBody4196702906465846342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667358224,"filename":"image_23012025_20_36_02_401664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a654d778df12a0fe4cd1929135c44fa3.jpg","text":"TemporaryFile(/tmp/multipartBody699963486556659712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667358224,"filename":"image_23012025_20_36_02_401664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a7e09ef6bb3ecf11dcb90ebfb4619d0.jpg","text":"TemporaryFile(/tmp/multipartBody9043379743495382007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667358224,"filename":"image_23012025_20_35_02_287018_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e889452d4bfdd320a42f832770dff0e5.jpg","text":"TemporaryFile(/tmp/multipartBody6942394300933902722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667358224,"filename":"image_23012025_20_36_02_401664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f45a4d3c4482dc7e01ba35bc9cdc6472.jpg","text":"TemporaryFile(/tmp/multipartBody4109693210312801270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667358224,"filename":"image_23012025_20_36_02_401664_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330876538","file1":"1330876506","file0":"1330876501","file4":"1330876557","file5":"1330876574","file3":"1330876541"},"map_files_photo_id_array":[{"photo_id":"1330876574","filename":"file5"},{"photo_id":"1330876538","filename":"file2"},{"photo_id":"1330876557","filename":"file4"},{"photo_id":"1330876506","filename":"file1"},{"photo_id":"1330876501","filename":"file0"},{"photo_id":"1330876541","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330876501":["hashtag1","hashtag2"]},{"1330876557":["hashtag1","hashtag2"]},{"1330876574":["hashtag1","hashtag2"]},{"1330876506":["hashtag1","hashtag2"]},{"1330876538":["hashtag1","hashtag2"]},{"1330876541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330876501, 1330876557, 1330876574, 1330876506, 1330876538, 1330876541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.7058470249176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:22:22.198426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_02_671708_0000.jpg', '/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_02_671708_0001.jpg', '/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_02_671708_0002.jpg', '/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_02_671708_0003.jpg', '/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_02_920270_0000.jpg', '/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_02_920270_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_02_671708_0000.jpg
/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_02_671708_0001.jpg
/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_02_671708_0002.jpg
/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_02_671708_0003.jpg
/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_02_920270_0000.jpg
/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_02_920270_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":["1330877511","1330877520","1330877516","1330877501","1330877440","1330877464"],"photo_ids_order":["1330877440","1330877464","1330877501","1330877511","1330877516","1330877520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6930d3c20a94af845fb17ae2c174316b.jpg","text":"TemporaryFile(/tmp/multipartBody739236874795043078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667418422,"filename":"image_23012025_20_37_02_671708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/236988879d42657bd5d7ee016e9a9cbd.jpg","text":"TemporaryFile(/tmp/multipartBody3897563230063296205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667418422,"filename":"image_23012025_20_38_02_920270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72e17611fbda82e40386ccad1c4f0e83.jpg","text":"TemporaryFile(/tmp/multipartBody3164513529133284430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667418422,"filename":"image_23012025_20_38_02_920270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0579faa5c7c1919529b72deeb15bf7f6.jpg","text":"TemporaryFile(/tmp/multipartBody5210142164691416820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667418422,"filename":"image_23012025_20_37_02_671708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd750d5252b593d8c42c118e32a065f9.jpg","text":"TemporaryFile(/tmp/multipartBody8979106918514777046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667418422,"filename":"image_23012025_20_37_02_671708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/178fa0db736e82f20ba8887cf69b9ba1.jpg","text":"TemporaryFile(/tmp/multipartBody3263424664213578408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667418422,"filename":"image_23012025_20_37_02_671708_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330877501","file1":"1330877464","file0":"1330877440","file4":"1330877516","file5":"1330877520","file3":"1330877511"},"map_files_photo_id_array":[{"photo_id":"1330877520","filename":"file5"},{"photo_id":"1330877501","filename":"file2"},{"photo_id":"1330877516","filename":"file4"},{"photo_id":"1330877464","filename":"file1"},{"photo_id":"1330877440","filename":"file0"},{"photo_id":"1330877511","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330877511":["hashtag1","hashtag2"]},{"1330877520":["hashtag1","hashtag2"]},{"1330877516":["hashtag1","hashtag2"]},{"1330877501":["hashtag1","hashtag2"]},{"1330877440":["hashtag1","hashtag2"]},{"1330877464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330877511, 1330877520, 1330877516, 1330877501, 1330877440, 1330877464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.22175216674805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:23:22.379814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_02_920270_0002.jpg', '/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_02_920270_0003.jpg', '/home/pi/Desktop/images/23012025/20/39/image_23012025_20_39_03_088888_0000.jpg', '/home/pi/Desktop/images/23012025/20/39/image_23012025_20_39_03_088888_0001.jpg', '/home/pi/Desktop/images/23012025/20/39/image_23012025_20_39_03_088888_0002.jpg', '/home/pi/Desktop/images/23012025/20/39/image_23012025_20_39_03_088888_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_02_920270_0002.jpg
/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_02_920270_0003.jpg
/home/pi/Desktop/images/23012025/20/39/image_23012025_20_39_03_088888_0000.jpg
/home/pi/Desktop/images/23012025/20/39/image_23012025_20_39_03_088888_0001.jpg
/home/pi/Desktop/images/23012025/20/39/image_23012025_20_39_03_088888_0002.jpg
/home/pi/Desktop/images/23012025/20/39/image_23012025_20_39_03_088888_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":["1330877922","1330877919","1330877845","1330877889","1330877928","1330877835"],"photo_ids_order":["1330877835","1330877845","1330877889","1330877919","1330877922","1330877928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8dbfa0fd0e61a71ccd2a3375d13e35a9.jpg","text":"TemporaryFile(/tmp/multipartBody8715298693590892271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667478696,"filename":"image_23012025_20_39_03_088888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07a91eb059eda6dd8f81a1dbd44d410d.jpg","text":"TemporaryFile(/tmp/multipartBody827604132298049076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667478696,"filename":"image_23012025_20_39_03_088888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2b8630b5222b81a341a44861f8d1ebb.jpg","text":"TemporaryFile(/tmp/multipartBody4415335761004154244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667478696,"filename":"image_23012025_20_38_02_920270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e3ea70e054029b162b4b2968ed1b3da.jpg","text":"TemporaryFile(/tmp/multipartBody4086341808664813765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667478696,"filename":"image_23012025_20_39_03_088888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/662b8da6dc535fc1942b787b0d3d19dd.jpg","text":"TemporaryFile(/tmp/multipartBody8234507965179937984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667478696,"filename":"image_23012025_20_39_03_088888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fc24d6cec7c397178d36b5594b82235.jpg","text":"TemporaryFile(/tmp/multipartBody8768741227616223170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667478696,"filename":"image_23012025_20_38_02_920270_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330877889","file1":"1330877845","file0":"1330877835","file4":"1330877922","file5":"1330877928","file3":"1330877919"},"map_files_photo_id_array":[{"photo_id":"1330877928","filename":"file5"},{"photo_id":"1330877889","filename":"file2"},{"photo_id":"1330877922","filename":"file4"},{"photo_id":"1330877845","filename":"file1"},{"photo_id":"1330877835","filename":"file0"},{"photo_id":"1330877919","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330877922":["hashtag1","hashtag2"]},{"1330877919":["hashtag1","hashtag2"]},{"1330877845":["hashtag1","hashtag2"]},{"1330877889":["hashtag1","hashtag2"]},{"1330877928":["hashtag1","hashtag2"]},{"1330877835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330877922, 1330877919, 1330877845, 1330877889, 1330877928, 1330877835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.604153871536255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:24:22.518056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_02_280683_0000.jpg', '/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_02_280683_0001.jpg', '/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_02_280683_0002.jpg', '/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_02_280683_0003.jpg', '/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_02_526387_0000.jpg', '/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_02_526387_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_02_280683_0000.jpg
/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_02_280683_0001.jpg
/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_02_280683_0002.jpg
/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_02_280683_0003.jpg
/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_02_526387_0000.jpg
/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_02_526387_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":["1330878056","1330878065","1330878061","1330878070","1330878046","1330878051"],"photo_ids_order":["1330878046","1330878051","1330878056","1330878061","1330878065","1330878070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09fed162850b0ebfda627a2e7526c9c2.jpg","text":"TemporaryFile(/tmp/multipartBody3666996730229438395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667538258,"filename":"image_23012025_20_40_02_280683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4f0ac79ea37761021b80888c71a5baa.jpg","text":"TemporaryFile(/tmp/multipartBody5630144078375120310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667538258,"filename":"image_23012025_20_41_02_526387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a35451973683b7d09e273adcea07ca7d.jpg","text":"TemporaryFile(/tmp/multipartBody4830627315017415469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667538258,"filename":"image_23012025_20_40_02_280683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25c8261c1c55c18ae6b9da281906232c.jpg","text":"TemporaryFile(/tmp/multipartBody6124521126146740606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667538258,"filename":"image_23012025_20_41_02_526387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f7449c73c67ec484a876fb9dcb07e76.jpg","text":"TemporaryFile(/tmp/multipartBody2056143453508263225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667538258,"filename":"image_23012025_20_40_02_280683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d36ee89efd77766cc9a1f433d0f6ff33.jpg","text":"TemporaryFile(/tmp/multipartBody8162844992940512391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667538258,"filename":"image_23012025_20_40_02_280683_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330878056","file1":"1330878051","file0":"1330878046","file4":"1330878065","file5":"1330878070","file3":"1330878061"},"map_files_photo_id_array":[{"photo_id":"1330878070","filename":"file5"},{"photo_id":"1330878056","filename":"file2"},{"photo_id":"1330878065","filename":"file4"},{"photo_id":"1330878051","filename":"file1"},{"photo_id":"1330878046","filename":"file0"},{"photo_id":"1330878061","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330878056":["hashtag1","hashtag2"]},{"1330878065":["hashtag1","hashtag2"]},{"1330878061":["hashtag1","hashtag2"]},{"1330878070":["hashtag1","hashtag2"]},{"1330878046":["hashtag1","hashtag2"]},{"1330878051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330878056, 1330878065, 1330878061, 1330878070, 1330878046, 1330878051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.541051149368286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:25:22.678255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_02_526387_0002.jpg', '/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_02_526387_0003.jpg', '/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_02_660461_0000.jpg', '/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_02_660461_0001.jpg', '/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_02_660461_0002.jpg', '/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_02_660461_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_02_526387_0002.jpg
/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_02_526387_0003.jpg
/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_02_660461_0000.jpg
/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_02_660461_0001.jpg
/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_02_660461_0002.jpg
/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_02_660461_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":["1330878128","1330878136","1330878139","1330878124","1330878144","1330878120"],"photo_ids_order":["1330878120","1330878124","1330878128","1330878136","1330878139","1330878144"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4404b8a0ff9698cfb71d87f9345ed26.jpg","text":"TemporaryFile(/tmp/multipartBody3364357974775837828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667598596,"filename":"image_23012025_20_42_02_660461_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a320193f22e1c51b97cb393761a7a47.jpg","text":"TemporaryFile(/tmp/multipartBody7549479316449347715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667598596,"filename":"image_23012025_20_42_02_660461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/607658ac21a542c0366e260274a5e4c2.jpg","text":"TemporaryFile(/tmp/multipartBody2047434780483171204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667598596,"filename":"image_23012025_20_42_02_660461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0a79e56a6b257e43e471bfe7803008b.jpg","text":"TemporaryFile(/tmp/multipartBody397771185471064334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667598596,"filename":"image_23012025_20_41_02_526387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f2edb1a87ecc535fdaf8c2ddd1023f3.jpg","text":"TemporaryFile(/tmp/multipartBody5548855910796411551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667598596,"filename":"image_23012025_20_42_02_660461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a9663a52e27f57b134d69abd2cba806.jpg","text":"TemporaryFile(/tmp/multipartBody289596686628996434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667598596,"filename":"image_23012025_20_41_02_526387_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330878128","file1":"1330878124","file0":"1330878120","file4":"1330878139","file5":"1330878144","file3":"1330878136"},"map_files_photo_id_array":[{"photo_id":"1330878144","filename":"file5"},{"photo_id":"1330878128","filename":"file2"},{"photo_id":"1330878139","filename":"file4"},{"photo_id":"1330878124","filename":"file1"},{"photo_id":"1330878120","filename":"file0"},{"photo_id":"1330878136","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330878128":["hashtag1","hashtag2"]},{"1330878136":["hashtag1","hashtag2"]},{"1330878139":["hashtag1","hashtag2"]},{"1330878124":["hashtag1","hashtag2"]},{"1330878144":["hashtag1","hashtag2"]},{"1330878120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330878128, 1330878136, 1330878139, 1330878124, 1330878144, 1330878120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.635212421417236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:26:21.867137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0000.jpg', '/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0001.jpg', '/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0002.jpg', '/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0003.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_03_013545_0000.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_03_013545_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0000.jpg
/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0001.jpg
/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0002.jpg
/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0003.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_03_013545_0000.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_03_013545_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.084593057632446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:26:41.886358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0000.jpg', '/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0001.jpg', '/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0002.jpg', '/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0003.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_03_013545_0000.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_03_013545_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0000.jpg
/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0001.jpg
/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0002.jpg
/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_02_872764_0003.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_03_013545_0000.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_03_013545_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":["1330878194","1330878374","1330878359","1330878307","1330878384","1330878408"],"photo_ids_order":["1330878194","1330878307","1330878359","1330878374","1330878384","1330878408"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdc7d5070975a8b9b04d512f2de427e9.jpg","text":"TemporaryFile(/tmp/multipartBody8562867478557839730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667677374,"filename":"image_23012025_20_43_02_872764_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54c451987597962196875344455782e5.jpg","text":"TemporaryFile(/tmp/multipartBody3940722621768528013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667677374,"filename":"image_23012025_20_43_02_872764_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e92e9d2e450aff42e496987970da267.jpg","text":"TemporaryFile(/tmp/multipartBody5314935031199299273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667677374,"filename":"image_23012025_20_43_02_872764_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc7b2397f49a5502420406635b57a5df.jpg","text":"TemporaryFile(/tmp/multipartBody2373417757446366842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667677374,"filename":"image_23012025_20_43_02_872764_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89bcf02f45328bfba45d5954a55e807e.jpg","text":"TemporaryFile(/tmp/multipartBody8046434308215893085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667677374,"filename":"image_23012025_20_44_03_013545_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fe37e5de3677a905f501b6fbfafa5bd.jpg","text":"TemporaryFile(/tmp/multipartBody4485835016176913757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667677374,"filename":"image_23012025_20_44_03_013545_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330878359","file1":"1330878307","file0":"1330878194","file4":"1330878384","file5":"1330878408","file3":"1330878374"},"map_files_photo_id_array":[{"photo_id":"1330878408","filename":"file5"},{"photo_id":"1330878359","filename":"file2"},{"photo_id":"1330878384","filename":"file4"},{"photo_id":"1330878307","filename":"file1"},{"photo_id":"1330878194","filename":"file0"},{"photo_id":"1330878374","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330878194":["hashtag1","hashtag2"]},{"1330878374":["hashtag1","hashtag2"]},{"1330878359":["hashtag1","hashtag2"]},{"1330878307":["hashtag1","hashtag2"]},{"1330878384":["hashtag1","hashtag2"]},{"1330878408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330878194, 1330878374, 1330878359, 1330878307, 1330878384, 1330878408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.509239196777344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:27:42.067086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_03_013545_0002.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_03_013545_0003.jpg', '/home/pi/Desktop/images/23012025/20/45/image_23012025_20_45_02_168740_0000.jpg', '/home/pi/Desktop/images/23012025/20/45/image_23012025_20_45_02_168740_0001.jpg', '/home/pi/Desktop/images/23012025/20/45/image_23012025_20_45_02_168740_0002.jpg', '/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_02_382226_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_03_013545_0002.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_03_013545_0003.jpg
/home/pi/Desktop/images/23012025/20/45/image_23012025_20_45_02_168740_0000.jpg
/home/pi/Desktop/images/23012025/20/45/image_23012025_20_45_02_168740_0001.jpg
/home/pi/Desktop/images/23012025/20/45/image_23012025_20_45_02_168740_0002.jpg
/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_02_382226_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":["1330878533","1330878542","1330878538","1330878547","1330878529","1330878459"],"photo_ids_order":["1330878459","1330878529","1330878533","1330878538","1330878542","1330878547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9ca905d1ec67c44f6f5d11324009b07.jpg","text":"TemporaryFile(/tmp/multipartBody6599395476034545492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667737230,"filename":"image_23012025_20_45_02_168740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e1305bec9fb698a4d1d4830ab48f997.jpg","text":"TemporaryFile(/tmp/multipartBody2131560519092980980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667737230,"filename":"image_23012025_20_45_02_168740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d341489406bd5bcd24d1c101c9f0a7e.jpg","text":"TemporaryFile(/tmp/multipartBody5241212449470122967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667737230,"filename":"image_23012025_20_45_02_168740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/faeb63954478d88f829a5f6ce8caf199.jpg","text":"TemporaryFile(/tmp/multipartBody8367016693814611777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667737230,"filename":"image_23012025_20_46_02_382226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc6c483175d6be598e036f169ea9751c.jpg","text":"TemporaryFile(/tmp/multipartBody1801577083065805409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667737230,"filename":"image_23012025_20_44_03_013545_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a90e3fc01dde8df7c0a400d093e92abc.jpg","text":"TemporaryFile(/tmp/multipartBody5551127747690870336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667737230,"filename":"image_23012025_20_44_03_013545_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330878533","file1":"1330878529","file0":"1330878459","file4":"1330878542","file5":"1330878547","file3":"1330878538"},"map_files_photo_id_array":[{"photo_id":"1330878547","filename":"file5"},{"photo_id":"1330878533","filename":"file2"},{"photo_id":"1330878542","filename":"file4"},{"photo_id":"1330878529","filename":"file1"},{"photo_id":"1330878459","filename":"file0"},{"photo_id":"1330878538","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330878533":["hashtag1","hashtag2"]},{"1330878542":["hashtag1","hashtag2"]},{"1330878538":["hashtag1","hashtag2"]},{"1330878547":["hashtag1","hashtag2"]},{"1330878529":["hashtag1","hashtag2"]},{"1330878459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330878533, 1330878542, 1330878538, 1330878547, 1330878529, 1330878459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.829408168792725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:28:42.238938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_02_382226_0001.jpg', '/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_02_382226_0003.jpg', '/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_0000.jpg', '/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_0001.jpg', '/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_0002.jpg', '/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_02_382226_0001.jpg
/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_02_382226_0003.jpg
/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_0000.jpg
/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_0001.jpg
/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_0002.jpg
/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_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: 15.039660692214966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 22:29:03.277418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_02_382226_0001.jpg', '/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_02_382226_0003.jpg', '/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_0000.jpg', '/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_0001.jpg', '/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_0002.jpg', '/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_02_382226_0001.jpg
/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_02_382226_0003.jpg
/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_0000.jpg
/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_0001.jpg
/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_0002.jpg
/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_02_593752_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":["1330878608","1330878595","1330878619","1330878622","1330878624","1330878627"],"photo_ids_order":["1330878595","1330878608","1330878619","1330878622","1330878624","1330878627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f62af72019e9a70f7d7b0a83467e4282.jpg","text":"TemporaryFile(/tmp/multipartBody7935067868877436623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667818759,"filename":"image_23012025_20_46_02_382226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2322cca2555a28de5043d4107b9f097.jpg","text":"TemporaryFile(/tmp/multipartBody7624157975490700325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667818759,"filename":"image_23012025_20_46_02_382226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3901ef495df49a49b1155f7bf608338.jpg","text":"TemporaryFile(/tmp/multipartBody5697845494926440951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667818759,"filename":"image_23012025_20_47_02_593752_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b40d46356db467ca8a07e2a20a817a7.jpg","text":"TemporaryFile(/tmp/multipartBody7361908711831383068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667818759,"filename":"image_23012025_20_47_02_593752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3901e5e202cccd8528343db76532bfad.jpg","text":"TemporaryFile(/tmp/multipartBody5015369268375829371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667818759,"filename":"image_23012025_20_47_02_593752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6340e3f5bb68fcc321ca78701960ed0c.jpg","text":"TemporaryFile(/tmp/multipartBody5441083741967251851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667818759,"filename":"image_23012025_20_47_02_593752_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330878619","file1":"1330878608","file0":"1330878595","file4":"1330878624","file5":"1330878627","file3":"1330878622"},"map_files_photo_id_array":[{"photo_id":"1330878627","filename":"file5"},{"photo_id":"1330878619","filename":"file2"},{"photo_id":"1330878624","filename":"file4"},{"photo_id":"1330878608","filename":"file1"},{"photo_id":"1330878595","filename":"file0"},{"photo_id":"1330878622","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330878608":["hashtag1","hashtag2"]},{"1330878595":["hashtag1","hashtag2"]},{"1330878619":["hashtag1","hashtag2"]},{"1330878622":["hashtag1","hashtag2"]},{"1330878624":["hashtag1","hashtag2"]},{"1330878627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330878608, 1330878595, 1330878619, 1330878622, 1330878624, 1330878627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.7171893119812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 22:30:03.139754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_02_868102_0000.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_02_868102_0001.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_02_868102_0002.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_02_868102_0003.jpg', '/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_03_094172_0000.jpg', '/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_03_094172_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_02_868102_0000.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_02_868102_0001.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_02_868102_0002.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_02_868102_0003.jpg
/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_03_094172_0000.jpg
/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_03_094172_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":["1330878662","1330878671","1330878734","1330878684","1330878729","1330878738"],"photo_ids_order":["1330878662","1330878671","1330878684","1330878729","1330878734","1330878738"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b3328a1b03fb41b2d18b8b85c7eb913.jpg","text":"TemporaryFile(/tmp/multipartBody8620222102312644334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667878420,"filename":"image_23012025_20_48_02_868102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa71feb906b8a7aa1ed4766aa5af9831.jpg","text":"TemporaryFile(/tmp/multipartBody6465782702703704565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667878420,"filename":"image_23012025_20_48_02_868102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a45d01d63c5994f0bbd9f2afd33ddf2f.jpg","text":"TemporaryFile(/tmp/multipartBody3066863001575183875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667878420,"filename":"image_23012025_20_49_03_094172_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43ca1703187801375a75c4f61222f07d.jpg","text":"TemporaryFile(/tmp/multipartBody8369581972885682011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667878420,"filename":"image_23012025_20_48_02_868102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/042b703b7c27074d074efb63065ec7cc.jpg","text":"TemporaryFile(/tmp/multipartBody1082163284668085087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667878420,"filename":"image_23012025_20_48_02_868102_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b991feed4bb6aee6ccd252ee8476fca.jpg","text":"TemporaryFile(/tmp/multipartBody1547361040126938903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667878420,"filename":"image_23012025_20_49_03_094172_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330878684","file1":"1330878671","file0":"1330878662","file4":"1330878734","file5":"1330878738","file3":"1330878729"},"map_files_photo_id_array":[{"photo_id":"1330878738","filename":"file5"},{"photo_id":"1330878684","filename":"file2"},{"photo_id":"1330878734","filename":"file4"},{"photo_id":"1330878671","filename":"file1"},{"photo_id":"1330878662","filename":"file0"},{"photo_id":"1330878729","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330878662":["hashtag1","hashtag2"]},{"1330878671":["hashtag1","hashtag2"]},{"1330878734":["hashtag1","hashtag2"]},{"1330878684":["hashtag1","hashtag2"]},{"1330878729":["hashtag1","hashtag2"]},{"1330878738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330878662, 1330878671, 1330878734, 1330878684, 1330878729, 1330878738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.34461283683777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 22:31:03.450808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_03_094172_0002.jpg', '/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_03_094172_0003.jpg', '/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_02_201332_0000.jpg', '/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_02_201332_0001.jpg', '/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_02_201332_0002.jpg', '/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_02_201332_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_03_094172_0002.jpg
/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_03_094172_0003.jpg
/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_02_201332_0000.jpg
/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_02_201332_0001.jpg
/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_02_201332_0002.jpg
/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_02_201332_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":["1330878965","1330878815","1330878979","1330878951","1330878954","1330878810"],"photo_ids_order":["1330878810","1330878815","1330878951","1330878954","1330878965","1330878979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/964bb21a715da30b16c64cacc0ebe213.jpg","text":"TemporaryFile(/tmp/multipartBody6448895163383614498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667938769,"filename":"image_23012025_20_50_02_201332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1b63a0b09f2e1803d9da5819d1afdd2.jpg","text":"TemporaryFile(/tmp/multipartBody4787884296978074211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667938769,"filename":"image_23012025_20_49_03_094172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7463d5024b6335ba08f9dd7cd54bdc4c.jpg","text":"TemporaryFile(/tmp/multipartBody2810151194180004376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667938769,"filename":"image_23012025_20_50_02_201332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb7f2c859d49a7f5e454893ba9d251f2.jpg","text":"TemporaryFile(/tmp/multipartBody2447101814895092602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667938769,"filename":"image_23012025_20_50_02_201332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/150d4c220a020e789a7304b99cced433.jpg","text":"TemporaryFile(/tmp/multipartBody1415103094269837943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667938769,"filename":"image_23012025_20_50_02_201332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/625e259086052a762d9d3d5365367dca.jpg","text":"TemporaryFile(/tmp/multipartBody4004133278915551024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667938769,"filename":"image_23012025_20_49_03_094172_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330878951","file1":"1330878815","file0":"1330878810","file4":"1330878965","file5":"1330878979","file3":"1330878954"},"map_files_photo_id_array":[{"photo_id":"1330878979","filename":"file5"},{"photo_id":"1330878951","filename":"file2"},{"photo_id":"1330878965","filename":"file4"},{"photo_id":"1330878815","filename":"file1"},{"photo_id":"1330878810","filename":"file0"},{"photo_id":"1330878954","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330878965":["hashtag1","hashtag2"]},{"1330878815":["hashtag1","hashtag2"]},{"1330878979":["hashtag1","hashtag2"]},{"1330878951":["hashtag1","hashtag2"]},{"1330878954":["hashtag1","hashtag2"]},{"1330878810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330878965, 1330878815, 1330878979, 1330878951, 1330878954, 1330878810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.45720338821411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 22:32:02.488771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_02_444142_0000.jpg', '/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_02_444142_0001.jpg', '/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_02_444142_0002.jpg', '/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_02_444142_0003.jpg', '/home/pi/Desktop/images/23012025/20/52/image_23012025_20_52_02_604565_0000.jpg', '/home/pi/Desktop/images/23012025/20/52/image_23012025_20_52_02_604565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_02_444142_0000.jpg
/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_02_444142_0001.jpg
/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_02_444142_0002.jpg
/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_02_444142_0003.jpg
/home/pi/Desktop/images/23012025/20/52/image_23012025_20_52_02_604565_0000.jpg
/home/pi/Desktop/images/23012025/20/52/image_23012025_20_52_02_604565_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330879412","1330879399","1330879369","1330879389","1330879569","1330879533"],"photo_ids_order":["1330879369","1330879389","1330879399","1330879412","1330879533","1330879569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9d7e7c50cad5e24868d1cfb0e4fc109.jpg","text":"TemporaryFile(/tmp/multipartBody7931007962256999435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667997775,"filename":"image_23012025_20_51_02_444142_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91ac4c9758c7df556a8bd7462b525daf.jpg","text":"TemporaryFile(/tmp/multipartBody2512919198715689836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667997775,"filename":"image_23012025_20_51_02_444142_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b2bf910628ecb448fb1a81b38605811.jpg","text":"TemporaryFile(/tmp/multipartBody1621783072633161032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667997775,"filename":"image_23012025_20_51_02_444142_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad2875040012dadd0bc14cb1f6baf0ae.jpg","text":"TemporaryFile(/tmp/multipartBody3338908362241846715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667997775,"filename":"image_23012025_20_51_02_444142_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd2590e01182abf3e49341171a5d7733.jpg","text":"TemporaryFile(/tmp/multipartBody2421459627713490108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667997775,"filename":"image_23012025_20_52_02_604565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d56ed6008329e98ebb626f69f2e1d76.jpg","text":"TemporaryFile(/tmp/multipartBody6193604833198227771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667997775,"filename":"image_23012025_20_52_02_604565_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330879399","file1":"1330879389","file0":"1330879369","file4":"1330879533","file5":"1330879569","file3":"1330879412"},"map_files_photo_id_array":[{"photo_id":"1330879569","filename":"file5"},{"photo_id":"1330879399","filename":"file2"},{"photo_id":"1330879533","filename":"file4"},{"photo_id":"1330879389","filename":"file1"},{"photo_id":"1330879369","filename":"file0"},{"photo_id":"1330879412","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330879412":["hashtag1","hashtag2"]},{"1330879399":["hashtag1","hashtag2"]},{"1330879369":["hashtag1","hashtag2"]},{"1330879389":["hashtag1","hashtag2"]},{"1330879569":["hashtag1","hashtag2"]},{"1330879533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330879412, 1330879399, 1330879369, 1330879389, 1330879569, 1330879533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.30467987060547 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 22:33:02.771194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/52/image_23012025_20_52_02_604565_0003.jpg', '/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_02_810652_0000.jpg', '/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_02_810652_0002.jpg', '/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_02_810652_0003.jpg', '/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_02_951702_0000.jpg', '/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_02_951702_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/52/image_23012025_20_52_02_604565_0003.jpg
/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_02_810652_0000.jpg
/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_02_810652_0002.jpg
/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_02_810652_0003.jpg
/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_02_951702_0000.jpg
/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_02_951702_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":["1330879646","1330879669","1330879654","1330879662","1330879665","1330879659"],"photo_ids_order":["1330879646","1330879654","1330879659","1330879662","1330879665","1330879669"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aab14023784afe3d921adb5a5a2fc58b.jpg","text":"TemporaryFile(/tmp/multipartBody6632881528548645065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668058138,"filename":"image_23012025_20_52_02_604565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83c2bd33b3558450e97e9cea5209b4cb.jpg","text":"TemporaryFile(/tmp/multipartBody6083979932461728652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668058138,"filename":"image_23012025_20_54_02_951702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f022a29f3e1d8f162fd99d00482f363.jpg","text":"TemporaryFile(/tmp/multipartBody4592919854679688348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668058138,"filename":"image_23012025_20_53_02_810652_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1db1ca0661966950f30b5a21655a6a76.jpg","text":"TemporaryFile(/tmp/multipartBody6590837592407363604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668058138,"filename":"image_23012025_20_53_02_810652_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e74e171d8cf83f86e4e04dabf767763b.jpg","text":"TemporaryFile(/tmp/multipartBody6438851086317143852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668058138,"filename":"image_23012025_20_54_02_951702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd5d445c3369854f12196781998cd422.jpg","text":"TemporaryFile(/tmp/multipartBody1482654764051175849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668058138,"filename":"image_23012025_20_53_02_810652_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330879659","file1":"1330879654","file0":"1330879646","file4":"1330879665","file5":"1330879669","file3":"1330879662"},"map_files_photo_id_array":[{"photo_id":"1330879669","filename":"file5"},{"photo_id":"1330879659","filename":"file2"},{"photo_id":"1330879665","filename":"file4"},{"photo_id":"1330879654","filename":"file1"},{"photo_id":"1330879646","filename":"file0"},{"photo_id":"1330879662","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330879646":["hashtag1","hashtag2"]},{"1330879669":["hashtag1","hashtag2"]},{"1330879654":["hashtag1","hashtag2"]},{"1330879662":["hashtag1","hashtag2"]},{"1330879665":["hashtag1","hashtag2"]},{"1330879659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330879646, 1330879669, 1330879654, 1330879662, 1330879665, 1330879659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.525514364242554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 22:34:02.828259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_02_951702_0002.jpg', '/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_02_951702_0003.jpg', '/home/pi/Desktop/images/23012025/20/55/image_23012025_20_55_02_202740_0001.jpg', '/home/pi/Desktop/images/23012025/20/55/image_23012025_20_55_02_202740_0002.jpg', '/home/pi/Desktop/images/23012025/20/55/image_23012025_20_55_02_202740_0003.jpg', '/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_02_426920_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_02_951702_0002.jpg
/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_02_951702_0003.jpg
/home/pi/Desktop/images/23012025/20/55/image_23012025_20_55_02_202740_0001.jpg
/home/pi/Desktop/images/23012025/20/55/image_23012025_20_55_02_202740_0002.jpg
/home/pi/Desktop/images/23012025/20/55/image_23012025_20_55_02_202740_0003.jpg
/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_02_426920_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":["1330879726","1330879708","1330879722","1330879716","1330879701","1330879719"],"photo_ids_order":["1330879701","1330879708","1330879716","1330879719","1330879722","1330879726"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11848c9ae851a13ce42e581cdc3701f6.jpg","text":"TemporaryFile(/tmp/multipartBody4397320972274606844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668118131,"filename":"image_23012025_20_56_02_426920_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8a568f96457c0b10f183dd3749011cb.jpg","text":"TemporaryFile(/tmp/multipartBody3111352213627673282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668118131,"filename":"image_23012025_20_54_02_951702_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/728ff7d76e961c58b75b81ecae8b2b81.jpg","text":"TemporaryFile(/tmp/multipartBody3942319484064388836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668118131,"filename":"image_23012025_20_55_02_202740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6047783167b112c70b44de3c789f421.jpg","text":"TemporaryFile(/tmp/multipartBody2266635472709432943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668118131,"filename":"image_23012025_20_55_02_202740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/434d905898f73c2b3edc212e9539f83c.jpg","text":"TemporaryFile(/tmp/multipartBody6989200445985685625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668118131,"filename":"image_23012025_20_54_02_951702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66305605c9ae1ae755e8e1e597a00e29.jpg","text":"TemporaryFile(/tmp/multipartBody6257209528944780009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668118131,"filename":"image_23012025_20_55_02_202740_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330879716","file1":"1330879708","file0":"1330879701","file4":"1330879722","file5":"1330879726","file3":"1330879719"},"map_files_photo_id_array":[{"photo_id":"1330879726","filename":"file5"},{"photo_id":"1330879716","filename":"file2"},{"photo_id":"1330879722","filename":"file4"},{"photo_id":"1330879708","filename":"file1"},{"photo_id":"1330879701","filename":"file0"},{"photo_id":"1330879719","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330879726":["hashtag1","hashtag2"]},{"1330879708":["hashtag1","hashtag2"]},{"1330879722":["hashtag1","hashtag2"]},{"1330879716":["hashtag1","hashtag2"]},{"1330879701":["hashtag1","hashtag2"]},{"1330879719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330879726, 1330879708, 1330879722, 1330879716, 1330879701, 1330879719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.38772106170654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:35:22.456674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_02_426920_0001.jpg', '/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_02_426920_0002.jpg', '/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_02_426920_0003.jpg', '/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_02_557205_0000.jpg', '/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_02_557205_0001.jpg', '/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_02_557205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_02_426920_0001.jpg
/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_02_426920_0002.jpg
/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_02_426920_0003.jpg
/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_02_557205_0000.jpg
/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_02_557205_0001.jpg
/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_02_557205_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330879795","1330879798","1330879792","1330879809","1330879800","1330879803"],"photo_ids_order":["1330879792","1330879795","1330879798","1330879800","1330879803","1330879809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/953acae431895a7d1a3066ec9f2febbf.jpg","text":"TemporaryFile(/tmp/multipartBody8721716753618719562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668197712,"filename":"image_23012025_20_56_02_426920_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/155233028b357d918f3461e060ef0cc2.jpg","text":"TemporaryFile(/tmp/multipartBody1981209451578096747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668197712,"filename":"image_23012025_20_56_02_426920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/080460ef9ccf95b9f4c55bcf5d6b6483.jpg","text":"TemporaryFile(/tmp/multipartBody6945919169026402712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668197712,"filename":"image_23012025_20_56_02_426920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79758c4dd6a8b7e2a3eaf95db2a6f507.jpg","text":"TemporaryFile(/tmp/multipartBody8446247181996301877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668197712,"filename":"image_23012025_20_57_02_557205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8193c017611971785c514da728eda18.jpg","text":"TemporaryFile(/tmp/multipartBody653507197242449167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668197712,"filename":"image_23012025_20_57_02_557205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/590ef38d5e16c63bb2c2553d229564a6.jpg","text":"TemporaryFile(/tmp/multipartBody8369184763546338107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668197712,"filename":"image_23012025_20_57_02_557205_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330879798","file1":"1330879795","file0":"1330879792","file4":"1330879803","file5":"1330879809","file3":"1330879800"},"map_files_photo_id_array":[{"photo_id":"1330879809","filename":"file5"},{"photo_id":"1330879798","filename":"file2"},{"photo_id":"1330879803","filename":"file4"},{"photo_id":"1330879795","filename":"file1"},{"photo_id":"1330879792","filename":"file0"},{"photo_id":"1330879800","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330879795":["hashtag1","hashtag2"]},{"1330879798":["hashtag1","hashtag2"]},{"1330879792":["hashtag1","hashtag2"]},{"1330879809":["hashtag1","hashtag2"]},{"1330879800":["hashtag1","hashtag2"]},{"1330879803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330879795, 1330879798, 1330879792, 1330879809, 1330879800, 1330879803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.76068305969238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:36:22.702281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_02_557205_0003.jpg', '/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_02_754382_0000.jpg', '/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_02_754382_0001.jpg', '/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_02_754382_0002.jpg', '/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_02_754382_0003.jpg', '/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_03_016723_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_02_557205_0003.jpg
/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_02_754382_0000.jpg
/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_02_754382_0001.jpg
/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_02_754382_0002.jpg
/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_02_754382_0003.jpg
/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_03_016723_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":["1330879844","1330879897","1330879861","1330879849","1330879836","1330879874"],"photo_ids_order":["1330879836","1330879844","1330879849","1330879861","1330879874","1330879897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4b37fc634f1f88ef59e43ff6cbfad41.jpg","text":"TemporaryFile(/tmp/multipartBody2808613037616799213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668257979,"filename":"image_23012025_20_58_02_754382_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54e0d9215b65a010e4de73c99e3ef5e0.jpg","text":"TemporaryFile(/tmp/multipartBody7010355630842657801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668257979,"filename":"image_23012025_20_59_03_016723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b6dbd193e6f23d0145124611e84a418.jpg","text":"TemporaryFile(/tmp/multipartBody4246012778527868152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668257979,"filename":"image_23012025_20_58_02_754382_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b875a8894dd930d6b1d5c93884f53873.jpg","text":"TemporaryFile(/tmp/multipartBody8035076853284551316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668257979,"filename":"image_23012025_20_58_02_754382_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7205601a49ee119375af1545d4f4d138.jpg","text":"TemporaryFile(/tmp/multipartBody391136398307002773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668257979,"filename":"image_23012025_20_57_02_557205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b250d83b95b340a6ba9e9c937e10d8bb.jpg","text":"TemporaryFile(/tmp/multipartBody2502023050115807369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668257979,"filename":"image_23012025_20_58_02_754382_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330879849","file1":"1330879844","file0":"1330879836","file4":"1330879874","file5":"1330879897","file3":"1330879861"},"map_files_photo_id_array":[{"photo_id":"1330879897","filename":"file5"},{"photo_id":"1330879849","filename":"file2"},{"photo_id":"1330879874","filename":"file4"},{"photo_id":"1330879844","filename":"file1"},{"photo_id":"1330879836","filename":"file0"},{"photo_id":"1330879861","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330879844":["hashtag1","hashtag2"]},{"1330879897":["hashtag1","hashtag2"]},{"1330879861":["hashtag1","hashtag2"]},{"1330879849":["hashtag1","hashtag2"]},{"1330879836":["hashtag1","hashtag2"]},{"1330879874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330879844, 1330879897, 1330879861, 1330879849, 1330879836, 1330879874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.94146275520325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:37:21.803069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_03_016723_0002.jpg', '/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_03_016723_0003.jpg', '/home/pi/Desktop/images/23012025/21/00/image_23012025_21_00_02_230125_0000.jpg', '/home/pi/Desktop/images/23012025/21/00/image_23012025_21_00_02_230125_0001.jpg', '/home/pi/Desktop/images/23012025/21/00/image_23012025_21_00_02_230125_0002.jpg', '/home/pi/Desktop/images/23012025/21/00/image_23012025_21_00_02_230125_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_03_016723_0002.jpg
/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_03_016723_0003.jpg
/home/pi/Desktop/images/23012025/21/00/image_23012025_21_00_02_230125_0000.jpg
/home/pi/Desktop/images/23012025/21/00/image_23012025_21_00_02_230125_0001.jpg
/home/pi/Desktop/images/23012025/21/00/image_23012025_21_00_02_230125_0002.jpg
/home/pi/Desktop/images/23012025/21/00/image_23012025_21_00_02_230125_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":["1330879942","1330879924","1330879938","1330879917","1330879920","1330879928"],"photo_ids_order":["1330879917","1330879920","1330879924","1330879928","1330879938","1330879942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3b19d88f40850dacf898f1785556a43.jpg","text":"TemporaryFile(/tmp/multipartBody1299802978778855881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668317090,"filename":"image_23012025_21_00_02_230125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01fc81a7dbc347499bfeabb8124a08b6.jpg","text":"TemporaryFile(/tmp/multipartBody981870957575567192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668317090,"filename":"image_23012025_21_00_02_230125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d96709468add440a89d8dd189b4cf964.jpg","text":"TemporaryFile(/tmp/multipartBody7950610099320818661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668317090,"filename":"image_23012025_21_00_02_230125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21bba615710f2e9bc78255f9b8129964.jpg","text":"TemporaryFile(/tmp/multipartBody5371718014321952443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668317090,"filename":"image_23012025_20_59_03_016723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/486c8195dc41ee49ca2c5132ebeb4f4b.jpg","text":"TemporaryFile(/tmp/multipartBody4935448987141945942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668317090,"filename":"image_23012025_20_59_03_016723_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0418ef60a34215d072e55f8b0d0c123.jpg","text":"TemporaryFile(/tmp/multipartBody7594437396293183911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668317090,"filename":"image_23012025_21_00_02_230125_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330879924","file1":"1330879920","file0":"1330879917","file4":"1330879938","file5":"1330879942","file3":"1330879928"},"map_files_photo_id_array":[{"photo_id":"1330879942","filename":"file5"},{"photo_id":"1330879924","filename":"file2"},{"photo_id":"1330879938","filename":"file4"},{"photo_id":"1330879920","filename":"file1"},{"photo_id":"1330879917","filename":"file0"},{"photo_id":"1330879928","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330879942":["hashtag1","hashtag2"]},{"1330879924":["hashtag1","hashtag2"]},{"1330879938":["hashtag1","hashtag2"]},{"1330879917":["hashtag1","hashtag2"]},{"1330879920":["hashtag1","hashtag2"]},{"1330879928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330879942, 1330879924, 1330879938, 1330879917, 1330879920, 1330879928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.37316107749939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:38:22.049261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_02_470913_0000.jpg', '/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_02_470913_0001.jpg', '/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_02_470913_0002.jpg', '/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_02_470913_0003.jpg', '/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_02_593264_0000.jpg', '/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_02_593264_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_02_470913_0000.jpg
/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_02_470913_0001.jpg
/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_02_470913_0002.jpg
/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_02_470913_0003.jpg
/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_02_593264_0000.jpg
/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_02_593264_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":["1330879981","1330879990","1330879977","1330879985","1330879988","1330879973"],"photo_ids_order":["1330879973","1330879977","1330879981","1330879985","1330879988","1330879990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b08559a00fb070fc8580206186aefdbf.jpg","text":"TemporaryFile(/tmp/multipartBody1878630394410436942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668377340,"filename":"image_23012025_21_01_02_470913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc6089398b017dc0e7d55ee7b62be1a4.jpg","text":"TemporaryFile(/tmp/multipartBody9097385909594305617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668377340,"filename":"image_23012025_21_02_02_593264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/308650c96548b13cdebe71896c049d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4521870726100222589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668377340,"filename":"image_23012025_21_01_02_470913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31a909620858af0320695322717be4ff.jpg","text":"TemporaryFile(/tmp/multipartBody3544635011051902522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668377340,"filename":"image_23012025_21_01_02_470913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1207893fb6cc748d7f3a1e59633ba0dc.jpg","text":"TemporaryFile(/tmp/multipartBody7454276305738511035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668377340,"filename":"image_23012025_21_02_02_593264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05754719249b4fdecdee2d9fc375d0ce.jpg","text":"TemporaryFile(/tmp/multipartBody6244190324793669099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668377340,"filename":"image_23012025_21_01_02_470913_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330879981","file1":"1330879977","file0":"1330879973","file4":"1330879988","file5":"1330879990","file3":"1330879985"},"map_files_photo_id_array":[{"photo_id":"1330879990","filename":"file5"},{"photo_id":"1330879981","filename":"file2"},{"photo_id":"1330879988","filename":"file4"},{"photo_id":"1330879977","filename":"file1"},{"photo_id":"1330879973","filename":"file0"},{"photo_id":"1330879985","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330879981":["hashtag1","hashtag2"]},{"1330879990":["hashtag1","hashtag2"]},{"1330879977":["hashtag1","hashtag2"]},{"1330879985":["hashtag1","hashtag2"]},{"1330879988":["hashtag1","hashtag2"]},{"1330879973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330879981, 1330879990, 1330879977, 1330879985, 1330879988, 1330879973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.31793284416199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:39:22.238146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_02_593264_0002.jpg', '/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_02_593264_0003.jpg', '/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_02_771668_0000.jpg', '/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_02_771668_0001.jpg', '/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_02_771668_0002.jpg', '/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_02_771668_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_02_593264_0002.jpg
/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_02_593264_0003.jpg
/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_02_771668_0000.jpg
/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_02_771668_0001.jpg
/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_02_771668_0002.jpg
/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_02_771668_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":["1330880036","1330880074","1330880032","1330880067","1330880061","1330880070"],"photo_ids_order":["1330880032","1330880036","1330880061","1330880067","1330880070","1330880074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b78f944576bd3eb9a952f11599836d9.jpg","text":"TemporaryFile(/tmp/multipartBody4833193762528554454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668437515,"filename":"image_23012025_21_02_02_593264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25fa4b9748a1da276d0a6bf60eac91ba.jpg","text":"TemporaryFile(/tmp/multipartBody900549061318793223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668437515,"filename":"image_23012025_21_03_02_771668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db84eb9d4c48992c390999135d9d889d.jpg","text":"TemporaryFile(/tmp/multipartBody1824984354337041293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668437515,"filename":"image_23012025_21_02_02_593264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9917de642c3cf231d29ed0f83b9d9fba.jpg","text":"TemporaryFile(/tmp/multipartBody7659395078199460422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668437515,"filename":"image_23012025_21_03_02_771668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8f0046f909f6ba68766ab3ede41cc07.jpg","text":"TemporaryFile(/tmp/multipartBody6325224188707236908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668437515,"filename":"image_23012025_21_03_02_771668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05c628c3e810de4c36b1be1c374aeba0.jpg","text":"TemporaryFile(/tmp/multipartBody2321143747728573981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668437515,"filename":"image_23012025_21_03_02_771668_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330880061","file1":"1330880036","file0":"1330880032","file4":"1330880070","file5":"1330880074","file3":"1330880067"},"map_files_photo_id_array":[{"photo_id":"1330880074","filename":"file5"},{"photo_id":"1330880061","filename":"file2"},{"photo_id":"1330880070","filename":"file4"},{"photo_id":"1330880036","filename":"file1"},{"photo_id":"1330880032","filename":"file0"},{"photo_id":"1330880067","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330880036":["hashtag1","hashtag2"]},{"1330880074":["hashtag1","hashtag2"]},{"1330880032":["hashtag1","hashtag2"]},{"1330880067":["hashtag1","hashtag2"]},{"1330880061":["hashtag1","hashtag2"]},{"1330880070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330880036, 1330880074, 1330880032, 1330880067, 1330880061, 1330880070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.93491840362549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:40:22.438102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_02_971271_0000.jpg', '/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_02_971271_0001.jpg', '/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_02_971271_0003.jpg', '/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_03_164040_0000.jpg', '/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_03_164040_0001.jpg', '/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_03_164040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_02_971271_0000.jpg
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_02_971271_0001.jpg
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_02_971271_0003.jpg
/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_03_164040_0000.jpg
/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_03_164040_0001.jpg
/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_03_164040_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.90066385269165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:40:42.424318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_02_971271_0000.jpg', '/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_02_971271_0001.jpg', '/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_02_971271_0003.jpg', '/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_03_164040_0000.jpg', '/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_03_164040_0001.jpg', '/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_03_164040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_02_971271_0000.jpg
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_02_971271_0001.jpg
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_02_971271_0003.jpg
/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_03_164040_0000.jpg
/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_03_164040_0001.jpg
/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_03_164040_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330880109","1330880171","1330880162","1330880143","1330880119","1330880154"],"photo_ids_order":["1330880109","1330880119","1330880143","1330880154","1330880162","1330880171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06bbfb64a22d2fbcaf11fa4a33e9727f.jpg","text":"TemporaryFile(/tmp/multipartBody3548532284209573776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668517696,"filename":"image_23012025_21_04_02_971271_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72016844005f703004124e081c5059f5.jpg","text":"TemporaryFile(/tmp/multipartBody7226647108284946736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668517696,"filename":"image_23012025_21_05_03_164040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb438db61548955a17e9eef119e8cea6.jpg","text":"TemporaryFile(/tmp/multipartBody2163055337850469840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668517696,"filename":"image_23012025_21_05_03_164040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a01c62ebd1c05a502b1ca5f33377724.jpg","text":"TemporaryFile(/tmp/multipartBody212234793742969377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668517696,"filename":"image_23012025_21_04_02_971271_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db4a1420d6fc715102cc34bed354ece8.jpg","text":"TemporaryFile(/tmp/multipartBody4801300863112667206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668517696,"filename":"image_23012025_21_04_02_971271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61a459631f1189e1339d4ad23f17bad5.jpg","text":"TemporaryFile(/tmp/multipartBody5396804994833050460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668517696,"filename":"image_23012025_21_05_03_164040_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330880143","file1":"1330880119","file0":"1330880109","file4":"1330880162","file5":"1330880171","file3":"1330880154"},"map_files_photo_id_array":[{"photo_id":"1330880171","filename":"file5"},{"photo_id":"1330880143","filename":"file2"},{"photo_id":"1330880162","filename":"file4"},{"photo_id":"1330880119","filename":"file1"},{"photo_id":"1330880109","filename":"file0"},{"photo_id":"1330880154","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330880109":["hashtag1","hashtag2"]},{"1330880171":["hashtag1","hashtag2"]},{"1330880162":["hashtag1","hashtag2"]},{"1330880143":["hashtag1","hashtag2"]},{"1330880119":["hashtag1","hashtag2"]},{"1330880154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330880109, 1330880171, 1330880162, 1330880143, 1330880119, 1330880154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.18177819252014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:41:42.604833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_03_164040_0003.jpg', '/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_02_308505_0000.jpg', '/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_02_308505_0001.jpg', '/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_02_308505_0003.jpg', '/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_02_473619_0000.jpg', '/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_02_473619_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_03_164040_0003.jpg
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_02_308505_0000.jpg
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_02_308505_0001.jpg
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_02_308505_0003.jpg
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_02_473619_0000.jpg
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_02_473619_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330880356","1330880344","1330880352","1330880349","1330880340","1330880334"],"photo_ids_order":["1330880334","1330880340","1330880344","1330880349","1330880352","1330880356"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53bf10e6142c9566bc0415f0e69553d0.jpg","text":"TemporaryFile(/tmp/multipartBody3063877528668472733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668577706,"filename":"image_23012025_21_07_02_473619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2e8bebffc98518d205afe01c599ec6f.jpg","text":"TemporaryFile(/tmp/multipartBody7870325433139565014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668577706,"filename":"image_23012025_21_06_02_308505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/043e57b334901ffc2b1f4cf02e15b733.jpg","text":"TemporaryFile(/tmp/multipartBody1383024756970324081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668577706,"filename":"image_23012025_21_07_02_473619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78d0468e617503a980a7dea9d7ef51f0.jpg","text":"TemporaryFile(/tmp/multipartBody8959967180898643227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668577706,"filename":"image_23012025_21_06_02_308505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fc5016aec9bfaadf932f06ac72ef263.jpg","text":"TemporaryFile(/tmp/multipartBody3388654000187544063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668577706,"filename":"image_23012025_21_06_02_308505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b998b33105c2d3ae0de8ddd164ffd5d9.jpg","text":"TemporaryFile(/tmp/multipartBody1295998858054339260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668577706,"filename":"image_23012025_21_05_03_164040_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330880344","file1":"1330880340","file0":"1330880334","file4":"1330880352","file5":"1330880356","file3":"1330880349"},"map_files_photo_id_array":[{"photo_id":"1330880356","filename":"file5"},{"photo_id":"1330880344","filename":"file2"},{"photo_id":"1330880352","filename":"file4"},{"photo_id":"1330880340","filename":"file1"},{"photo_id":"1330880334","filename":"file0"},{"photo_id":"1330880349","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330880356":["hashtag1","hashtag2"]},{"1330880344":["hashtag1","hashtag2"]},{"1330880352":["hashtag1","hashtag2"]},{"1330880349":["hashtag1","hashtag2"]},{"1330880340":["hashtag1","hashtag2"]},{"1330880334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330880356, 1330880344, 1330880352, 1330880349, 1330880340, 1330880334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.37188959121704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:42:42.711562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_02_473619_0003.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_02_682049_0000.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_02_682049_0001.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_02_682049_0003.jpg', '/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_02_901091_0000.jpg', '/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_02_901091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_02_473619_0003.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_02_682049_0000.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_02_682049_0001.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_02_682049_0003.jpg
/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_02_901091_0000.jpg
/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_02_901091_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.640674591064453 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 22:43:02.549126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_02_473619_0003.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_02_682049_0000.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_02_682049_0001.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_02_682049_0003.jpg', '/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_02_901091_0000.jpg', '/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_02_901091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_02_473619_0003.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_02_682049_0000.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_02_682049_0001.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_02_682049_0003.jpg
/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_02_901091_0000.jpg
/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_02_901091_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330880561","1330880390","1330880504","1330880565","1330880394","1330880403"],"photo_ids_order":["1330880390","1330880394","1330880403","1330880504","1330880561","1330880565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a0443e78486d3b73c9ea83b21712d79.jpg","text":"TemporaryFile(/tmp/multipartBody3172655285502402228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668657668,"filename":"image_23012025_21_09_02_901091_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a74d855e7b8a3673ad459119cd70311d.jpg","text":"TemporaryFile(/tmp/multipartBody401706396227089513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668657668,"filename":"image_23012025_21_07_02_473619_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecdd37cec1f1baef90ca18e218c11101.jpg","text":"TemporaryFile(/tmp/multipartBody719083522352479616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668657668,"filename":"image_23012025_21_08_02_682049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6588f5da88e9b5b7b09227ea0e65e795.jpg","text":"TemporaryFile(/tmp/multipartBody7035068868735001399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668657668,"filename":"image_23012025_21_09_02_901091_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6446a217fd6c55b5577ea18caff55b0.jpg","text":"TemporaryFile(/tmp/multipartBody7684891930591454463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668657668,"filename":"image_23012025_21_08_02_682049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbf80ec60a09584532313f097e8f64d8.jpg","text":"TemporaryFile(/tmp/multipartBody1311182811475121258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668657668,"filename":"image_23012025_21_08_02_682049_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330880403","file1":"1330880394","file0":"1330880390","file4":"1330880561","file5":"1330880565","file3":"1330880504"},"map_files_photo_id_array":[{"photo_id":"1330880565","filename":"file5"},{"photo_id":"1330880403","filename":"file2"},{"photo_id":"1330880561","filename":"file4"},{"photo_id":"1330880394","filename":"file1"},{"photo_id":"1330880390","filename":"file0"},{"photo_id":"1330880504","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330880561":["hashtag1","hashtag2"]},{"1330880390":["hashtag1","hashtag2"]},{"1330880504":["hashtag1","hashtag2"]},{"1330880565":["hashtag1","hashtag2"]},{"1330880394":["hashtag1","hashtag2"]},{"1330880403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330880561, 1330880390, 1330880504, 1330880565, 1330880394, 1330880403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.403685092926025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 22:44:02.508920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_02_901091_0003.jpg', '/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_02_990689_0000.jpg', '/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_02_990689_0001.jpg', '/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_02_990689_0002.jpg', '/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_02_240522_0001.jpg', '/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_02_240522_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_02_901091_0003.jpg
/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_02_990689_0000.jpg
/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_02_990689_0001.jpg
/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_02_990689_0002.jpg
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_02_240522_0001.jpg
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_02_240522_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.684978485107422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:44:22.065685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_02_901091_0003.jpg', '/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_02_990689_0000.jpg', '/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_02_990689_0001.jpg', '/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_02_990689_0002.jpg', '/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_02_240522_0001.jpg', '/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_02_240522_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_02_901091_0003.jpg
/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_02_990689_0000.jpg
/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_02_990689_0001.jpg
/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_02_990689_0002.jpg
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_02_240522_0001.jpg
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_02_240522_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330880723","1330880726","1330880731","1330880713","1330880704","1330880699"],"photo_ids_order":["1330880699","1330880704","1330880713","1330880723","1330880726","1330880731"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8c946bdfdb75e2c60f13b3cae61127e.jpg","text":"TemporaryFile(/tmp/multipartBody7149155813987391162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668737096,"filename":"image_23012025_21_10_02_990689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f35fef354318f18bf53dd1adfe782da0.jpg","text":"TemporaryFile(/tmp/multipartBody2778205854056843357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668737096,"filename":"image_23012025_21_11_02_240522_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1cd3febdecbcd178055142bfb67f318.jpg","text":"TemporaryFile(/tmp/multipartBody5698319835667748028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668737096,"filename":"image_23012025_21_11_02_240522_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70fa17061e655b7e0cedbbd229c2c66c.jpg","text":"TemporaryFile(/tmp/multipartBody5007322510593729464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668737096,"filename":"image_23012025_21_10_02_990689_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11961ee36608e1d3fc8a4c8f023181ce.jpg","text":"TemporaryFile(/tmp/multipartBody6806463312541768745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668737096,"filename":"image_23012025_21_10_02_990689_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aab524bfd34256846c954baf3526472d.jpg","text":"TemporaryFile(/tmp/multipartBody7921587130777736345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668737096,"filename":"image_23012025_21_09_02_901091_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330880713","file1":"1330880704","file0":"1330880699","file4":"1330880726","file5":"1330880731","file3":"1330880723"},"map_files_photo_id_array":[{"photo_id":"1330880731","filename":"file5"},{"photo_id":"1330880713","filename":"file2"},{"photo_id":"1330880726","filename":"file4"},{"photo_id":"1330880704","filename":"file1"},{"photo_id":"1330880699","filename":"file0"},{"photo_id":"1330880723","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330880723":["hashtag1","hashtag2"]},{"1330880726":["hashtag1","hashtag2"]},{"1330880731":["hashtag1","hashtag2"]},{"1330880713":["hashtag1","hashtag2"]},{"1330880704":["hashtag1","hashtag2"]},{"1330880699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330880723, 1330880726, 1330880731, 1330880713, 1330880704, 1330880699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.51476979255676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:45:22.234357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_02_240522_0003.jpg', '/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_02_529515_0000.jpg', '/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_02_529515_0001.jpg', '/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_02_529515_0002.jpg', '/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_02_529515_0003.jpg', '/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_02_675290_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_02_240522_0003.jpg
/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_02_529515_0000.jpg
/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_02_529515_0001.jpg
/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_02_529515_0002.jpg
/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_02_529515_0003.jpg
/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_02_675290_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":["1330880801","1330880764","1330880775","1330880784","1330880805","1330880795"],"photo_ids_order":["1330880764","1330880775","1330880784","1330880795","1330880801","1330880805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f8f122bd9394dfebc7ec5ed82909e41.jpg","text":"TemporaryFile(/tmp/multipartBody1834339769780058370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668797289,"filename":"image_23012025_21_12_02_529515_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ede42cf830bc7682565be6626b0b7877.jpg","text":"TemporaryFile(/tmp/multipartBody5293747927434121727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668797289,"filename":"image_23012025_21_11_02_240522_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7088a9cc733c7a08a49c903f2e5cf8e.jpg","text":"TemporaryFile(/tmp/multipartBody4908370259035969250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668797289,"filename":"image_23012025_21_12_02_529515_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68122d480b4f9be25723be5722824413.jpg","text":"TemporaryFile(/tmp/multipartBody227317674145629001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668797289,"filename":"image_23012025_21_12_02_529515_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fea54ce62fa109f3420d3f4b8bf4f468.jpg","text":"TemporaryFile(/tmp/multipartBody7918605826733796801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668797289,"filename":"image_23012025_21_13_02_675290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f65600461fb41236193f938f4eff686.jpg","text":"TemporaryFile(/tmp/multipartBody2360375617089601670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668797289,"filename":"image_23012025_21_12_02_529515_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330880784","file1":"1330880775","file0":"1330880764","file4":"1330880801","file5":"1330880805","file3":"1330880795"},"map_files_photo_id_array":[{"photo_id":"1330880805","filename":"file5"},{"photo_id":"1330880784","filename":"file2"},{"photo_id":"1330880801","filename":"file4"},{"photo_id":"1330880775","filename":"file1"},{"photo_id":"1330880764","filename":"file0"},{"photo_id":"1330880795","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330880801":["hashtag1","hashtag2"]},{"1330880764":["hashtag1","hashtag2"]},{"1330880775":["hashtag1","hashtag2"]},{"1330880784":["hashtag1","hashtag2"]},{"1330880805":["hashtag1","hashtag2"]},{"1330880795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330880801, 1330880764, 1330880775, 1330880784, 1330880805, 1330880795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.9113245010376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:46:22.488944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_02_675290_0002.jpg', '/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_02_675290_0003.jpg', '/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_02_927408_0000.jpg', '/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_02_927408_0001.jpg', '/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_02_927408_0002.jpg', '/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_03_095979_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_02_675290_0002.jpg
/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_02_675290_0003.jpg
/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_02_927408_0000.jpg
/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_02_927408_0001.jpg
/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_02_927408_0002.jpg
/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_03_095979_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.677753448486328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:46:42.436417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_02_675290_0002.jpg', '/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_02_675290_0003.jpg', '/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_02_927408_0000.jpg', '/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_02_927408_0001.jpg', '/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_02_927408_0002.jpg', '/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_03_095979_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_02_675290_0002.jpg
/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_02_675290_0003.jpg
/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_02_927408_0000.jpg
/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_02_927408_0001.jpg
/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_02_927408_0002.jpg
/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_03_095979_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":["1330881361","1330881267","1330881336","1330881272","1330881260","1330881278"],"photo_ids_order":["1330881260","1330881267","1330881272","1330881278","1330881336","1330881361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75afff80d4f67494bc245e34ae2fde89.jpg","text":"TemporaryFile(/tmp/multipartBody4150762823917351661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668877484,"filename":"image_23012025_21_15_03_095979_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c39b201491313f881577a45071e1acf.jpg","text":"TemporaryFile(/tmp/multipartBody2978291117404810339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668877484,"filename":"image_23012025_21_13_02_675290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38962fb761d7d4e43886ac667f175ab3.jpg","text":"TemporaryFile(/tmp/multipartBody4078968756086463352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668877484,"filename":"image_23012025_21_14_02_927408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6fbecaf9f87b8511b3b164cd00f0af6.jpg","text":"TemporaryFile(/tmp/multipartBody9076136009618826009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668877484,"filename":"image_23012025_21_14_02_927408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0f7d2bb25ec7c0a56f40801c45b43b9.jpg","text":"TemporaryFile(/tmp/multipartBody246195949886745781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668877484,"filename":"image_23012025_21_13_02_675290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6d9c4d2c4260175c9e78208ad7be01f.jpg","text":"TemporaryFile(/tmp/multipartBody7995292075476371946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668877484,"filename":"image_23012025_21_14_02_927408_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330881272","file1":"1330881267","file0":"1330881260","file4":"1330881336","file5":"1330881361","file3":"1330881278"},"map_files_photo_id_array":[{"photo_id":"1330881361","filename":"file5"},{"photo_id":"1330881272","filename":"file2"},{"photo_id":"1330881336","filename":"file4"},{"photo_id":"1330881267","filename":"file1"},{"photo_id":"1330881260","filename":"file0"},{"photo_id":"1330881278","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330881361":["hashtag1","hashtag2"]},{"1330881267":["hashtag1","hashtag2"]},{"1330881336":["hashtag1","hashtag2"]},{"1330881272":["hashtag1","hashtag2"]},{"1330881260":["hashtag1","hashtag2"]},{"1330881278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330881361, 1330881267, 1330881336, 1330881272, 1330881260, 1330881278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.253480672836304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:47:42.623049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_03_095979_0001.jpg', '/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_03_095979_0002.jpg', '/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_03_095979_0003.jpg', '/home/pi/Desktop/images/23012025/21/16/image_23012025_21_16_02_218674_0001.jpg', '/home/pi/Desktop/images/23012025/21/16/image_23012025_21_16_02_218674_0002.jpg', '/home/pi/Desktop/images/23012025/21/16/image_23012025_21_16_02_218674_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_03_095979_0001.jpg
/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_03_095979_0002.jpg
/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_03_095979_0003.jpg
/home/pi/Desktop/images/23012025/21/16/image_23012025_21_16_02_218674_0001.jpg
/home/pi/Desktop/images/23012025/21/16/image_23012025_21_16_02_218674_0002.jpg
/home/pi/Desktop/images/23012025/21/16/image_23012025_21_16_02_218674_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":["1330881437","1330881419","1330881439","1330881433","1330881426","1330881414"],"photo_ids_order":["1330881414","1330881419","1330881426","1330881433","1330881437","1330881439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e07ebf2cd785c26a546d95226f62c14.jpg","text":"TemporaryFile(/tmp/multipartBody1215240326894240028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668937679,"filename":"image_23012025_21_16_02_218674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1616cd07b1c29366bbbf829d998de2c6.jpg","text":"TemporaryFile(/tmp/multipartBody2752542684196227594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668937679,"filename":"image_23012025_21_15_03_095979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cc769152ce03460bc79e5095d8dcf78.jpg","text":"TemporaryFile(/tmp/multipartBody8821336744693318409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668937679,"filename":"image_23012025_21_16_02_218674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/822124ff5ddce01628813208b97e3bda.jpg","text":"TemporaryFile(/tmp/multipartBody7146964336299519715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668937679,"filename":"image_23012025_21_16_02_218674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcf7bcb274b13b13d8f5180d539e6274.jpg","text":"TemporaryFile(/tmp/multipartBody7234480761612581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668937679,"filename":"image_23012025_21_15_03_095979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9dfea184ddce4bdff35cf3dc91258942.jpg","text":"TemporaryFile(/tmp/multipartBody4810532437683390154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668937679,"filename":"image_23012025_21_15_03_095979_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330881426","file1":"1330881419","file0":"1330881414","file4":"1330881437","file5":"1330881439","file3":"1330881433"},"map_files_photo_id_array":[{"photo_id":"1330881439","filename":"file5"},{"photo_id":"1330881426","filename":"file2"},{"photo_id":"1330881437","filename":"file4"},{"photo_id":"1330881419","filename":"file1"},{"photo_id":"1330881414","filename":"file0"},{"photo_id":"1330881433","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330881437":["hashtag1","hashtag2"]},{"1330881419":["hashtag1","hashtag2"]},{"1330881439":["hashtag1","hashtag2"]},{"1330881433":["hashtag1","hashtag2"]},{"1330881426":["hashtag1","hashtag2"]},{"1330881414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330881437, 1330881419, 1330881439, 1330881433, 1330881426, 1330881414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.44769215583801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 22:48:41.835299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_02_500008_0000.jpg', '/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_02_500008_0002.jpg', '/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_02_500008_0003.jpg', '/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0000.jpg', '/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0001.jpg', '/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_02_500008_0000.jpg
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_02_500008_0002.jpg
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_02_500008_0003.jpg
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0000.jpg
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0001.jpg
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.670653343200684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 22:49:02.676267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_02_500008_0000.jpg', '/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_02_500008_0002.jpg', '/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_02_500008_0003.jpg', '/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0000.jpg', '/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0001.jpg', '/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_02_500008_0000.jpg
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_02_500008_0002.jpg
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_02_500008_0003.jpg
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0000.jpg
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0001.jpg
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330881611","1330881512","1330881532","1330881591","1330881528","1330881527"],"photo_ids_order":["1330881512","1330881527","1330881528","1330881532","1330881591","1330881611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e307f318780b25dbfd14c456f352ce4.jpg","text":"TemporaryFile(/tmp/multipartBody2470164113651080202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669017804,"filename":"image_23012025_21_18_02_622845_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/513a80c51bf578a93b27e9588152647b.jpg","text":"TemporaryFile(/tmp/multipartBody8669735810139818497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669017804,"filename":"image_23012025_21_17_02_500008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4de855ae1a763540e7ba33b3681580ab.jpg","text":"TemporaryFile(/tmp/multipartBody352655230552771545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669017804,"filename":"image_23012025_21_18_02_622845_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bcfae1135e7f96f5d6fe55a04b60c712.jpg","text":"TemporaryFile(/tmp/multipartBody456828523853642859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669017804,"filename":"image_23012025_21_18_02_622845_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b99fc20deec2ccc649e185582b28abf5.jpg","text":"TemporaryFile(/tmp/multipartBody2460714862086556916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669017804,"filename":"image_23012025_21_17_02_500008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7b6d12ad63b70cb68b74ee01f21fd42.jpg","text":"TemporaryFile(/tmp/multipartBody3989153803517736701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669017804,"filename":"image_23012025_21_17_02_500008_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330881528","file1":"1330881527","file0":"1330881512","file4":"1330881591","file5":"1330881611","file3":"1330881532"},"map_files_photo_id_array":[{"photo_id":"1330881611","filename":"file5"},{"photo_id":"1330881528","filename":"file2"},{"photo_id":"1330881591","filename":"file4"},{"photo_id":"1330881527","filename":"file1"},{"photo_id":"1330881512","filename":"file0"},{"photo_id":"1330881532","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330881611":["hashtag1","hashtag2"]},{"1330881512":["hashtag1","hashtag2"]},{"1330881532":["hashtag1","hashtag2"]},{"1330881591":["hashtag1","hashtag2"]},{"1330881528":["hashtag1","hashtag2"]},{"1330881527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330881611, 1330881512, 1330881532, 1330881591, 1330881528, 1330881527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.263877153396606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 22:50:02.714626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0003.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0000.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0001.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0002.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0003.jpg', '/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_03_001108_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0003.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0000.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0001.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0002.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0003.jpg
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_03_001108_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.660796403884888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:50:22.269650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0003.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0000.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0001.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0002.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0003.jpg', '/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_03_001108_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_02_622845_0003.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0000.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0001.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0002.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_02_811516_0003.jpg
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_03_001108_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":["1330881656","1330881646","1330881660","1330881663","1330881642","1330881668"],"photo_ids_order":["1330881642","1330881646","1330881656","1330881660","1330881663","1330881668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b89e56838a54fa175dcd00436d48c566.jpg","text":"TemporaryFile(/tmp/multipartBody3962688580222193401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669097321,"filename":"image_23012025_21_19_02_811516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f47c86389514e419904e61f79b596f87.jpg","text":"TemporaryFile(/tmp/multipartBody4163735144271512728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669097321,"filename":"image_23012025_21_19_02_811516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e91642f4a336586b5cc40c43024b3d88.jpg","text":"TemporaryFile(/tmp/multipartBody8033592438875960154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669097321,"filename":"image_23012025_21_19_02_811516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db1d44b28b44248df7ef142a7338c7e8.jpg","text":"TemporaryFile(/tmp/multipartBody5908451074371469430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669097321,"filename":"image_23012025_21_19_02_811516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/482f5100a58a249036107e7070cc7c71.jpg","text":"TemporaryFile(/tmp/multipartBody7870942530413919622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669097321,"filename":"image_23012025_21_18_02_622845_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c2eec4b38683a5d9f9d1545f76690aa.jpg","text":"TemporaryFile(/tmp/multipartBody5973812806689129236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669097321,"filename":"image_23012025_21_20_03_001108_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330881656","file1":"1330881646","file0":"1330881642","file4":"1330881663","file5":"1330881668","file3":"1330881660"},"map_files_photo_id_array":[{"photo_id":"1330881668","filename":"file5"},{"photo_id":"1330881656","filename":"file2"},{"photo_id":"1330881663","filename":"file4"},{"photo_id":"1330881646","filename":"file1"},{"photo_id":"1330881642","filename":"file0"},{"photo_id":"1330881660","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330881656":["hashtag1","hashtag2"]},{"1330881646":["hashtag1","hashtag2"]},{"1330881660":["hashtag1","hashtag2"]},{"1330881663":["hashtag1","hashtag2"]},{"1330881642":["hashtag1","hashtag2"]},{"1330881668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330881656, 1330881646, 1330881660, 1330881663, 1330881642, 1330881668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.004669189453125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:51:22.401593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_03_001108_0001.jpg', '/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_03_001108_0002.jpg', '/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_03_001108_0003.jpg', '/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_02_162472_0000.jpg', '/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_02_162472_0001.jpg', '/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_02_162472_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_03_001108_0001.jpg
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_03_001108_0002.jpg
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_03_001108_0003.jpg
/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_02_162472_0000.jpg
/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_02_162472_0001.jpg
/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_02_162472_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330881704","1330881736","1330881715","1330881741","1330881717","1330881702"],"photo_ids_order":["1330881702","1330881704","1330881715","1330881717","1330881736","1330881741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2d4049b74bbc61643068e13fc103c02.jpg","text":"TemporaryFile(/tmp/multipartBody1864701723166156709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669157451,"filename":"image_23012025_21_20_03_001108_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd705024568009fb754284432d138e18.jpg","text":"TemporaryFile(/tmp/multipartBody7915943284453689330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669157451,"filename":"image_23012025_21_21_02_162472_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2b9f9855b80cddbba089e086460dea2.jpg","text":"TemporaryFile(/tmp/multipartBody1056790356042758186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669157451,"filename":"image_23012025_21_20_03_001108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/642bea424b8e4402eec5af9403b0c454.jpg","text":"TemporaryFile(/tmp/multipartBody9150397458963830030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669157451,"filename":"image_23012025_21_21_02_162472_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf6f62799bec74c6a532120ab7697bdb.jpg","text":"TemporaryFile(/tmp/multipartBody4411322978618601539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669157451,"filename":"image_23012025_21_21_02_162472_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d85b68290884a8b6ad1dd66aeb7e3896.jpg","text":"TemporaryFile(/tmp/multipartBody8058808127178418025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669157451,"filename":"image_23012025_21_20_03_001108_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330881715","file1":"1330881704","file0":"1330881702","file4":"1330881736","file5":"1330881741","file3":"1330881717"},"map_files_photo_id_array":[{"photo_id":"1330881741","filename":"file5"},{"photo_id":"1330881715","filename":"file2"},{"photo_id":"1330881736","filename":"file4"},{"photo_id":"1330881704","filename":"file1"},{"photo_id":"1330881702","filename":"file0"},{"photo_id":"1330881717","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330881704":["hashtag1","hashtag2"]},{"1330881736":["hashtag1","hashtag2"]},{"1330881715":["hashtag1","hashtag2"]},{"1330881741":["hashtag1","hashtag2"]},{"1330881717":["hashtag1","hashtag2"]},{"1330881702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330881704, 1330881736, 1330881715, 1330881741, 1330881717, 1330881702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.752867698669434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:52:22.616226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_02_162472_0003.jpg', '/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_02_419775_0000.jpg', '/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_02_419775_0001.jpg', '/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_02_419775_0002.jpg', '/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_02_419775_0003.jpg', '/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_02_508645_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_02_162472_0003.jpg
/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_02_419775_0000.jpg
/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_02_419775_0001.jpg
/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_02_419775_0002.jpg
/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_02_419775_0003.jpg
/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_02_508645_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":["1330881760","1330881763","1330881766","1330881777","1330881780","1330881785"],"photo_ids_order":["1330881760","1330881763","1330881766","1330881777","1330881780","1330881785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5076ecb43cb0af42ef1de6a2fb86800a.jpg","text":"TemporaryFile(/tmp/multipartBody6195841187041658324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669217661,"filename":"image_23012025_21_21_02_162472_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/953656ec303c50e3356ad1d4bee21835.jpg","text":"TemporaryFile(/tmp/multipartBody6984961975010027056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669217661,"filename":"image_23012025_21_22_02_419775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ac75f8ae54bab500f8a1ccb26a86ba7.jpg","text":"TemporaryFile(/tmp/multipartBody7454408755169268855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669217661,"filename":"image_23012025_21_22_02_419775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60fb664da1f3501479e8466cc40a58bf.jpg","text":"TemporaryFile(/tmp/multipartBody8452215835659548368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669217661,"filename":"image_23012025_21_22_02_419775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2456d5d7ff16affbc3127cff16671a77.jpg","text":"TemporaryFile(/tmp/multipartBody8596236168547999899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669217661,"filename":"image_23012025_21_22_02_419775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57b2fc1cb26babce2cad97fb97d43aba.jpg","text":"TemporaryFile(/tmp/multipartBody6406282015812745581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669217661,"filename":"image_23012025_21_23_02_508645_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330881766","file1":"1330881763","file0":"1330881760","file4":"1330881780","file5":"1330881785","file3":"1330881777"},"map_files_photo_id_array":[{"photo_id":"1330881785","filename":"file5"},{"photo_id":"1330881766","filename":"file2"},{"photo_id":"1330881780","filename":"file4"},{"photo_id":"1330881763","filename":"file1"},{"photo_id":"1330881760","filename":"file0"},{"photo_id":"1330881777","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330881760":["hashtag1","hashtag2"]},{"1330881763":["hashtag1","hashtag2"]},{"1330881766":["hashtag1","hashtag2"]},{"1330881777":["hashtag1","hashtag2"]},{"1330881780":["hashtag1","hashtag2"]},{"1330881785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330881760, 1330881763, 1330881766, 1330881777, 1330881780, 1330881785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.08853483200073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:53:21.844846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_02_508645_0002.jpg', '/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_02_508645_0003.jpg', '/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_02_711822_0000.jpg', '/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_02_711822_0001.jpg', '/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_02_711822_0003.jpg', '/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_02_910567_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_02_508645_0002.jpg
/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_02_508645_0003.jpg
/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_02_711822_0000.jpg
/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_02_711822_0001.jpg
/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_02_711822_0003.jpg
/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_02_910567_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":["1330881867","1330881849","1330881828","1330881837","1330881863","1330881845"],"photo_ids_order":["1330881828","1330881837","1330881845","1330881849","1330881863","1330881867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2457f4cd60fe3f8c2aaa46ff7799252b.jpg","text":"TemporaryFile(/tmp/multipartBody554386802398648027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669276914,"filename":"image_23012025_21_25_02_910567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/048c291e2bcfe950d6879ce29be32170.jpg","text":"TemporaryFile(/tmp/multipartBody4140442329244552851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669276914,"filename":"image_23012025_21_24_02_711822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5153e273f8b3ac2cf022cc386b039608.jpg","text":"TemporaryFile(/tmp/multipartBody3733663809233035701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669276914,"filename":"image_23012025_21_23_02_508645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7073d27a613774168a50b5108084ea97.jpg","text":"TemporaryFile(/tmp/multipartBody5615266213691931332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669276914,"filename":"image_23012025_21_23_02_508645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bffc8bf41c994482b92f86c72c8607b.jpg","text":"TemporaryFile(/tmp/multipartBody1752959077535300120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669276914,"filename":"image_23012025_21_24_02_711822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86d227b7299873ae9c12b1802ef987b6.jpg","text":"TemporaryFile(/tmp/multipartBody7323626334187372373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669276914,"filename":"image_23012025_21_24_02_711822_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330881845","file1":"1330881837","file0":"1330881828","file4":"1330881863","file5":"1330881867","file3":"1330881849"},"map_files_photo_id_array":[{"photo_id":"1330881867","filename":"file5"},{"photo_id":"1330881845","filename":"file2"},{"photo_id":"1330881863","filename":"file4"},{"photo_id":"1330881837","filename":"file1"},{"photo_id":"1330881828","filename":"file0"},{"photo_id":"1330881849","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330881867":["hashtag1","hashtag2"]},{"1330881849":["hashtag1","hashtag2"]},{"1330881828":["hashtag1","hashtag2"]},{"1330881837":["hashtag1","hashtag2"]},{"1330881863":["hashtag1","hashtag2"]},{"1330881845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330881867, 1330881849, 1330881828, 1330881837, 1330881863, 1330881845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.94116139411926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:54:21.980990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_02_910567_0001.jpg', '/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_02_910567_0002.jpg', '/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_03_068007_0000.jpg', '/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_03_068007_0001.jpg', '/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_03_068007_0002.jpg', '/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_03_068007_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_02_910567_0001.jpg
/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_02_910567_0002.jpg
/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_03_068007_0000.jpg
/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_03_068007_0001.jpg
/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_03_068007_0002.jpg
/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_03_068007_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":["1330881926","1330881898","1330881917","1330881922","1330881893","1330881881"],"photo_ids_order":["1330881881","1330881893","1330881898","1330881917","1330881922","1330881926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/731a6f668bdd0bafff60385fc955d275.jpg","text":"TemporaryFile(/tmp/multipartBody7852927199746812163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669337057,"filename":"image_23012025_21_26_03_068007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ddda6466d573aaae73a9c2aee193d62d.jpg","text":"TemporaryFile(/tmp/multipartBody8013629537700046983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669337057,"filename":"image_23012025_21_26_03_068007_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56d059506de965e9e351299fe85ea8b0.jpg","text":"TemporaryFile(/tmp/multipartBody4714263611288897488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669337057,"filename":"image_23012025_21_26_03_068007_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/870b0ef1f451b4d7d933ac82bfb3da29.jpg","text":"TemporaryFile(/tmp/multipartBody5046988418132105023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669337057,"filename":"image_23012025_21_26_03_068007_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07963b0772dcf272df836c4754dacf41.jpg","text":"TemporaryFile(/tmp/multipartBody3380227711291124612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669337057,"filename":"image_23012025_21_25_02_910567_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50fa53417463d383df32479a4ff746ff.jpg","text":"TemporaryFile(/tmp/multipartBody4960302271415348072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669337057,"filename":"image_23012025_21_25_02_910567_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330881898","file1":"1330881893","file0":"1330881881","file4":"1330881922","file5":"1330881926","file3":"1330881917"},"map_files_photo_id_array":[{"photo_id":"1330881926","filename":"file5"},{"photo_id":"1330881898","filename":"file2"},{"photo_id":"1330881922","filename":"file4"},{"photo_id":"1330881893","filename":"file1"},{"photo_id":"1330881881","filename":"file0"},{"photo_id":"1330881917","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330881926":["hashtag1","hashtag2"]},{"1330881898":["hashtag1","hashtag2"]},{"1330881917":["hashtag1","hashtag2"]},{"1330881922":["hashtag1","hashtag2"]},{"1330881893":["hashtag1","hashtag2"]},{"1330881881":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330881926, 1330881898, 1330881917, 1330881922, 1330881893, 1330881881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.517117977142334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:55:22.156175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_02_332628_0000.jpg', '/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_02_332628_0001.jpg', '/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_02_332628_0002.jpg', '/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_02_332628_0003.jpg', '/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_02_472106_0000.jpg', '/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_02_472106_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_02_332628_0000.jpg
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_02_332628_0001.jpg
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_02_332628_0002.jpg
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_02_332628_0003.jpg
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_02_472106_0000.jpg
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_02_472106_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":["1330881982","1330881973","1330881957","1330881987","1330881969","1330881992"],"photo_ids_order":["1330881957","1330881969","1330881973","1330881982","1330881987","1330881992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/666179b142b56d54b6073fb54c1a27af.jpg","text":"TemporaryFile(/tmp/multipartBody8023090986659974941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669397195,"filename":"image_23012025_21_27_02_332628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/057b361b6feb0975c5866d8ca2367a92.jpg","text":"TemporaryFile(/tmp/multipartBody637659237261613677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669397195,"filename":"image_23012025_21_27_02_332628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6bbf0d491212336a11c80d87893223f8.jpg","text":"TemporaryFile(/tmp/multipartBody3926345502821213264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669397195,"filename":"image_23012025_21_27_02_332628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14103c1fef11619c5a5553b96de35b5e.jpg","text":"TemporaryFile(/tmp/multipartBody1585578479661130255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669397195,"filename":"image_23012025_21_28_02_472106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff7c13ae6d18a92795455f3abc8d8c0b.jpg","text":"TemporaryFile(/tmp/multipartBody6719103156213502555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669397195,"filename":"image_23012025_21_27_02_332628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/072faed7d52638876a42a63745ecfbe1.jpg","text":"TemporaryFile(/tmp/multipartBody6658692929724238012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669397195,"filename":"image_23012025_21_28_02_472106_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330881973","file1":"1330881969","file0":"1330881957","file4":"1330881987","file5":"1330881992","file3":"1330881982"},"map_files_photo_id_array":[{"photo_id":"1330881992","filename":"file5"},{"photo_id":"1330881973","filename":"file2"},{"photo_id":"1330881987","filename":"file4"},{"photo_id":"1330881969","filename":"file1"},{"photo_id":"1330881957","filename":"file0"},{"photo_id":"1330881982","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330881982":["hashtag1","hashtag2"]},{"1330881973":["hashtag1","hashtag2"]},{"1330881957":["hashtag1","hashtag2"]},{"1330881987":["hashtag1","hashtag2"]},{"1330881969":["hashtag1","hashtag2"]},{"1330881992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330881982, 1330881973, 1330881957, 1330881987, 1330881969, 1330881992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.66007614135742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:56:22.378704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_02_472106_0002.jpg', '/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_02_472106_0003.jpg', '/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_02_706879_0000.jpg', '/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_02_706879_0001.jpg', '/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_02_706879_0002.jpg', '/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_02_706879_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_02_472106_0002.jpg
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_02_472106_0003.jpg
/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_02_706879_0000.jpg
/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_02_706879_0001.jpg
/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_02_706879_0002.jpg
/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_02_706879_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":["1330882077","1330882056","1330882143","1330882026","1330882029","1330882037"],"photo_ids_order":["1330882026","1330882029","1330882037","1330882056","1330882077","1330882143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12ac0f3d40a972771c1604e3367a1727.jpg","text":"TemporaryFile(/tmp/multipartBody6497186670314772614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669457438,"filename":"image_23012025_21_29_02_706879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e19e2c16764410393dfa851c046462bf.jpg","text":"TemporaryFile(/tmp/multipartBody6913156739753949891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669457438,"filename":"image_23012025_21_29_02_706879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44d82ca30a14ed731f2c9844b522a714.jpg","text":"TemporaryFile(/tmp/multipartBody5457485297053557238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669457438,"filename":"image_23012025_21_29_02_706879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aaa70b1c30d408d6a0a03c17a099da19.jpg","text":"TemporaryFile(/tmp/multipartBody5460642609494901635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669457438,"filename":"image_23012025_21_28_02_472106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e81b8cf64770608191a4611cb4be16c.jpg","text":"TemporaryFile(/tmp/multipartBody6665212233172894952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669457438,"filename":"image_23012025_21_28_02_472106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66863fe8b275381c3959966461fa43db.jpg","text":"TemporaryFile(/tmp/multipartBody1054288715377178394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669457438,"filename":"image_23012025_21_29_02_706879_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330882037","file1":"1330882029","file0":"1330882026","file4":"1330882077","file5":"1330882143","file3":"1330882056"},"map_files_photo_id_array":[{"photo_id":"1330882143","filename":"file5"},{"photo_id":"1330882037","filename":"file2"},{"photo_id":"1330882077","filename":"file4"},{"photo_id":"1330882029","filename":"file1"},{"photo_id":"1330882026","filename":"file0"},{"photo_id":"1330882056","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330882077":["hashtag1","hashtag2"]},{"1330882056":["hashtag1","hashtag2"]},{"1330882143":["hashtag1","hashtag2"]},{"1330882026":["hashtag1","hashtag2"]},{"1330882029":["hashtag1","hashtag2"]},{"1330882037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330882077, 1330882056, 1330882143, 1330882026, 1330882029, 1330882037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.56745743751526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 22:57:22.506977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0000.jpg', '/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0001.jpg', '/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0002.jpg', '/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0003.jpg', '/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_02_996019_0000.jpg', '/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_02_996019_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0000.jpg
/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0001.jpg
/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0002.jpg
/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0003.jpg
/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_02_996019_0000.jpg
/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_02_996019_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-23 22:59:02.429967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0000.jpg', '/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0001.jpg', '/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0002.jpg', '/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0003.jpg', '/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_02_996019_0000.jpg', '/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_02_996019_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0000.jpg
/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0001.jpg
/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0002.jpg
/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_02_796241_0003.jpg
/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_02_996019_0000.jpg
/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_02_996019_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":["1330882234","1330882228","1330882237","1330882221","1330882215","1330882232"],"photo_ids_order":["1330882215","1330882221","1330882228","1330882232","1330882234","1330882237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0aa22ee650a89cd02b9fe678809bdca6.jpg","text":"TemporaryFile(/tmp/multipartBody7573274124002637053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669617621,"filename":"image_23012025_21_31_02_996019_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd4547a3dc97b03a767e4676e7e52b7f.jpg","text":"TemporaryFile(/tmp/multipartBody6509394044127691484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669617621,"filename":"image_23012025_21_30_02_796241_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b087522a83a1e69d2ebe2f1eaea6abdd.jpg","text":"TemporaryFile(/tmp/multipartBody7006056837068525267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669617621,"filename":"image_23012025_21_31_02_996019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cacd589594735501923a7462020d5678.jpg","text":"TemporaryFile(/tmp/multipartBody5124286225676643335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669617621,"filename":"image_23012025_21_30_02_796241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5cbe3cb595c42870825401120421351.jpg","text":"TemporaryFile(/tmp/multipartBody4876830632927774688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669617621,"filename":"image_23012025_21_30_02_796241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/388d059eac3c5a2e7dca9aae95798502.jpg","text":"TemporaryFile(/tmp/multipartBody6511150789693580152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669617621,"filename":"image_23012025_21_30_02_796241_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330882228","file1":"1330882221","file0":"1330882215","file4":"1330882234","file5":"1330882237","file3":"1330882232"},"map_files_photo_id_array":[{"photo_id":"1330882237","filename":"file5"},{"photo_id":"1330882228","filename":"file2"},{"photo_id":"1330882234","filename":"file4"},{"photo_id":"1330882221","filename":"file1"},{"photo_id":"1330882215","filename":"file0"},{"photo_id":"1330882232","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330882234":["hashtag1","hashtag2"]},{"1330882228":["hashtag1","hashtag2"]},{"1330882237":["hashtag1","hashtag2"]},{"1330882221":["hashtag1","hashtag2"]},{"1330882215":["hashtag1","hashtag2"]},{"1330882232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330882234, 1330882228, 1330882237, 1330882221, 1330882215, 1330882232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.718974351882935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 23:00:02.433601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_02_996019_0002.jpg', '/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_02_996019_0003.jpg', '/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_02_160780_0000.jpg', '/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_02_160780_0001.jpg', '/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_02_160780_0002.jpg', '/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_02_403343_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_02_996019_0002.jpg
/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_02_996019_0003.jpg
/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_02_160780_0000.jpg
/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_02_160780_0001.jpg
/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_02_160780_0002.jpg
/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_02_403343_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":["1330882261","1330882270","1330882255","1330882260","1330882263","1330882265"],"photo_ids_order":["1330882255","1330882260","1330882261","1330882263","1330882265","1330882270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2421fbe3dfbb9e61c4347ee1ca1dce88.jpg","text":"TemporaryFile(/tmp/multipartBody4169027103316983628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669677512,"filename":"image_23012025_21_32_02_160780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/997478ad75a60eb18211b073dc1b65ce.jpg","text":"TemporaryFile(/tmp/multipartBody1139363589973881791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669677512,"filename":"image_23012025_21_33_02_403343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f0f7712104cd48b0e28afb98a4da641.jpg","text":"TemporaryFile(/tmp/multipartBody5047432626830243466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669677512,"filename":"image_23012025_21_31_02_996019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24a29e7684a1ab070bb95b72d296ad98.jpg","text":"TemporaryFile(/tmp/multipartBody5144063585977168610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669677512,"filename":"image_23012025_21_31_02_996019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b731ba558ec96e32c58c349542bc86d.jpg","text":"TemporaryFile(/tmp/multipartBody6775814080328717467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669677512,"filename":"image_23012025_21_32_02_160780_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be2c70e08471e7a5431e53e82ef8f83a.jpg","text":"TemporaryFile(/tmp/multipartBody8219986751635471380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669677512,"filename":"image_23012025_21_32_02_160780_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330882261","file1":"1330882260","file0":"1330882255","file4":"1330882265","file5":"1330882270","file3":"1330882263"},"map_files_photo_id_array":[{"photo_id":"1330882270","filename":"file5"},{"photo_id":"1330882261","filename":"file2"},{"photo_id":"1330882265","filename":"file4"},{"photo_id":"1330882260","filename":"file1"},{"photo_id":"1330882255","filename":"file0"},{"photo_id":"1330882263","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330882261":["hashtag1","hashtag2"]},{"1330882270":["hashtag1","hashtag2"]},{"1330882255":["hashtag1","hashtag2"]},{"1330882260":["hashtag1","hashtag2"]},{"1330882263":["hashtag1","hashtag2"]},{"1330882265":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330882261, 1330882270, 1330882255, 1330882260, 1330882263, 1330882265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.96953725814819 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 23:01:02.957656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_02_403343_0001.jpg', '/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_02_403343_0002.jpg', '/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_02_403343_0003.jpg', '/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_02_509066_0000.jpg', '/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_02_509066_0001.jpg', '/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_02_509066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_02_403343_0001.jpg
/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_02_403343_0002.jpg
/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_02_403343_0003.jpg
/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_02_509066_0000.jpg
/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_02_509066_0001.jpg
/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_02_509066_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330882330","1330882315","1330882323","1330882326","1330882337","1330882319"],"photo_ids_order":["1330882315","1330882319","1330882323","1330882326","1330882330","1330882337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a40706b8a5ab516b4178bc0b35f5d5a0.jpg","text":"TemporaryFile(/tmp/multipartBody3382354379462232824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669738103,"filename":"image_23012025_21_34_02_509066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/882e14f6061f1ce6da14ddef9f9a5621.jpg","text":"TemporaryFile(/tmp/multipartBody3068275404890837465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669738103,"filename":"image_23012025_21_33_02_403343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd9281773582799f3aefd0da704c28a0.jpg","text":"TemporaryFile(/tmp/multipartBody964698536453705927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669738103,"filename":"image_23012025_21_33_02_403343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2be69c40b1fabb400c57a2aa6ae8123.jpg","text":"TemporaryFile(/tmp/multipartBody3581390433090611534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669738103,"filename":"image_23012025_21_34_02_509066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/423ae5ffff1f2616d08ddeb1b746bad0.jpg","text":"TemporaryFile(/tmp/multipartBody6769818870234572826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669738103,"filename":"image_23012025_21_34_02_509066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e3ca726e8cec14a6fd4389e17445a9f.jpg","text":"TemporaryFile(/tmp/multipartBody2815331388182661335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669738103,"filename":"image_23012025_21_33_02_403343_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330882323","file1":"1330882319","file0":"1330882315","file4":"1330882330","file5":"1330882337","file3":"1330882326"},"map_files_photo_id_array":[{"photo_id":"1330882337","filename":"file5"},{"photo_id":"1330882323","filename":"file2"},{"photo_id":"1330882330","filename":"file4"},{"photo_id":"1330882319","filename":"file1"},{"photo_id":"1330882315","filename":"file0"},{"photo_id":"1330882326","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330882330":["hashtag1","hashtag2"]},{"1330882315":["hashtag1","hashtag2"]},{"1330882323":["hashtag1","hashtag2"]},{"1330882326":["hashtag1","hashtag2"]},{"1330882337":["hashtag1","hashtag2"]},{"1330882319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330882330, 1330882315, 1330882323, 1330882326, 1330882337, 1330882319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.37585783004761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 23:02:02.826805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_02_509066_0003.jpg', '/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_02_714520_0000.jpg', '/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_02_714520_0001.jpg', '/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_02_714520_0002.jpg', '/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_02_714520_0003.jpg', '/home/pi/Desktop/images/23012025/21/36/image_23012025_21_36_03_014950_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_02_509066_0003.jpg
/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_02_714520_0000.jpg
/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_02_714520_0001.jpg
/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_02_714520_0002.jpg
/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_02_714520_0003.jpg
/home/pi/Desktop/images/23012025/21/36/image_23012025_21_36_03_014950_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":["1330882432","1330882417","1330882440","1330882428","1330882430","1330882436"],"photo_ids_order":["1330882417","1330882428","1330882430","1330882432","1330882436","1330882440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b60d984a255499bf310e39fbeb0124ad.jpg","text":"TemporaryFile(/tmp/multipartBody8169320164959152579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669797936,"filename":"image_23012025_21_35_02_714520_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/685bf22a3241ef78408493f6a69f6d64.jpg","text":"TemporaryFile(/tmp/multipartBody7952199095517614044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669797936,"filename":"image_23012025_21_34_02_509066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/380810044fa5ab3b1dd2125440fedad8.jpg","text":"TemporaryFile(/tmp/multipartBody8771831382938339250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669797936,"filename":"image_23012025_21_36_03_014950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29255bf6f90e9d6604d4cb1e24a44e11.jpg","text":"TemporaryFile(/tmp/multipartBody3068329934201186638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669797936,"filename":"image_23012025_21_35_02_714520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea203bf9fbe676b023af35c4428a327c.jpg","text":"TemporaryFile(/tmp/multipartBody430664815015152344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669797936,"filename":"image_23012025_21_35_02_714520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ffa9802738fa46dc311b82d64c2f7f3d.jpg","text":"TemporaryFile(/tmp/multipartBody5588355147730905907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669797936,"filename":"image_23012025_21_35_02_714520_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330882430","file1":"1330882428","file0":"1330882417","file4":"1330882436","file5":"1330882440","file3":"1330882432"},"map_files_photo_id_array":[{"photo_id":"1330882440","filename":"file5"},{"photo_id":"1330882430","filename":"file2"},{"photo_id":"1330882436","filename":"file4"},{"photo_id":"1330882428","filename":"file1"},{"photo_id":"1330882417","filename":"file0"},{"photo_id":"1330882432","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330882432":["hashtag1","hashtag2"]},{"1330882417":["hashtag1","hashtag2"]},{"1330882440":["hashtag1","hashtag2"]},{"1330882428":["hashtag1","hashtag2"]},{"1330882430":["hashtag1","hashtag2"]},{"1330882436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330882432, 1330882417, 1330882440, 1330882428, 1330882430, 1330882436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.46871089935303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 23:03:03.333414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/36/image_23012025_21_36_03_014950_0001.jpg', '/home/pi/Desktop/images/23012025/21/36/image_23012025_21_36_03_014950_0002.jpg', '/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_0000.jpg', '/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_0001.jpg', '/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_0002.jpg', '/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/36/image_23012025_21_36_03_014950_0001.jpg
/home/pi/Desktop/images/23012025/21/36/image_23012025_21_36_03_014950_0002.jpg
/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_0000.jpg
/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_0001.jpg
/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_0002.jpg
/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_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.718652963638306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:03:22.665861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/36/image_23012025_21_36_03_014950_0001.jpg', '/home/pi/Desktop/images/23012025/21/36/image_23012025_21_36_03_014950_0002.jpg', '/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_0000.jpg', '/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_0001.jpg', '/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_0002.jpg', '/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/36/image_23012025_21_36_03_014950_0001.jpg
/home/pi/Desktop/images/23012025/21/36/image_23012025_21_36_03_014950_0002.jpg
/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_0000.jpg
/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_0001.jpg
/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_0002.jpg
/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_02_268655_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":["1330882564","1330882557","1330882562","1330882535","1330882585","1330882579"],"photo_ids_order":["1330882535","1330882557","1330882562","1330882564","1330882579","1330882585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a70f083fb3e9dc910dbf51bd01fc7dd1.jpg","text":"TemporaryFile(/tmp/multipartBody1554566587123832605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669877712,"filename":"image_23012025_21_37_02_268655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6ca8aa8372ea556bb40460ab933a3bd.jpg","text":"TemporaryFile(/tmp/multipartBody35974450402200815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669877712,"filename":"image_23012025_21_36_03_014950_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe44a413a38be496de83c9f05ad955a2.jpg","text":"TemporaryFile(/tmp/multipartBody7580086810940155381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669877712,"filename":"image_23012025_21_37_02_268655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa256213b068463301f8ba46532b1267.jpg","text":"TemporaryFile(/tmp/multipartBody9004626409607601455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669877712,"filename":"image_23012025_21_36_03_014950_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b0d6b15e2a95a49c2c893042b2e1932.jpg","text":"TemporaryFile(/tmp/multipartBody2127081561822173234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669877712,"filename":"image_23012025_21_37_02_268655_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0107bb2f45b5496f31121d9176ebaae9.jpg","text":"TemporaryFile(/tmp/multipartBody1265162057777601483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669877712,"filename":"image_23012025_21_37_02_268655_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330882562","file1":"1330882557","file0":"1330882535","file4":"1330882579","file5":"1330882585","file3":"1330882564"},"map_files_photo_id_array":[{"photo_id":"1330882585","filename":"file5"},{"photo_id":"1330882562","filename":"file2"},{"photo_id":"1330882579","filename":"file4"},{"photo_id":"1330882557","filename":"file1"},{"photo_id":"1330882535","filename":"file0"},{"photo_id":"1330882564","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330882564":["hashtag1","hashtag2"]},{"1330882557":["hashtag1","hashtag2"]},{"1330882562":["hashtag1","hashtag2"]},{"1330882535":["hashtag1","hashtag2"]},{"1330882585":["hashtag1","hashtag2"]},{"1330882579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330882564, 1330882557, 1330882562, 1330882535, 1330882585, 1330882579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.89447569847107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:04:22.818490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/38/image_23012025_21_38_02_388863_0000.jpg', '/home/pi/Desktop/images/23012025/21/38/image_23012025_21_38_02_388863_0001.jpg', '/home/pi/Desktop/images/23012025/21/38/image_23012025_21_38_02_388863_0002.jpg', '/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_02_614755_0000.jpg', '/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_02_614755_0001.jpg', '/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_02_614755_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/38/image_23012025_21_38_02_388863_0000.jpg
/home/pi/Desktop/images/23012025/21/38/image_23012025_21_38_02_388863_0001.jpg
/home/pi/Desktop/images/23012025/21/38/image_23012025_21_38_02_388863_0002.jpg
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_02_614755_0000.jpg
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_02_614755_0001.jpg
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_02_614755_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":["1330882621","1330882624","1330882618","1330882600","1330882628","1330882690"],"photo_ids_order":["1330882600","1330882618","1330882621","1330882624","1330882628","1330882690"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b4a3a7d6df3f3cf4c2b0d8d14f485bf.jpg","text":"TemporaryFile(/tmp/multipartBody7716860537140127944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669938093,"filename":"image_23012025_21_38_02_388863_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37676f657627f47498a71e130b91410e.jpg","text":"TemporaryFile(/tmp/multipartBody4528523625842943804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669938093,"filename":"image_23012025_21_39_02_614755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/010042a87453d55525fe42416457ddeb.jpg","text":"TemporaryFile(/tmp/multipartBody2380224073008863955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669938093,"filename":"image_23012025_21_38_02_388863_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ac32a75cfac5cf8e9f745bb921c33cd.jpg","text":"TemporaryFile(/tmp/multipartBody3959718914476727736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669938093,"filename":"image_23012025_21_38_02_388863_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/469cc594c8ca7f91915fbbf2ea3c244a.jpg","text":"TemporaryFile(/tmp/multipartBody7144838285472886169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669938093,"filename":"image_23012025_21_39_02_614755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61aab677960b6fbb746331b946c4cea0.jpg","text":"TemporaryFile(/tmp/multipartBody8883610813110025207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669938093,"filename":"image_23012025_21_39_02_614755_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330882621","file1":"1330882618","file0":"1330882600","file4":"1330882628","file5":"1330882690","file3":"1330882624"},"map_files_photo_id_array":[{"photo_id":"1330882690","filename":"file5"},{"photo_id":"1330882621","filename":"file2"},{"photo_id":"1330882628","filename":"file4"},{"photo_id":"1330882618","filename":"file1"},{"photo_id":"1330882600","filename":"file0"},{"photo_id":"1330882624","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330882621":["hashtag1","hashtag2"]},{"1330882624":["hashtag1","hashtag2"]},{"1330882618":["hashtag1","hashtag2"]},{"1330882600":["hashtag1","hashtag2"]},{"1330882628":["hashtag1","hashtag2"]},{"1330882690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330882621, 1330882624, 1330882618, 1330882600, 1330882628, 1330882690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.5973904132843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:05:21.928056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_02_819987_0000.jpg', '/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_02_819987_0001.jpg', '/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_02_819987_0002.jpg', '/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_02_819987_0003.jpg', '/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_02_869796_0000.jpg', '/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_02_869796_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_02_819987_0000.jpg
/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_02_819987_0001.jpg
/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_02_819987_0002.jpg
/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_02_819987_0003.jpg
/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_02_869796_0000.jpg
/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_02_869796_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":["1330882732","1330882741","1330882746","1330882734","1330882739","1330882730"],"photo_ids_order":["1330882730","1330882732","1330882734","1330882739","1330882741","1330882746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb171d0fef74a2891359ab02afb95b1f.jpg","text":"TemporaryFile(/tmp/multipartBody5004776062194810067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669997372,"filename":"image_23012025_21_40_02_819987_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f744514ef86552fc1e91e28f89fc2fe3.jpg","text":"TemporaryFile(/tmp/multipartBody1852185718001523058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669997372,"filename":"image_23012025_21_41_02_869796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/186327d80d0c952b2cbbb9d6c9b9c730.jpg","text":"TemporaryFile(/tmp/multipartBody762028184784610592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669997372,"filename":"image_23012025_21_41_02_869796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8958203c81a773711014a2af55333922.jpg","text":"TemporaryFile(/tmp/multipartBody3602809954996384221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669997372,"filename":"image_23012025_21_40_02_819987_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57598fc6e3ea5f0e8d45b9f22acdedae.jpg","text":"TemporaryFile(/tmp/multipartBody3200982337144845181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669997372,"filename":"image_23012025_21_40_02_819987_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d6b05d3237c6e5f83f2cd5cd6b9e6a7.jpg","text":"TemporaryFile(/tmp/multipartBody6341528811012142847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669997372,"filename":"image_23012025_21_40_02_819987_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330882734","file1":"1330882732","file0":"1330882730","file4":"1330882741","file5":"1330882746","file3":"1330882739"},"map_files_photo_id_array":[{"photo_id":"1330882746","filename":"file5"},{"photo_id":"1330882734","filename":"file2"},{"photo_id":"1330882741","filename":"file4"},{"photo_id":"1330882732","filename":"file1"},{"photo_id":"1330882730","filename":"file0"},{"photo_id":"1330882739","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330882732":["hashtag1","hashtag2"]},{"1330882741":["hashtag1","hashtag2"]},{"1330882746":["hashtag1","hashtag2"]},{"1330882734":["hashtag1","hashtag2"]},{"1330882739":["hashtag1","hashtag2"]},{"1330882730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330882732, 1330882741, 1330882746, 1330882734, 1330882739, 1330882730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.54705834388733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:06:22.164811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_02_869796_0002.jpg', '/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_02_869796_0003.jpg', '/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_03_081644_0000.jpg', '/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_03_081644_0001.jpg', '/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_03_081644_0002.jpg', '/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_03_081644_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_02_869796_0002.jpg
/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_02_869796_0003.jpg
/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_03_081644_0000.jpg
/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_03_081644_0001.jpg
/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_03_081644_0002.jpg
/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_03_081644_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":["1330882780","1330882804","1330882794","1330882776","1330882790","1330882784"],"photo_ids_order":["1330882776","1330882780","1330882784","1330882790","1330882794","1330882804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6004cf47b6d556e568e121d80f31127b.jpg","text":"TemporaryFile(/tmp/multipartBody3298020736818829171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670058058,"filename":"image_23012025_21_41_02_869796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62391164aa643d4b9097c2ad18bb15b7.jpg","text":"TemporaryFile(/tmp/multipartBody1062666233416360747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670058058,"filename":"image_23012025_21_42_03_081644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/334c8bf252de66f38c64576249ca0c1e.jpg","text":"TemporaryFile(/tmp/multipartBody4211465854571456976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670058058,"filename":"image_23012025_21_42_03_081644_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3af890833dfc4856502c6833825f6203.jpg","text":"TemporaryFile(/tmp/multipartBody7004733103745638018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670058058,"filename":"image_23012025_21_41_02_869796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2ce9bdef9172a2f9f590dcfda8e47c6.jpg","text":"TemporaryFile(/tmp/multipartBody3510156443566461564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670058058,"filename":"image_23012025_21_42_03_081644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93f47c64ef50d27d943d5439a7536d11.jpg","text":"TemporaryFile(/tmp/multipartBody5275586698931477287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670058058,"filename":"image_23012025_21_42_03_081644_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330882784","file1":"1330882780","file0":"1330882776","file4":"1330882794","file5":"1330882804","file3":"1330882790"},"map_files_photo_id_array":[{"photo_id":"1330882804","filename":"file5"},{"photo_id":"1330882784","filename":"file2"},{"photo_id":"1330882794","filename":"file4"},{"photo_id":"1330882780","filename":"file1"},{"photo_id":"1330882776","filename":"file0"},{"photo_id":"1330882790","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330882780":["hashtag1","hashtag2"]},{"1330882804":["hashtag1","hashtag2"]},{"1330882794":["hashtag1","hashtag2"]},{"1330882776":["hashtag1","hashtag2"]},{"1330882790":["hashtag1","hashtag2"]},{"1330882784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330882780, 1330882804, 1330882794, 1330882776, 1330882790, 1330882784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.614625215530396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:07:22.300122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/43/image_23012025_21_43_02_257307_0000.jpg', '/home/pi/Desktop/images/23012025/21/43/image_23012025_21_43_02_257307_0001.jpg', '/home/pi/Desktop/images/23012025/21/43/image_23012025_21_43_02_257307_0002.jpg', '/home/pi/Desktop/images/23012025/21/43/image_23012025_21_43_02_257307_0003.jpg', '/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_02_429314_0000.jpg', '/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_02_429314_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/43/image_23012025_21_43_02_257307_0000.jpg
/home/pi/Desktop/images/23012025/21/43/image_23012025_21_43_02_257307_0001.jpg
/home/pi/Desktop/images/23012025/21/43/image_23012025_21_43_02_257307_0002.jpg
/home/pi/Desktop/images/23012025/21/43/image_23012025_21_43_02_257307_0003.jpg
/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_02_429314_0000.jpg
/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_02_429314_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":["1330883002","1330882998","1330883009","1330883012","1330883006","1330882993"],"photo_ids_order":["1330882993","1330882998","1330883002","1330883006","1330883009","1330883012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/305631b93e53a5032d7d64b818e4573f.jpg","text":"TemporaryFile(/tmp/multipartBody500823131955865259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670118481,"filename":"image_23012025_21_43_02_257307_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29843f60c203a3617da87ee0dae15aa7.jpg","text":"TemporaryFile(/tmp/multipartBody6390678223624686237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670118481,"filename":"image_23012025_21_43_02_257307_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76387ee0fb830d1eedebf583fd2d057c.jpg","text":"TemporaryFile(/tmp/multipartBody981837784108789942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670118481,"filename":"image_23012025_21_44_02_429314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d23809e0936ba56ba6c405008b2a678.jpg","text":"TemporaryFile(/tmp/multipartBody7479728727759931975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670118481,"filename":"image_23012025_21_44_02_429314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b705cb29c4e2994c2ec085d84172bc77.jpg","text":"TemporaryFile(/tmp/multipartBody8831687347351586061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670118481,"filename":"image_23012025_21_43_02_257307_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6be6a2aa4f7025b6f305008a01fccf69.jpg","text":"TemporaryFile(/tmp/multipartBody912100997057396841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670118481,"filename":"image_23012025_21_43_02_257307_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330883002","file1":"1330882998","file0":"1330882993","file4":"1330883009","file5":"1330883012","file3":"1330883006"},"map_files_photo_id_array":[{"photo_id":"1330883012","filename":"file5"},{"photo_id":"1330883002","filename":"file2"},{"photo_id":"1330883009","filename":"file4"},{"photo_id":"1330882998","filename":"file1"},{"photo_id":"1330882993","filename":"file0"},{"photo_id":"1330883006","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330883002":["hashtag1","hashtag2"]},{"1330882998":["hashtag1","hashtag2"]},{"1330883009":["hashtag1","hashtag2"]},{"1330883012":["hashtag1","hashtag2"]},{"1330883006":["hashtag1","hashtag2"]},{"1330882993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330883002, 1330882998, 1330883009, 1330883012, 1330883006, 1330882993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.655821561813354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:08:22.443044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_02_429314_0002.jpg', '/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_02_429314_0003.jpg', '/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_02_645542_0000.jpg', '/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_02_645542_0001.jpg', '/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_02_645542_0002.jpg', '/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_02_645542_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_02_429314_0002.jpg
/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_02_429314_0003.jpg
/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_02_645542_0000.jpg
/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_02_645542_0001.jpg
/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_02_645542_0002.jpg
/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_02_645542_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":["1330883926","1330883931","1330883915","1330883893","1330883887","1330883881"],"photo_ids_order":["1330883881","1330883887","1330883893","1330883915","1330883926","1330883931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab3f0aaa763614acb9ee8cdc311cace4.jpg","text":"TemporaryFile(/tmp/multipartBody1511151780101286554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670178956,"filename":"image_23012025_21_45_02_645542_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a298bf4d3164fa73c7b8675adefc5011.jpg","text":"TemporaryFile(/tmp/multipartBody9108144242458444715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670178956,"filename":"image_23012025_21_45_02_645542_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bbb76b6b9e668dd0440cd7d3e7ba159.jpg","text":"TemporaryFile(/tmp/multipartBody2951344672946578028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670178956,"filename":"image_23012025_21_45_02_645542_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88bb023327db018e36de61d138a99f81.jpg","text":"TemporaryFile(/tmp/multipartBody8583258631097576209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670178956,"filename":"image_23012025_21_45_02_645542_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b1d231f5b444a5fb2de05392bb130ce.jpg","text":"TemporaryFile(/tmp/multipartBody2711711341975254643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670178956,"filename":"image_23012025_21_44_02_429314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ae18295fd6fe121275dabede4c9b430.jpg","text":"TemporaryFile(/tmp/multipartBody7643053859963414404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670178956,"filename":"image_23012025_21_44_02_429314_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330883893","file1":"1330883887","file0":"1330883881","file4":"1330883926","file5":"1330883931","file3":"1330883915"},"map_files_photo_id_array":[{"photo_id":"1330883931","filename":"file5"},{"photo_id":"1330883893","filename":"file2"},{"photo_id":"1330883926","filename":"file4"},{"photo_id":"1330883887","filename":"file1"},{"photo_id":"1330883881","filename":"file0"},{"photo_id":"1330883915","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330883926":["hashtag1","hashtag2"]},{"1330883931":["hashtag1","hashtag2"]},{"1330883915":["hashtag1","hashtag2"]},{"1330883893":["hashtag1","hashtag2"]},{"1330883887":["hashtag1","hashtag2"]},{"1330883881":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330883926, 1330883931, 1330883915, 1330883893, 1330883887, 1330883881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.83485245704651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:09:22.687717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/46/image_23012025_21_46_02_828969_0000.jpg', '/home/pi/Desktop/images/23012025/21/46/image_23012025_21_46_02_828969_0001.jpg', '/home/pi/Desktop/images/23012025/21/46/image_23012025_21_46_02_828969_0002.jpg', '/home/pi/Desktop/images/23012025/21/46/image_23012025_21_46_02_828969_0003.jpg', '/home/pi/Desktop/images/23012025/21/47/image_23012025_21_47_02_948967_0000.jpg', '/home/pi/Desktop/images/23012025/21/47/image_23012025_21_47_02_948967_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/46/image_23012025_21_46_02_828969_0000.jpg
/home/pi/Desktop/images/23012025/21/46/image_23012025_21_46_02_828969_0001.jpg
/home/pi/Desktop/images/23012025/21/46/image_23012025_21_46_02_828969_0002.jpg
/home/pi/Desktop/images/23012025/21/46/image_23012025_21_46_02_828969_0003.jpg
/home/pi/Desktop/images/23012025/21/47/image_23012025_21_47_02_948967_0000.jpg
/home/pi/Desktop/images/23012025/21/47/image_23012025_21_47_02_948967_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":["1330883973","1330883976","1330884059","1330883978","1330883980","1330883983"],"photo_ids_order":["1330883973","1330883976","1330883978","1330883980","1330883983","1330884059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6541e4b1b1a4896c54d5ebd555f2f229.jpg","text":"TemporaryFile(/tmp/multipartBody809956077873192406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670239256,"filename":"image_23012025_21_46_02_828969_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/819c287137002980890602ac754a5323.jpg","text":"TemporaryFile(/tmp/multipartBody8630338151915669163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670239256,"filename":"image_23012025_21_46_02_828969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd0d9b24cc858a1390fae8f88f20397d.jpg","text":"TemporaryFile(/tmp/multipartBody8620121516780029655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670239256,"filename":"image_23012025_21_47_02_948967_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4fa009ffc4b1b5aace2325e72ae37882.jpg","text":"TemporaryFile(/tmp/multipartBody5229340383735156067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670239256,"filename":"image_23012025_21_46_02_828969_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d539fd4654553388f41049b3da6609c0.jpg","text":"TemporaryFile(/tmp/multipartBody3938963270825126012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670239256,"filename":"image_23012025_21_46_02_828969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d296d913f38b8730ede26dd9221038c.jpg","text":"TemporaryFile(/tmp/multipartBody5669288447639468140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670239256,"filename":"image_23012025_21_47_02_948967_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330883978","file1":"1330883976","file0":"1330883973","file4":"1330883983","file5":"1330884059","file3":"1330883980"},"map_files_photo_id_array":[{"photo_id":"1330884059","filename":"file5"},{"photo_id":"1330883978","filename":"file2"},{"photo_id":"1330883983","filename":"file4"},{"photo_id":"1330883976","filename":"file1"},{"photo_id":"1330883973","filename":"file0"},{"photo_id":"1330883980","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330883973":["hashtag1","hashtag2"]},{"1330883976":["hashtag1","hashtag2"]},{"1330884059":["hashtag1","hashtag2"]},{"1330883978":["hashtag1","hashtag2"]},{"1330883980":["hashtag1","hashtag2"]},{"1330883983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330883973, 1330883976, 1330884059, 1330883978, 1330883980, 1330883983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.85455870628357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:10:21.810868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/47/image_23012025_21_47_02_948967_0002.jpg', '/home/pi/Desktop/images/23012025/21/47/image_23012025_21_47_02_948967_0003.jpg', '/home/pi/Desktop/images/23012025/21/48/image_23012025_21_48_02_156572_0000.jpg', '/home/pi/Desktop/images/23012025/21/48/image_23012025_21_48_02_156572_0001.jpg', '/home/pi/Desktop/images/23012025/21/48/image_23012025_21_48_02_156572_0002.jpg', '/home/pi/Desktop/images/23012025/21/48/image_23012025_21_48_02_156572_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/47/image_23012025_21_47_02_948967_0002.jpg
/home/pi/Desktop/images/23012025/21/47/image_23012025_21_47_02_948967_0003.jpg
/home/pi/Desktop/images/23012025/21/48/image_23012025_21_48_02_156572_0000.jpg
/home/pi/Desktop/images/23012025/21/48/image_23012025_21_48_02_156572_0001.jpg
/home/pi/Desktop/images/23012025/21/48/image_23012025_21_48_02_156572_0002.jpg
/home/pi/Desktop/images/23012025/21/48/image_23012025_21_48_02_156572_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":["1330884453","1330884539","1330884562","1330884445","1330884439","1330884610"],"photo_ids_order":["1330884439","1330884445","1330884453","1330884539","1330884562","1330884610"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6920b9c6ad9962eb52ece0e7d6870351.jpg","text":"TemporaryFile(/tmp/multipartBody3449319485838665476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670297839,"filename":"image_23012025_21_48_02_156572_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7fdfff87008d1a54d306a7a5a7fb5bdc.jpg","text":"TemporaryFile(/tmp/multipartBody4601144907077169843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670297839,"filename":"image_23012025_21_48_02_156572_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86e461e007106cb9e42f97483ac1343e.jpg","text":"TemporaryFile(/tmp/multipartBody9198903803873289172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670297839,"filename":"image_23012025_21_48_02_156572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6defbfa8c89c8741c0e7efd5792d93d0.jpg","text":"TemporaryFile(/tmp/multipartBody5750178347452723192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670297839,"filename":"image_23012025_21_47_02_948967_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52174cef2af4cc7a20fcb26050d7e5ad.jpg","text":"TemporaryFile(/tmp/multipartBody2540050324369142905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670297839,"filename":"image_23012025_21_47_02_948967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c5aecf9efe13d3a6d65df5ceb97dd78.jpg","text":"TemporaryFile(/tmp/multipartBody1610450944262195332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670297839,"filename":"image_23012025_21_48_02_156572_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330884453","file1":"1330884445","file0":"1330884439","file4":"1330884562","file5":"1330884610","file3":"1330884539"},"map_files_photo_id_array":[{"photo_id":"1330884610","filename":"file5"},{"photo_id":"1330884453","filename":"file2"},{"photo_id":"1330884562","filename":"file4"},{"photo_id":"1330884445","filename":"file1"},{"photo_id":"1330884439","filename":"file0"},{"photo_id":"1330884539","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330884453":["hashtag1","hashtag2"]},{"1330884539":["hashtag1","hashtag2"]},{"1330884562":["hashtag1","hashtag2"]},{"1330884445":["hashtag1","hashtag2"]},{"1330884439":["hashtag1","hashtag2"]},{"1330884610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330884453, 1330884539, 1330884562, 1330884445, 1330884439, 1330884610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.71391987800598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:11:22.017433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_02_288321_0000.jpg', '/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_02_288321_0001.jpg', '/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_02_288321_0002.jpg', '/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_02_288321_0003.jpg', '/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_02_538942_0000.jpg', '/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_02_538942_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_02_288321_0000.jpg
/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_02_288321_0001.jpg
/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_02_288321_0002.jpg
/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_02_288321_0003.jpg
/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_02_538942_0000.jpg
/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_02_538942_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":["1330884645","1330884683","1330884649","1330884640","1330884670","1330884706"],"photo_ids_order":["1330884640","1330884645","1330884649","1330884670","1330884683","1330884706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb23c491ee3ef3f14a1e8273d06dc7db.jpg","text":"TemporaryFile(/tmp/multipartBody891134527453006872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670358345,"filename":"image_23012025_21_49_02_288321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e19c00430dbf256ce09de64aedbcc28c.jpg","text":"TemporaryFile(/tmp/multipartBody3649570806549331652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670358345,"filename":"image_23012025_21_50_02_538942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f70840902b9ba990d7d2526426eccbb.jpg","text":"TemporaryFile(/tmp/multipartBody4048494055884338849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670358345,"filename":"image_23012025_21_49_02_288321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5a2958e5b36e818e91a4865c05a8e0a.jpg","text":"TemporaryFile(/tmp/multipartBody5123122629465746770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670358345,"filename":"image_23012025_21_49_02_288321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7e8d7262cb6cc7a623726bd7215f8e0.jpg","text":"TemporaryFile(/tmp/multipartBody6377685061233122736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670358345,"filename":"image_23012025_21_49_02_288321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf774763a7a313c20e4c20dc5528353f.jpg","text":"TemporaryFile(/tmp/multipartBody6371837338340223241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670358345,"filename":"image_23012025_21_50_02_538942_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330884649","file1":"1330884645","file0":"1330884640","file4":"1330884683","file5":"1330884706","file3":"1330884670"},"map_files_photo_id_array":[{"photo_id":"1330884706","filename":"file5"},{"photo_id":"1330884649","filename":"file2"},{"photo_id":"1330884683","filename":"file4"},{"photo_id":"1330884645","filename":"file1"},{"photo_id":"1330884640","filename":"file0"},{"photo_id":"1330884670","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330884645":["hashtag1","hashtag2"]},{"1330884683":["hashtag1","hashtag2"]},{"1330884649":["hashtag1","hashtag2"]},{"1330884640":["hashtag1","hashtag2"]},{"1330884670":["hashtag1","hashtag2"]},{"1330884706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330884645, 1330884683, 1330884649, 1330884640, 1330884670, 1330884706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.29055166244507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:12:22.235959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_02_538942_0002.jpg', '/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_02_538942_0003.jpg', '/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_02_715595_0000.jpg', '/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_02_715595_0001.jpg', '/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_02_715595_0002.jpg', '/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_02_715595_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_02_538942_0002.jpg
/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_02_538942_0003.jpg
/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_02_715595_0000.jpg
/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_02_715595_0001.jpg
/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_02_715595_0002.jpg
/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_02_715595_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":["1330884729","1330884738","1330884725","1330884734","1330884742","1330884721"],"photo_ids_order":["1330884721","1330884725","1330884729","1330884734","1330884738","1330884742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee7d17ef83502e6eada5455c5c00e630.jpg","text":"TemporaryFile(/tmp/multipartBody1596598110658822310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670418884,"filename":"image_23012025_21_51_02_715595_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e976181bd863775721773c873eb544e.jpg","text":"TemporaryFile(/tmp/multipartBody5562408416510385166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670418884,"filename":"image_23012025_21_51_02_715595_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b69ad018aaff292932c924a78a64b7e.jpg","text":"TemporaryFile(/tmp/multipartBody1858645657575975147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670418884,"filename":"image_23012025_21_50_02_538942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4fe61f4c47158eb438301db3a39b132b.jpg","text":"TemporaryFile(/tmp/multipartBody8776610518675944167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670418884,"filename":"image_23012025_21_51_02_715595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81bf9c9dc4b2c32f46f23084d240bf26.jpg","text":"TemporaryFile(/tmp/multipartBody8782673722282461520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670418884,"filename":"image_23012025_21_51_02_715595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6532b7617e63cb4ef86c1daadd2ed72.jpg","text":"TemporaryFile(/tmp/multipartBody3965216793958136014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670418884,"filename":"image_23012025_21_50_02_538942_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330884729","file1":"1330884725","file0":"1330884721","file4":"1330884738","file5":"1330884742","file3":"1330884734"},"map_files_photo_id_array":[{"photo_id":"1330884742","filename":"file5"},{"photo_id":"1330884729","filename":"file2"},{"photo_id":"1330884738","filename":"file4"},{"photo_id":"1330884725","filename":"file1"},{"photo_id":"1330884721","filename":"file0"},{"photo_id":"1330884734","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330884729":["hashtag1","hashtag2"]},{"1330884738":["hashtag1","hashtag2"]},{"1330884725":["hashtag1","hashtag2"]},{"1330884734":["hashtag1","hashtag2"]},{"1330884742":["hashtag1","hashtag2"]},{"1330884721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330884729, 1330884738, 1330884725, 1330884734, 1330884742, 1330884721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.42466592788696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:13:22.424122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_02_814428_0000.jpg', '/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_02_814428_0001.jpg', '/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_02_814428_0002.jpg', '/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_02_814428_0003.jpg', '/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_02_960059_0000.jpg', '/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_02_960059_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_02_814428_0000.jpg
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_02_814428_0001.jpg
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_02_814428_0002.jpg
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_02_814428_0003.jpg
/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_02_960059_0000.jpg
/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_02_960059_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":["1330884792","1330884801","1330884788","1330884776","1330884812","1330884815"],"photo_ids_order":["1330884776","1330884788","1330884792","1330884801","1330884812","1330884815"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e847fd097d55e9ff1808c60994a8e972.jpg","text":"TemporaryFile(/tmp/multipartBody6486728905657840064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670478586,"filename":"image_23012025_21_52_02_814428_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3423785fff32e44126c7cfc436e7eb2a.jpg","text":"TemporaryFile(/tmp/multipartBody5482604586840040184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670478586,"filename":"image_23012025_21_52_02_814428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e61da359a6091d66c9bdf16c188a7000.jpg","text":"TemporaryFile(/tmp/multipartBody507653375520684060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670478586,"filename":"image_23012025_21_52_02_814428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95071b8062d16d5b75c8055dde02e0a8.jpg","text":"TemporaryFile(/tmp/multipartBody6367790616264856177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670478586,"filename":"image_23012025_21_52_02_814428_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8240df08d0cee71579c14e2aa742ba0.jpg","text":"TemporaryFile(/tmp/multipartBody8166185558052500205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670478586,"filename":"image_23012025_21_53_02_960059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3c4d204f55b9626cca25da68d79a873.jpg","text":"TemporaryFile(/tmp/multipartBody7670062450314036041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670478586,"filename":"image_23012025_21_53_02_960059_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330884792","file1":"1330884788","file0":"1330884776","file4":"1330884812","file5":"1330884815","file3":"1330884801"},"map_files_photo_id_array":[{"photo_id":"1330884815","filename":"file5"},{"photo_id":"1330884792","filename":"file2"},{"photo_id":"1330884812","filename":"file4"},{"photo_id":"1330884788","filename":"file1"},{"photo_id":"1330884776","filename":"file0"},{"photo_id":"1330884801","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330884792":["hashtag1","hashtag2"]},{"1330884801":["hashtag1","hashtag2"]},{"1330884788":["hashtag1","hashtag2"]},{"1330884776":["hashtag1","hashtag2"]},{"1330884812":["hashtag1","hashtag2"]},{"1330884815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330884792, 1330884801, 1330884788, 1330884776, 1330884812, 1330884815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.454914808273315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:14:22.650129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_02_960059_0002.jpg', '/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_02_960059_0003.jpg', '/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_02_188783_0000.jpg', '/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_02_188783_0001.jpg', '/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_02_188783_0002.jpg', '/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_02_188783_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_02_960059_0002.jpg
/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_02_960059_0003.jpg
/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_02_188783_0000.jpg
/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_02_188783_0001.jpg
/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_02_188783_0002.jpg
/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_02_188783_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":["1330884873","1330884861","1330884855","1330884866","1330884898","1330884883"],"photo_ids_order":["1330884855","1330884861","1330884866","1330884873","1330884883","1330884898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/387246911f58e45f3b8617dab1a8583c.jpg","text":"TemporaryFile(/tmp/multipartBody6258731873579766705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670538308,"filename":"image_23012025_21_54_02_188783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/becf5e25ac1efc93395c10033b8ac972.jpg","text":"TemporaryFile(/tmp/multipartBody7117666849752460486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670538308,"filename":"image_23012025_21_53_02_960059_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0d63acdb6dbaf6c1b89e5c0e5cd9403.jpg","text":"TemporaryFile(/tmp/multipartBody6133425439049321689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670538308,"filename":"image_23012025_21_53_02_960059_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06cb11172eed3777e0f00ccc6b3f181a.jpg","text":"TemporaryFile(/tmp/multipartBody244761389629125173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670538308,"filename":"image_23012025_21_54_02_188783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10a3cc92369c353479047aa79b131b26.jpg","text":"TemporaryFile(/tmp/multipartBody7138693636219907969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670538308,"filename":"image_23012025_21_54_02_188783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f66db91e02bbdc8c91206977cef818d6.jpg","text":"TemporaryFile(/tmp/multipartBody5858766719477534096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670538308,"filename":"image_23012025_21_54_02_188783_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330884866","file1":"1330884861","file0":"1330884855","file4":"1330884883","file5":"1330884898","file3":"1330884873"},"map_files_photo_id_array":[{"photo_id":"1330884898","filename":"file5"},{"photo_id":"1330884866","filename":"file2"},{"photo_id":"1330884883","filename":"file4"},{"photo_id":"1330884861","filename":"file1"},{"photo_id":"1330884855","filename":"file0"},{"photo_id":"1330884873","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330884873":["hashtag1","hashtag2"]},{"1330884861":["hashtag1","hashtag2"]},{"1330884855":["hashtag1","hashtag2"]},{"1330884866":["hashtag1","hashtag2"]},{"1330884898":["hashtag1","hashtag2"]},{"1330884883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330884873, 1330884861, 1330884855, 1330884866, 1330884898, 1330884883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.07977819442749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:15:22.800885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_02_330168_0000.jpg', '/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_02_330168_0001.jpg', '/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_02_330168_0002.jpg', '/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_02_330168_0003.jpg', '/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_02_549582_0000.jpg', '/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_02_549582_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_02_330168_0000.jpg
/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_02_330168_0001.jpg
/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_02_330168_0002.jpg
/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_02_330168_0003.jpg
/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_02_549582_0000.jpg
/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_02_549582_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":["1330885085","1330885061","1330885058","1330885090","1330885120","1330885108"],"photo_ids_order":["1330885058","1330885061","1330885085","1330885090","1330885108","1330885120"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/697529596c57f7dc48398b4b1e8f0123.jpg","text":"TemporaryFile(/tmp/multipartBody1222294801698218090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670599169,"filename":"image_23012025_21_55_02_330168_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5667600bb5351341212464024b32962.jpg","text":"TemporaryFile(/tmp/multipartBody2696636600393691376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670599169,"filename":"image_23012025_21_55_02_330168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec68065e1410da8df19ad92ab48436ab.jpg","text":"TemporaryFile(/tmp/multipartBody326168594636159044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670599169,"filename":"image_23012025_21_55_02_330168_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f006aaba9c5f182275f3cd721a19b38.jpg","text":"TemporaryFile(/tmp/multipartBody8860609155656966769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670599169,"filename":"image_23012025_21_55_02_330168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8cb2856d2a552a108bcd80b126f160e.jpg","text":"TemporaryFile(/tmp/multipartBody3797111547878402279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670599169,"filename":"image_23012025_21_56_02_549582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09f714840160dd03eb0d946b7affcc83.jpg","text":"TemporaryFile(/tmp/multipartBody1408445727548234465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670599169,"filename":"image_23012025_21_56_02_549582_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330885085","file1":"1330885061","file0":"1330885058","file4":"1330885108","file5":"1330885120","file3":"1330885090"},"map_files_photo_id_array":[{"photo_id":"1330885120","filename":"file5"},{"photo_id":"1330885085","filename":"file2"},{"photo_id":"1330885108","filename":"file4"},{"photo_id":"1330885061","filename":"file1"},{"photo_id":"1330885058","filename":"file0"},{"photo_id":"1330885090","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330885085":["hashtag1","hashtag2"]},{"1330885061":["hashtag1","hashtag2"]},{"1330885058":["hashtag1","hashtag2"]},{"1330885090":["hashtag1","hashtag2"]},{"1330885120":["hashtag1","hashtag2"]},{"1330885108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330885085, 1330885061, 1330885058, 1330885090, 1330885120, 1330885108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.98248839378357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:16:22.079297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_02_549582_0002.jpg', '/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_02_549582_0003.jpg', '/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_02_683935_0000.jpg', '/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_02_683935_0001.jpg', '/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_02_683935_0002.jpg', '/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_02_961170_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_02_549582_0002.jpg
/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_02_549582_0003.jpg
/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_02_683935_0000.jpg
/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_02_683935_0001.jpg
/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_02_683935_0002.jpg
/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_02_961170_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":["1330885203","1330885199","1330885207","1330885185","1330885194","1330885188"],"photo_ids_order":["1330885185","1330885188","1330885194","1330885199","1330885203","1330885207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85455684728889b04826f9f0aa5c6b41.jpg","text":"TemporaryFile(/tmp/multipartBody7689772702456493341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670657872,"filename":"image_23012025_21_57_02_683935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b45e7d76074970cd5a158b16c0fd609b.jpg","text":"TemporaryFile(/tmp/multipartBody8408971706467886079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670657872,"filename":"image_23012025_21_57_02_683935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90641f1ba16d662fd1727e03c3375e87.jpg","text":"TemporaryFile(/tmp/multipartBody5739542898276217061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670657872,"filename":"image_23012025_21_58_02_961170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13418188742f3910dea914bcefaeae0c.jpg","text":"TemporaryFile(/tmp/multipartBody5562240658079323315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670657872,"filename":"image_23012025_21_56_02_549582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09c59f7a7eb2925bb317414ea06a5bfa.jpg","text":"TemporaryFile(/tmp/multipartBody3006914479603918524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670657872,"filename":"image_23012025_21_57_02_683935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfc5dd8252edd3e68ee2e5085db5e2fa.jpg","text":"TemporaryFile(/tmp/multipartBody2076122096945505138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670657872,"filename":"image_23012025_21_56_02_549582_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330885194","file1":"1330885188","file0":"1330885185","file4":"1330885203","file5":"1330885207","file3":"1330885199"},"map_files_photo_id_array":[{"photo_id":"1330885207","filename":"file5"},{"photo_id":"1330885194","filename":"file2"},{"photo_id":"1330885203","filename":"file4"},{"photo_id":"1330885188","filename":"file1"},{"photo_id":"1330885185","filename":"file0"},{"photo_id":"1330885199","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330885203":["hashtag1","hashtag2"]},{"1330885199":["hashtag1","hashtag2"]},{"1330885207":["hashtag1","hashtag2"]},{"1330885185":["hashtag1","hashtag2"]},{"1330885194":["hashtag1","hashtag2"]},{"1330885188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330885203, 1330885199, 1330885207, 1330885185, 1330885194, 1330885188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.44699692726135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:17:22.171582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_02_961170_0002.jpg', '/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_02_961170_0003.jpg', '/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_03_058636_0000.jpg', '/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_03_058636_0001.jpg', '/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_03_058636_0002.jpg', '/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_03_058636_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_02_961170_0002.jpg
/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_02_961170_0003.jpg
/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_03_058636_0000.jpg
/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_03_058636_0001.jpg
/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_03_058636_0002.jpg
/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_03_058636_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":["1330885245","1330885230","1330885233","1330885227","1330885241","1330885238"],"photo_ids_order":["1330885227","1330885230","1330885233","1330885238","1330885241","1330885245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05739e51d9e8513667c2469ca979b9a6.jpg","text":"TemporaryFile(/tmp/multipartBody7419445401214956662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670717589,"filename":"image_23012025_21_59_03_058636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec986ffddce0e7fa9a88be6a30a1b82d.jpg","text":"TemporaryFile(/tmp/multipartBody4621985891789523991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670717589,"filename":"image_23012025_21_58_02_961170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d48bf78f8cfe526dd806e2c61da6edf.jpg","text":"TemporaryFile(/tmp/multipartBody5790402585576933001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670717589,"filename":"image_23012025_21_59_03_058636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6b322b4aeac20ac47b675ee7f5580cd.jpg","text":"TemporaryFile(/tmp/multipartBody7056376363197089670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670717589,"filename":"image_23012025_21_58_02_961170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4b29f39974c246ff9b5645dbea309fc.jpg","text":"TemporaryFile(/tmp/multipartBody6294261542805749233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670717589,"filename":"image_23012025_21_59_03_058636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ad63ebbd16e8ea0bcf0b172978318b4.jpg","text":"TemporaryFile(/tmp/multipartBody7015902676641234255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670717589,"filename":"image_23012025_21_59_03_058636_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330885233","file1":"1330885230","file0":"1330885227","file4":"1330885241","file5":"1330885245","file3":"1330885238"},"map_files_photo_id_array":[{"photo_id":"1330885245","filename":"file5"},{"photo_id":"1330885233","filename":"file2"},{"photo_id":"1330885241","filename":"file4"},{"photo_id":"1330885230","filename":"file1"},{"photo_id":"1330885227","filename":"file0"},{"photo_id":"1330885238","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330885245":["hashtag1","hashtag2"]},{"1330885230":["hashtag1","hashtag2"]},{"1330885233":["hashtag1","hashtag2"]},{"1330885227":["hashtag1","hashtag2"]},{"1330885241":["hashtag1","hashtag2"]},{"1330885238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330885245, 1330885230, 1330885233, 1330885227, 1330885241, 1330885238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.088406801223755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:18:22.313150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_02_350319_0002.jpg', '/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_02_350319_0003.jpg', '/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_02_418625_0000.jpg', '/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_02_418625_0001.jpg', '/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_02_418625_0003.jpg', '/home/pi/Desktop/images/23012025/22/02/image_23012025_22_02_02_608897_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_02_350319_0002.jpg
/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_02_350319_0003.jpg
/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_02_418625_0000.jpg
/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_02_418625_0001.jpg
/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_02_418625_0003.jpg
/home/pi/Desktop/images/23012025/22/02/image_23012025_22_02_02_608897_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":["1330885289","1330885283","1330885268","1330885273","1330885278","1330885263"],"photo_ids_order":["1330885263","1330885268","1330885273","1330885278","1330885283","1330885289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ffecd236f8ae808f6ddb30f7490dc57.jpg","text":"TemporaryFile(/tmp/multipartBody5302945984798181280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670777649,"filename":"image_23012025_22_02_02_608897_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24c6045e06b6d474f04c65bfcd6eff6e.jpg","text":"TemporaryFile(/tmp/multipartBody7361049322534026269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670777649,"filename":"image_23012025_22_01_02_418625_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8f30b7e8af1177fc8980bde317b6d61.jpg","text":"TemporaryFile(/tmp/multipartBody9149912648209268452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670777649,"filename":"image_23012025_22_00_02_350319_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7462c40a898b9758db3951fa2b66bb36.jpg","text":"TemporaryFile(/tmp/multipartBody8693973412270805885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670777649,"filename":"image_23012025_22_01_02_418625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9114cd0cafe27ccbb2e1a62c94091871.jpg","text":"TemporaryFile(/tmp/multipartBody4857482980593709383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670777649,"filename":"image_23012025_22_01_02_418625_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b41c2259f5ffa61b3b2d271aee0a003.jpg","text":"TemporaryFile(/tmp/multipartBody7220082874637486642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670777649,"filename":"image_23012025_22_00_02_350319_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330885273","file1":"1330885268","file0":"1330885263","file4":"1330885283","file5":"1330885289","file3":"1330885278"},"map_files_photo_id_array":[{"photo_id":"1330885289","filename":"file5"},{"photo_id":"1330885273","filename":"file2"},{"photo_id":"1330885283","filename":"file4"},{"photo_id":"1330885268","filename":"file1"},{"photo_id":"1330885263","filename":"file0"},{"photo_id":"1330885278","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330885289":["hashtag1","hashtag2"]},{"1330885283":["hashtag1","hashtag2"]},{"1330885268":["hashtag1","hashtag2"]},{"1330885273":["hashtag1","hashtag2"]},{"1330885278":["hashtag1","hashtag2"]},{"1330885263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330885289, 1330885283, 1330885268, 1330885273, 1330885278, 1330885263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.38142967224121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:19:22.490920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/02/image_23012025_22_02_02_608897_0002.jpg', '/home/pi/Desktop/images/23012025/22/03/image_23012025_22_03_02_756878_0003.jpg', '/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_02_914031_0000.jpg', '/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_02_914031_0001.jpg', '/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_02_914031_0002.jpg', '/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_02_914031_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/02/image_23012025_22_02_02_608897_0002.jpg
/home/pi/Desktop/images/23012025/22/03/image_23012025_22_03_02_756878_0003.jpg
/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_02_914031_0000.jpg
/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_02_914031_0001.jpg
/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_02_914031_0002.jpg
/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_02_914031_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":["1330885332","1330885370","1330885336","1330885339","1330885377","1330885356"],"photo_ids_order":["1330885332","1330885336","1330885339","1330885356","1330885370","1330885377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d62ad7aac5c2d3b039bb0b18ad1c873.jpg","text":"TemporaryFile(/tmp/multipartBody41569058423448460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670837929,"filename":"image_23012025_22_02_02_608897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/64737779ce068a7c6225502c259c7586.jpg","text":"TemporaryFile(/tmp/multipartBody9174527491850203245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670837929,"filename":"image_23012025_22_04_02_914031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/195b250ba17290e07520a51934a5d71c.jpg","text":"TemporaryFile(/tmp/multipartBody4454267544374160475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670837929,"filename":"image_23012025_22_03_02_756878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8fd7cb475ff59d82ca0c87f0dce3fb8.jpg","text":"TemporaryFile(/tmp/multipartBody9208580370069998029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670837929,"filename":"image_23012025_22_04_02_914031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38a1c2dcebc1c167b70321329b3cea18.jpg","text":"TemporaryFile(/tmp/multipartBody5273606538514161119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670837929,"filename":"image_23012025_22_04_02_914031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c917824f809c59bedc902efecde447bf.jpg","text":"TemporaryFile(/tmp/multipartBody3787469128597568106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670837929,"filename":"image_23012025_22_04_02_914031_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330885339","file1":"1330885336","file0":"1330885332","file4":"1330885370","file5":"1330885377","file3":"1330885356"},"map_files_photo_id_array":[{"photo_id":"1330885377","filename":"file5"},{"photo_id":"1330885339","filename":"file2"},{"photo_id":"1330885370","filename":"file4"},{"photo_id":"1330885336","filename":"file1"},{"photo_id":"1330885332","filename":"file0"},{"photo_id":"1330885356","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330885332":["hashtag1","hashtag2"]},{"1330885370":["hashtag1","hashtag2"]},{"1330885336":["hashtag1","hashtag2"]},{"1330885339":["hashtag1","hashtag2"]},{"1330885377":["hashtag1","hashtag2"]},{"1330885356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330885332, 1330885370, 1330885336, 1330885339, 1330885377, 1330885356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.8561749458313 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:20:22.676315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_03_184811_0000.jpg', '/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_03_184811_0001.jpg', '/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_03_184811_0002.jpg', '/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_03_184811_0003.jpg', '/home/pi/Desktop/images/23012025/22/06/image_23012025_22_06_02_343592_0000.jpg', '/home/pi/Desktop/images/23012025/22/06/image_23012025_22_06_02_343592_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_03_184811_0000.jpg
/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_03_184811_0001.jpg
/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_03_184811_0002.jpg
/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_03_184811_0003.jpg
/home/pi/Desktop/images/23012025/22/06/image_23012025_22_06_02_343592_0000.jpg
/home/pi/Desktop/images/23012025/22/06/image_23012025_22_06_02_343592_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":["1330885422","1330885413","1330885400","1330885417","1330885408","1330885395"],"photo_ids_order":["1330885395","1330885400","1330885408","1330885413","1330885417","1330885422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a05bedbc3e6c07c7fb8e9e9ca45a62e8.jpg","text":"TemporaryFile(/tmp/multipartBody3909357863543082852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670898014,"filename":"image_23012025_22_06_02_343592_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3b14a14d7cb360f7c2791eb73da528a.jpg","text":"TemporaryFile(/tmp/multipartBody3695060613831105241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670898014,"filename":"image_23012025_22_05_03_184811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba9e9f3e67a8b34be66cce97c4075780.jpg","text":"TemporaryFile(/tmp/multipartBody4206346040701749172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670898014,"filename":"image_23012025_22_05_03_184811_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3b22abcc31d9d40bf62be41ab264f10.jpg","text":"TemporaryFile(/tmp/multipartBody8894261677289456547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670898014,"filename":"image_23012025_22_06_02_343592_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6c1ed7a6e5d1313c476653420650e1e.jpg","text":"TemporaryFile(/tmp/multipartBody2409879275206994462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670898014,"filename":"image_23012025_22_05_03_184811_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7708819e014d885be131db1086455015.jpg","text":"TemporaryFile(/tmp/multipartBody3505323581205705750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670898014,"filename":"image_23012025_22_05_03_184811_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330885408","file1":"1330885400","file0":"1330885395","file4":"1330885417","file5":"1330885422","file3":"1330885413"},"map_files_photo_id_array":[{"photo_id":"1330885422","filename":"file5"},{"photo_id":"1330885408","filename":"file2"},{"photo_id":"1330885417","filename":"file4"},{"photo_id":"1330885400","filename":"file1"},{"photo_id":"1330885395","filename":"file0"},{"photo_id":"1330885413","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330885422":["hashtag1","hashtag2"]},{"1330885413":["hashtag1","hashtag2"]},{"1330885400":["hashtag1","hashtag2"]},{"1330885417":["hashtag1","hashtag2"]},{"1330885408":["hashtag1","hashtag2"]},{"1330885395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330885422, 1330885413, 1330885400, 1330885417, 1330885408, 1330885395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.71649217605591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:21:22.033400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/06/image_23012025_22_06_02_343592_0002.jpg', '/home/pi/Desktop/images/23012025/22/06/image_23012025_22_06_02_343592_0003.jpg', '/home/pi/Desktop/images/23012025/22/07/image_23012025_22_07_02_402224_0000.jpg', '/home/pi/Desktop/images/23012025/22/07/image_23012025_22_07_02_402224_0001.jpg', '/home/pi/Desktop/images/23012025/22/07/image_23012025_22_07_02_402224_0002.jpg', '/home/pi/Desktop/images/23012025/22/07/image_23012025_22_07_02_402224_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/06/image_23012025_22_06_02_343592_0002.jpg
/home/pi/Desktop/images/23012025/22/06/image_23012025_22_06_02_343592_0003.jpg
/home/pi/Desktop/images/23012025/22/07/image_23012025_22_07_02_402224_0000.jpg
/home/pi/Desktop/images/23012025/22/07/image_23012025_22_07_02_402224_0001.jpg
/home/pi/Desktop/images/23012025/22/07/image_23012025_22_07_02_402224_0002.jpg
/home/pi/Desktop/images/23012025/22/07/image_23012025_22_07_02_402224_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":["1330885886","1330885436","1330885552","1330885450","1330885438","1330885440"],"photo_ids_order":["1330885436","1330885438","1330885440","1330885450","1330885552","1330885886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/baa565467968231f7979d0a100e00057.jpg","text":"TemporaryFile(/tmp/multipartBody7702289914637976918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670958706,"filename":"image_23012025_22_07_02_402224_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2edfa06b83fe2561a70ee4d92f3b3897.jpg","text":"TemporaryFile(/tmp/multipartBody8263097802497925335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670958706,"filename":"image_23012025_22_06_02_343592_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ccd2c3ab3bbcd618c4e6c265c1215ef2.jpg","text":"TemporaryFile(/tmp/multipartBody4759074229459955795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670958706,"filename":"image_23012025_22_07_02_402224_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9eeaf8f45fe62ac6bb6eec969688cbb.jpg","text":"TemporaryFile(/tmp/multipartBody2714306776894618269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670958706,"filename":"image_23012025_22_07_02_402224_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e68cee8d9e92d53e6d8ea62a5790e586.jpg","text":"TemporaryFile(/tmp/multipartBody5587921354527504043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670958706,"filename":"image_23012025_22_06_02_343592_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0ed77ae3b0a13fd8a6c26a209da8293.jpg","text":"TemporaryFile(/tmp/multipartBody1629052879482326090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670958706,"filename":"image_23012025_22_07_02_402224_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330885440","file1":"1330885438","file0":"1330885436","file4":"1330885552","file5":"1330885886","file3":"1330885450"},"map_files_photo_id_array":[{"photo_id":"1330885886","filename":"file5"},{"photo_id":"1330885440","filename":"file2"},{"photo_id":"1330885552","filename":"file4"},{"photo_id":"1330885438","filename":"file1"},{"photo_id":"1330885436","filename":"file0"},{"photo_id":"1330885450","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330885886":["hashtag1","hashtag2"]},{"1330885436":["hashtag1","hashtag2"]},{"1330885552":["hashtag1","hashtag2"]},{"1330885450":["hashtag1","hashtag2"]},{"1330885438":["hashtag1","hashtag2"]},{"1330885440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330885886, 1330885436, 1330885552, 1330885450, 1330885438, 1330885440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.07824969291687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:22:22.069825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_02_749325_0000.jpg', '/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_02_749325_0001.jpg', '/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_02_749325_0002.jpg', '/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_02_749325_0003.jpg', '/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_02_833714_0000.jpg', '/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_02_833714_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_02_749325_0000.jpg
/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_02_749325_0001.jpg
/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_02_749325_0002.jpg
/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_02_749325_0003.jpg
/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_02_833714_0000.jpg
/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_02_833714_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":["1330886672","1330886668","1330886682","1330886676","1330886664","1330886678"],"photo_ids_order":["1330886664","1330886668","1330886672","1330886676","1330886678","1330886682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6207304993d2ea0b399716281e9a8722.jpg","text":"TemporaryFile(/tmp/multipartBody5133618037956024321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671019308,"filename":"image_23012025_22_08_02_749325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67a1ef13f029a0cd485feb7ca1dca342.jpg","text":"TemporaryFile(/tmp/multipartBody7156314669776247564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671019308,"filename":"image_23012025_22_08_02_749325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12333a22c5f1d4ccc5790def25fe79fe.jpg","text":"TemporaryFile(/tmp/multipartBody7962848869241124007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671019308,"filename":"image_23012025_22_09_02_833714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18cfd6026dea2a44140180a665369de0.jpg","text":"TemporaryFile(/tmp/multipartBody1891009867108674318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671019308,"filename":"image_23012025_22_08_02_749325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf6d90fbf92b0cbba7e7b4736c8faaa2.jpg","text":"TemporaryFile(/tmp/multipartBody5114145944642628346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671019308,"filename":"image_23012025_22_08_02_749325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82f3c82af3e04a5bdc1a7bf4e3a5d813.jpg","text":"TemporaryFile(/tmp/multipartBody767699465320380544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671019308,"filename":"image_23012025_22_09_02_833714_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330886672","file1":"1330886668","file0":"1330886664","file4":"1330886678","file5":"1330886682","file3":"1330886676"},"map_files_photo_id_array":[{"photo_id":"1330886682","filename":"file5"},{"photo_id":"1330886672","filename":"file2"},{"photo_id":"1330886678","filename":"file4"},{"photo_id":"1330886668","filename":"file1"},{"photo_id":"1330886664","filename":"file0"},{"photo_id":"1330886676","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330886672":["hashtag1","hashtag2"]},{"1330886668":["hashtag1","hashtag2"]},{"1330886682":["hashtag1","hashtag2"]},{"1330886676":["hashtag1","hashtag2"]},{"1330886664":["hashtag1","hashtag2"]},{"1330886678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330886672, 1330886668, 1330886682, 1330886676, 1330886664, 1330886678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.25486421585083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:23:22.215721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_02_833714_0002.jpg', '/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_02_982428_0000.jpg', '/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_02_982428_0001.jpg', '/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_02_982428_0002.jpg', '/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_02_982428_0003.jpg', '/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_02_139446_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_02_833714_0002.jpg
/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_02_982428_0000.jpg
/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_02_982428_0001.jpg
/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_02_982428_0002.jpg
/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_02_982428_0003.jpg
/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_02_139446_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":["1330887119","1330886852","1330886717","1330887139","1330887129","1330886721"],"photo_ids_order":["1330886717","1330886721","1330886852","1330887119","1330887129","1330887139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b39bc76830e3f33dbd3f9d263d53057.jpg","text":"TemporaryFile(/tmp/multipartBody1437415556302626115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671078963,"filename":"image_23012025_22_10_02_982428_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca243aad100d900c10a382fc648a338b.jpg","text":"TemporaryFile(/tmp/multipartBody2572661894347962526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671078963,"filename":"image_23012025_22_10_02_982428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d710fe9f6c4e27b888ff642c5c721f5d.jpg","text":"TemporaryFile(/tmp/multipartBody556638820802052472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671078963,"filename":"image_23012025_22_09_02_833714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c9514df9990533193c5d93d7fdb20ff.jpg","text":"TemporaryFile(/tmp/multipartBody4670272100063725870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671078963,"filename":"image_23012025_22_11_02_139446_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9eb1eb06b31622b5f7008e43da5668d.jpg","text":"TemporaryFile(/tmp/multipartBody3795375374375257653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671078963,"filename":"image_23012025_22_10_02_982428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fb9c3af062a8c72930ba8c62f2b2008.jpg","text":"TemporaryFile(/tmp/multipartBody5784310685473087249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671078963,"filename":"image_23012025_22_10_02_982428_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330886852","file1":"1330886721","file0":"1330886717","file4":"1330887129","file5":"1330887139","file3":"1330887119"},"map_files_photo_id_array":[{"photo_id":"1330887139","filename":"file5"},{"photo_id":"1330886852","filename":"file2"},{"photo_id":"1330887129","filename":"file4"},{"photo_id":"1330886721","filename":"file1"},{"photo_id":"1330886717","filename":"file0"},{"photo_id":"1330887119","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330887119":["hashtag1","hashtag2"]},{"1330886852":["hashtag1","hashtag2"]},{"1330886717":["hashtag1","hashtag2"]},{"1330887139":["hashtag1","hashtag2"]},{"1330887129":["hashtag1","hashtag2"]},{"1330886721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330887119, 1330886852, 1330886717, 1330887139, 1330887129, 1330886721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.21953082084656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:24:22.404371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_02_139446_0001.jpg', '/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_02_139446_0002.jpg', '/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_02_139446_0003.jpg', '/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_02_336730_0000.jpg', '/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_02_336730_0001.jpg', '/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_02_336730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_02_139446_0001.jpg
/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_02_139446_0002.jpg
/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_02_139446_0003.jpg
/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_02_336730_0000.jpg
/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_02_336730_0001.jpg
/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_02_336730_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330887340","1330887319","1330887324","1330887333","1330887327","1330887290"],"photo_ids_order":["1330887290","1330887319","1330887324","1330887327","1330887333","1330887340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/614a7a1b1388936a77304284af3d3677.jpg","text":"TemporaryFile(/tmp/multipartBody2018804808479109708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671139646,"filename":"image_23012025_22_12_02_336730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74c633d878a29932048deef86a3f0349.jpg","text":"TemporaryFile(/tmp/multipartBody3561569812206915555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671139646,"filename":"image_23012025_22_11_02_139446_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d49994b191267007b6a7b2a2d7b5fa31.jpg","text":"TemporaryFile(/tmp/multipartBody4680162287768864732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671139646,"filename":"image_23012025_22_11_02_139446_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7183ac549299d37bc7c756ed07836110.jpg","text":"TemporaryFile(/tmp/multipartBody1704426916672746956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671139646,"filename":"image_23012025_22_12_02_336730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f9501a6ec787d81123819d514220841.jpg","text":"TemporaryFile(/tmp/multipartBody8404827741327545205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671139646,"filename":"image_23012025_22_12_02_336730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0556ee0a5903f3c9f652517447263a1f.jpg","text":"TemporaryFile(/tmp/multipartBody456376236279465867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671139646,"filename":"image_23012025_22_11_02_139446_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330887324","file1":"1330887319","file0":"1330887290","file4":"1330887333","file5":"1330887340","file3":"1330887327"},"map_files_photo_id_array":[{"photo_id":"1330887340","filename":"file5"},{"photo_id":"1330887324","filename":"file2"},{"photo_id":"1330887333","filename":"file4"},{"photo_id":"1330887319","filename":"file1"},{"photo_id":"1330887290","filename":"file0"},{"photo_id":"1330887327","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330887340":["hashtag1","hashtag2"]},{"1330887319":["hashtag1","hashtag2"]},{"1330887324":["hashtag1","hashtag2"]},{"1330887333":["hashtag1","hashtag2"]},{"1330887327":["hashtag1","hashtag2"]},{"1330887290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330887340, 1330887319, 1330887324, 1330887333, 1330887327, 1330887290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.8153760433197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:25:22.680936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_02_336730_0003.jpg', '/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_02_545263_0000.jpg', '/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_02_545263_0001.jpg', '/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_02_545263_0002.jpg', '/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_02_545263_0003.jpg', '/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_02_766960_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_02_336730_0003.jpg
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_02_545263_0000.jpg
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_02_545263_0001.jpg
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_02_545263_0002.jpg
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_02_545263_0003.jpg
/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_02_766960_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":["1330887416","1330887419","1330887412","1330887409","1330887357","1330887359"],"photo_ids_order":["1330887357","1330887359","1330887409","1330887412","1330887416","1330887419"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4aa487c3ba37441ffa6e012429a5452.jpg","text":"TemporaryFile(/tmp/multipartBody8562682326667675647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671200023,"filename":"image_23012025_22_13_02_545263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78622054bbf41582fac4de29bfe2820c.jpg","text":"TemporaryFile(/tmp/multipartBody4099285964814355417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671200023,"filename":"image_23012025_22_14_02_766960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93ad81a36cc6a6740e781339cfb315ac.jpg","text":"TemporaryFile(/tmp/multipartBody6217463395760256330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671200023,"filename":"image_23012025_22_13_02_545263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04485886908282d20d4b6d7a7931f143.jpg","text":"TemporaryFile(/tmp/multipartBody3104158895229480587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671200023,"filename":"image_23012025_22_13_02_545263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/adcff3a764fe7d96218b6e0dab4e91c7.jpg","text":"TemporaryFile(/tmp/multipartBody355367970594068091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671200023,"filename":"image_23012025_22_12_02_336730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e75ae26d451fa872a1ec9a1be468b82.jpg","text":"TemporaryFile(/tmp/multipartBody4598957964621063167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671200023,"filename":"image_23012025_22_13_02_545263_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330887409","file1":"1330887359","file0":"1330887357","file4":"1330887416","file5":"1330887419","file3":"1330887412"},"map_files_photo_id_array":[{"photo_id":"1330887419","filename":"file5"},{"photo_id":"1330887409","filename":"file2"},{"photo_id":"1330887416","filename":"file4"},{"photo_id":"1330887359","filename":"file1"},{"photo_id":"1330887357","filename":"file0"},{"photo_id":"1330887412","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330887416":["hashtag1","hashtag2"]},{"1330887419":["hashtag1","hashtag2"]},{"1330887412":["hashtag1","hashtag2"]},{"1330887409":["hashtag1","hashtag2"]},{"1330887357":["hashtag1","hashtag2"]},{"1330887359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330887416, 1330887419, 1330887412, 1330887409, 1330887357, 1330887359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.68520522117615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:26:31.775325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_02_766960_0001.jpg', '/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_02_766960_0002.jpg', '/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_02_766960_0003.jpg', '/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_02_896860_0000.jpg', '/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_02_896860_0001.jpg', '/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_02_896860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_02_766960_0001.jpg
/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_02_766960_0002.jpg
/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_02_766960_0003.jpg
/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_02_896860_0000.jpg
/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_02_896860_0001.jpg
/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_02_896860_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330887475","1330887471","1330887516","1330887488","1330887467","1330887533"],"photo_ids_order":["1330887467","1330887471","1330887475","1330887488","1330887516","1330887533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7cf7e8cf1d16495989358f2025c327ae.jpg","text":"TemporaryFile(/tmp/multipartBody2368192827516182549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671269144,"filename":"image_23012025_22_14_02_766960_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4f54f8ec755cf19af0a7806d01f0eb4.jpg","text":"TemporaryFile(/tmp/multipartBody2200493764403235798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671269144,"filename":"image_23012025_22_14_02_766960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afc0b79c033267a888a3957ae51abecd.jpg","text":"TemporaryFile(/tmp/multipartBody1351373730452973561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671269144,"filename":"image_23012025_22_15_02_896860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b132692f497db06c7d8d874b3801d27b.jpg","text":"TemporaryFile(/tmp/multipartBody3205366961137715504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671269144,"filename":"image_23012025_22_15_02_896860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26a52c8399da5fcfb30b1b57362ac098.jpg","text":"TemporaryFile(/tmp/multipartBody4906303278440428032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671269144,"filename":"image_23012025_22_14_02_766960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a19c3ca75137447d0339adc4dcc1d6f.jpg","text":"TemporaryFile(/tmp/multipartBody7504598221776179516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671269144,"filename":"image_23012025_22_15_02_896860_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330887475","file1":"1330887471","file0":"1330887467","file4":"1330887516","file5":"1330887533","file3":"1330887488"},"map_files_photo_id_array":[{"photo_id":"1330887533","filename":"file5"},{"photo_id":"1330887475","filename":"file2"},{"photo_id":"1330887516","filename":"file4"},{"photo_id":"1330887471","filename":"file1"},{"photo_id":"1330887467","filename":"file0"},{"photo_id":"1330887488","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330887475":["hashtag1","hashtag2"]},{"1330887471":["hashtag1","hashtag2"]},{"1330887516":["hashtag1","hashtag2"]},{"1330887488":["hashtag1","hashtag2"]},{"1330887467":["hashtag1","hashtag2"]},{"1330887533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330887475, 1330887471, 1330887516, 1330887488, 1330887467, 1330887533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.32053565979004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:27:31.951827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_02_896860_0003.jpg', '/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_02_242474_0000.jpg', '/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_02_242474_0001.jpg', '/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_02_242474_0002.jpg', '/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_02_242474_0003.jpg', '/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_02_395797_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_02_896860_0003.jpg
/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_02_242474_0000.jpg
/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_02_242474_0001.jpg
/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_02_242474_0002.jpg
/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_02_242474_0003.jpg
/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_02_395797_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":["1330887586","1330887582","1330887576","1330887590","1330887578","1330887572"],"photo_ids_order":["1330887572","1330887576","1330887578","1330887582","1330887586","1330887590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/117328f28631dbeb6f22ba4e8f540525.jpg","text":"TemporaryFile(/tmp/multipartBody5314977209715829520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671328333,"filename":"image_23012025_22_16_02_242474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6df3fca9d0df8544a95bd010c0b319b6.jpg","text":"TemporaryFile(/tmp/multipartBody6110012262281272507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671328333,"filename":"image_23012025_22_16_02_242474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10b054dd50680429bc3c6fe91a3fcc91.jpg","text":"TemporaryFile(/tmp/multipartBody7926777592726004856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671328333,"filename":"image_23012025_22_16_02_242474_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/104ff9f1ded3ed3368c36dabe1925b6e.jpg","text":"TemporaryFile(/tmp/multipartBody7425446760793701272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671328333,"filename":"image_23012025_22_17_02_395797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1aa90de50bfe45ab9457bf52464d47ce.jpg","text":"TemporaryFile(/tmp/multipartBody2156877147564351763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671328333,"filename":"image_23012025_22_16_02_242474_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d7b3614128826f023c908c18336eaa3.jpg","text":"TemporaryFile(/tmp/multipartBody5875781828874791549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671328333,"filename":"image_23012025_22_15_02_896860_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330887578","file1":"1330887576","file0":"1330887572","file4":"1330887586","file5":"1330887590","file3":"1330887582"},"map_files_photo_id_array":[{"photo_id":"1330887590","filename":"file5"},{"photo_id":"1330887578","filename":"file2"},{"photo_id":"1330887586","filename":"file4"},{"photo_id":"1330887576","filename":"file1"},{"photo_id":"1330887572","filename":"file0"},{"photo_id":"1330887582","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330887586":["hashtag1","hashtag2"]},{"1330887582":["hashtag1","hashtag2"]},{"1330887576":["hashtag1","hashtag2"]},{"1330887590":["hashtag1","hashtag2"]},{"1330887578":["hashtag1","hashtag2"]},{"1330887572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330887586, 1330887582, 1330887576, 1330887590, 1330887578, 1330887572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.47042155265808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:28:32.142334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_02_395797_0001.jpg', '/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_02_395797_0002.jpg', '/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_02_395797_0003.jpg', '/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0000.jpg', '/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0001.jpg', '/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_02_395797_0001.jpg
/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_02_395797_0002.jpg
/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_02_395797_0003.jpg
/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0000.jpg
/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0001.jpg
/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.28945255279541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:28:52.219028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_02_395797_0001.jpg', '/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_02_395797_0002.jpg', '/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_02_395797_0003.jpg', '/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0000.jpg', '/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0001.jpg', '/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_02_395797_0001.jpg
/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_02_395797_0002.jpg
/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_02_395797_0003.jpg
/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0000.jpg
/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0001.jpg
/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330887641","1330887652","1330887631","1330887634","1330887645","1330887638"],"photo_ids_order":["1330887631","1330887634","1330887638","1330887641","1330887645","1330887652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4a87a48744c10e263c2d5b1517dd4cd.jpg","text":"TemporaryFile(/tmp/multipartBody4943284396877395590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671408945,"filename":"image_23012025_22_18_02_646354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdead7430f2418aba88127c12348eb84.jpg","text":"TemporaryFile(/tmp/multipartBody5073389774564119588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671408945,"filename":"image_23012025_22_18_02_646354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96ca4610d41b65989abf9be4a78b57ce.jpg","text":"TemporaryFile(/tmp/multipartBody3512570209301987951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671408945,"filename":"image_23012025_22_17_02_395797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fec2c4c90f416609119d3df98a07e90c.jpg","text":"TemporaryFile(/tmp/multipartBody5927888837094966223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671408945,"filename":"image_23012025_22_17_02_395797_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa5f0b72b02b2adcd8a56b98e83a1998.jpg","text":"TemporaryFile(/tmp/multipartBody6095339864066683799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671408945,"filename":"image_23012025_22_18_02_646354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56bc153493bc4edead849d950e33cc02.jpg","text":"TemporaryFile(/tmp/multipartBody8023852869957943800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671408945,"filename":"image_23012025_22_17_02_395797_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330887638","file1":"1330887634","file0":"1330887631","file4":"1330887645","file5":"1330887652","file3":"1330887641"},"map_files_photo_id_array":[{"photo_id":"1330887652","filename":"file5"},{"photo_id":"1330887638","filename":"file2"},{"photo_id":"1330887645","filename":"file4"},{"photo_id":"1330887634","filename":"file1"},{"photo_id":"1330887631","filename":"file0"},{"photo_id":"1330887641","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330887641":["hashtag1","hashtag2"]},{"1330887652":["hashtag1","hashtag2"]},{"1330887631":["hashtag1","hashtag2"]},{"1330887634":["hashtag1","hashtag2"]},{"1330887645":["hashtag1","hashtag2"]},{"1330887638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330887641, 1330887652, 1330887631, 1330887634, 1330887645, 1330887638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.69969153404236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:29:52.403231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0003.jpg', '/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0000.jpg', '/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0001.jpg', '/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0002.jpg', '/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0003.jpg', '/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_03_100050_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0003.jpg
/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0000.jpg
/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0001.jpg
/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0002.jpg
/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0003.jpg
/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_03_100050_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.860962629318237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:30:22.599752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0003.jpg', '/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0000.jpg', '/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0001.jpg', '/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0002.jpg', '/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0003.jpg', '/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_03_100050_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_02_646354_0003.jpg
/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0000.jpg
/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0001.jpg
/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0002.jpg
/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_02_780102_0003.jpg
/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_03_100050_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":["1330887713","1330887704","1330887712","1330887709","1330887699","1330887692"],"photo_ids_order":["1330887692","1330887699","1330887704","1330887709","1330887712","1330887713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad58a54ccb9e34d64b9ef4e15d48065c.jpg","text":"TemporaryFile(/tmp/multipartBody5045929726772220271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671499796,"filename":"image_23012025_22_20_03_100050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/318d950757ecc6cbad3586ecce435012.jpg","text":"TemporaryFile(/tmp/multipartBody3654764077394687659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671499796,"filename":"image_23012025_22_19_02_780102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05572a21a1356a97eb71e1f970c046bf.jpg","text":"TemporaryFile(/tmp/multipartBody1207093321025908663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671499796,"filename":"image_23012025_22_19_02_780102_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1612bec21f75e39583f7e04cf21c210.jpg","text":"TemporaryFile(/tmp/multipartBody6115153332262352709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671499796,"filename":"image_23012025_22_19_02_780102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/064859d618470eb1c4c9a0ce03e1a29f.jpg","text":"TemporaryFile(/tmp/multipartBody5261781138105695487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671499796,"filename":"image_23012025_22_19_02_780102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98f66f90b9dbde012b8b317df4d694bc.jpg","text":"TemporaryFile(/tmp/multipartBody2140879000976762391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671499796,"filename":"image_23012025_22_18_02_646354_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330887704","file1":"1330887699","file0":"1330887692","file4":"1330887712","file5":"1330887713","file3":"1330887709"},"map_files_photo_id_array":[{"photo_id":"1330887713","filename":"file5"},{"photo_id":"1330887704","filename":"file2"},{"photo_id":"1330887712","filename":"file4"},{"photo_id":"1330887699","filename":"file1"},{"photo_id":"1330887692","filename":"file0"},{"photo_id":"1330887709","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330887713":["hashtag1","hashtag2"]},{"1330887704":["hashtag1","hashtag2"]},{"1330887712":["hashtag1","hashtag2"]},{"1330887709":["hashtag1","hashtag2"]},{"1330887699":["hashtag1","hashtag2"]},{"1330887692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330887713, 1330887704, 1330887712, 1330887709, 1330887699, 1330887692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.1378219127655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:31:21.858120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_03_100050_0001.jpg', '/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_03_100050_0002.jpg', '/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_03_100050_0003.jpg', '/home/pi/Desktop/images/23012025/22/22/image_23012025_22_22_02_333318_0000.jpg', '/home/pi/Desktop/images/23012025/22/25/image_23012025_22_25_02_845110_0000.jpg', '/home/pi/Desktop/images/23012025/22/25/image_23012025_22_25_02_845110_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_03_100050_0001.jpg
/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_03_100050_0002.jpg
/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_03_100050_0003.jpg
/home/pi/Desktop/images/23012025/22/22/image_23012025_22_22_02_333318_0000.jpg
/home/pi/Desktop/images/23012025/22/25/image_23012025_22_25_02_845110_0000.jpg
/home/pi/Desktop/images/23012025/22/25/image_23012025_22_25_02_845110_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":["1330887775","1330887754","1330887811","1330887780","1330887762","1330887749"],"photo_ids_order":["1330887749","1330887754","1330887762","1330887775","1330887780","1330887811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4347b3512b4a2b194287615784afbd2.jpg","text":"TemporaryFile(/tmp/multipartBody2999664859231983455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671558203,"filename":"image_23012025_22_22_02_333318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c13e2df7b974291864f88403aa3b362f.jpg","text":"TemporaryFile(/tmp/multipartBody1128394788054514270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671558203,"filename":"image_23012025_22_20_03_100050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb90c342384441404e3a77735fa7cf6d.jpg","text":"TemporaryFile(/tmp/multipartBody6986709051512550360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671558203,"filename":"image_23012025_22_25_02_845110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0412e5aae35fa0b733ccaccfe584446.jpg","text":"TemporaryFile(/tmp/multipartBody2391616292256454737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671558203,"filename":"image_23012025_22_25_02_845110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11a6eec8b301244277c38bde911804aa.jpg","text":"TemporaryFile(/tmp/multipartBody1208236227250630795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671558203,"filename":"image_23012025_22_20_03_100050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/123808c06a64e17c7173a777f1d5f3f3.jpg","text":"TemporaryFile(/tmp/multipartBody6276336333389560216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671558203,"filename":"image_23012025_22_20_03_100050_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330887762","file1":"1330887754","file0":"1330887749","file4":"1330887780","file5":"1330887811","file3":"1330887775"},"map_files_photo_id_array":[{"photo_id":"1330887811","filename":"file5"},{"photo_id":"1330887762","filename":"file2"},{"photo_id":"1330887780","filename":"file4"},{"photo_id":"1330887754","filename":"file1"},{"photo_id":"1330887749","filename":"file0"},{"photo_id":"1330887775","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330887775":["hashtag1","hashtag2"]},{"1330887754":["hashtag1","hashtag2"]},{"1330887811":["hashtag1","hashtag2"]},{"1330887780":["hashtag1","hashtag2"]},{"1330887762":["hashtag1","hashtag2"]},{"1330887749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330887775, 1330887754, 1330887811, 1330887780, 1330887762, 1330887749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.99167060852051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:32:21.972870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/25/image_23012025_22_25_02_845110_0002.jpg', '/home/pi/Desktop/images/23012025/22/25/image_23012025_22_25_02_845110_0003.jpg', '/home/pi/Desktop/images/23012025/22/26/image_23012025_22_26_03_083531_0000.jpg', '/home/pi/Desktop/images/23012025/22/26/image_23012025_22_26_03_083531_0001.jpg', '/home/pi/Desktop/images/23012025/22/26/image_23012025_22_26_03_083531_0002.jpg', '/home/pi/Desktop/images/23012025/22/26/image_23012025_22_26_03_083531_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/25/image_23012025_22_25_02_845110_0002.jpg
/home/pi/Desktop/images/23012025/22/25/image_23012025_22_25_02_845110_0003.jpg
/home/pi/Desktop/images/23012025/22/26/image_23012025_22_26_03_083531_0000.jpg
/home/pi/Desktop/images/23012025/22/26/image_23012025_22_26_03_083531_0001.jpg
/home/pi/Desktop/images/23012025/22/26/image_23012025_22_26_03_083531_0002.jpg
/home/pi/Desktop/images/23012025/22/26/image_23012025_22_26_03_083531_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":["1330887913","1330887925","1330887921","1330887909","1330887903","1330887917"],"photo_ids_order":["1330887903","1330887909","1330887913","1330887917","1330887921","1330887925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b11e3fd199a5978ffde09f8bd4086c5.jpg","text":"TemporaryFile(/tmp/multipartBody7795079303615745965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671619062,"filename":"image_23012025_22_26_03_083531_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f30f89f95db89bce6cc0fdf4ef862eb.jpg","text":"TemporaryFile(/tmp/multipartBody443991471102795972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671619062,"filename":"image_23012025_22_26_03_083531_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6cc998d81ce05f16a1a4827eafac865f.jpg","text":"TemporaryFile(/tmp/multipartBody3825998986245685945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671619062,"filename":"image_23012025_22_26_03_083531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/436ca3125303497b5cc1f8ed894a0bb4.jpg","text":"TemporaryFile(/tmp/multipartBody2126751095761893195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671619062,"filename":"image_23012025_22_25_02_845110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4596b9f61b411efa760f5f7ea7fa0bc6.jpg","text":"TemporaryFile(/tmp/multipartBody3671035784257324947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671619062,"filename":"image_23012025_22_25_02_845110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38768f8ad0fb9d7cccb276771592542a.jpg","text":"TemporaryFile(/tmp/multipartBody7936914671467758114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671619062,"filename":"image_23012025_22_26_03_083531_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330887913","file1":"1330887909","file0":"1330887903","file4":"1330887921","file5":"1330887925","file3":"1330887917"},"map_files_photo_id_array":[{"photo_id":"1330887925","filename":"file5"},{"photo_id":"1330887913","filename":"file2"},{"photo_id":"1330887921","filename":"file4"},{"photo_id":"1330887909","filename":"file1"},{"photo_id":"1330887903","filename":"file0"},{"photo_id":"1330887917","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330887913":["hashtag1","hashtag2"]},{"1330887925":["hashtag1","hashtag2"]},{"1330887921":["hashtag1","hashtag2"]},{"1330887909":["hashtag1","hashtag2"]},{"1330887903":["hashtag1","hashtag2"]},{"1330887917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330887913, 1330887925, 1330887921, 1330887909, 1330887903, 1330887917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.10197997093201 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:33:22.156380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/27/image_23012025_22_27_02_249090_0000.jpg', '/home/pi/Desktop/images/23012025/22/27/image_23012025_22_27_02_249090_0001.jpg', '/home/pi/Desktop/images/23012025/22/27/image_23012025_22_27_02_249090_0002.jpg', '/home/pi/Desktop/images/23012025/22/27/image_23012025_22_27_02_249090_0003.jpg', '/home/pi/Desktop/images/23012025/22/28/image_23012025_22_28_02_437429_0000.jpg', '/home/pi/Desktop/images/23012025/22/28/image_23012025_22_28_02_437429_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/27/image_23012025_22_27_02_249090_0000.jpg
/home/pi/Desktop/images/23012025/22/27/image_23012025_22_27_02_249090_0001.jpg
/home/pi/Desktop/images/23012025/22/27/image_23012025_22_27_02_249090_0002.jpg
/home/pi/Desktop/images/23012025/22/27/image_23012025_22_27_02_249090_0003.jpg
/home/pi/Desktop/images/23012025/22/28/image_23012025_22_28_02_437429_0000.jpg
/home/pi/Desktop/images/23012025/22/28/image_23012025_22_28_02_437429_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":["1330887970","1330887973","1330887967","1330887975","1330887978","1330887962"],"photo_ids_order":["1330887962","1330887967","1330887970","1330887973","1330887975","1330887978"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37308a40796c7dc978fcd7bacf2dd28a.jpg","text":"TemporaryFile(/tmp/multipartBody2962684375765931878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671679054,"filename":"image_23012025_22_27_02_249090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6a5d30b18d38085d133e75e84dd526f.jpg","text":"TemporaryFile(/tmp/multipartBody732584962350421640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671679054,"filename":"image_23012025_22_27_02_249090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03de25e7fe33afe77dd30a0c596d4146.jpg","text":"TemporaryFile(/tmp/multipartBody235491230166435656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671679054,"filename":"image_23012025_22_27_02_249090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1b39f3b4421defdf4d5d4f2776ed476.jpg","text":"TemporaryFile(/tmp/multipartBody15270882589040426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671679054,"filename":"image_23012025_22_28_02_437429_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab8289c4fd0e1b6f249441f9459d72a6.jpg","text":"TemporaryFile(/tmp/multipartBody4833699099409833333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671679054,"filename":"image_23012025_22_28_02_437429_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef20cc2235175a1c73b7f6df5a5888fc.jpg","text":"TemporaryFile(/tmp/multipartBody6669753617587739153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671679054,"filename":"image_23012025_22_27_02_249090_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330887970","file1":"1330887967","file0":"1330887962","file4":"1330887975","file5":"1330887978","file3":"1330887973"},"map_files_photo_id_array":[{"photo_id":"1330887978","filename":"file5"},{"photo_id":"1330887970","filename":"file2"},{"photo_id":"1330887975","filename":"file4"},{"photo_id":"1330887967","filename":"file1"},{"photo_id":"1330887962","filename":"file0"},{"photo_id":"1330887973","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330887970":["hashtag1","hashtag2"]},{"1330887973":["hashtag1","hashtag2"]},{"1330887967":["hashtag1","hashtag2"]},{"1330887975":["hashtag1","hashtag2"]},{"1330887978":["hashtag1","hashtag2"]},{"1330887962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330887970, 1330887973, 1330887967, 1330887975, 1330887978, 1330887962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.15403079986572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:34:22.320679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/28/image_23012025_22_28_02_437429_0002.jpg', '/home/pi/Desktop/images/23012025/22/28/image_23012025_22_28_02_437429_0003.jpg', '/home/pi/Desktop/images/23012025/22/29/image_23012025_22_29_02_536760_0000.jpg', '/home/pi/Desktop/images/23012025/22/29/image_23012025_22_29_02_536760_0001.jpg', '/home/pi/Desktop/images/23012025/22/29/image_23012025_22_29_02_536760_0002.jpg', '/home/pi/Desktop/images/23012025/22/29/image_23012025_22_29_02_536760_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/28/image_23012025_22_28_02_437429_0002.jpg
/home/pi/Desktop/images/23012025/22/28/image_23012025_22_28_02_437429_0003.jpg
/home/pi/Desktop/images/23012025/22/29/image_23012025_22_29_02_536760_0000.jpg
/home/pi/Desktop/images/23012025/22/29/image_23012025_22_29_02_536760_0001.jpg
/home/pi/Desktop/images/23012025/22/29/image_23012025_22_29_02_536760_0002.jpg
/home/pi/Desktop/images/23012025/22/29/image_23012025_22_29_02_536760_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":["1330888009","1330887999","1330887993","1330888020","1330888025","1330888004"],"photo_ids_order":["1330887993","1330887999","1330888004","1330888009","1330888020","1330888025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/338d1fac45765cba1eddfa6a922eda28.jpg","text":"TemporaryFile(/tmp/multipartBody2582156753175114639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671739204,"filename":"image_23012025_22_29_02_536760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e5ed539979b66beffe2760ca956d6ec.jpg","text":"TemporaryFile(/tmp/multipartBody7093146421582359561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671739204,"filename":"image_23012025_22_28_02_437429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/655ee4cce6babb0061f8247c32f0ae7f.jpg","text":"TemporaryFile(/tmp/multipartBody9183057010290634149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671739204,"filename":"image_23012025_22_28_02_437429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/014ef7e5051abdbe26ba48479cd5704d.jpg","text":"TemporaryFile(/tmp/multipartBody817965276477981855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671739204,"filename":"image_23012025_22_29_02_536760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/281cd8c7931fb5d16051f0e21c96022a.jpg","text":"TemporaryFile(/tmp/multipartBody3387333985852735562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671739204,"filename":"image_23012025_22_29_02_536760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d6015fd34b94fb1e410c8fb1c1d6722.jpg","text":"TemporaryFile(/tmp/multipartBody3612262185802169812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671739204,"filename":"image_23012025_22_29_02_536760_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330888004","file1":"1330887999","file0":"1330887993","file4":"1330888020","file5":"1330888025","file3":"1330888009"},"map_files_photo_id_array":[{"photo_id":"1330888025","filename":"file5"},{"photo_id":"1330888004","filename":"file2"},{"photo_id":"1330888020","filename":"file4"},{"photo_id":"1330887999","filename":"file1"},{"photo_id":"1330887993","filename":"file0"},{"photo_id":"1330888009","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330888009":["hashtag1","hashtag2"]},{"1330887999":["hashtag1","hashtag2"]},{"1330887993":["hashtag1","hashtag2"]},{"1330888020":["hashtag1","hashtag2"]},{"1330888025":["hashtag1","hashtag2"]},{"1330888004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330888009, 1330887999, 1330887993, 1330888020, 1330888025, 1330888004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.33575439453125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:35:22.479478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/30/image_23012025_22_30_02_937556_0000.jpg', '/home/pi/Desktop/images/23012025/22/30/image_23012025_22_30_02_937556_0001.jpg', '/home/pi/Desktop/images/23012025/22/30/image_23012025_22_30_02_937556_0002.jpg', '/home/pi/Desktop/images/23012025/22/30/image_23012025_22_30_02_937556_0003.jpg', '/home/pi/Desktop/images/23012025/22/31/image_23012025_22_31_02_987435_0000.jpg', '/home/pi/Desktop/images/23012025/22/31/image_23012025_22_31_02_987435_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/30/image_23012025_22_30_02_937556_0000.jpg
/home/pi/Desktop/images/23012025/22/30/image_23012025_22_30_02_937556_0001.jpg
/home/pi/Desktop/images/23012025/22/30/image_23012025_22_30_02_937556_0002.jpg
/home/pi/Desktop/images/23012025/22/30/image_23012025_22_30_02_937556_0003.jpg
/home/pi/Desktop/images/23012025/22/31/image_23012025_22_31_02_987435_0000.jpg
/home/pi/Desktop/images/23012025/22/31/image_23012025_22_31_02_987435_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":["1330888048","1330888098","1330888086","1330888044","1330888101","1330888052"],"photo_ids_order":["1330888044","1330888048","1330888052","1330888086","1330888098","1330888101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b62608078b77373d1397062682993a38.jpg","text":"TemporaryFile(/tmp/multipartBody2177501031783420360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671799394,"filename":"image_23012025_22_30_02_937556_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2fffc2ec5e06e7d4550b3d65fb50c1d6.jpg","text":"TemporaryFile(/tmp/multipartBody2450138769814179979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671799394,"filename":"image_23012025_22_31_02_987435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9866bca094e8c194cbf98054414858f5.jpg","text":"TemporaryFile(/tmp/multipartBody2384970462666917944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671799394,"filename":"image_23012025_22_30_02_937556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e4451877da2e09dd14042926717c1e6.jpg","text":"TemporaryFile(/tmp/multipartBody299207654812356593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671799394,"filename":"image_23012025_22_30_02_937556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3accc1257b80ea0766dd33d1abd685e.jpg","text":"TemporaryFile(/tmp/multipartBody2351172859196662845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671799394,"filename":"image_23012025_22_31_02_987435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3158781522cf136f48148448f93df070.jpg","text":"TemporaryFile(/tmp/multipartBody6379190908336358508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671799394,"filename":"image_23012025_22_30_02_937556_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330888052","file1":"1330888048","file0":"1330888044","file4":"1330888098","file5":"1330888101","file3":"1330888086"},"map_files_photo_id_array":[{"photo_id":"1330888101","filename":"file5"},{"photo_id":"1330888052","filename":"file2"},{"photo_id":"1330888098","filename":"file4"},{"photo_id":"1330888048","filename":"file1"},{"photo_id":"1330888044","filename":"file0"},{"photo_id":"1330888086","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330888048":["hashtag1","hashtag2"]},{"1330888098":["hashtag1","hashtag2"]},{"1330888086":["hashtag1","hashtag2"]},{"1330888044":["hashtag1","hashtag2"]},{"1330888101":["hashtag1","hashtag2"]},{"1330888052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330888048, 1330888098, 1330888086, 1330888044, 1330888101, 1330888052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.08645462989807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:36:22.746953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/31/image_23012025_22_31_02_987435_0002.jpg', '/home/pi/Desktop/images/23012025/22/31/image_23012025_22_31_02_987435_0003.jpg', '/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_0000.jpg', '/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_0001.jpg', '/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_0002.jpg', '/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/31/image_23012025_22_31_02_987435_0002.jpg
/home/pi/Desktop/images/23012025/22/31/image_23012025_22_31_02_987435_0003.jpg
/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_0000.jpg
/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_0001.jpg
/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_0002.jpg
/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_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.545773029327393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 23:36:42.703436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/31/image_23012025_22_31_02_987435_0002.jpg', '/home/pi/Desktop/images/23012025/22/31/image_23012025_22_31_02_987435_0003.jpg', '/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_0000.jpg', '/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_0001.jpg', '/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_0002.jpg', '/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/31/image_23012025_22_31_02_987435_0002.jpg
/home/pi/Desktop/images/23012025/22/31/image_23012025_22_31_02_987435_0003.jpg
/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_0000.jpg
/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_0001.jpg
/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_0002.jpg
/home/pi/Desktop/images/23012025/22/32/image_23012025_22_32_03_152022_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":["1330888147","1330888182","1330888176","1330888184","1330888187","1330888142"],"photo_ids_order":["1330888142","1330888147","1330888176","1330888182","1330888184","1330888187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94cb47510cec1ce23d44fbb10fc93648.jpg","text":"TemporaryFile(/tmp/multipartBody5099518383277946603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671879626,"filename":"image_23012025_22_31_02_987435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2952923beebd25df99254a35f27b6368.jpg","text":"TemporaryFile(/tmp/multipartBody7402386350223063842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671879626,"filename":"image_23012025_22_32_03_152022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5207a69ad629750c0229566b307e703c.jpg","text":"TemporaryFile(/tmp/multipartBody415657131841375539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671879626,"filename":"image_23012025_22_32_03_152022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8804a26ca540cc9de87bad5499a8d4ef.jpg","text":"TemporaryFile(/tmp/multipartBody4757005967720170184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671879626,"filename":"image_23012025_22_32_03_152022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7605c4bdb2107fa8af4e30ca1737a109.jpg","text":"TemporaryFile(/tmp/multipartBody1911217315092963701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671879626,"filename":"image_23012025_22_32_03_152022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f683f314ca17efa8d15673083d3ec33.jpg","text":"TemporaryFile(/tmp/multipartBody5265399619742770359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671879626,"filename":"image_23012025_22_31_02_987435_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330888176","file1":"1330888147","file0":"1330888142","file4":"1330888184","file5":"1330888187","file3":"1330888182"},"map_files_photo_id_array":[{"photo_id":"1330888187","filename":"file5"},{"photo_id":"1330888176","filename":"file2"},{"photo_id":"1330888184","filename":"file4"},{"photo_id":"1330888147","filename":"file1"},{"photo_id":"1330888142","filename":"file0"},{"photo_id":"1330888182","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330888147":["hashtag1","hashtag2"]},{"1330888182":["hashtag1","hashtag2"]},{"1330888176":["hashtag1","hashtag2"]},{"1330888184":["hashtag1","hashtag2"]},{"1330888187":["hashtag1","hashtag2"]},{"1330888142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330888147, 1330888182, 1330888176, 1330888184, 1330888187, 1330888142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.699681997299194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 23:37:41.887248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0000.jpg', '/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0001.jpg', '/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0002.jpg', '/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0003.jpg', '/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_0000.jpg', '/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0000.jpg
/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0001.jpg
/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0002.jpg
/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0003.jpg
/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_0000.jpg
/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_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: 16.48974609375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 23:38:02.475506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0000.jpg', '/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0001.jpg', '/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0002.jpg', '/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0003.jpg', '/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_0000.jpg', '/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0000.jpg
/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0001.jpg
/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0002.jpg
/home/pi/Desktop/images/23012025/22/33/image_23012025_22_33_02_377512_0003.jpg
/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_0000.jpg
/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_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":["1330888297","1330888278","1330888293","1330888281","1330888289","1330888283"],"photo_ids_order":["1330888278","1330888281","1330888283","1330888289","1330888293","1330888297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16fa75a005a536cd55abb993c010b953.jpg","text":"TemporaryFile(/tmp/multipartBody2822184926727278133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671959399,"filename":"image_23012025_22_34_02_545918_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5d02a3d2809d4ba0ea01213d4a5099d.jpg","text":"TemporaryFile(/tmp/multipartBody7134792333413324249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671959399,"filename":"image_23012025_22_33_02_377512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5d2ce76fe7b7b58dd9433937de01bf3.jpg","text":"TemporaryFile(/tmp/multipartBody8193382063735279379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671959399,"filename":"image_23012025_22_34_02_545918_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4be0df8eb6c0d04a3f0ab318368e495f.jpg","text":"TemporaryFile(/tmp/multipartBody3480176899140627494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671959399,"filename":"image_23012025_22_33_02_377512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9203266085c199c2b5e1b5b4859f2695.jpg","text":"TemporaryFile(/tmp/multipartBody3993513873341539235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671959399,"filename":"image_23012025_22_33_02_377512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c03e9408b2edd5e46f69beb99cbacf7.jpg","text":"TemporaryFile(/tmp/multipartBody2002489763415108368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671959399,"filename":"image_23012025_22_33_02_377512_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330888283","file1":"1330888281","file0":"1330888278","file4":"1330888293","file5":"1330888297","file3":"1330888289"},"map_files_photo_id_array":[{"photo_id":"1330888297","filename":"file5"},{"photo_id":"1330888283","filename":"file2"},{"photo_id":"1330888293","filename":"file4"},{"photo_id":"1330888281","filename":"file1"},{"photo_id":"1330888278","filename":"file0"},{"photo_id":"1330888289","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330888297":["hashtag1","hashtag2"]},{"1330888278":["hashtag1","hashtag2"]},{"1330888293":["hashtag1","hashtag2"]},{"1330888281":["hashtag1","hashtag2"]},{"1330888289":["hashtag1","hashtag2"]},{"1330888283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330888297, 1330888278, 1330888293, 1330888281, 1330888289, 1330888283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.08610820770264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 23:39:02.778092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_0002.jpg', '/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_0003.jpg', '/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0000.jpg', '/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0001.jpg', '/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0002.jpg', '/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_0002.jpg
/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_0003.jpg
/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0000.jpg
/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0001.jpg
/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0002.jpg
/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.78965950012207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:39:22.260229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_0002.jpg', '/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_0003.jpg', '/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0000.jpg', '/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0001.jpg', '/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0002.jpg', '/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_0002.jpg
/home/pi/Desktop/images/23012025/22/34/image_23012025_22_34_02_545918_0003.jpg
/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0000.jpg
/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0001.jpg
/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_0002.jpg
/home/pi/Desktop/images/23012025/22/35/image_23012025_22_35_02_659322_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":["1330888420","1330888423","1330888411","1330888414","1330888406","1330888418"],"photo_ids_order":["1330888406","1330888411","1330888414","1330888418","1330888420","1330888423"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40e25e36261ce9f20af65a6774661458.jpg","text":"TemporaryFile(/tmp/multipartBody5636544258353942308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672039337,"filename":"image_23012025_22_35_02_659322_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec133c9933668d4207bad7b3060970de.jpg","text":"TemporaryFile(/tmp/multipartBody9012527122956204352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672039337,"filename":"image_23012025_22_35_02_659322_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3a56ad50c8d2ccf184168524021d9c8.jpg","text":"TemporaryFile(/tmp/multipartBody5055384448744078519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672039337,"filename":"image_23012025_22_34_02_545918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3787d63957453b1ba32c75fcc41aa7e1.jpg","text":"TemporaryFile(/tmp/multipartBody1598246547890309217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672039337,"filename":"image_23012025_22_35_02_659322_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2c50740d5c5730fcd5c9f325f4ff5f3.jpg","text":"TemporaryFile(/tmp/multipartBody8882771443260231104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672039337,"filename":"image_23012025_22_34_02_545918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34c598f95b2331d50b6e691a9e264800.jpg","text":"TemporaryFile(/tmp/multipartBody6098328511205660246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672039337,"filename":"image_23012025_22_35_02_659322_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330888414","file1":"1330888411","file0":"1330888406","file4":"1330888420","file5":"1330888423","file3":"1330888418"},"map_files_photo_id_array":[{"photo_id":"1330888423","filename":"file5"},{"photo_id":"1330888414","filename":"file2"},{"photo_id":"1330888420","filename":"file4"},{"photo_id":"1330888411","filename":"file1"},{"photo_id":"1330888406","filename":"file0"},{"photo_id":"1330888418","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330888420":["hashtag1","hashtag2"]},{"1330888423":["hashtag1","hashtag2"]},{"1330888411":["hashtag1","hashtag2"]},{"1330888414":["hashtag1","hashtag2"]},{"1330888406":["hashtag1","hashtag2"]},{"1330888418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330888420, 1330888423, 1330888411, 1330888414, 1330888406, 1330888418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.6782124042511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:40:22.385801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/36/image_23012025_22_36_02_916911_0000.jpg', '/home/pi/Desktop/images/23012025/22/36/image_23012025_22_36_02_916911_0001.jpg', '/home/pi/Desktop/images/23012025/22/36/image_23012025_22_36_02_916911_0002.jpg', '/home/pi/Desktop/images/23012025/22/36/image_23012025_22_36_02_916911_0003.jpg', '/home/pi/Desktop/images/23012025/22/37/image_23012025_22_37_03_044774_0000.jpg', '/home/pi/Desktop/images/23012025/22/37/image_23012025_22_37_03_044774_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/36/image_23012025_22_36_02_916911_0000.jpg
/home/pi/Desktop/images/23012025/22/36/image_23012025_22_36_02_916911_0001.jpg
/home/pi/Desktop/images/23012025/22/36/image_23012025_22_36_02_916911_0002.jpg
/home/pi/Desktop/images/23012025/22/36/image_23012025_22_36_02_916911_0003.jpg
/home/pi/Desktop/images/23012025/22/37/image_23012025_22_37_03_044774_0000.jpg
/home/pi/Desktop/images/23012025/22/37/image_23012025_22_37_03_044774_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":["1330888866","1330888440","1330888574","1330889638","1330889938","1330889329"],"photo_ids_order":["1330888440","1330888574","1330888866","1330889329","1330889638","1330889938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05bb936c883bf9bd17682bee4b6d96a6.jpg","text":"TemporaryFile(/tmp/multipartBody1475424029860421538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672099324,"filename":"image_23012025_22_36_02_916911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4912c4b1cce02fbea504aa0e87faab96.jpg","text":"TemporaryFile(/tmp/multipartBody4698671578829037190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672099324,"filename":"image_23012025_22_36_02_916911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbf04aaf56ef1d20ec6c2979d80b7f17.jpg","text":"TemporaryFile(/tmp/multipartBody6574106452573073938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672099324,"filename":"image_23012025_22_36_02_916911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/321528452609e128fa10da8a571f96c2.jpg","text":"TemporaryFile(/tmp/multipartBody1531990559334547630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672099324,"filename":"image_23012025_22_37_03_044774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c2783911ecd60bdaf9756c606bcd023.jpg","text":"TemporaryFile(/tmp/multipartBody8179570325254712482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672099324,"filename":"image_23012025_22_37_03_044774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25a5ec0f2dbf4024f51026e873af74a0.jpg","text":"TemporaryFile(/tmp/multipartBody8868207024527739291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672099324,"filename":"image_23012025_22_36_02_916911_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330888866","file1":"1330888574","file0":"1330888440","file4":"1330889638","file5":"1330889938","file3":"1330889329"},"map_files_photo_id_array":[{"photo_id":"1330889938","filename":"file5"},{"photo_id":"1330888866","filename":"file2"},{"photo_id":"1330889638","filename":"file4"},{"photo_id":"1330888574","filename":"file1"},{"photo_id":"1330888440","filename":"file0"},{"photo_id":"1330889329","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330888866":["hashtag1","hashtag2"]},{"1330888440":["hashtag1","hashtag2"]},{"1330888574":["hashtag1","hashtag2"]},{"1330889638":["hashtag1","hashtag2"]},{"1330889938":["hashtag1","hashtag2"]},{"1330889329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330888866, 1330888440, 1330888574, 1330889638, 1330889938, 1330889329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.084468603134155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:41:22.478376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/37/image_23012025_22_37_03_044774_0002.jpg', '/home/pi/Desktop/images/23012025/22/37/image_23012025_22_37_03_044774_0003.jpg', '/home/pi/Desktop/images/23012025/22/38/image_23012025_22_38_02_315443_0000.jpg', '/home/pi/Desktop/images/23012025/22/38/image_23012025_22_38_02_315443_0001.jpg', '/home/pi/Desktop/images/23012025/22/38/image_23012025_22_38_02_315443_0002.jpg', '/home/pi/Desktop/images/23012025/22/38/image_23012025_22_38_02_315443_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/37/image_23012025_22_37_03_044774_0002.jpg
/home/pi/Desktop/images/23012025/22/37/image_23012025_22_37_03_044774_0003.jpg
/home/pi/Desktop/images/23012025/22/38/image_23012025_22_38_02_315443_0000.jpg
/home/pi/Desktop/images/23012025/22/38/image_23012025_22_38_02_315443_0001.jpg
/home/pi/Desktop/images/23012025/22/38/image_23012025_22_38_02_315443_0002.jpg
/home/pi/Desktop/images/23012025/22/38/image_23012025_22_38_02_315443_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":["1330889967","1330890021","1330889984","1330889995","1330889974","1330890029"],"photo_ids_order":["1330889967","1330889974","1330889984","1330889995","1330890021","1330890029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e83eef6e3cc981d0cc64e1838034e5b6.jpg","text":"TemporaryFile(/tmp/multipartBody4270046824182582840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672159128,"filename":"image_23012025_22_37_03_044774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a967c9c2a899e149c63df69947fc7cb.jpg","text":"TemporaryFile(/tmp/multipartBody5992401791725091313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672159128,"filename":"image_23012025_22_38_02_315443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c44bc8ba193997b9f5d2606b6b42ddbd.jpg","text":"TemporaryFile(/tmp/multipartBody8028389022621374361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672159128,"filename":"image_23012025_22_38_02_315443_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28eda2c11740179d050e99c7440d0835.jpg","text":"TemporaryFile(/tmp/multipartBody2059987447070691428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672159128,"filename":"image_23012025_22_38_02_315443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c420ef16c20829fe091003a1747ca4bf.jpg","text":"TemporaryFile(/tmp/multipartBody7535012530840025290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672159128,"filename":"image_23012025_22_37_03_044774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8983f3436f1f7d07b7d6185aa09ba237.jpg","text":"TemporaryFile(/tmp/multipartBody1089594542728990651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672159128,"filename":"image_23012025_22_38_02_315443_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330889984","file1":"1330889974","file0":"1330889967","file4":"1330890021","file5":"1330890029","file3":"1330889995"},"map_files_photo_id_array":[{"photo_id":"1330890029","filename":"file5"},{"photo_id":"1330889984","filename":"file2"},{"photo_id":"1330890021","filename":"file4"},{"photo_id":"1330889974","filename":"file1"},{"photo_id":"1330889967","filename":"file0"},{"photo_id":"1330889995","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330889967":["hashtag1","hashtag2"]},{"1330890021":["hashtag1","hashtag2"]},{"1330889984":["hashtag1","hashtag2"]},{"1330889995":["hashtag1","hashtag2"]},{"1330889974":["hashtag1","hashtag2"]},{"1330890029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330889967, 1330890021, 1330889984, 1330889995, 1330889974, 1330890029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.7289457321167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:42:22.779740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/39/image_23012025_22_39_02_406428_0000.jpg', '/home/pi/Desktop/images/23012025/22/39/image_23012025_22_39_02_406428_0001.jpg', '/home/pi/Desktop/images/23012025/22/39/image_23012025_22_39_02_406428_0002.jpg', '/home/pi/Desktop/images/23012025/22/39/image_23012025_22_39_02_406428_0003.jpg', '/home/pi/Desktop/images/23012025/22/40/image_23012025_22_40_02_566771_0000.jpg', '/home/pi/Desktop/images/23012025/22/40/image_23012025_22_40_02_566771_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/39/image_23012025_22_39_02_406428_0000.jpg
/home/pi/Desktop/images/23012025/22/39/image_23012025_22_39_02_406428_0001.jpg
/home/pi/Desktop/images/23012025/22/39/image_23012025_22_39_02_406428_0002.jpg
/home/pi/Desktop/images/23012025/22/39/image_23012025_22_39_02_406428_0003.jpg
/home/pi/Desktop/images/23012025/22/40/image_23012025_22_40_02_566771_0000.jpg
/home/pi/Desktop/images/23012025/22/40/image_23012025_22_40_02_566771_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":["1330890439","1330890495","1330890561","1330890516","1330890566","1330890368"],"photo_ids_order":["1330890368","1330890439","1330890495","1330890516","1330890561","1330890566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ab5a5efd04592d16800e36aea62a448.jpg","text":"TemporaryFile(/tmp/multipartBody6359934077373116348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672219888,"filename":"image_23012025_22_39_02_406428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49d650d1a8bb8fc52c70300f727d9e7e.jpg","text":"TemporaryFile(/tmp/multipartBody3135756720838642440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672219888,"filename":"image_23012025_22_39_02_406428_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9166e532a81c2f5b7a63f099e875f1a4.jpg","text":"TemporaryFile(/tmp/multipartBody2030539138639461764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672219888,"filename":"image_23012025_22_40_02_566771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36772788c8da2b1319c3977b580e0868.jpg","text":"TemporaryFile(/tmp/multipartBody8427119062307064765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672219888,"filename":"image_23012025_22_39_02_406428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75c121ee4d40f302cffb510f676fd48f.jpg","text":"TemporaryFile(/tmp/multipartBody5744548078896813348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672219888,"filename":"image_23012025_22_40_02_566771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/618f174bf925ae127bfb7c0faf4de96d.jpg","text":"TemporaryFile(/tmp/multipartBody4225007660532698087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672219888,"filename":"image_23012025_22_39_02_406428_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330890495","file1":"1330890439","file0":"1330890368","file4":"1330890561","file5":"1330890566","file3":"1330890516"},"map_files_photo_id_array":[{"photo_id":"1330890566","filename":"file5"},{"photo_id":"1330890495","filename":"file2"},{"photo_id":"1330890561","filename":"file4"},{"photo_id":"1330890439","filename":"file1"},{"photo_id":"1330890368","filename":"file0"},{"photo_id":"1330890516","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330890439":["hashtag1","hashtag2"]},{"1330890495":["hashtag1","hashtag2"]},{"1330890561":["hashtag1","hashtag2"]},{"1330890516":["hashtag1","hashtag2"]},{"1330890566":["hashtag1","hashtag2"]},{"1330890368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330890439, 1330890495, 1330890561, 1330890516, 1330890566, 1330890368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.52020263671875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:43:31.932884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/40/image_23012025_22_40_02_566771_0002.jpg', '/home/pi/Desktop/images/23012025/22/40/image_23012025_22_40_02_566771_0003.jpg', '/home/pi/Desktop/images/23012025/22/41/image_23012025_22_41_02_782482_0000.jpg', '/home/pi/Desktop/images/23012025/22/41/image_23012025_22_41_02_782482_0001.jpg', '/home/pi/Desktop/images/23012025/22/41/image_23012025_22_41_02_782482_0002.jpg', '/home/pi/Desktop/images/23012025/22/41/image_23012025_22_41_02_782482_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/40/image_23012025_22_40_02_566771_0002.jpg
/home/pi/Desktop/images/23012025/22/40/image_23012025_22_40_02_566771_0003.jpg
/home/pi/Desktop/images/23012025/22/41/image_23012025_22_41_02_782482_0000.jpg
/home/pi/Desktop/images/23012025/22/41/image_23012025_22_41_02_782482_0001.jpg
/home/pi/Desktop/images/23012025/22/41/image_23012025_22_41_02_782482_0002.jpg
/home/pi/Desktop/images/23012025/22/41/image_23012025_22_41_02_782482_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":["1330890613","1330890594","1330890621","1330890647","1330890626","1330890589"],"photo_ids_order":["1330890589","1330890594","1330890613","1330890621","1330890626","1330890647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81371e553004fa1d6cb559e9a20ddad1.jpg","text":"TemporaryFile(/tmp/multipartBody1502948444517679474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672288765,"filename":"image_23012025_22_41_02_782482_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/290b58b40e8e52bc97bb04d90d96c591.jpg","text":"TemporaryFile(/tmp/multipartBody2693952014408948965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672288765,"filename":"image_23012025_22_40_02_566771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72bfad2ce3a391438ce7281418d32d36.jpg","text":"TemporaryFile(/tmp/multipartBody3945008190799909629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672288765,"filename":"image_23012025_22_41_02_782482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15c4492ced3e86134ba420da3e90ee86.jpg","text":"TemporaryFile(/tmp/multipartBody6101113328293109899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672288765,"filename":"image_23012025_22_41_02_782482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0388d2b1a1420a2b392f79bf30741053.jpg","text":"TemporaryFile(/tmp/multipartBody3758852805635609765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672288765,"filename":"image_23012025_22_41_02_782482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e270b66f907f891e1bf4b59e2343eff1.jpg","text":"TemporaryFile(/tmp/multipartBody3769602779875040793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672288765,"filename":"image_23012025_22_40_02_566771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330890613","file1":"1330890594","file0":"1330890589","file4":"1330890626","file5":"1330890647","file3":"1330890621"},"map_files_photo_id_array":[{"photo_id":"1330890647","filename":"file5"},{"photo_id":"1330890613","filename":"file2"},{"photo_id":"1330890626","filename":"file4"},{"photo_id":"1330890594","filename":"file1"},{"photo_id":"1330890589","filename":"file0"},{"photo_id":"1330890621","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330890613":["hashtag1","hashtag2"]},{"1330890594":["hashtag1","hashtag2"]},{"1330890621":["hashtag1","hashtag2"]},{"1330890647":["hashtag1","hashtag2"]},{"1330890626":["hashtag1","hashtag2"]},{"1330890589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330890613, 1330890594, 1330890621, 1330890647, 1330890626, 1330890589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.76827645301819 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:44:32.101794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/42/image_23012025_22_42_02_863082_0000.jpg', '/home/pi/Desktop/images/23012025/22/42/image_23012025_22_42_02_863082_0001.jpg', '/home/pi/Desktop/images/23012025/22/42/image_23012025_22_42_02_863082_0002.jpg', '/home/pi/Desktop/images/23012025/22/42/image_23012025_22_42_02_863082_0003.jpg', '/home/pi/Desktop/images/23012025/22/43/image_23012025_22_43_03_063811_0000.jpg', '/home/pi/Desktop/images/23012025/22/43/image_23012025_22_43_03_063811_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/42/image_23012025_22_42_02_863082_0000.jpg
/home/pi/Desktop/images/23012025/22/42/image_23012025_22_42_02_863082_0001.jpg
/home/pi/Desktop/images/23012025/22/42/image_23012025_22_42_02_863082_0002.jpg
/home/pi/Desktop/images/23012025/22/42/image_23012025_22_42_02_863082_0003.jpg
/home/pi/Desktop/images/23012025/22/43/image_23012025_22_43_03_063811_0000.jpg
/home/pi/Desktop/images/23012025/22/43/image_23012025_22_43_03_063811_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":["1330890703","1330890706","1330890699","1330890692","1330890695","1330890689"],"photo_ids_order":["1330890689","1330890692","1330890695","1330890699","1330890703","1330890706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13e6b26c6a644cd77985cdd5da4f9c58.jpg","text":"TemporaryFile(/tmp/multipartBody3793134536972507826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672348822,"filename":"image_23012025_22_43_03_063811_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1353ceca5ebd3c72b45860ba04b8585e.jpg","text":"TemporaryFile(/tmp/multipartBody4195589101691723181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672348822,"filename":"image_23012025_22_43_03_063811_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ce929fd24ce487b601f86561c100440.jpg","text":"TemporaryFile(/tmp/multipartBody8982190344799253117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672348822,"filename":"image_23012025_22_42_02_863082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec815b0c9f33a23b3df1da533ba3e0fa.jpg","text":"TemporaryFile(/tmp/multipartBody5680119763028192880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672348822,"filename":"image_23012025_22_42_02_863082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0b14f82ecdb5c8de045d6ef9bce8666.jpg","text":"TemporaryFile(/tmp/multipartBody3111712836185495441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672348822,"filename":"image_23012025_22_42_02_863082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/579bd12f55b0eded45893a021c452747.jpg","text":"TemporaryFile(/tmp/multipartBody1785687859781804841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672348822,"filename":"image_23012025_22_42_02_863082_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330890695","file1":"1330890692","file0":"1330890689","file4":"1330890703","file5":"1330890706","file3":"1330890699"},"map_files_photo_id_array":[{"photo_id":"1330890706","filename":"file5"},{"photo_id":"1330890695","filename":"file2"},{"photo_id":"1330890703","filename":"file4"},{"photo_id":"1330890692","filename":"file1"},{"photo_id":"1330890689","filename":"file0"},{"photo_id":"1330890699","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330890703":["hashtag1","hashtag2"]},{"1330890706":["hashtag1","hashtag2"]},{"1330890699":["hashtag1","hashtag2"]},{"1330890692":["hashtag1","hashtag2"]},{"1330890695":["hashtag1","hashtag2"]},{"1330890689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330890703, 1330890706, 1330890699, 1330890692, 1330890695, 1330890689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.3209593296051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 23:45:42.326541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/43/image_23012025_22_43_03_063811_0002.jpg', '/home/pi/Desktop/images/23012025/22/43/image_23012025_22_43_03_063811_0003.jpg', '/home/pi/Desktop/images/23012025/22/44/image_23012025_22_44_02_276528_0000.jpg', '/home/pi/Desktop/images/23012025/22/44/image_23012025_22_44_02_276528_0001.jpg', '/home/pi/Desktop/images/23012025/22/44/image_23012025_22_44_02_276528_0002.jpg', '/home/pi/Desktop/images/23012025/22/44/image_23012025_22_44_02_276528_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/43/image_23012025_22_43_03_063811_0002.jpg
/home/pi/Desktop/images/23012025/22/43/image_23012025_22_43_03_063811_0003.jpg
/home/pi/Desktop/images/23012025/22/44/image_23012025_22_44_02_276528_0000.jpg
/home/pi/Desktop/images/23012025/22/44/image_23012025_22_44_02_276528_0001.jpg
/home/pi/Desktop/images/23012025/22/44/image_23012025_22_44_02_276528_0002.jpg
/home/pi/Desktop/images/23012025/22/44/image_23012025_22_44_02_276528_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":["1330890748","1330890763","1330890744","1330890761","1330890767","1330890766"],"photo_ids_order":["1330890744","1330890748","1330890761","1330890763","1330890766","1330890767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a72a396205f936c75226fe9f077a163.jpg","text":"TemporaryFile(/tmp/multipartBody7701198986337479272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672418753,"filename":"image_23012025_22_43_03_063811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/555970018bab3d678903c8c3ec3f9cd6.jpg","text":"TemporaryFile(/tmp/multipartBody172608602500980445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672418753,"filename":"image_23012025_22_44_02_276528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0637212d5f4153f18d7bfd149e88a2cf.jpg","text":"TemporaryFile(/tmp/multipartBody147930756763522116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672418753,"filename":"image_23012025_22_43_03_063811_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f49ec1f85754f2e97483e1c10d704db0.jpg","text":"TemporaryFile(/tmp/multipartBody5521486581274106415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672418753,"filename":"image_23012025_22_44_02_276528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c64318eec8c3538f7f5b8bbfd7a7630d.jpg","text":"TemporaryFile(/tmp/multipartBody5505865547205772183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672418753,"filename":"image_23012025_22_44_02_276528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34cb51536021b275de332b0f53df42b3.jpg","text":"TemporaryFile(/tmp/multipartBody2942628502347715060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672418753,"filename":"image_23012025_22_44_02_276528_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330890761","file1":"1330890748","file0":"1330890744","file4":"1330890766","file5":"1330890767","file3":"1330890763"},"map_files_photo_id_array":[{"photo_id":"1330890767","filename":"file5"},{"photo_id":"1330890761","filename":"file2"},{"photo_id":"1330890766","filename":"file4"},{"photo_id":"1330890748","filename":"file1"},{"photo_id":"1330890744","filename":"file0"},{"photo_id":"1330890763","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330890748":["hashtag1","hashtag2"]},{"1330890763":["hashtag1","hashtag2"]},{"1330890744":["hashtag1","hashtag2"]},{"1330890761":["hashtag1","hashtag2"]},{"1330890767":["hashtag1","hashtag2"]},{"1330890766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330890748, 1330890763, 1330890744, 1330890761, 1330890767, 1330890766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.27653789520264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:46:52.446340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/45/image_23012025_22_45_02_398379_0000.jpg', '/home/pi/Desktop/images/23012025/22/45/image_23012025_22_45_02_398379_0001.jpg', '/home/pi/Desktop/images/23012025/22/45/image_23012025_22_45_02_398379_0002.jpg', '/home/pi/Desktop/images/23012025/22/45/image_23012025_22_45_02_398379_0003.jpg', '/home/pi/Desktop/images/23012025/22/46/image_23012025_22_46_02_590557_0000.jpg', '/home/pi/Desktop/images/23012025/22/46/image_23012025_22_46_02_590557_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/45/image_23012025_22_45_02_398379_0000.jpg
/home/pi/Desktop/images/23012025/22/45/image_23012025_22_45_02_398379_0001.jpg
/home/pi/Desktop/images/23012025/22/45/image_23012025_22_45_02_398379_0002.jpg
/home/pi/Desktop/images/23012025/22/45/image_23012025_22_45_02_398379_0003.jpg
/home/pi/Desktop/images/23012025/22/46/image_23012025_22_46_02_590557_0000.jpg
/home/pi/Desktop/images/23012025/22/46/image_23012025_22_46_02_590557_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":["1330890861","1330890858","1330890867","1330890854","1330890863","1330890857"],"photo_ids_order":["1330890854","1330890857","1330890858","1330890861","1330890863","1330890867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9c674b0a7739151d85f2aca73050826.jpg","text":"TemporaryFile(/tmp/multipartBody4972296507997389994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672489583,"filename":"image_23012025_22_45_02_398379_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a02e6f24dd03e31b14d14d8201e85c0.jpg","text":"TemporaryFile(/tmp/multipartBody4286462726662015642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672489583,"filename":"image_23012025_22_45_02_398379_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fc46b70d2ea5e8edc3b67e0982c9e00.jpg","text":"TemporaryFile(/tmp/multipartBody3184635699232830986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672489583,"filename":"image_23012025_22_46_02_590557_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d08335b89735347f23f51ae98a2847d7.jpg","text":"TemporaryFile(/tmp/multipartBody183544557159800079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672489583,"filename":"image_23012025_22_45_02_398379_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/416042187736fcb4dd0ea4617f65043e.jpg","text":"TemporaryFile(/tmp/multipartBody8155396033589880267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672489583,"filename":"image_23012025_22_46_02_590557_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9aca202ba37dc49c460cd75ddba4cc32.jpg","text":"TemporaryFile(/tmp/multipartBody1569331275885127681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672489583,"filename":"image_23012025_22_45_02_398379_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330890858","file1":"1330890857","file0":"1330890854","file4":"1330890863","file5":"1330890867","file3":"1330890861"},"map_files_photo_id_array":[{"photo_id":"1330890867","filename":"file5"},{"photo_id":"1330890858","filename":"file2"},{"photo_id":"1330890863","filename":"file4"},{"photo_id":"1330890857","filename":"file1"},{"photo_id":"1330890854","filename":"file0"},{"photo_id":"1330890861","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330890861":["hashtag1","hashtag2"]},{"1330890858":["hashtag1","hashtag2"]},{"1330890867":["hashtag1","hashtag2"]},{"1330890854":["hashtag1","hashtag2"]},{"1330890863":["hashtag1","hashtag2"]},{"1330890857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330890861, 1330890858, 1330890867, 1330890854, 1330890863, 1330890857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.88005828857422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:47:52.620235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/46/image_23012025_22_46_02_590557_0002.jpg', '/home/pi/Desktop/images/23012025/22/46/image_23012025_22_46_02_590557_0003.jpg', '/home/pi/Desktop/images/23012025/22/47/image_23012025_22_47_02_852361_0000.jpg', '/home/pi/Desktop/images/23012025/22/47/image_23012025_22_47_02_852361_0001.jpg', '/home/pi/Desktop/images/23012025/22/47/image_23012025_22_47_02_852361_0002.jpg', '/home/pi/Desktop/images/23012025/22/47/image_23012025_22_47_02_852361_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/46/image_23012025_22_46_02_590557_0002.jpg
/home/pi/Desktop/images/23012025/22/46/image_23012025_22_46_02_590557_0003.jpg
/home/pi/Desktop/images/23012025/22/47/image_23012025_22_47_02_852361_0000.jpg
/home/pi/Desktop/images/23012025/22/47/image_23012025_22_47_02_852361_0001.jpg
/home/pi/Desktop/images/23012025/22/47/image_23012025_22_47_02_852361_0002.jpg
/home/pi/Desktop/images/23012025/22/47/image_23012025_22_47_02_852361_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":["1330890928","1330890899","1330890938","1330890932","1330890895","1330890920"],"photo_ids_order":["1330890895","1330890899","1330890920","1330890928","1330890932","1330890938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/187acd987961e1bb20529ffe180326d1.jpg","text":"TemporaryFile(/tmp/multipartBody3380997171150292127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672549910,"filename":"image_23012025_22_47_02_852361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2bfa1fabdc663b7f865eaa8f29a5a0e.jpg","text":"TemporaryFile(/tmp/multipartBody7895126754531687718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672549910,"filename":"image_23012025_22_46_02_590557_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07ae157239550011e8d73b94601460ab.jpg","text":"TemporaryFile(/tmp/multipartBody5520593653229265170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672549910,"filename":"image_23012025_22_47_02_852361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5958a0e1c891e47ff3dcfa7c2b30c37.jpg","text":"TemporaryFile(/tmp/multipartBody387257322017742525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672549910,"filename":"image_23012025_22_47_02_852361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/291d21f5975dc04834d13e14bcf33bf6.jpg","text":"TemporaryFile(/tmp/multipartBody2905227088599146354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672549910,"filename":"image_23012025_22_46_02_590557_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e11d87dc1025b90c1369615f60ec373a.jpg","text":"TemporaryFile(/tmp/multipartBody8581020676638964037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672549910,"filename":"image_23012025_22_47_02_852361_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330890920","file1":"1330890899","file0":"1330890895","file4":"1330890932","file5":"1330890938","file3":"1330890928"},"map_files_photo_id_array":[{"photo_id":"1330890938","filename":"file5"},{"photo_id":"1330890920","filename":"file2"},{"photo_id":"1330890932","filename":"file4"},{"photo_id":"1330890899","filename":"file1"},{"photo_id":"1330890895","filename":"file0"},{"photo_id":"1330890928","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330890928":["hashtag1","hashtag2"]},{"1330890899":["hashtag1","hashtag2"]},{"1330890938":["hashtag1","hashtag2"]},{"1330890932":["hashtag1","hashtag2"]},{"1330890895":["hashtag1","hashtag2"]},{"1330890920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330890928, 1330890899, 1330890938, 1330890932, 1330890895, 1330890920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.10799217224121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:48:51.700745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/48/image_23012025_22_48_03_035630_0000.jpg', '/home/pi/Desktop/images/23012025/22/48/image_23012025_22_48_03_035630_0001.jpg', '/home/pi/Desktop/images/23012025/22/48/image_23012025_22_48_03_035630_0002.jpg', '/home/pi/Desktop/images/23012025/22/48/image_23012025_22_48_03_035630_0003.jpg', '/home/pi/Desktop/images/23012025/22/49/image_23012025_22_49_02_210564_0000.jpg', '/home/pi/Desktop/images/23012025/22/49/image_23012025_22_49_02_210564_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/48/image_23012025_22_48_03_035630_0000.jpg
/home/pi/Desktop/images/23012025/22/48/image_23012025_22_48_03_035630_0001.jpg
/home/pi/Desktop/images/23012025/22/48/image_23012025_22_48_03_035630_0002.jpg
/home/pi/Desktop/images/23012025/22/48/image_23012025_22_48_03_035630_0003.jpg
/home/pi/Desktop/images/23012025/22/49/image_23012025_22_49_02_210564_0000.jpg
/home/pi/Desktop/images/23012025/22/49/image_23012025_22_49_02_210564_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":["1330891222","1330891533","1330891892","1330891795","1330891876","1330891879"],"photo_ids_order":["1330891222","1330891533","1330891795","1330891876","1330891879","1330891892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a58b349109f979669d225d8b4abbdcec.jpg","text":"TemporaryFile(/tmp/multipartBody2733517203323787064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672608322,"filename":"image_23012025_22_48_03_035630_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0c670805c62088b850c718ef52f95f9.jpg","text":"TemporaryFile(/tmp/multipartBody3890948877752024371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672608322,"filename":"image_23012025_22_48_03_035630_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/251479bad6fbcb9252474bdcddb7346b.jpg","text":"TemporaryFile(/tmp/multipartBody53109877686288425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672608322,"filename":"image_23012025_22_49_02_210564_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d9c72ecf2c602ce141572f48f49c732.jpg","text":"TemporaryFile(/tmp/multipartBody8419145346161102172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672608322,"filename":"image_23012025_22_48_03_035630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8120e505dd81483ba212bca6a164f275.jpg","text":"TemporaryFile(/tmp/multipartBody109051499367713885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672608322,"filename":"image_23012025_22_48_03_035630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/286de95b1f32c32f497f6abc52102e66.jpg","text":"TemporaryFile(/tmp/multipartBody622090443895038220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672608322,"filename":"image_23012025_22_49_02_210564_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330891795","file1":"1330891533","file0":"1330891222","file4":"1330891879","file5":"1330891892","file3":"1330891876"},"map_files_photo_id_array":[{"photo_id":"1330891892","filename":"file5"},{"photo_id":"1330891795","filename":"file2"},{"photo_id":"1330891879","filename":"file4"},{"photo_id":"1330891533","filename":"file1"},{"photo_id":"1330891222","filename":"file0"},{"photo_id":"1330891876","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330891222":["hashtag1","hashtag2"]},{"1330891533":["hashtag1","hashtag2"]},{"1330891892":["hashtag1","hashtag2"]},{"1330891795":["hashtag1","hashtag2"]},{"1330891876":["hashtag1","hashtag2"]},{"1330891879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330891222, 1330891533, 1330891892, 1330891795, 1330891876, 1330891879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.43590021133423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:49:51.876201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/49/image_23012025_22_49_02_210564_0002.jpg', '/home/pi/Desktop/images/23012025/22/49/image_23012025_22_49_02_210564_0003.jpg', '/home/pi/Desktop/images/23012025/22/50/image_23012025_22_50_02_481367_0000.jpg', '/home/pi/Desktop/images/23012025/22/50/image_23012025_22_50_02_481367_0001.jpg', '/home/pi/Desktop/images/23012025/22/50/image_23012025_22_50_02_481367_0002.jpg', '/home/pi/Desktop/images/23012025/22/50/image_23012025_22_50_02_481367_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/49/image_23012025_22_49_02_210564_0002.jpg
/home/pi/Desktop/images/23012025/22/49/image_23012025_22_49_02_210564_0003.jpg
/home/pi/Desktop/images/23012025/22/50/image_23012025_22_50_02_481367_0000.jpg
/home/pi/Desktop/images/23012025/22/50/image_23012025_22_50_02_481367_0001.jpg
/home/pi/Desktop/images/23012025/22/50/image_23012025_22_50_02_481367_0002.jpg
/home/pi/Desktop/images/23012025/22/50/image_23012025_22_50_02_481367_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":["1330891938","1330892246","1330891955","1330892095","1330891937","1330891969"],"photo_ids_order":["1330891937","1330891938","1330891955","1330891969","1330892095","1330892246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36498f6e3ee5abdd2d1ced3d5fd6e74b.jpg","text":"TemporaryFile(/tmp/multipartBody2243766529272054778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672669025,"filename":"image_23012025_22_49_02_210564_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f669d1dc2b4a912dcb5fe8662cb1c6d.jpg","text":"TemporaryFile(/tmp/multipartBody8212157877481843246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672669025,"filename":"image_23012025_22_50_02_481367_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c8752870d59d81921d70aece1c25bc1.jpg","text":"TemporaryFile(/tmp/multipartBody6360240263493223589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672669025,"filename":"image_23012025_22_50_02_481367_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6aa05f74bc0a0805020523a8f9fa50bc.jpg","text":"TemporaryFile(/tmp/multipartBody3967010817561840490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672669025,"filename":"image_23012025_22_50_02_481367_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdff05688e65d3634c47685e026d7d18.jpg","text":"TemporaryFile(/tmp/multipartBody1970677222373342683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672669025,"filename":"image_23012025_22_49_02_210564_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa7c567bd3e8b6af82a60ebe97fcfc79.jpg","text":"TemporaryFile(/tmp/multipartBody2187837873477552390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672669025,"filename":"image_23012025_22_50_02_481367_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330891955","file1":"1330891938","file0":"1330891937","file4":"1330892095","file5":"1330892246","file3":"1330891969"},"map_files_photo_id_array":[{"photo_id":"1330892246","filename":"file5"},{"photo_id":"1330891955","filename":"file2"},{"photo_id":"1330892095","filename":"file4"},{"photo_id":"1330891938","filename":"file1"},{"photo_id":"1330891937","filename":"file0"},{"photo_id":"1330891969","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330891938":["hashtag1","hashtag2"]},{"1330892246":["hashtag1","hashtag2"]},{"1330891955":["hashtag1","hashtag2"]},{"1330892095":["hashtag1","hashtag2"]},{"1330891937":["hashtag1","hashtag2"]},{"1330891969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330891938, 1330892246, 1330891955, 1330892095, 1330891937, 1330891969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.5666766166687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 23:51:02.995017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/51/image_23012025_22_51_02_614260_0000.jpg', '/home/pi/Desktop/images/23012025/22/51/image_23012025_22_51_02_614260_0001.jpg', '/home/pi/Desktop/images/23012025/22/51/image_23012025_22_51_02_614260_0002.jpg', '/home/pi/Desktop/images/23012025/22/51/image_23012025_22_51_02_614260_0003.jpg', '/home/pi/Desktop/images/23012025/22/52/image_23012025_22_52_02_736952_0000.jpg', '/home/pi/Desktop/images/23012025/22/52/image_23012025_22_52_02_736952_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/51/image_23012025_22_51_02_614260_0000.jpg
/home/pi/Desktop/images/23012025/22/51/image_23012025_22_51_02_614260_0001.jpg
/home/pi/Desktop/images/23012025/22/51/image_23012025_22_51_02_614260_0002.jpg
/home/pi/Desktop/images/23012025/22/51/image_23012025_22_51_02_614260_0003.jpg
/home/pi/Desktop/images/23012025/22/52/image_23012025_22_52_02_736952_0000.jpg
/home/pi/Desktop/images/23012025/22/52/image_23012025_22_52_02_736952_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":["1330892486","1330892495","1330892441","1330892444","1330892510","1330892464"],"photo_ids_order":["1330892441","1330892444","1330892464","1330892486","1330892495","1330892510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/993415e8ad3268966c8f66e7320c86b1.jpg","text":"TemporaryFile(/tmp/multipartBody5914334364455791681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672739747,"filename":"image_23012025_22_51_02_614260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1e6c4d746f10da25cfdb25f492684da.jpg","text":"TemporaryFile(/tmp/multipartBody4615964896783743996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672739747,"filename":"image_23012025_22_52_02_736952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/996e9182a366909408c2df1a6db3b122.jpg","text":"TemporaryFile(/tmp/multipartBody4985635928416838646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672739747,"filename":"image_23012025_22_51_02_614260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d141bfec9d266401cd91cddf4658fab3.jpg","text":"TemporaryFile(/tmp/multipartBody5310774504181432637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672739747,"filename":"image_23012025_22_51_02_614260_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a05818887d76631c63aca515ad02646.jpg","text":"TemporaryFile(/tmp/multipartBody2098560606300819406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672739747,"filename":"image_23012025_22_52_02_736952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae4562e36516fb10067f94fe46c757f2.jpg","text":"TemporaryFile(/tmp/multipartBody4892756526060882971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672739747,"filename":"image_23012025_22_51_02_614260_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330892464","file1":"1330892444","file0":"1330892441","file4":"1330892495","file5":"1330892510","file3":"1330892486"},"map_files_photo_id_array":[{"photo_id":"1330892510","filename":"file5"},{"photo_id":"1330892464","filename":"file2"},{"photo_id":"1330892495","filename":"file4"},{"photo_id":"1330892444","filename":"file1"},{"photo_id":"1330892441","filename":"file0"},{"photo_id":"1330892486","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330892486":["hashtag1","hashtag2"]},{"1330892495":["hashtag1","hashtag2"]},{"1330892441":["hashtag1","hashtag2"]},{"1330892444":["hashtag1","hashtag2"]},{"1330892510":["hashtag1","hashtag2"]},{"1330892464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330892486, 1330892495, 1330892441, 1330892444, 1330892510, 1330892464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.17106533050537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 23:52:02.861100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/52/image_23012025_22_52_02_736952_0002.jpg', '/home/pi/Desktop/images/23012025/22/52/image_23012025_22_52_02_736952_0003.jpg', '/home/pi/Desktop/images/23012025/22/53/image_23012025_22_53_02_933258_0000.jpg', '/home/pi/Desktop/images/23012025/22/53/image_23012025_22_53_02_933258_0001.jpg', '/home/pi/Desktop/images/23012025/22/53/image_23012025_22_53_02_933258_0002.jpg', '/home/pi/Desktop/images/23012025/22/53/image_23012025_22_53_02_933258_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/52/image_23012025_22_52_02_736952_0002.jpg
/home/pi/Desktop/images/23012025/22/52/image_23012025_22_52_02_736952_0003.jpg
/home/pi/Desktop/images/23012025/22/53/image_23012025_22_53_02_933258_0000.jpg
/home/pi/Desktop/images/23012025/22/53/image_23012025_22_53_02_933258_0001.jpg
/home/pi/Desktop/images/23012025/22/53/image_23012025_22_53_02_933258_0002.jpg
/home/pi/Desktop/images/23012025/22/53/image_23012025_22_53_02_933258_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":["1330892604","1330892597","1330892591","1330892585","1330892554","1330892571"],"photo_ids_order":["1330892554","1330892571","1330892585","1330892591","1330892597","1330892604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f3042644f1f5e8feb2548138e169c74.jpg","text":"TemporaryFile(/tmp/multipartBody6159169325446707566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672800088,"filename":"image_23012025_22_53_02_933258_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d991f24346616c79f7efd93544d166e.jpg","text":"TemporaryFile(/tmp/multipartBody2494885994387181623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672800088,"filename":"image_23012025_22_53_02_933258_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2964c59c95f95929e3ba2ae2d97db74d.jpg","text":"TemporaryFile(/tmp/multipartBody2568559919318783605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672800088,"filename":"image_23012025_22_53_02_933258_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c51659f9ebdbdcd087f13a405ae89d18.jpg","text":"TemporaryFile(/tmp/multipartBody2858817111750052626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672800088,"filename":"image_23012025_22_53_02_933258_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bce0185a2bd67db0126f25a507a34cbd.jpg","text":"TemporaryFile(/tmp/multipartBody7011978388996972267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672800088,"filename":"image_23012025_22_52_02_736952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5842b976beb042c7678c5e382682f8e7.jpg","text":"TemporaryFile(/tmp/multipartBody1560497592857096123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672800088,"filename":"image_23012025_22_52_02_736952_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330892585","file1":"1330892571","file0":"1330892554","file4":"1330892597","file5":"1330892604","file3":"1330892591"},"map_files_photo_id_array":[{"photo_id":"1330892604","filename":"file5"},{"photo_id":"1330892585","filename":"file2"},{"photo_id":"1330892597","filename":"file4"},{"photo_id":"1330892571","filename":"file1"},{"photo_id":"1330892554","filename":"file0"},{"photo_id":"1330892591","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330892604":["hashtag1","hashtag2"]},{"1330892597":["hashtag1","hashtag2"]},{"1330892591":["hashtag1","hashtag2"]},{"1330892585":["hashtag1","hashtag2"]},{"1330892554":["hashtag1","hashtag2"]},{"1330892571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330892604, 1330892597, 1330892591, 1330892585, 1330892554, 1330892571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.26221442222595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-23 23:53:22.617378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/54/image_23012025_22_54_02_167704_0000.jpg', '/home/pi/Desktop/images/23012025/22/54/image_23012025_22_54_02_167704_0001.jpg', '/home/pi/Desktop/images/23012025/22/54/image_23012025_22_54_02_167704_0002.jpg', '/home/pi/Desktop/images/23012025/22/54/image_23012025_22_54_02_167704_0003.jpg', '/home/pi/Desktop/images/23012025/22/55/image_23012025_22_55_02_329380_0000.jpg', '/home/pi/Desktop/images/23012025/22/55/image_23012025_22_55_02_329380_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/54/image_23012025_22_54_02_167704_0000.jpg
/home/pi/Desktop/images/23012025/22/54/image_23012025_22_54_02_167704_0001.jpg
/home/pi/Desktop/images/23012025/22/54/image_23012025_22_54_02_167704_0002.jpg
/home/pi/Desktop/images/23012025/22/54/image_23012025_22_54_02_167704_0003.jpg
/home/pi/Desktop/images/23012025/22/55/image_23012025_22_55_02_329380_0000.jpg
/home/pi/Desktop/images/23012025/22/55/image_23012025_22_55_02_329380_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":["1330892780","1330892765","1330892768","1330892810","1330892804","1330892776"],"photo_ids_order":["1330892765","1330892768","1330892776","1330892780","1330892804","1330892810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f33e8865fc13e6115b0b21a5e8065eb.jpg","text":"TemporaryFile(/tmp/multipartBody2576538479920957845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672879327,"filename":"image_23012025_22_54_02_167704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df17d6881bbcff230ce343d4a7539fbd.jpg","text":"TemporaryFile(/tmp/multipartBody1508585790677744828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672879327,"filename":"image_23012025_22_54_02_167704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf139a502c1d576509e6c7afe757a1a1.jpg","text":"TemporaryFile(/tmp/multipartBody8200707506867320967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672879327,"filename":"image_23012025_22_54_02_167704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/708cae0a8f5d2d77ffeafdc6cbbf5479.jpg","text":"TemporaryFile(/tmp/multipartBody5743917142565402341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672879327,"filename":"image_23012025_22_55_02_329380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37e4b554d4eb45463e4ea525e6824cd0.jpg","text":"TemporaryFile(/tmp/multipartBody7907289654717147477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672879327,"filename":"image_23012025_22_55_02_329380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/794ae3fd4a3d691dd5de408c4298e56b.jpg","text":"TemporaryFile(/tmp/multipartBody4692610787223725005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672879327,"filename":"image_23012025_22_54_02_167704_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330892776","file1":"1330892768","file0":"1330892765","file4":"1330892804","file5":"1330892810","file3":"1330892780"},"map_files_photo_id_array":[{"photo_id":"1330892810","filename":"file5"},{"photo_id":"1330892776","filename":"file2"},{"photo_id":"1330892804","filename":"file4"},{"photo_id":"1330892768","filename":"file1"},{"photo_id":"1330892765","filename":"file0"},{"photo_id":"1330892780","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330892780":["hashtag1","hashtag2"]},{"1330892765":["hashtag1","hashtag2"]},{"1330892768":["hashtag1","hashtag2"]},{"1330892810":["hashtag1","hashtag2"]},{"1330892804":["hashtag1","hashtag2"]},{"1330892776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330892780, 1330892765, 1330892768, 1330892810, 1330892804, 1330892776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.86942982673645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:54:31.896368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/55/image_23012025_22_55_02_329380_0002.jpg', '/home/pi/Desktop/images/23012025/22/55/image_23012025_22_55_02_329380_0003.jpg', '/home/pi/Desktop/images/23012025/22/56/image_23012025_22_56_02_512587_0000.jpg', '/home/pi/Desktop/images/23012025/22/56/image_23012025_22_56_02_512587_0001.jpg', '/home/pi/Desktop/images/23012025/22/56/image_23012025_22_56_02_512587_0002.jpg', '/home/pi/Desktop/images/23012025/22/56/image_23012025_22_56_02_512587_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/55/image_23012025_22_55_02_329380_0002.jpg
/home/pi/Desktop/images/23012025/22/55/image_23012025_22_55_02_329380_0003.jpg
/home/pi/Desktop/images/23012025/22/56/image_23012025_22_56_02_512587_0000.jpg
/home/pi/Desktop/images/23012025/22/56/image_23012025_22_56_02_512587_0001.jpg
/home/pi/Desktop/images/23012025/22/56/image_23012025_22_56_02_512587_0002.jpg
/home/pi/Desktop/images/23012025/22/56/image_23012025_22_56_02_512587_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":["1330892832","1330892838","1330892852","1330892849","1330892842","1330892845"],"photo_ids_order":["1330892832","1330892838","1330892842","1330892845","1330892849","1330892852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7eda3eace45d84399e2b2c24f273e62.jpg","text":"TemporaryFile(/tmp/multipartBody1117936817783669837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672949238,"filename":"image_23012025_22_55_02_329380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c69aa4f25c05a46242aa74c54ff0557.jpg","text":"TemporaryFile(/tmp/multipartBody4256997785919130788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672949238,"filename":"image_23012025_22_55_02_329380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/315d0b65a6b50cb5345072eef4353355.jpg","text":"TemporaryFile(/tmp/multipartBody112138720675433456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672949238,"filename":"image_23012025_22_56_02_512587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c129275feb5b0b908634566054d1d2ba.jpg","text":"TemporaryFile(/tmp/multipartBody2028005069999886153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672949238,"filename":"image_23012025_22_56_02_512587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7498b53768c89dccee582485fde62fe7.jpg","text":"TemporaryFile(/tmp/multipartBody272537081321720015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672949238,"filename":"image_23012025_22_56_02_512587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b76628de59398b959e87b643ebeec58.jpg","text":"TemporaryFile(/tmp/multipartBody4615783975362574111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672949238,"filename":"image_23012025_22_56_02_512587_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330892842","file1":"1330892838","file0":"1330892832","file4":"1330892849","file5":"1330892852","file3":"1330892845"},"map_files_photo_id_array":[{"photo_id":"1330892852","filename":"file5"},{"photo_id":"1330892842","filename":"file2"},{"photo_id":"1330892849","filename":"file4"},{"photo_id":"1330892838","filename":"file1"},{"photo_id":"1330892832","filename":"file0"},{"photo_id":"1330892845","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330892832":["hashtag1","hashtag2"]},{"1330892838":["hashtag1","hashtag2"]},{"1330892852":["hashtag1","hashtag2"]},{"1330892849":["hashtag1","hashtag2"]},{"1330892842":["hashtag1","hashtag2"]},{"1330892845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330892832, 1330892838, 1330892852, 1330892849, 1330892842, 1330892845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.09912991523743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:55:32.113060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/57/image_23012025_22_57_02_682629_0000.jpg', '/home/pi/Desktop/images/23012025/22/57/image_23012025_22_57_02_682629_0001.jpg', '/home/pi/Desktop/images/23012025/22/57/image_23012025_22_57_02_682629_0002.jpg', '/home/pi/Desktop/images/23012025/22/57/image_23012025_22_57_02_682629_0003.jpg', '/home/pi/Desktop/images/23012025/22/58/image_23012025_22_58_02_894605_0000.jpg', '/home/pi/Desktop/images/23012025/22/58/image_23012025_22_58_02_894605_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/57/image_23012025_22_57_02_682629_0000.jpg
/home/pi/Desktop/images/23012025/22/57/image_23012025_22_57_02_682629_0001.jpg
/home/pi/Desktop/images/23012025/22/57/image_23012025_22_57_02_682629_0002.jpg
/home/pi/Desktop/images/23012025/22/57/image_23012025_22_57_02_682629_0003.jpg
/home/pi/Desktop/images/23012025/22/58/image_23012025_22_58_02_894605_0000.jpg
/home/pi/Desktop/images/23012025/22/58/image_23012025_22_58_02_894605_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":["1330892868","1330892862","1330892910","1330892897","1330892883","1330892877"],"photo_ids_order":["1330892862","1330892868","1330892877","1330892883","1330892897","1330892910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47ae778fc5d15582eb84d9ff75c1da60.jpg","text":"TemporaryFile(/tmp/multipartBody5110755582526702164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673008877,"filename":"image_23012025_22_57_02_682629_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7d8606f69ca954c0ed7abd02137bf62.jpg","text":"TemporaryFile(/tmp/multipartBody722640550387629805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673008877,"filename":"image_23012025_22_57_02_682629_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfeb84296727f07d8c11dd0310254df1.jpg","text":"TemporaryFile(/tmp/multipartBody9028001486427557983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673008877,"filename":"image_23012025_22_58_02_894605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/143d361babc808d7001f922ba8020d5b.jpg","text":"TemporaryFile(/tmp/multipartBody3471620662383549253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673008877,"filename":"image_23012025_22_58_02_894605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73b8945aaea81770e325c849e4472ddd.jpg","text":"TemporaryFile(/tmp/multipartBody1289478971730635731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673008877,"filename":"image_23012025_22_57_02_682629_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2477e6477ef0c458839d74a1c847c49d.jpg","text":"TemporaryFile(/tmp/multipartBody1538429033371074054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673008877,"filename":"image_23012025_22_57_02_682629_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330892877","file1":"1330892868","file0":"1330892862","file4":"1330892897","file5":"1330892910","file3":"1330892883"},"map_files_photo_id_array":[{"photo_id":"1330892910","filename":"file5"},{"photo_id":"1330892877","filename":"file2"},{"photo_id":"1330892897","filename":"file4"},{"photo_id":"1330892868","filename":"file1"},{"photo_id":"1330892862","filename":"file0"},{"photo_id":"1330892883","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330892868":["hashtag1","hashtag2"]},{"1330892862":["hashtag1","hashtag2"]},{"1330892910":["hashtag1","hashtag2"]},{"1330892897":["hashtag1","hashtag2"]},{"1330892883":["hashtag1","hashtag2"]},{"1330892877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330892868, 1330892862, 1330892910, 1330892897, 1330892883, 1330892877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.99884605407715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-23 23:56:42.377868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/58/image_23012025_22_58_02_894605_0002.jpg', '/home/pi/Desktop/images/23012025/22/58/image_23012025_22_58_02_894605_0003.jpg', '/home/pi/Desktop/images/23012025/22/59/image_23012025_22_59_03_040874_0000.jpg', '/home/pi/Desktop/images/23012025/22/59/image_23012025_22_59_03_040874_0001.jpg', '/home/pi/Desktop/images/23012025/22/59/image_23012025_22_59_03_040874_0002.jpg', '/home/pi/Desktop/images/23012025/22/59/image_23012025_22_59_03_040874_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/22/58/image_23012025_22_58_02_894605_0002.jpg
/home/pi/Desktop/images/23012025/22/58/image_23012025_22_58_02_894605_0003.jpg
/home/pi/Desktop/images/23012025/22/59/image_23012025_22_59_03_040874_0000.jpg
/home/pi/Desktop/images/23012025/22/59/image_23012025_22_59_03_040874_0001.jpg
/home/pi/Desktop/images/23012025/22/59/image_23012025_22_59_03_040874_0002.jpg
/home/pi/Desktop/images/23012025/22/59/image_23012025_22_59_03_040874_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":["1330893000","1330892961","1330893041","1330892969","1330893020","1330893048"],"photo_ids_order":["1330892961","1330892969","1330893000","1330893020","1330893041","1330893048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ef0fc31dee9a10db5b97c34799ae0ca.jpg","text":"TemporaryFile(/tmp/multipartBody4708819445690172822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673079199,"filename":"image_23012025_22_59_03_040874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57a4dce76a8f8d929c01c2328e562ef8.jpg","text":"TemporaryFile(/tmp/multipartBody8567181737121543137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673079199,"filename":"image_23012025_22_58_02_894605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15e75e38a1376ff8f06b3d24f65e156e.jpg","text":"TemporaryFile(/tmp/multipartBody2291198822481466983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673079199,"filename":"image_23012025_22_59_03_040874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5601a682a58c9e49276e2942819fd1b.jpg","text":"TemporaryFile(/tmp/multipartBody5862541665516082361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673079199,"filename":"image_23012025_22_58_02_894605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/faf94a124120f729586b8f025693e3e5.jpg","text":"TemporaryFile(/tmp/multipartBody7108008504251632321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673079199,"filename":"image_23012025_22_59_03_040874_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/031f3192fbc6a1c4f4e2169a790a5a80.jpg","text":"TemporaryFile(/tmp/multipartBody6347893322904242552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673079199,"filename":"image_23012025_22_59_03_040874_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330893000","file1":"1330892969","file0":"1330892961","file4":"1330893041","file5":"1330893048","file3":"1330893020"},"map_files_photo_id_array":[{"photo_id":"1330893048","filename":"file5"},{"photo_id":"1330893000","filename":"file2"},{"photo_id":"1330893041","filename":"file4"},{"photo_id":"1330892969","filename":"file1"},{"photo_id":"1330892961","filename":"file0"},{"photo_id":"1330893020","filename":"file3"}],"portfolio_id":19839052,"hashtag_by_photo_ids":[{"1330893000":["hashtag1","hashtag2"]},{"1330892961":["hashtag1","hashtag2"]},{"1330893041":["hashtag1","hashtag2"]},{"1330892969":["hashtag1","hashtag2"]},{"1330893020":["hashtag1","hashtag2"]},{"1330893048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839052 used, photo_id : ArrayBuffer(1330893000, 1330892961, 1330893041, 1330892969, 1330893020, 1330893048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.0584990978241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:57:52.496018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839052
  datou_current_id : 2505708
in upload_from_sqlite, uploading in 19839052
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/00/image_23012025_23_00_02_236998_0000.jpg', '/home/pi/Desktop/images/23012025/23/00/image_23012025_23_00_02_236998_0001.jpg', '/home/pi/Desktop/images/23012025/23/00/image_23012025_23_00_02_236998_0002.jpg', '/home/pi/Desktop/images/23012025/23/00/image_23012025_23_00_02_236998_0003.jpg', '/home/pi/Desktop/images/23012025/23/01/image_23012025_23_01_02_428467_0000.jpg', '/home/pi/Desktop/images/23012025/23/01/image_23012025_23_01_02_428467_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2505708&datou=0
/home/pi/Desktop/images/23012025/23/00/image_23012025_23_00_02_236998_0000.jpg
/home/pi/Desktop/images/23012025/23/00/image_23012025_23_00_02_236998_0001.jpg
/home/pi/Desktop/images/23012025/23/00/image_23012025_23_00_02_236998_0002.jpg
/home/pi/Desktop/images/23012025/23/00/image_23012025_23_00_02_236998_0003.jpg
/home/pi/Desktop/images/23012025/23/01/image_23012025_23_01_02_428467_0000.jpg
/home/pi/Desktop/images/23012025/23/01/image_23012025_23_01_02_428467_0001.jpg
